Skip to content

Commit 11dc315

Browse files
wasm-{bridge, crypto, crypto-{asmjs, init, wasm}, util} 7.1.1
1 parent 596b831 commit 11dc315

32 files changed

+53
-56
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## master
44

5+
- wasm-{bridge, crypto, crypto-{asmjs, init, wasm}, util} 7.1.1
56
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 10.3.4
67
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 10.3.3
78

wasm-bridge/bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import type { BridgeBase, InitFn, InitPromise, WasmBaseInstance, WasmImports } from './types.ts';
55

6-
import { stringToU8a, u8aToString } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts';
6+
import { stringToU8a, u8aToString } from 'https://deno.land/x/polkadot/util/mod.ts';
77

88
import { Wbg } from './wbg.ts';
99

wasm-bridge/detectPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
import { detectPackage } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts';
3+
import { detectPackage } from 'https://deno.land/x/polkadot/util/mod.ts';
44

55
import others from './detectOther.ts';
66
import { packageInfo } from './packageInfo.ts';

wasm-bridge/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
export const packageInfo = { name: '@polkadot/wasm-bridge', path: new URL(import.meta.url).pathname, type: 'deno', version: '0.2.35' };
3+
export const packageInfo = { name: '@polkadot/wasm-bridge', path: new URL(import.meta.url).pathname, type: 'deno', version: '7.1.1' };

wasm-bridge/wbg.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
import type { BridgeBase, WasmBaseInstance } from './types.ts';
33

4-
import { getRandomValues } from 'https://deno.land/x/polkadot@0.2.35/x-randomvalues/mod.ts';
4+
import { getRandomValues } from 'https://deno.land/x/polkadot/x-randomvalues/mod.ts';
55

66
const DEFAULT_CRYPTO = { getRandomValues };
77
const DEFAULT_SELF = { crypto: DEFAULT_CRYPTO };
@@ -50,25 +50,21 @@ export class Wbg<C extends WasmBaseInstance> {
5050
};
5151

5252
/** @internal */
53-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
5453
__wbg_crypto_968f1772287e2df0 = (_idx: number): number => {
5554
return this.#bridge.addObject(DEFAULT_CRYPTO);
5655
};
5756

5857
/** @internal */
59-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6058
__wbg_getRandomValues_a3d34b4fee3c2869 = (_idx: number): number => {
6159
return this.#bridge.addObject(DEFAULT_CRYPTO.getRandomValues);
6260
};
6361

6462
/** @internal */
65-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6663
__wbg_getRandomValues_f5e14ab7ac8e995d = (_arg0: number, ptr: number, len: number): void => {
6764
DEFAULT_CRYPTO.getRandomValues(this.#bridge.getU8a(ptr, len));
6865
};
6966

7067
/** @internal */
71-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7268
__wbg_randomFillSync_d5bd2d655fdf256a = (_idx: number, _ptr: number, _len: number): never => {
7369
throw new Error('randomFillsync is not available');
7470

wasm-crypto-asmjs/detectPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
import { detectPackage } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts';
3+
import { detectPackage } from 'https://deno.land/x/polkadot/util/mod.ts';
44

55
import others from './detectOther.ts';
66
import { packageInfo } from './packageInfo.ts';

wasm-crypto-asmjs/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
export const packageInfo = { name: '@polkadot/wasm-crypto-asmjs', path: new URL(import.meta.url).pathname, type: 'deno', version: '0.2.35' };
3+
export const packageInfo = { name: '@polkadot/wasm-crypto-asmjs', path: new URL(import.meta.url).pathname, type: 'deno', version: '7.1.1' };

wasm-crypto-init/asm.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
import type { InitFn } from 'https://deno.land/x/polkadot@0.2.35/wasm-bridge/types.ts';
2+
import type { InitFn } from 'https://deno.land/x/polkadot/wasm-bridge/types.ts';
33
import type { WasmCryptoInstance } from './types.ts';
44

5-
import { createWasmFn } from 'https://deno.land/x/polkadot@0.2.35/wasm-bridge/mod.ts';
6-
import { asmJsInit } from 'https://deno.land/x/polkadot@0.2.35/wasm-crypto-asmjs/mod.ts';
5+
import { createWasmFn } from 'https://deno.land/x/polkadot/wasm-bridge/mod.ts';
6+
import { asmJsInit } from 'https://deno.land/x/polkadot/wasm-crypto-asmjs/mod.ts';
77

88
export { packageInfo } from './packageInfo.ts';
99

wasm-crypto-init/both.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

2-
import type { InitFn } from 'https://deno.land/x/polkadot@0.2.35/wasm-bridge/types.ts';
2+
import type { InitFn } from 'https://deno.land/x/polkadot/wasm-bridge/types.ts';
33
import type { WasmCryptoInstance } from './types.ts';
44

5-
import { createWasmFn } from 'https://deno.land/x/polkadot@0.2.35/wasm-bridge/mod.ts';
6-
import { asmJsInit } from 'https://deno.land/x/polkadot@0.2.35/wasm-crypto-asmjs/mod.ts';
7-
import { wasmBytes } from 'https://deno.land/x/polkadot@0.2.35/wasm-crypto-wasm/mod.ts';
5+
import { createWasmFn } from 'https://deno.land/x/polkadot/wasm-bridge/mod.ts';
6+
import { asmJsInit } from 'https://deno.land/x/polkadot/wasm-crypto-asmjs/mod.ts';
7+
import { wasmBytes } from 'https://deno.land/x/polkadot/wasm-crypto-wasm/mod.ts';
88

99
export { packageInfo } from './packageInfo.ts';
1010

wasm-crypto-init/detectOther.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
import { packageInfo as bridgeInfo } from 'https://deno.land/x/polkadot@0.2.35/wasm-bridge/packageInfo.ts';
3-
import { packageInfo as asmInfo } from 'https://deno.land/x/polkadot@0.2.35/wasm-crypto-asmjs/packageInfo.ts';
4-
import { packageInfo as wasmInfo } from 'https://deno.land/x/polkadot@0.2.35/wasm-crypto-wasm/packageInfo.ts';
2+
import { packageInfo as bridgeInfo } from 'https://deno.land/x/polkadot/wasm-bridge/packageInfo.ts';
3+
import { packageInfo as asmInfo } from 'https://deno.land/x/polkadot/wasm-crypto-asmjs/packageInfo.ts';
4+
import { packageInfo as wasmInfo } from 'https://deno.land/x/polkadot/wasm-crypto-wasm/packageInfo.ts';
55

66
export default [bridgeInfo, asmInfo, wasmInfo];

0 commit comments

Comments
 (0)