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 7.3.2 to 7.4.1

cjs/bundle.d.ts

6

cjs/bundle.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitReady = exports.isReady = exports.twox = exports.sha512 = exports.sha256 = exports.scrypt = exports.pbkdf2 = exports.keccak512 = exports.keccak256 = exports.hmacSha512 = exports.hmacSha256 = exports.blake2b = exports.vrfVerify = exports.vrfSign = exports.sr25519Agree = exports.sr25519Verify = exports.sr25519Sign = exports.sr25519KeypairFromSeed = exports.sr25519DerivePublicSoft = exports.sr25519DeriveKeypairSoft = exports.sr25519DeriveKeypairHard = exports.secp256k1Sign = exports.secp256k1Recover = exports.secp256k1Expand = exports.secp256k1Compress = exports.secp256k1FromSeed = exports.ed25519Verify = exports.ed25519Sign = exports.ed25519KeypairFromSeed = exports.bip39Validate = exports.bip39ToSeed = exports.bip39ToMiniSecret = exports.bip39ToEntropy = exports.bip39Generate = exports.bridge = exports.packageInfo = void 0;
exports.twox = exports.sha512 = exports.sha256 = exports.scrypt = exports.pbkdf2 = exports.keccak512 = exports.keccak256 = exports.hmacSha512 = exports.hmacSha256 = exports.blake2b = exports.vrfVerify = exports.vrfSign = exports.sr25519Agree = exports.sr25519Verify = exports.sr25519Sign = exports.sr25519KeypairFromSeed = exports.sr25519DerivePublicSoft = exports.sr25519DeriveKeypairSoft = exports.sr25519DeriveKeypairHard = exports.secp256k1Sign = exports.secp256k1Recover = exports.secp256k1Expand = exports.secp256k1Compress = exports.secp256k1FromSeed = exports.ed25519Verify = exports.ed25519Sign = exports.ed25519KeypairFromSeed = exports.bip39Validate = exports.bip39ToSeed = exports.bip39ToMiniSecret = exports.bip39ToEntropy = exports.bip39Generate = exports.bridge = exports.packageInfo = void 0;
exports.isReady = isReady;
exports.waitReady = waitReady;
const init_js_1 = require("./init.js");

@@ -161,3 +163,2 @@ Object.defineProperty(exports, "bridge", { enumerable: true, get: function () { return init_js_1.bridge; } });

}
exports.isReady = isReady;
async function waitReady() {

@@ -172,2 +173,1 @@ try {

}
exports.waitReady = waitReady;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
require("./detectPackage.js");
require("./packageDetect.js");
tslib_1.__exportStar(require("./bundle.js"), exports);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initBridge = exports.bridge = void 0;
exports.bridge = void 0;
exports.initBridge = initBridge;
const wasm_bridge_1 = require("@polkadot/wasm-bridge");

@@ -21,2 +22,1 @@ const wasm_crypto_init_1 = require("@polkadot/wasm-crypto-init");

}
exports.initBridge = initBridge;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initWasm = void 0;
exports.initWasm = initWasm;
const none_1 = require("@polkadot/wasm-crypto-init/none");

@@ -18,5 +18,4 @@ const init_js_1 = require("./init.js");

}
exports.initWasm = initWasm;
initWasm().catch(() => {
// cannot happen, initWasm doesn't throw
});
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initWasm = void 0;
exports.initWasm = initWasm;
const asm_1 = require("@polkadot/wasm-crypto-init/asm");

@@ -18,5 +18,4 @@ const init_js_1 = require("./init.js");

}
exports.initWasm = initWasm;
initWasm().catch(() => {
// cannot happen, initWasm doesn't throw
});
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initWasm = void 0;
exports.initWasm = initWasm;
const wasm_1 = require("@polkadot/wasm-crypto-init/wasm");

@@ -18,5 +18,4 @@ const init_js_1 = require("./init.js");

}
exports.initWasm = initWasm;
initWasm().catch(() => {
// cannot happen, initWasm doesn't throw
});
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.initWasm = void 0;
exports.initWasm = initWasm;
const both_1 = require("@polkadot/wasm-crypto-init/both");

@@ -18,5 +18,4 @@ const init_js_1 = require("./init.js");

}
exports.initWasm = initWasm;
initWasm().catch(() => {
// cannot happen, initWasm doesn't throw
});
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@polkadot/wasm-crypto', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '7.3.2' };
exports.packageInfo = { name: '@polkadot/wasm-crypto', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '7.4.1' };

@@ -1,2 +0,2 @@

import './detectPackage.js';
import './packageDetect.js';
export * from './bundle.js';

@@ -1,2 +0,2 @@

import './detectPackage.js';
import './packageDetect.js';
export * from './bundle.js';

@@ -17,4 +17,2 @@ {

"sideEffects": [
"./detectPackage.js",
"./cjs/detectPackage.js",
"./initNone.js",

@@ -27,6 +25,8 @@ "./cjs/initNone.js",

"./initWasmAsm.js",
"./cjs/initWasmAsm.js"
"./cjs/initWasmAsm.js",
"./packageDetect.js",
"./cjs/packageDetect.js"
],
"type": "module",
"version": "7.3.2",
"version": "7.4.1",
"main": "./cjs/index.js",

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

".": {
"types": "./index.d.ts",
"module": "./index.js",
"require": "./cjs/index.js",
"default": "./index.js"
"module": {
"types": "./index.d.ts",
"default": "./index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"default": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./bundle": {
"types": "./bundle.d.ts",
"module": "./bundle.js",
"require": "./cjs/bundle.js",
"default": "./bundle.js"
"module": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
},
"require": {
"types": "./cjs/bundle.d.ts",
"default": "./cjs/bundle.js"
},
"default": {
"types": "./bundle.d.ts",
"default": "./bundle.js"
}
},
"./detectOther": {
"types": "./detectOther.d.ts",
"module": "./detectOther.js",
"require": "./cjs/detectOther.js",
"default": "./detectOther.js"
},
"./detectPackage": {
"types": "./detectPackage.d.ts",
"module": "./detectPackage.js",
"require": "./cjs/detectPackage.js",
"default": "./detectPackage.js"
},
"./init": {
"types": "./init.d.ts",
"module": "./init.js",
"require": "./cjs/init.js",
"default": "./init.js"
"module": {
"types": "./init.d.ts",
"default": "./init.js"
},
"require": {
"types": "./cjs/init.d.ts",
"default": "./cjs/init.js"
},
"default": {
"types": "./init.d.ts",
"default": "./init.js"
}
},
"./initNone": {
"types": "./initNone.d.ts",
"module": "./initNone.js",
"require": "./cjs/initNone.js",
"default": "./initNone.js"
"module": {
"types": "./initNone.d.ts",
"default": "./initNone.js"
},
"require": {
"types": "./cjs/initNone.d.ts",
"default": "./cjs/initNone.js"
},
"default": {
"types": "./initNone.d.ts",
"default": "./initNone.js"
}
},
"./initOnlyAsm": {
"types": "./initOnlyAsm.d.ts",
"module": "./initOnlyAsm.js",
"require": "./cjs/initOnlyAsm.js",
"default": "./initOnlyAsm.js"
"module": {
"types": "./initOnlyAsm.d.ts",
"default": "./initOnlyAsm.js"
},
"require": {
"types": "./cjs/initOnlyAsm.d.ts",
"default": "./cjs/initOnlyAsm.js"
},
"default": {
"types": "./initOnlyAsm.d.ts",
"default": "./initOnlyAsm.js"
}
},
"./initOnlyWasm": {
"types": "./initOnlyWasm.d.ts",
"module": "./initOnlyWasm.js",
"require": "./cjs/initOnlyWasm.js",
"default": "./initOnlyWasm.js"
"module": {
"types": "./initOnlyWasm.d.ts",
"default": "./initOnlyWasm.js"
},
"require": {
"types": "./cjs/initOnlyWasm.d.ts",
"default": "./cjs/initOnlyWasm.js"
},
"default": {
"types": "./initOnlyWasm.d.ts",
"default": "./initOnlyWasm.js"
}
},
"./initWasmAsm": {
"types": "./initWasmAsm.d.ts",
"module": "./initWasmAsm.js",
"require": "./cjs/initWasmAsm.js",
"default": "./initWasmAsm.js"
"module": {
"types": "./initWasmAsm.d.ts",
"default": "./initWasmAsm.js"
},
"require": {
"types": "./cjs/initWasmAsm.d.ts",
"default": "./cjs/initWasmAsm.js"
},
"default": {
"types": "./initWasmAsm.d.ts",
"default": "./initWasmAsm.js"
}
},

@@ -97,22 +141,52 @@ "./package.json": {

},
"./packageDetect": {
"module": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
},
"require": {
"types": "./cjs/packageDetect.d.ts",
"default": "./cjs/packageDetect.js"
},
"default": {
"types": "./packageDetect.d.ts",
"default": "./packageDetect.js"
}
},
"./packageInfo.js": {
"types": "./packageInfo.d.ts",
"module": "./packageInfo.js",
"require": "./cjs/packageInfo.js",
"default": "./packageInfo.js"
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo": {
"types": "./packageInfo.d.ts",
"module": "./packageInfo.js",
"require": "./cjs/packageInfo.js",
"default": "./packageInfo.js"
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
}
},
"dependencies": {
"@polkadot/wasm-bridge": "7.3.2",
"@polkadot/wasm-crypto-asmjs": "7.3.2",
"@polkadot/wasm-crypto-init": "7.3.2",
"@polkadot/wasm-crypto-wasm": "7.3.2",
"@polkadot/wasm-util": "7.3.2",
"tslib": "^2.6.2"
"@polkadot/wasm-bridge": "7.4.1",
"@polkadot/wasm-crypto-asmjs": "7.4.1",
"@polkadot/wasm-crypto-init": "7.4.1",
"@polkadot/wasm-crypto-wasm": "7.4.1",
"@polkadot/wasm-util": "7.4.1",
"tslib": "^2.7.0"
},

@@ -119,0 +193,0 @@ "peerDependencies": {

@@ -1,1 +0,1 @@

export const packageInfo = { name: '@polkadot/wasm-crypto', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '7.3.2' };
export const packageInfo = { name: '@polkadot/wasm-crypto', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '7.4.1' };

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