@pezkuwi/wasm-crypto 7.5.4 → 7.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle-polkadot-wasm-crypto.js +2 -2
- package/cjs/init.d.ts +3 -3
- package/init.d.ts +3 -3
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@pezkuwi/util')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@pezkuwi/util'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.pezkuwiWasmCrypto = {}, global.pezkuwiUtil));
|
|
5
5
|
})(this, (function (exports, util) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const global = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : window;
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
return bridge.init(createWasm);
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
const packageInfo = { name: '@pezkuwi/wasm-crypto', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-
|
|
473
|
+
const packageInfo = { name: '@pezkuwi/wasm-crypto', path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-wasm-crypto.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-wasm-crypto.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-wasm-crypto.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : typeof document === 'undefined' ? location.href : (_documentCurrentScript && _documentCurrentScript.src || new URL('bundle-pezkuwi-wasm-crypto.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '7.5.3' };
|
|
474
474
|
|
|
475
475
|
function withWasm(fn) {
|
|
476
476
|
return (...params) => {
|
package/cjs/init.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InitFn } from '@
|
|
2
|
-
import type { WasmCryptoInstance } from '@
|
|
3
|
-
import { Bridge } from '@
|
|
1
|
+
import type { InitFn } from '@pezkuwi/wasm-bridge/types';
|
|
2
|
+
import type { WasmCryptoInstance } from '@pezkuwi/wasm-crypto-init/types';
|
|
3
|
+
import { Bridge } from '@pezkuwi/wasm-bridge';
|
|
4
4
|
/**
|
|
5
5
|
* @name bridge
|
|
6
6
|
* @description
|
package/init.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InitFn } from '@
|
|
2
|
-
import type { WasmCryptoInstance } from '@
|
|
3
|
-
import { Bridge } from '@
|
|
1
|
+
import type { InitFn } from '@pezkuwi/wasm-bridge/types';
|
|
2
|
+
import type { WasmCryptoInstance } from '@pezkuwi/wasm-crypto-init/types';
|
|
3
|
+
import { Bridge } from '@pezkuwi/wasm-bridge';
|
|
4
4
|
/**
|
|
5
5
|
* @name bridge
|
|
6
6
|
* @description
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
3
|
-
"bugs": "https://github.com/
|
|
4
|
-
"description": "A wasm interface layer for use by @
|
|
3
|
+
"bugs": "https://github.com/pezkuwi-js/wasm/issues",
|
|
4
|
+
"description": "A wasm interface layer for use by @pezkuwi/util-crypto",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
7
7
|
},
|
|
8
|
-
"homepage": "https://github.com/
|
|
8
|
+
"homepage": "https://github.com/pezkuwi-js/wasm/tree/master/packages/wasm-crypto#readme",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"name": "@pezkuwi/wasm-crypto",
|
|
11
11
|
"repository": {
|
|
12
12
|
"directory": "packages/wasm-crypto",
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/pezkuwi-js/wasm.git"
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": [
|
|
17
17
|
"./initNone.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"./cjs/packageDetect.js"
|
|
27
27
|
],
|
|
28
28
|
"type": "module",
|
|
29
|
-
"version": "7.5.
|
|
29
|
+
"version": "7.5.6",
|
|
30
30
|
"main": "./cjs/index.js",
|
|
31
31
|
"module": "./index.js",
|
|
32
32
|
"types": "./index.d.ts",
|
|
@@ -179,11 +179,11 @@
|
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"dependencies": {
|
|
182
|
-
"@pezkuwi/wasm-bridge": "7.5.
|
|
183
|
-
"@pezkuwi/wasm-crypto-asmjs": "7.5.
|
|
184
|
-
"@pezkuwi/wasm-crypto-init": "7.5.
|
|
185
|
-
"@pezkuwi/wasm-crypto-wasm": "7.5.
|
|
186
|
-
"@pezkuwi/wasm-util": "7.5.
|
|
182
|
+
"@pezkuwi/wasm-bridge": "7.5.6",
|
|
183
|
+
"@pezkuwi/wasm-crypto-asmjs": "7.5.6",
|
|
184
|
+
"@pezkuwi/wasm-crypto-init": "7.5.6",
|
|
185
|
+
"@pezkuwi/wasm-crypto-wasm": "7.5.6",
|
|
186
|
+
"@pezkuwi/wasm-util": "7.5.6",
|
|
187
187
|
"tslib": "^2.7.0"
|
|
188
188
|
},
|
|
189
189
|
"peerDependencies": {
|