@wgb5445/aptos-intent-npm 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/main.js +3 -0
- package/dist/esm/main.mjs +2 -0
- package/dist/main.d.mts +2 -0
- package/dist/main.d.ts +2 -0
- package/main.mts +2 -1
- package/package.json +4 -1
package/dist/cjs/main.js
CHANGED
@@ -22,6 +22,7 @@ var __toBinaryNode = (base64) => new Uint8Array(Buffer.from(base64, "base64"));
|
|
22
22
|
var main_exports = {};
|
23
23
|
__export(main_exports, {
|
24
24
|
AllocatedLocal: () => AllocatedLocal,
|
25
|
+
Buffer: () => import_buffer.Buffer,
|
25
26
|
BuilderCall: () => BuilderCall,
|
26
27
|
CallArgument: () => CallArgument,
|
27
28
|
IntoUnderlyingByteSource: () => IntoUnderlyingByteSource,
|
@@ -1226,10 +1227,12 @@ async function __wbg_init(module_or_path) {
|
|
1226
1227
|
}
|
1227
1228
|
|
1228
1229
|
// main.mts
|
1230
|
+
var import_buffer = require("buffer");
|
1229
1231
|
var wasm2 = new WebAssembly.Module(new Uint8Array(aptos_dynamic_transaction_composer_bg_default));
|
1230
1232
|
// Annotate the CommonJS export names for ESM import in node:
|
1231
1233
|
0 && (module.exports = {
|
1232
1234
|
AllocatedLocal,
|
1235
|
+
Buffer,
|
1233
1236
|
BuilderCall,
|
1234
1237
|
CallArgument,
|
1235
1238
|
IntoUnderlyingByteSource,
|
package/dist/esm/main.mjs
CHANGED
@@ -1186,9 +1186,11 @@ async function __wbg_init(module_or_path) {
|
|
1186
1186
|
}
|
1187
1187
|
|
1188
1188
|
// main.mts
|
1189
|
+
import { Buffer as Buffer2 } from "buffer";
|
1189
1190
|
var wasm2 = new WebAssembly.Module(new Uint8Array(aptos_dynamic_transaction_composer_bg_default));
|
1190
1191
|
export {
|
1191
1192
|
AllocatedLocal,
|
1193
|
+
Buffer2 as Buffer,
|
1192
1194
|
BuilderCall,
|
1193
1195
|
CallArgument,
|
1194
1196
|
IntoUnderlyingByteSource,
|
package/dist/main.d.mts
CHANGED
package/dist/main.d.ts
CHANGED
package/main.mts
CHANGED
@@ -2,4 +2,5 @@
|
|
2
2
|
import * as wasmModule from '../pkg/aptos_dynamic_transaction_composer_bg.wasm';
|
3
3
|
export * from "../pkg/aptos_dynamic_transaction_composer.js";
|
4
4
|
const wasm = new WebAssembly.Module(new Uint8Array(wasmModule.default));
|
5
|
-
|
5
|
+
import { Buffer } from 'buffer';
|
6
|
+
export { wasm, Buffer };
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"Aptos Labs <opensource@aptoslabs.com>"
|
5
5
|
],
|
6
6
|
"description": "Generating Move Script from intent",
|
7
|
-
"version": "0.1.
|
7
|
+
"version": "0.1.11",
|
8
8
|
"license": "Apache-2.0",
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
@@ -35,6 +35,9 @@
|
|
35
35
|
"default": "./dist/cjs/main.js"
|
36
36
|
}
|
37
37
|
},
|
38
|
+
"dependencies": {
|
39
|
+
"buffer": "^6.0.3"
|
40
|
+
},
|
38
41
|
"scripts": {
|
39
42
|
"build": "npx tsup"
|
40
43
|
}
|