1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Fix request, crypto, and bs58 imports (#2414)

This commit is contained in:
Michael Telatynski
2022-05-30 14:49:25 +01:00
committed by GitHub
parent 8c72c5d0e6
commit 05dd3c4967
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import * as bs58 from 'bs58';
import 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)

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import * as request from "request";
import request from "request";
import * as matrixcs from "./matrix";
import * as utils from "./utils";

View File

@@ -23,7 +23,7 @@ limitations under the License.
import unhomoglyph from "unhomoglyph";
import promiseRetry from "p-retry";
import type * as NodeCrypto from "crypto";
import type NodeCrypto from "crypto";
import { MatrixEvent } from ".";
import { M_TIMESTAMP } from "./@types/location";