@wgb5445/aptos-intent-npm 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/entry.js CHANGED
@@ -330,25 +330,6 @@ class BatchArgument {
330
330
  const ptr = this.__destroy_into_raw();
331
331
  wasm.__wbg_batchargument_free(ptr);
332
332
  }
333
- }
334
-
335
- const BatchArgumentWASMFinalization = (typeof FinalizationRegistry === 'undefined')
336
- ? { register: () => {}, unregister: () => {} }
337
- : new FinalizationRegistry(ptr => wasm.__wbg_batchargumentwasm_free(ptr >>> 0));
338
-
339
- class BatchArgumentWASM {
340
-
341
- __destroy_into_raw() {
342
- const ptr = this.__wbg_ptr;
343
- this.__wbg_ptr = 0;
344
- BatchArgumentWASMFinalization.unregister(this);
345
- return ptr;
346
- }
347
-
348
- free() {
349
- const ptr = this.__destroy_into_raw();
350
- wasm.__wbg_batchargumentwasm_free(ptr);
351
- }
352
333
  /**
353
334
  * @param {Uint8Array} bytes
354
335
  * @returns {BatchArgument}
@@ -356,7 +337,7 @@ class BatchArgumentWASM {
356
337
  static new_bytes(bytes) {
357
338
  const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
358
339
  const len0 = WASM_VECTOR_LEN;
359
- const ret = wasm.batchargumentwasm_new_bytes(ptr0, len0);
340
+ const ret = wasm.batchargument_new_bytes(ptr0, len0);
360
341
  return BatchArgument.__wrap(ret);
361
342
  }
362
343
  /**
@@ -364,7 +345,7 @@ class BatchArgumentWASM {
364
345
  * @returns {BatchArgument}
365
346
  */
366
347
  static new_signer(signer_idx) {
367
- const ret = wasm.batchargumentwasm_new_signer(signer_idx);
348
+ const ret = wasm.batchargument_new_signer(signer_idx);
368
349
  return BatchArgument.__wrap(ret);
369
350
  }
370
351
  /**
@@ -373,7 +354,7 @@ class BatchArgumentWASM {
373
354
  borrow() {
374
355
  try {
375
356
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
376
- wasm.batchargumentwasm_borrow(retptr, this.__wbg_ptr);
357
+ wasm.batchargument_borrow(retptr, this.__wbg_ptr);
377
358
  var r0 = getInt32Memory0()[retptr / 4 + 0];
378
359
  var r1 = getInt32Memory0()[retptr / 4 + 1];
379
360
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -391,7 +372,7 @@ class BatchArgumentWASM {
391
372
  borrow_mut() {
392
373
  try {
393
374
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
394
- wasm.batchargumentwasm_borrow_mut(retptr, this.__wbg_ptr);
375
+ wasm.batchargument_borrow_mut(retptr, this.__wbg_ptr);
395
376
  var r0 = getInt32Memory0()[retptr / 4 + 0];
396
377
  var r1 = getInt32Memory0()[retptr / 4 + 1];
397
378
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -409,7 +390,7 @@ class BatchArgumentWASM {
409
390
  copy() {
410
391
  try {
411
392
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
412
- wasm.batchargumentwasm_copy(retptr, this.__wbg_ptr);
393
+ wasm.batchargument_copy(retptr, this.__wbg_ptr);
413
394
  var r0 = getInt32Memory0()[retptr / 4 + 0];
414
395
  var r1 = getInt32Memory0()[retptr / 4 + 1];
415
396
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -842,7 +823,7 @@ function initSync(module) {
842
823
  }
843
824
 
844
825
  async function get_wasm (){
845
- return (await import('./aptos_intent_bg-vY0jOTb5.js')).default()
826
+ return (await import('./aptos_intent_bg-CX0REmIg.js')).default()
846
827
  }
847
828
 
848
- export { BatchArgument, BatchArgumentType, BatchArgumentWASM, BatchedFunctionCall, BatchedFunctionCallBuilder, generate_intent_payload_wasm, get_wasm, initSync };
829
+ export { BatchArgument, BatchArgumentType, BatchedFunctionCall, BatchedFunctionCallBuilder, generate_intent_payload_wasm, get_wasm, initSync };
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.0.11",
7
+ "version": "0.0.12",
8
8
  "type": "module",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {