@wgb5445/aptos-intent-npm 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/main.js +2 -1
- package/dist/esm/main.mjs +4 -1
- package/main.mts +2 -1
- package/package.json +1 -1
package/main.mts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
+
import { Buffer } from 'buffer';
|
2
|
+
globalThis.Buffer = Buffer;
|
1
3
|
// @ts-ignore
|
2
4
|
import * as wasmModule from '../pkg/aptos_dynamic_transaction_composer_bg.wasm';
|
3
5
|
export * from "../pkg/aptos_dynamic_transaction_composer.js";
|
4
6
|
const wasm = new WebAssembly.Module(new Uint8Array(wasmModule.default));
|
5
|
-
import { Buffer } from 'buffer';
|
6
7
|
export { wasm, Buffer };
|