@wgb5445/aptos-intent-npm 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -220,5 +220,4 @@ export function initSync(module: { module: SyncInitInput } | SyncInitInput): Ini
220
220
  */
221
221
  export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
222
222
 
223
-
224
- export function aptos_dynamic_transaction_composer_bg(imports: any): Promise<WebAssembly.Module>
223
+ export function set_wasm(): Promise<WebAssembly.Module>
package/dist/cjs/entry.js CHANGED
@@ -1175,7 +1175,7 @@ function initSync(module) {
1175
1175
  return __wbg_finalize_init(instance);
1176
1176
  }
1177
1177
 
1178
- async function get_wasm (){
1178
+ async function set_wasm (){
1179
1179
  return (await Promise.resolve().then(function () { return require('./aptos_dynamic_transaction_composer_bg-BYt8TUnu.js'); })).default()
1180
1180
  }
1181
1181
 
@@ -1191,5 +1191,5 @@ exports.QueuingStrategy = QueuingStrategy;
1191
1191
  exports.ReadableStreamGetReaderOptions = ReadableStreamGetReaderOptions;
1192
1192
  exports.TransactionComposer = TransactionComposer;
1193
1193
  exports.generate_batched_call_payload_wasm = generate_batched_call_payload_wasm;
1194
- exports.get_wasm = get_wasm;
1195
1194
  exports.initSync = initSync;
1195
+ exports.set_wasm = set_wasm;
@@ -220,4 +220,4 @@ export function initSync(module: { module: SyncInitInput } | SyncInitInput): Ini
220
220
  */
221
221
  export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
222
222
 
223
- export function aptos_dynamic_transaction_composer_bg(imports: any): Promise<WebAssembly.Module>
223
+ export function get_wasm(): Promise<WebAssembly.Module>
package/dist/esm/entry.js CHANGED
@@ -1173,8 +1173,8 @@ function initSync(module) {
1173
1173
  return __wbg_finalize_init(instance);
1174
1174
  }
1175
1175
 
1176
- async function get_wasm (){
1176
+ async function set_wasm (){
1177
1177
  return (await import('./aptos_dynamic_transaction_composer_bg-69aEwTzx.js')).default()
1178
1178
  }
1179
1179
 
1180
- export { AllocatedLocal, BuilderCall, CallArgument, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, MoveFunctionCall, PipeOptions, QueuingStrategy, ReadableStreamGetReaderOptions, TransactionComposer, generate_batched_call_payload_wasm, get_wasm, initSync };
1180
+ export { AllocatedLocal, BuilderCall, CallArgument, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, MoveFunctionCall, PipeOptions, QueuingStrategy, ReadableStreamGetReaderOptions, TransactionComposer, generate_batched_call_payload_wasm, initSync, set_wasm };
package/entry.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "../pkg/aptos_dynamic_transaction_composer.js";
2
2
 
3
- export async function get_wasm (){
3
+ export async function set_wasm (){
4
4
  return (await import("../pkg/aptos_dynamic_transaction_composer_bg.wasm")).default()
5
5
  }
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.0",
7
+ "version": "0.1.2",
8
8
  "type": "module",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "exports": {
29
29
  ".": {
30
- "types": "./dist/aptos_dynamic_transaction_composer.d.ts",
30
+ "types": "./dist/esm/aptos_dynamic_transaction_composer.d.ts",
31
31
  "import": "./dist/esm/entry.js",
32
32
  "default": "./dist/cjs/entry.js"
33
33
  }