@goplasmatic/dataflow-wasm 2.1.1 → 2.1.2
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/dataflow_wasm.d.ts +3 -3
- package/dataflow_wasm.js +30 -35
- package/dataflow_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/dataflow_wasm.d.ts
CHANGED
|
@@ -129,9 +129,9 @@ export interface InitOutput {
|
|
|
129
129
|
readonly wasmengine_process_with_trace: (a: number, b: number, c: number) => any;
|
|
130
130
|
readonly wasmengine_workflow_count: (a: number) => number;
|
|
131
131
|
readonly wasmengine_workflow_ids: (a: number) => [number, number];
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
132
|
+
readonly wasm_bindgen__closure__destroy__h5dba92129eefeef2: (a: number, b: number) => void;
|
|
133
|
+
readonly wasm_bindgen__convert__closures_____invoke__h5370d2e5cb80ebeb: (a: number, b: number, c: any) => [number, number];
|
|
134
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0beea0fcd181fc43: (a: number, b: number, c: any, d: any) => void;
|
|
135
135
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
136
136
|
readonly __externref_table_alloc: () => number;
|
|
137
137
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
package/dataflow_wasm.js
CHANGED
|
@@ -181,29 +181,25 @@ export function process_message(workflows_json, payload) {
|
|
|
181
181
|
function __wbg_get_imports() {
|
|
182
182
|
const import0 = {
|
|
183
183
|
__proto__: null,
|
|
184
|
-
|
|
184
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
185
185
|
const ret = typeof(arg0) === 'function';
|
|
186
186
|
return ret;
|
|
187
187
|
},
|
|
188
|
-
|
|
188
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
189
189
|
const ret = arg0 === undefined;
|
|
190
190
|
return ret;
|
|
191
191
|
},
|
|
192
|
-
|
|
192
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
193
193
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
196
196
|
arg0._wbg_cb_unref();
|
|
197
197
|
},
|
|
198
|
-
|
|
199
|
-
const ret = arg0.call(arg1);
|
|
200
|
-
return ret;
|
|
201
|
-
}, arguments); },
|
|
202
|
-
__wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
|
|
198
|
+
__wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
203
199
|
const ret = arg0.call(arg1, arg2);
|
|
204
200
|
return ret;
|
|
205
201
|
}, arguments); },
|
|
206
|
-
|
|
202
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
207
203
|
let deferred0_0;
|
|
208
204
|
let deferred0_1;
|
|
209
205
|
try {
|
|
@@ -214,29 +210,29 @@ function __wbg_get_imports() {
|
|
|
214
210
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
215
211
|
}
|
|
216
212
|
},
|
|
217
|
-
|
|
213
|
+
__wbg_getRandomValues_a1cf2e70b003a59d: function() { return handleError(function (arg0, arg1) {
|
|
218
214
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
219
215
|
}, arguments); },
|
|
220
|
-
|
|
216
|
+
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
221
217
|
const ret = arg0.getTime();
|
|
222
218
|
return ret;
|
|
223
219
|
},
|
|
224
|
-
|
|
220
|
+
__wbg_new_0_1dcafdf5e786e876: function() {
|
|
225
221
|
const ret = new Date();
|
|
226
222
|
return ret;
|
|
227
223
|
},
|
|
228
|
-
|
|
224
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
229
225
|
const ret = new Error();
|
|
230
226
|
return ret;
|
|
231
227
|
},
|
|
232
|
-
|
|
228
|
+
__wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
|
|
233
229
|
try {
|
|
234
230
|
var state0 = {a: arg0, b: arg1};
|
|
235
231
|
var cb0 = (arg0, arg1) => {
|
|
236
232
|
const a = state0.a;
|
|
237
233
|
state0.a = 0;
|
|
238
234
|
try {
|
|
239
|
-
return
|
|
235
|
+
return wasm_bindgen__convert__closures_____invoke__h0beea0fcd181fc43(a, state0.b, arg0, arg1);
|
|
240
236
|
} finally {
|
|
241
237
|
state0.a = a;
|
|
242
238
|
}
|
|
@@ -247,51 +243,47 @@ function __wbg_get_imports() {
|
|
|
247
243
|
state0.a = state0.b = 0;
|
|
248
244
|
}
|
|
249
245
|
},
|
|
250
|
-
|
|
251
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
252
|
-
return ret;
|
|
253
|
-
},
|
|
254
|
-
__wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
|
|
246
|
+
__wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
|
|
255
247
|
const ret = arg0.queueMicrotask;
|
|
256
248
|
return ret;
|
|
257
249
|
},
|
|
258
|
-
|
|
250
|
+
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
259
251
|
queueMicrotask(arg0);
|
|
260
252
|
},
|
|
261
|
-
|
|
253
|
+
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
262
254
|
const ret = Promise.resolve(arg0);
|
|
263
255
|
return ret;
|
|
264
256
|
},
|
|
265
|
-
|
|
257
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
266
258
|
const ret = arg1.stack;
|
|
267
259
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
268
260
|
const len1 = WASM_VECTOR_LEN;
|
|
269
261
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
270
262
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
271
263
|
},
|
|
272
|
-
|
|
264
|
+
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
273
265
|
const ret = typeof global === 'undefined' ? null : global;
|
|
274
266
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
275
267
|
},
|
|
276
|
-
|
|
268
|
+
__wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
|
|
277
269
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
278
270
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
279
271
|
},
|
|
280
|
-
|
|
272
|
+
__wbg_static_accessor_SELF_f207c857566db248: function() {
|
|
281
273
|
const ret = typeof self === 'undefined' ? null : self;
|
|
282
274
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
283
275
|
},
|
|
284
|
-
|
|
276
|
+
__wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
|
|
285
277
|
const ret = typeof window === 'undefined' ? null : window;
|
|
286
278
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
287
279
|
},
|
|
288
|
-
|
|
280
|
+
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
289
281
|
const ret = arg0.then(arg1);
|
|
290
282
|
return ret;
|
|
291
283
|
},
|
|
292
284
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
293
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
294
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
285
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 52, function: Function { arguments: [Externref], shim_idx: 277, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
286
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5dba92129eefeef2, wasm_bindgen__convert__closures_____invoke__h5370d2e5cb80ebeb);
|
|
295
287
|
return ret;
|
|
296
288
|
},
|
|
297
289
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
@@ -315,12 +307,15 @@ function __wbg_get_imports() {
|
|
|
315
307
|
};
|
|
316
308
|
}
|
|
317
309
|
|
|
318
|
-
function
|
|
319
|
-
wasm.
|
|
310
|
+
function wasm_bindgen__convert__closures_____invoke__h5370d2e5cb80ebeb(arg0, arg1, arg2) {
|
|
311
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h5370d2e5cb80ebeb(arg0, arg1, arg2);
|
|
312
|
+
if (ret[1]) {
|
|
313
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
314
|
+
}
|
|
320
315
|
}
|
|
321
316
|
|
|
322
|
-
function
|
|
323
|
-
wasm.
|
|
317
|
+
function wasm_bindgen__convert__closures_____invoke__h0beea0fcd181fc43(arg0, arg1, arg2, arg3) {
|
|
318
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h0beea0fcd181fc43(arg0, arg1, arg2, arg3);
|
|
324
319
|
}
|
|
325
320
|
|
|
326
321
|
const WasmEngineFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/dataflow_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Plasmatic Engineering <shankar@goplasmatic.io>",
|
|
5
5
|
"description": "WebAssembly bindings for the dataflow-rs rules engine",
|
|
6
|
-
"version": "2.1.
|
|
6
|
+
"version": "2.1.2",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"homepage": "https://github.com/GoPlasmatic/dataflow-rs",
|
|
9
9
|
"repository": {
|