@massalabs/gossip-sdk 0.0.2-dev.20260507151202 → 0.0.2-dev.20260507154753
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/assets/generated/wasm-secureStorage/secureStorage.d.ts +5 -5
- package/dist/assets/generated/wasm-secureStorage/secureStorage.js +36 -36
- package/dist/assets/generated/wasm-secureStorage/secureStorage_bg.wasm +0 -0
- package/dist/assets/generated/wasm-secureStorage/secureStorage_bg.wasm.d.ts +5 -5
- package/package.json +1 -1
|
@@ -110,11 +110,11 @@ export interface InitOutput {
|
|
|
110
110
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
111
111
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
112
112
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
113
|
+
readonly closure112_externref_shim: (a: number, b: number, c: any) => void;
|
|
114
|
+
readonly wasm_bindgen_3f82e0ab9dbbc377___convert__closures_____invoke______: (a: number, b: number) => void;
|
|
115
|
+
readonly closure678_externref_shim: (a: number, b: number, c: any) => void;
|
|
116
|
+
readonly closure56_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
117
|
+
readonly closure723_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
118
118
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
119
119
|
readonly __wbindgen_start: (a: number) => void;
|
|
120
120
|
}
|
|
@@ -190,7 +190,7 @@ state => {
|
|
|
190
190
|
}
|
|
191
191
|
);
|
|
192
192
|
|
|
193
|
-
function
|
|
193
|
+
function makeClosure(arg0, arg1, dtor, f) {
|
|
194
194
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
195
195
|
const real = (...args) => {
|
|
196
196
|
|
|
@@ -198,16 +198,12 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
198
198
|
// count. This ensures that the Rust closure environment won't
|
|
199
199
|
// be deallocated while we're invoking it.
|
|
200
200
|
state.cnt++;
|
|
201
|
-
const a = state.a;
|
|
202
|
-
state.a = 0;
|
|
203
201
|
try {
|
|
204
|
-
return f(a, state.b, ...args);
|
|
202
|
+
return f(state.a, state.b, ...args);
|
|
205
203
|
} finally {
|
|
206
204
|
if (--state.cnt === 0) {
|
|
207
|
-
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
|
205
|
+
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b); state.a = 0;
|
|
208
206
|
CLOSURE_DTORS.unregister(state);
|
|
209
|
-
} else {
|
|
210
|
-
state.a = a;
|
|
211
207
|
}
|
|
212
208
|
}
|
|
213
209
|
};
|
|
@@ -216,7 +212,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
216
212
|
return real;
|
|
217
213
|
}
|
|
218
214
|
|
|
219
|
-
function
|
|
215
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
220
216
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
221
217
|
const real = (...args) => {
|
|
222
218
|
|
|
@@ -224,12 +220,16 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
224
220
|
// count. This ensures that the Rust closure environment won't
|
|
225
221
|
// be deallocated while we're invoking it.
|
|
226
222
|
state.cnt++;
|
|
223
|
+
const a = state.a;
|
|
224
|
+
state.a = 0;
|
|
227
225
|
try {
|
|
228
|
-
return f(
|
|
226
|
+
return f(a, state.b, ...args);
|
|
229
227
|
} finally {
|
|
230
228
|
if (--state.cnt === 0) {
|
|
231
|
-
wasm.__wbindgen_export_7.get(state.dtor)(
|
|
229
|
+
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
|
232
230
|
CLOSURE_DTORS.unregister(state);
|
|
231
|
+
} else {
|
|
232
|
+
state.a = a;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
};
|
|
@@ -456,27 +456,27 @@ export function wbg_rayon_start_worker(receiver) {
|
|
|
456
456
|
wasm.wbg_rayon_start_worker(receiver);
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
function
|
|
460
|
-
wasm.
|
|
459
|
+
function __wbg_adapter_8(arg0, arg1, arg2) {
|
|
460
|
+
wasm.closure112_externref_shim(arg0, arg1, arg2);
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
function
|
|
464
|
-
wasm.
|
|
463
|
+
function __wbg_adapter_13(arg0, arg1) {
|
|
464
|
+
wasm.wasm_bindgen_3f82e0ab9dbbc377___convert__closures_____invoke______(arg0, arg1);
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
function
|
|
468
|
-
wasm.
|
|
467
|
+
function __wbg_adapter_20(arg0, arg1, arg2) {
|
|
468
|
+
wasm.closure678_externref_shim(arg0, arg1, arg2);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
function
|
|
472
|
-
const ret = wasm.
|
|
471
|
+
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
472
|
+
const ret = wasm.closure56_externref_shim_multivalue_shim(arg0, arg1, arg2);
|
|
473
473
|
if (ret[1]) {
|
|
474
474
|
throw takeFromExternrefTable0(ret[0]);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
function __wbg_adapter_186(arg0, arg1, arg2, arg3) {
|
|
479
|
-
wasm.
|
|
479
|
+
wasm.closure723_externref_shim(arg0, arg1, arg2, arg3);
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
const __wbindgen_enum_IdbRequestReadyState = ["pending", "done"];
|
|
@@ -1093,14 +1093,14 @@ function __wbg_get_imports() {
|
|
|
1093
1093
|
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
1094
1094
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1095
1095
|
};
|
|
1096
|
-
imports.wbg.
|
|
1097
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1098
|
-
const ret =
|
|
1096
|
+
imports.wbg.__wbindgen_cast_059aacf5a239a77f = function(arg0, arg1) {
|
|
1097
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 675, function: Function { arguments: [NamedExternref("Event")], shim_idx: 678, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1098
|
+
const ret = makeClosure(arg0, arg1, 675, __wbg_adapter_20);
|
|
1099
1099
|
return ret;
|
|
1100
1100
|
};
|
|
1101
|
-
imports.wbg.
|
|
1102
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1103
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1101
|
+
imports.wbg.__wbindgen_cast_146fd35f906c65cd = function(arg0, arg1) {
|
|
1102
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 111, function: Function { arguments: [Externref], shim_idx: 112, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1103
|
+
const ret = makeMutClosure(arg0, arg1, 111, __wbg_adapter_8);
|
|
1104
1104
|
return ret;
|
|
1105
1105
|
};
|
|
1106
1106
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
@@ -1108,14 +1108,9 @@ function __wbg_get_imports() {
|
|
|
1108
1108
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1109
1109
|
return ret;
|
|
1110
1110
|
};
|
|
1111
|
-
imports.wbg.
|
|
1112
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1113
|
-
const ret =
|
|
1114
|
-
return ret;
|
|
1115
|
-
};
|
|
1116
|
-
imports.wbg.__wbindgen_cast_4552dac90a1d9194 = function(arg0, arg1) {
|
|
1117
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 661, function: Function { arguments: [], shim_idx: 664, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1118
|
-
const ret = makeClosure(arg0, arg1, 661, __wbg_adapter_11);
|
|
1111
|
+
imports.wbg.__wbindgen_cast_7ebbbe5a2f6a40ca = function(arg0, arg1) {
|
|
1112
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 55, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 56, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1113
|
+
const ret = makeMutClosure(arg0, arg1, 55, __wbg_adapter_25);
|
|
1119
1114
|
return ret;
|
|
1120
1115
|
};
|
|
1121
1116
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
@@ -1123,9 +1118,9 @@ function __wbg_get_imports() {
|
|
|
1123
1118
|
const ret = arg0;
|
|
1124
1119
|
return ret;
|
|
1125
1120
|
};
|
|
1126
|
-
imports.wbg.
|
|
1127
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1128
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1121
|
+
imports.wbg.__wbindgen_cast_a53a037200293105 = function(arg0, arg1) {
|
|
1122
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 111, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 112, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1123
|
+
const ret = makeMutClosure(arg0, arg1, 111, __wbg_adapter_8);
|
|
1129
1124
|
return ret;
|
|
1130
1125
|
};
|
|
1131
1126
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
@@ -1138,6 +1133,11 @@ function __wbg_get_imports() {
|
|
|
1138
1133
|
const ret = arg0;
|
|
1139
1134
|
return ret;
|
|
1140
1135
|
};
|
|
1136
|
+
imports.wbg.__wbindgen_cast_e55b3bcdac329b29 = function(arg0, arg1) {
|
|
1137
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 675, function: Function { arguments: [], shim_idx: 676, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1138
|
+
const ret = makeClosure(arg0, arg1, 675, __wbg_adapter_13);
|
|
1139
|
+
return ret;
|
|
1140
|
+
};
|
|
1141
1141
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1142
1142
|
const table = wasm.__wbindgen_export_2;
|
|
1143
1143
|
const offset = table.grow(4);
|
|
Binary file
|
|
@@ -44,10 +44,10 @@ export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
|
44
44
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
45
45
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
46
46
|
export const __externref_table_dealloc: (a: number) => void;
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
47
|
+
export const closure112_externref_shim: (a: number, b: number, c: any) => void;
|
|
48
|
+
export const wasm_bindgen_3f82e0ab9dbbc377___convert__closures_____invoke______: (a: number, b: number) => void;
|
|
49
|
+
export const closure678_externref_shim: (a: number, b: number, c: any) => void;
|
|
50
|
+
export const closure56_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
51
|
+
export const closure723_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
52
52
|
export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
53
53
|
export const __wbindgen_start: (a: number) => void;
|
package/package.json
CHANGED