Skip to content

Commit a19dc7b

Browse files
wasm-{bridge, crypto, crypto-{asmjs, init, wasm}, util} 7.4.1
1 parent c6927d5 commit a19dc7b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+90
-111
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

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.45/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/detectOther.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

wasm-bridge/detectPackage.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

wasm-bridge/index.ts

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

2-
import './detectPackage.ts';
2+
import './packageDetect.ts';
33

44
export * from './bundle.ts';

wasm-bridge/packageDetect.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
3+
import { detectPackage } from 'https://deno.land/x/polkadot/util/mod.ts';
4+
5+
import { packageInfo } from './packageInfo.ts';
6+
7+
detectPackage(packageInfo, null, []);

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.45' };
3+
export const packageInfo = { name: '@polkadot/wasm-bridge', path: new URL(import.meta.url).pathname, type: 'deno', version: '7.4.1' };

wasm-bridge/wbg.ts

Lines changed: 1 addition & 1 deletion
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.45/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 };

wasm-crypto-asmjs/detectOther.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

wasm-crypto-asmjs/detectPackage.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)