Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/wasm-crypto

Package Overview
Dependencies
Maintainers
2
Versions
565
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/wasm-crypto - npm Package Compare versions

Comparing version 6.1.2-10 to 6.1.2-11

6

bundle.js
// Copyright 2019-2022 @polkadot/wasm-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { assert } from '@polkadot/util';
import { bridge, initBridge } from "./init.js";

@@ -26,3 +25,6 @@ export { packageInfo } from "./packageInfo.js";

return (...params) => {
assert(bridge.wasm, 'The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.');
if (!bridge.wasm) {
throw new Error('The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.');
}
return fn(bridge.wasm, ...params);

@@ -29,0 +31,0 @@ };

@@ -25,4 +25,2 @@ "use strict";

var _util = require("@polkadot/util");
var _init = require("./init");

@@ -51,3 +49,5 @@

return function () {
(0, _util.assert)(_init.bridge.wasm, 'The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.');
if (!_init.bridge.wasm) {
throw new Error('The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.');
}

@@ -54,0 +54,0 @@ for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {

@@ -14,4 +14,4 @@ "use strict";

type: 'cjs',
version: '6.1.2-10'
version: '6.1.2-11'
};
exports.packageInfo = packageInfo;

@@ -31,3 +31,3 @@ {

"type": "module",
"version": "6.1.2-10",
"version": "6.1.2-11",
"main": "./cjs/index.js",

@@ -98,7 +98,7 @@ "module": "./index.js",

"@babel/runtime": "^7.18.3",
"@polkadot/wasm-bridge": "6.1.2-10",
"@polkadot/wasm-crypto-asmjs": "6.1.2-10",
"@polkadot/wasm-crypto-init": "6.1.2-10",
"@polkadot/wasm-crypto-wasm": "6.1.2-10",
"@polkadot/wasm-util": "6.1.2-10"
"@polkadot/wasm-bridge": "6.1.2-11",
"@polkadot/wasm-crypto-asmjs": "6.1.2-11",
"@polkadot/wasm-crypto-init": "6.1.2-11",
"@polkadot/wasm-crypto-wasm": "6.1.2-11",
"@polkadot/wasm-util": "6.1.2-11"
},

@@ -105,0 +105,0 @@ "peerDependencies": {

@@ -8,3 +8,3 @@ // Copyright 2017-2022 @polkadot/wasm-crypto authors & contributors

type: 'esm',
version: '6.1.2-10'
version: '6.1.2-11'
};

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc