@xmtp/wasm-bindings 0.0.18 → 0.0.20

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.
@@ -726,6 +726,8 @@ export interface InitOutput {
726
726
  readonly __wbg_reaction_free: (a: number, b: number) => void;
727
727
  readonly __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
728
728
  readonly __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
729
+ readonly __wbg_get_reaction_action: (a: number) => number;
730
+ readonly __wbg_set_reaction_action: (a: number, b: number) => void;
729
731
  readonly __wbg_get_reaction_content: (a: number) => [number, number];
730
732
  readonly __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
731
733
  readonly __wbg_get_reaction_schema: (a: number) => number;
@@ -790,8 +792,6 @@ export interface InitOutput {
790
792
  readonly conversation_getHmacKeys: (a: number) => [number, number, number];
791
793
  readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
792
794
  readonly __wbg_get_reaction_reference: (a: number) => [number, number];
793
- readonly __wbg_set_reaction_action: (a: number, b: number) => void;
794
- readonly __wbg_get_reaction_action: (a: number) => number;
795
795
  readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
796
796
  readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
797
797
  readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -822,9 +822,9 @@ export interface InitOutput {
822
822
  readonly __wbindgen_export_7: WebAssembly.Table;
823
823
  readonly __externref_table_dealloc: (a: number) => void;
824
824
  readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
825
- readonly closure3672_externref_shim: (a: number, b: number, c: any) => void;
826
- readonly closure4679_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
827
- readonly closure4678_externref_shim: (a: number, b: number, c: any, d: any) => void;
825
+ readonly closure3662_externref_shim: (a: number, b: number, c: any) => void;
826
+ readonly closure4669_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
827
+ readonly closure4668_externref_shim: (a: number, b: number, c: any, d: any) => void;
828
828
  readonly __wbindgen_start: () => void;
829
829
  }
830
830
 
@@ -382,16 +382,16 @@ function __wbg_adapter_46(arg0, arg1) {
382
382
  }
383
383
 
384
384
  function __wbg_adapter_49(arg0, arg1, arg2) {
385
- wasm.closure3672_externref_shim(arg0, arg1, arg2);
385
+ wasm.closure3662_externref_shim(arg0, arg1, arg2);
386
386
  }
387
387
 
388
388
  function __wbg_adapter_579(arg0, arg1, arg2, arg3, arg4) {
389
- const ret = wasm.closure4679_externref_shim(arg0, arg1, arg2, arg3, arg4);
389
+ const ret = wasm.closure4669_externref_shim(arg0, arg1, arg2, arg3, arg4);
390
390
  return ret !== 0;
391
391
  }
392
392
 
393
393
  function __wbg_adapter_680(arg0, arg1, arg2, arg3) {
394
- wasm.closure4678_externref_shim(arg0, arg1, arg2, arg3);
394
+ wasm.closure4668_externref_shim(arg0, arg1, arg2, arg3);
395
395
  }
396
396
 
397
397
  /**
@@ -3730,14 +3730,14 @@ export class Reaction {
3730
3730
  * @returns {ReactionAction}
3731
3731
  */
3732
3732
  get action() {
3733
- const ret = wasm.__wbg_get_groupmember_permissionLevel(this.__wbg_ptr);
3733
+ const ret = wasm.__wbg_get_reaction_action(this.__wbg_ptr);
3734
3734
  return ret;
3735
3735
  }
3736
3736
  /**
3737
3737
  * @param {ReactionAction} arg0
3738
3738
  */
3739
3739
  set action(arg0) {
3740
- wasm.__wbg_set_groupmember_permissionLevel(this.__wbg_ptr, arg0);
3740
+ wasm.__wbg_set_reaction_action(this.__wbg_ptr, arg0);
3741
3741
  }
3742
3742
  /**
3743
3743
  * @returns {string}
@@ -4966,12 +4966,12 @@ function __wbg_get_imports() {
4966
4966
  const ret = false;
4967
4967
  return ret;
4968
4968
  };
4969
- imports.wbg.__wbindgen_closure_wrapper15733 = function(arg0, arg1, arg2) {
4970
- const ret = makeMutClosure(arg0, arg1, 3602, __wbg_adapter_46);
4969
+ imports.wbg.__wbindgen_closure_wrapper15735 = function(arg0, arg1, arg2) {
4970
+ const ret = makeMutClosure(arg0, arg1, 3591, __wbg_adapter_46);
4971
4971
  return ret;
4972
4972
  };
4973
- imports.wbg.__wbindgen_closure_wrapper16041 = function(arg0, arg1, arg2) {
4974
- const ret = makeMutClosure(arg0, arg1, 3673, __wbg_adapter_49);
4973
+ imports.wbg.__wbindgen_closure_wrapper16045 = function(arg0, arg1, arg2) {
4974
+ const ret = makeMutClosure(arg0, arg1, 3663, __wbg_adapter_49);
4975
4975
  return ret;
4976
4976
  };
4977
4977
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -244,6 +244,8 @@ export const decodeMultiRemoteAttachment: (a: any) => [number, number, number];
244
244
  export const __wbg_reaction_free: (a: number, b: number) => void;
245
245
  export const __wbg_get_reaction_referenceInboxId: (a: number) => [number, number];
246
246
  export const __wbg_set_reaction_referenceInboxId: (a: number, b: number, c: number) => void;
247
+ export const __wbg_get_reaction_action: (a: number) => number;
248
+ export const __wbg_set_reaction_action: (a: number, b: number) => void;
247
249
  export const __wbg_get_reaction_content: (a: number) => [number, number];
248
250
  export const __wbg_set_reaction_content: (a: number, b: number, c: number) => void;
249
251
  export const __wbg_get_reaction_schema: (a: number) => number;
@@ -308,8 +310,6 @@ export const conversation_isMessageDisappearingEnabled: (a: number) => [number,
308
310
  export const conversation_getHmacKeys: (a: number) => [number, number, number];
309
311
  export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
310
312
  export const __wbg_get_reaction_reference: (a: number) => [number, number];
311
- export const __wbg_set_reaction_action: (a: number, b: number) => void;
312
- export const __wbg_get_reaction_action: (a: number) => number;
313
313
  export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
314
314
  export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
315
315
  export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
@@ -340,7 +340,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
340
340
  export const __wbindgen_export_7: WebAssembly.Table;
341
341
  export const __externref_table_dealloc: (a: number) => void;
342
342
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff1927556d6713ec: (a: number, b: number) => void;
343
- export const closure3672_externref_shim: (a: number, b: number, c: any) => void;
344
- export const closure4679_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
345
- export const closure4678_externref_shim: (a: number, b: number, c: any, d: any) => void;
343
+ export const closure3662_externref_shim: (a: number, b: number, c: any) => void;
344
+ export const closure4669_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
345
+ export const closure4668_externref_shim: (a: number, b: number, c: any, d: any) => void;
346
346
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/wasm-bindings",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "WASM bindings for the libXMTP rust library",