@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.
@@ -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 wasm_bindgen__closure__destroy__h5e9c2074686ddf0b: (a: number, b: number) => void;
133
- readonly wasm_bindgen__convert__closures_____invoke__h019b9b7d5351973d: (a: number, b: number, c: any, d: any) => void;
134
- readonly wasm_bindgen__convert__closures_____invoke__ha76f69beeaee1c00: (a: number, b: number, c: any) => void;
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
- __wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
184
+ __wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
185
185
  const ret = typeof(arg0) === 'function';
186
186
  return ret;
187
187
  },
188
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(arg0) {
188
+ __wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
189
189
  const ret = arg0 === undefined;
190
190
  return ret;
191
191
  },
192
- __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
192
+ __wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
193
193
  throw new Error(getStringFromWasm0(arg0, arg1));
194
194
  },
195
- __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(arg0) {
195
+ __wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
196
196
  arg0._wbg_cb_unref();
197
197
  },
198
- __wbg_call_389efe28435a9388: function() { return handleError(function (arg0, arg1) {
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
- __wbg_error_7534b8e9a36f1ab4: function(arg0, arg1) {
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
- __wbg_getRandomValues_9c5c1b115e142bb8: function() { return handleError(function (arg0, arg1) {
213
+ __wbg_getRandomValues_a1cf2e70b003a59d: function() { return handleError(function (arg0, arg1) {
218
214
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
219
215
  }, arguments); },
220
- __wbg_getTime_1e3cd1391c5c3995: function(arg0) {
216
+ __wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
221
217
  const ret = arg0.getTime();
222
218
  return ret;
223
219
  },
224
- __wbg_new_0_73afc35eb544e539: function() {
220
+ __wbg_new_0_1dcafdf5e786e876: function() {
225
221
  const ret = new Date();
226
222
  return ret;
227
223
  },
228
- __wbg_new_8a6f238a6ece86ea: function() {
224
+ __wbg_new_227d7c05414eb861: function() {
229
225
  const ret = new Error();
230
226
  return ret;
231
227
  },
232
- __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
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 wasm_bindgen__convert__closures_____invoke__h019b9b7d5351973d(a, state0.b, arg0, arg1);
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
- __wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
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
- __wbg_queueMicrotask_5bb536982f78a56f: function(arg0) {
250
+ __wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
259
251
  queueMicrotask(arg0);
260
252
  },
261
- __wbg_resolve_002c4b7d9d8f6b64: function(arg0) {
253
+ __wbg_resolve_ae8d83246e5bcc12: function(arg0) {
262
254
  const ret = Promise.resolve(arg0);
263
255
  return ret;
264
256
  },
265
- __wbg_stack_0ed75d68575b0f3c: function(arg0, arg1) {
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
- __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
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
- __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
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
- __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
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
- __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
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
- __wbg_then_b9e7b3b5f1a9e1b5: function(arg0, arg1) {
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: 49, function: Function { arguments: [Externref], shim_idx: 50, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
294
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5e9c2074686ddf0b, wasm_bindgen__convert__closures_____invoke__ha76f69beeaee1c00);
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 wasm_bindgen__convert__closures_____invoke__ha76f69beeaee1c00(arg0, arg1, arg2) {
319
- wasm.wasm_bindgen__convert__closures_____invoke__ha76f69beeaee1c00(arg0, arg1, arg2);
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 wasm_bindgen__convert__closures_____invoke__h019b9b7d5351973d(arg0, arg1, arg2, arg3) {
323
- wasm.wasm_bindgen__convert__closures_____invoke__h019b9b7d5351973d(arg0, arg1, arg2, arg3);
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')
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.1",
6
+ "version": "2.1.2",
7
7
  "license": "Apache-2.0",
8
8
  "homepage": "https://github.com/GoPlasmatic/dataflow-rs",
9
9
  "repository": {