Skip to content

Commit

Permalink
Revert "Fix request, crypto, and bs58 imports (#2414)"
Browse files Browse the repository at this point in the history
This reverts commit 05dd3c4.
  • Loading branch information
t3chguy committed May 30, 2022
1 parent c28939c commit 623b46b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/crypto/recoverykey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

import bs58 from 'bs58';
import * as bs58 from 'bs58';

// picked arbitrarily but to try & avoid clashing with any bitcoin ones
// (which are also base58 encoded, but bitcoin's involve a lot more hashing)
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

import request from "request";
import * as request from "request";

import * as matrixcs from "./matrix";
import * as utils from "./utils";
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ limitations under the License.
import unhomoglyph from "unhomoglyph";
import promiseRetry from "p-retry";

import type NodeCrypto from "crypto";
import type * as NodeCrypto from "crypto";
import { MatrixEvent } from ".";
import { M_TIMESTAMP } from "./@types/location";

Expand Down

0 comments on commit 623b46b

Please sign in to comment.