@xmtp/wasm-bindings 1.1.0 → 1.1.1
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/bindings_wasm.d.ts
CHANGED
|
@@ -648,6 +648,11 @@ export interface InitOutput {
|
|
|
648
648
|
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
649
649
|
readonly __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
650
650
|
readonly __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
651
|
+
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
652
|
+
readonly streamcloser_end: (a: number) => void;
|
|
653
|
+
readonly streamcloser_endAndWait: (a: number) => any;
|
|
654
|
+
readonly streamcloser_waitForReady: (a: number) => any;
|
|
655
|
+
readonly streamcloser_isClosed: (a: number) => number;
|
|
651
656
|
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
652
657
|
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
653
658
|
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -861,11 +866,6 @@ export interface InitOutput {
|
|
|
861
866
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
862
867
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
863
868
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
864
|
-
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
865
|
-
readonly streamcloser_end: (a: number) => void;
|
|
866
|
-
readonly streamcloser_endAndWait: (a: number) => any;
|
|
867
|
-
readonly streamcloser_waitForReady: (a: number) => any;
|
|
868
|
-
readonly streamcloser_isClosed: (a: number) => number;
|
|
869
869
|
readonly rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
870
870
|
readonly rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
871
871
|
readonly rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -896,9 +896,9 @@ export interface InitOutput {
|
|
|
896
896
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
897
897
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
898
898
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
|
|
899
|
-
readonly
|
|
900
|
-
readonly
|
|
901
|
-
readonly
|
|
899
|
+
readonly closure3810_externref_shim: (a: number, b: number, c: any) => void;
|
|
900
|
+
readonly closure4805_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
901
|
+
readonly closure4804_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
902
902
|
readonly __wbindgen_start: () => void;
|
|
903
903
|
}
|
|
904
904
|
|
package/dist/bindings_wasm.js
CHANGED
|
@@ -375,16 +375,16 @@ function __wbg_adapter_48(arg0, arg1) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
function __wbg_adapter_51(arg0, arg1, arg2) {
|
|
378
|
-
wasm.
|
|
378
|
+
wasm.closure3810_externref_shim(arg0, arg1, arg2);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
function __wbg_adapter_599(arg0, arg1, arg2, arg3, arg4) {
|
|
382
|
-
const ret = wasm.
|
|
382
|
+
const ret = wasm.closure4805_externref_shim(arg0, arg1, arg2, arg3, arg4);
|
|
383
383
|
return ret !== 0;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
function __wbg_adapter_700(arg0, arg1, arg2, arg3) {
|
|
387
|
-
wasm.
|
|
387
|
+
wasm.closure4804_externref_shim(arg0, arg1, arg2, arg3);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/**
|
|
@@ -4834,19 +4834,19 @@ function __wbg_get_imports() {
|
|
|
4834
4834
|
const ret = arg0.now();
|
|
4835
4835
|
return ret;
|
|
4836
4836
|
};
|
|
4837
|
-
imports.wbg.
|
|
4837
|
+
imports.wbg.__wbg_onconsentupdate_dc598c8259919fe7 = function(arg0, arg1) {
|
|
4838
4838
|
arg0.on_consent_update(arg1);
|
|
4839
4839
|
};
|
|
4840
|
-
imports.wbg.
|
|
4840
|
+
imports.wbg.__wbg_onconversation_4d340d430077aea8 = function(arg0, arg1) {
|
|
4841
4841
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
4842
4842
|
};
|
|
4843
|
-
imports.wbg.
|
|
4843
|
+
imports.wbg.__wbg_onerror_95b1a1c12727db75 = function(arg0, arg1) {
|
|
4844
4844
|
arg0.on_error(arg1);
|
|
4845
4845
|
};
|
|
4846
|
-
imports.wbg.
|
|
4846
|
+
imports.wbg.__wbg_onmessage_183b7388984e8b76 = function(arg0, arg1) {
|
|
4847
4847
|
arg0.on_message(Message.__wrap(arg1));
|
|
4848
4848
|
};
|
|
4849
|
-
imports.wbg.
|
|
4849
|
+
imports.wbg.__wbg_onuserpreferenceupdate_9c134ed10b961697 = function(arg0, arg1, arg2) {
|
|
4850
4850
|
var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
|
|
4851
4851
|
wasm.__wbindgen_free(arg1, arg2 * 4, 4);
|
|
4852
4852
|
arg0.on_user_preference_update(v0);
|
|
@@ -5130,12 +5130,12 @@ function __wbg_get_imports() {
|
|
|
5130
5130
|
const ret = false;
|
|
5131
5131
|
return ret;
|
|
5132
5132
|
};
|
|
5133
|
-
imports.wbg.
|
|
5134
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5133
|
+
imports.wbg.__wbindgen_closure_wrapper16356 = function(arg0, arg1, arg2) {
|
|
5134
|
+
const ret = makeMutClosure(arg0, arg1, 3740, __wbg_adapter_48);
|
|
5135
5135
|
return ret;
|
|
5136
5136
|
};
|
|
5137
|
-
imports.wbg.
|
|
5138
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5137
|
+
imports.wbg.__wbindgen_closure_wrapper16635 = function(arg0, arg1, arg2) {
|
|
5138
|
+
const ret = makeMutClosure(arg0, arg1, 3811, __wbg_adapter_51);
|
|
5139
5139
|
return ret;
|
|
5140
5140
|
};
|
|
5141
5141
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -108,6 +108,11 @@ export const client_signWithInstallationKey: (a: number, b: number, c: number) =
|
|
|
108
108
|
export const client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
109
109
|
export const __wbg_set_reaction_reference: (a: number, b: number, c: number) => void;
|
|
110
110
|
export const __wbg_get_reaction_reference: (a: number) => [number, number];
|
|
111
|
+
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
112
|
+
export const streamcloser_end: (a: number) => void;
|
|
113
|
+
export const streamcloser_endAndWait: (a: number) => any;
|
|
114
|
+
export const streamcloser_waitForReady: (a: number) => any;
|
|
115
|
+
export const streamcloser_isClosed: (a: number) => number;
|
|
111
116
|
export const __wbg_client_free: (a: number, b: number) => void;
|
|
112
117
|
export const __wbg_logoptions_free: (a: number, b: number) => void;
|
|
113
118
|
export const __wbg_get_logoptions_structured: (a: number) => number;
|
|
@@ -321,11 +326,6 @@ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: numbe
|
|
|
321
326
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
322
327
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
323
328
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
324
|
-
export const __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
325
|
-
export const streamcloser_end: (a: number) => void;
|
|
326
|
-
export const streamcloser_endAndWait: (a: number) => any;
|
|
327
|
-
export const streamcloser_waitForReady: (a: number) => any;
|
|
328
|
-
export const streamcloser_isClosed: (a: number) => number;
|
|
329
329
|
export const rust_sqlite_wasm_shim_localtime_js: (a: bigint, b: number) => void;
|
|
330
330
|
export const rust_sqlite_wasm_shim_tzset_js: (a: number, b: number, c: number, d: number) => void;
|
|
331
331
|
export const rust_sqlite_wasm_shim_emscripten_get_now: () => number;
|
|
@@ -356,7 +356,7 @@ export const __externref_drop_slice: (a: number, b: number) => void;
|
|
|
356
356
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
357
357
|
export const __externref_table_dealloc: (a: number) => void;
|
|
358
358
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd11fcf7148e8db56: (a: number, b: number) => void;
|
|
359
|
-
export const
|
|
360
|
-
export const
|
|
361
|
-
export const
|
|
359
|
+
export const closure3810_externref_shim: (a: number, b: number, c: any) => void;
|
|
360
|
+
export const closure4805_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
361
|
+
export const closure4804_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
362
362
|
export const __wbindgen_start: () => void;
|