@xmtp/wasm-bindings 1.1.1 → 1.1.3
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 +17 -17
- package/dist/bindings_wasm.js +13 -13
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +17 -17
- package/package.json +1 -1
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -695,18 +695,6 @@ export interface InitOutput {
|
|
|
695
695
|
readonly inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
696
696
|
readonly client_inboxState: (a: number, b: number) => any;
|
|
697
697
|
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
698
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
699
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
700
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
701
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
702
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
703
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
704
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
705
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
706
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
707
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
708
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
709
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
710
698
|
readonly __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
711
699
|
readonly __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
712
700
|
readonly __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -728,6 +716,18 @@ export interface InitOutput {
|
|
|
728
716
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
729
717
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
730
718
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
719
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
720
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
721
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
722
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
723
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
724
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
725
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
726
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
727
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
728
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
729
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
730
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
731
731
|
readonly __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
732
732
|
readonly __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
733
733
|
readonly __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -792,8 +792,6 @@ export interface InitOutput {
|
|
|
792
792
|
readonly conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
793
793
|
readonly conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
794
794
|
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
795
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
796
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
797
795
|
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
798
796
|
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
799
797
|
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -866,6 +864,8 @@ export interface InitOutput {
|
|
|
866
864
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
867
865
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
868
866
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
867
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
868
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [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 closure3812_externref_shim: (a: number, b: number, c: any) => void;
|
|
900
|
+
readonly closure4807_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
901
|
+
readonly closure4806_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.closure3812_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.closure4807_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.closure4806_externref_shim(arg0, arg1, arg2, arg3);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/**
|
|
@@ -963,7 +963,7 @@ export class ContentTypeId {
|
|
|
963
963
|
set authorityId(arg0) {
|
|
964
964
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
965
965
|
const len0 = WASM_VECTOR_LEN;
|
|
966
|
-
wasm.
|
|
966
|
+
wasm.__wbg_set_consent_entity(this.__wbg_ptr, ptr0, len0);
|
|
967
967
|
}
|
|
968
968
|
/**
|
|
969
969
|
* @returns {string}
|
|
@@ -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_d39af2c2a65f8104 = function(arg0, arg1) {
|
|
4838
4838
|
arg0.on_consent_update(arg1);
|
|
4839
4839
|
};
|
|
4840
|
-
imports.wbg.
|
|
4840
|
+
imports.wbg.__wbg_onconversation_2776d8d9426c5229 = function(arg0, arg1) {
|
|
4841
4841
|
arg0.on_conversation(Conversation.__wrap(arg1));
|
|
4842
4842
|
};
|
|
4843
|
-
imports.wbg.
|
|
4843
|
+
imports.wbg.__wbg_onerror_75829c7bc5432c6c = function(arg0, arg1) {
|
|
4844
4844
|
arg0.on_error(arg1);
|
|
4845
4845
|
};
|
|
4846
|
-
imports.wbg.
|
|
4846
|
+
imports.wbg.__wbg_onmessage_501b172c699f8bf5 = function(arg0, arg1) {
|
|
4847
4847
|
arg0.on_message(Message.__wrap(arg1));
|
|
4848
4848
|
};
|
|
4849
|
-
imports.wbg.
|
|
4849
|
+
imports.wbg.__wbg_onuserpreferenceupdate_3113ed19eb68f530 = 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_wrapper16352 = function(arg0, arg1, arg2) {
|
|
5134
|
+
const ret = makeMutClosure(arg0, arg1, 3742, __wbg_adapter_48);
|
|
5135
5135
|
return ret;
|
|
5136
5136
|
};
|
|
5137
|
-
imports.wbg.
|
|
5138
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5137
|
+
imports.wbg.__wbindgen_closure_wrapper16631 = function(arg0, arg1, arg2) {
|
|
5138
|
+
const ret = makeMutClosure(arg0, arg1, 3813, __wbg_adapter_51);
|
|
5139
5139
|
return ret;
|
|
5140
5140
|
};
|
|
5141
5141
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -155,18 +155,6 @@ export const __wbg_set_inboxstate_accountIdentifiers: (a: number, b: number, c:
|
|
|
155
155
|
export const inboxstate_new: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => number;
|
|
156
156
|
export const client_inboxState: (a: number, b: number) => any;
|
|
157
157
|
export const client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
158
|
-
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
159
|
-
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
160
|
-
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
161
|
-
export const __wbg_get_consent_state: (a: number) => number;
|
|
162
|
-
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
163
|
-
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
164
|
-
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
165
|
-
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
166
|
-
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
167
|
-
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
168
|
-
export const conversation_consentState: (a: number) => [number, number, number];
|
|
169
|
-
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
170
158
|
export const __wbg_permissionpolicyset_free: (a: number, b: number) => void;
|
|
171
159
|
export const __wbg_get_permissionpolicyset_addMemberPolicy: (a: number) => number;
|
|
172
160
|
export const __wbg_set_permissionpolicyset_addMemberPolicy: (a: number, b: number) => void;
|
|
@@ -188,6 +176,18 @@ export const permissionpolicyset_new: (a: number, b: number, c: number, d: numbe
|
|
|
188
176
|
export const __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
189
177
|
export const grouppermissions_policyType: (a: number) => [number, number, number];
|
|
190
178
|
export const grouppermissions_policySet: (a: number) => [number, number, number];
|
|
179
|
+
export const __wbg_consent_free: (a: number, b: number) => void;
|
|
180
|
+
export const __wbg_get_consent_entityType: (a: number) => number;
|
|
181
|
+
export const __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
182
|
+
export const __wbg_get_consent_state: (a: number) => number;
|
|
183
|
+
export const __wbg_set_consent_state: (a: number, b: number) => void;
|
|
184
|
+
export const __wbg_get_consent_entity: (a: number) => [number, number];
|
|
185
|
+
export const __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
186
|
+
export const consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
187
|
+
export const client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
188
|
+
export const client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
189
|
+
export const conversation_consentState: (a: number) => [number, number, number];
|
|
190
|
+
export const conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
191
191
|
export const __wbg_listconversationsoptions_free: (a: number, b: number) => void;
|
|
192
192
|
export const __wbg_get_listconversationsoptions_consentStates: (a: number) => [number, number];
|
|
193
193
|
export const __wbg_set_listconversationsoptions_consentStates: (a: number, b: number, c: number) => void;
|
|
@@ -252,8 +252,6 @@ export const conversations_streamAllMessages: (a: number, b: any, c: number) =>
|
|
|
252
252
|
export const conversations_streamConsent: (a: number, b: any) => [number, number, number];
|
|
253
253
|
export const conversations_streamPreferences: (a: number, b: any) => [number, number, number];
|
|
254
254
|
export const __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
255
|
-
export const __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
256
|
-
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
257
255
|
export const __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
258
256
|
export const __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
259
257
|
export const __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
@@ -326,6 +324,8 @@ export const __wbg_get_creategroupoptions_messageDisappearingSettings: (a: numbe
|
|
|
326
324
|
export const __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
327
325
|
export const __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
328
326
|
export const __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
327
|
+
export const __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
328
|
+
export const __wbg_get_contenttypeid_authorityId: (a: number) => [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 closure3812_externref_shim: (a: number, b: number, c: any) => void;
|
|
360
|
+
export const closure4807_externref_shim: (a: number, b: number, c: any, d: number, e: any) => number;
|
|
361
|
+
export const closure4806_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
362
362
|
export const __wbindgen_start: () => void;
|