@json-eval-rs/bundler 0.0.46 → 0.0.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-eval-rs/bundler",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "JSON Eval RS for bundlers (Webpack, Vite, Next.js, etc.) with ergonomic API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Get the library version
5
- */
6
- export function getVersion(): string;
7
3
  /**
8
4
  * Initialize the library (sets up panic hook)
9
5
  */
@@ -12,6 +8,10 @@ export function init(): void;
12
8
  * Get library version (alias)
13
9
  */
14
10
  export function version(): string;
11
+ /**
12
+ * Get the library version
13
+ */
14
+ export function getVersion(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -20,7 +20,7 @@ export class JSONEvalWasm {
20
20
  [Symbol.dispose](): void;
21
21
  /**
22
22
  * Evaluate and return as JsValue for direct JavaScript object access
23
- *
23
+ *
24
24
  * @param data - JSON data string
25
25
  * @param context - Optional context data JSON string
26
26
  * @returns Evaluated schema as JavaScript object
@@ -34,7 +34,7 @@ export class JSONEvalWasm {
34
34
  compileLogic(logic_str: string): number;
35
35
  /**
36
36
  * Evaluate dependents when a field changes (returns array of changes as JSON string)
37
- *
37
+ *
38
38
  * @param changedPath - Path of the field that changed
39
39
  * @param data - Optional updated JSON data string
40
40
  * @param context - Optional context data JSON string
@@ -51,17 +51,17 @@ export class JSONEvalWasm {
51
51
  compileAndRunLogic(logic_str: string, data?: string | null, context?: string | null): any;
52
52
  /**
53
53
  * Evaluate dependents and return as JavaScript object
54
- *
54
+ *
55
55
  * @param changedPathsJson - JSON array of field paths that changed
56
56
  * @param data - Optional updated JSON data string
57
57
  * @param context - Optional context data JSON string
58
58
  * @param reEvaluate - If true, performs full evaluation after processing dependents
59
59
  * @returns Array of dependent change objects as JavaScript object
60
60
  */
61
- evaluateDependentsJS(changed_paths_json: string, data: string | null | undefined, context: string | null | undefined, re_evaluate: boolean): any;
61
+ evaluateDependentsJS(changed_paths: any, data: string | null | undefined, context: string | null | undefined, re_evaluate: boolean): any;
62
62
  /**
63
63
  * Evaluate schema with provided data (does not return schema - use getEvaluatedSchema() for that)
64
- *
64
+ *
65
65
  * @param data - JSON data string
66
66
  * @param context - Optional context data JSON string
67
67
  * @throws Error if evaluation fails
@@ -77,7 +77,7 @@ export class JSONEvalWasm {
77
77
  runLogic(logic_id: number, data?: string | null, context?: string | null): any;
78
78
  /**
79
79
  * Validate data and return as plain JavaScript object (Worker-safe)
80
- *
80
+ *
81
81
  * @param data - JSON data string
82
82
  * @param context - Optional context data JSON string
83
83
  * @returns Plain JavaScript object with validation result
@@ -85,7 +85,7 @@ export class JSONEvalWasm {
85
85
  validateJS(data: string, context?: string | null): any;
86
86
  /**
87
87
  * Validate data against schema rules with optional path filtering
88
- *
88
+ *
89
89
  * @param data - JSON data string
90
90
  * @param context - Optional context data JSON string
91
91
  * @param paths - Optional array of paths to validate (null for all)
@@ -94,7 +94,7 @@ export class JSONEvalWasm {
94
94
  validatePaths(data: string, context?: string | null, paths?: string[] | null): ValidationResult;
95
95
  /**
96
96
  * Validate with path filtering and return as plain JavaScript object (Worker-safe)
97
- *
97
+ *
98
98
  * @param data - JSON data string
99
99
  * @param context - Optional context data JSON string
100
100
  * @param paths - Optional array of paths to validate (null for all)
@@ -103,7 +103,7 @@ export class JSONEvalWasm {
103
103
  validatePathsJS(data: string, context?: string | null, paths?: string[] | null): any;
104
104
  /**
105
105
  * Validate data against schema rules
106
- *
106
+ *
107
107
  * @param data - JSON data string
108
108
  * @param context - Optional context data JSON string
109
109
  * @returns ValidationResult
@@ -111,7 +111,7 @@ export class JSONEvalWasm {
111
111
  validate(data: string, context?: string | null): ValidationResult;
112
112
  /**
113
113
  * Create a new JSONEval instance from a cached ParsedSchema
114
- *
114
+ *
115
115
  * @param cacheKey - Cache key to lookup in the global ParsedSchemaCache
116
116
  * @param context - Optional context data JSON string
117
117
  * @param data - Optional initial data JSON string
@@ -119,7 +119,7 @@ export class JSONEvalWasm {
119
119
  static newFromCache(cache_key: string, context?: string | null, data?: string | null): JSONEvalWasm;
120
120
  /**
121
121
  * Create a new JSONEval instance from MessagePack-encoded schema
122
- *
122
+ *
123
123
  * @param schemaMsgpack - MessagePack-encoded schema bytes (Uint8Array)
124
124
  * @param context - Optional context data JSON string
125
125
  * @param data - Optional initial data JSON string
@@ -127,14 +127,14 @@ export class JSONEvalWasm {
127
127
  static newFromMsgpack(schema_msgpack: Uint8Array, context?: string | null, data?: string | null): JSONEvalWasm;
128
128
  /**
129
129
  * Set timezone offset for datetime operations (TODAY, NOW)
130
- *
130
+ *
131
131
  * @param offsetMinutes - Timezone offset in minutes from UTC (e.g., 420 for UTC+7, -300 for UTC-5)
132
132
  * Pass null or undefined to reset to UTC
133
133
  */
134
134
  setTimezoneOffset(offset_minutes?: number | null): void;
135
135
  /**
136
136
  * Create a new JSONEval instance
137
- *
137
+ *
138
138
  * @param schema - JSON schema string
139
139
  * @param context - Optional context data JSON string
140
140
  * @param data - Optional initial data JSON string
@@ -142,7 +142,7 @@ export class JSONEvalWasm {
142
142
  constructor(schema: string, context?: string | null, data?: string | null);
143
143
  /**
144
144
  * Get cache statistics
145
- *
145
+ *
146
146
  * @returns Cache statistics as JavaScript object with hits, misses, and entries
147
147
  */
148
148
  cacheStats(): any;
@@ -163,26 +163,26 @@ export class JSONEvalWasm {
163
163
  disableCache(): void;
164
164
  /**
165
165
  * Check if evaluation caching is enabled
166
- *
166
+ *
167
167
  * @returns true if caching is enabled, false otherwise
168
168
  */
169
169
  isCacheEnabled(): boolean;
170
170
  /**
171
171
  * Get the number of cached entries
172
- *
172
+ *
173
173
  * @returns Number of cached entries
174
174
  */
175
175
  cacheLen(): number;
176
176
  /**
177
177
  * Resolve layout with optional evaluation
178
- *
178
+ *
179
179
  * @param evaluate - If true, runs evaluation before resolving layout
180
180
  * @throws Error if resolve fails
181
181
  */
182
182
  resolveLayout(evaluate: boolean): void;
183
183
  /**
184
184
  * Reload schema with new data
185
- *
185
+ *
186
186
  * @param schema - New JSON schema string
187
187
  * @param context - Optional context data JSON string
188
188
  * @param data - Optional initial data JSON string
@@ -191,13 +191,13 @@ export class JSONEvalWasm {
191
191
  /**
192
192
  * Get all schema values (evaluations ending with .value)
193
193
  * Mutates internal data by overriding with values from value evaluations
194
- *
194
+ *
195
195
  * @returns Modified data as JavaScript object
196
196
  */
197
197
  getSchemaValue(): any;
198
198
  /**
199
199
  * Get a value from the schema using dotted path notation
200
- *
200
+ *
201
201
  * @param path - Dotted path to the value (e.g., "properties.field.value")
202
202
  * @returns Value as JSON string or null if not found
203
203
  */
@@ -211,21 +211,21 @@ export class JSONEvalWasm {
211
211
  getSchemaByPaths(paths_json: string, format: number): string;
212
212
  /**
213
213
  * Get the evaluated schema with optional layout resolution
214
- *
214
+ *
215
215
  * @param skipLayout - Whether to skip layout resolution
216
216
  * @returns Evaluated schema as JSON string
217
217
  */
218
218
  getEvaluatedSchema(skip_layout: boolean): string;
219
219
  /**
220
220
  * Get a value from the schema using dotted path notation as JavaScript object
221
- *
221
+ *
222
222
  * @param path - Dotted path to the value (e.g., "properties.field.value")
223
223
  * @returns Value as JavaScript object or null if not found
224
224
  */
225
225
  getSchemaByPathJS(path: string): any;
226
226
  /**
227
227
  * Reload schema from MessagePack-encoded bytes
228
- *
228
+ *
229
229
  * @param schemaMsgpack - MessagePack-encoded schema bytes (Uint8Array)
230
230
  * @param context - Optional context data JSON string
231
231
  * @param data - Optional initial data JSON string
@@ -240,14 +240,14 @@ export class JSONEvalWasm {
240
240
  getSchemaByPathsJS(paths_json: string, format: number): any;
241
241
  /**
242
242
  * Get the evaluated schema as JavaScript object
243
- *
243
+ *
244
244
  * @param skipLayout - Whether to skip layout resolution
245
245
  * @returns Evaluated schema as JavaScript object
246
246
  */
247
247
  getEvaluatedSchemaJS(skip_layout: boolean): any;
248
248
  /**
249
249
  * Reload schema from ParsedSchemaCache using a cache key
250
- *
250
+ *
251
251
  * @param cacheKey - Cache key to lookup in the global ParsedSchemaCache
252
252
  * @param context - Optional context data JSON string
253
253
  * @param data - Optional initial data JSON string
@@ -255,7 +255,7 @@ export class JSONEvalWasm {
255
255
  reloadSchemaFromCache(cache_key: string, context?: string | null, data?: string | null): void;
256
256
  /**
257
257
  * Get a value from the evaluated schema using dotted path notation
258
- *
258
+ *
259
259
  * @param path - Dotted path to the value (e.g., "properties.field.value")
260
260
  * @param skipLayout - Whether to skip layout resolution
261
261
  * @returns Value as JSON string or null if not found
@@ -263,17 +263,17 @@ export class JSONEvalWasm {
263
263
  getEvaluatedSchemaByPath(path: string, skip_layout: boolean): string | undefined;
264
264
  /**
265
265
  * Get the evaluated schema in MessagePack format
266
- *
266
+ *
267
267
  * @param skipLayout - Whether to skip layout resolution
268
268
  * @returns Evaluated schema as MessagePack bytes (Uint8Array)
269
- *
269
+ *
270
270
  * # Zero-Copy Optimization
271
- *
271
+ *
272
272
  * This method returns MessagePack binary data with minimal copying:
273
273
  * 1. Serializes schema to Vec<u8> in Rust (unavoidable)
274
274
  * 2. wasm-bindgen transfers Vec<u8> to JS as Uint8Array (optimized)
275
275
  * 3. Result is a Uint8Array view (minimal overhead)
276
- *
276
+ *
277
277
  * MessagePack format is 20-50% smaller than JSON, ideal for web/WASM.
278
278
  */
279
279
  getEvaluatedSchemaMsgpack(skip_layout: boolean): Uint8Array;
@@ -287,7 +287,7 @@ export class JSONEvalWasm {
287
287
  getEvaluatedSchemaByPaths(paths_json: string, skip_layout: boolean, format: number): string;
288
288
  /**
289
289
  * Get a value from the evaluated schema using dotted path notation as JavaScript object
290
- *
290
+ *
291
291
  * @param path - Dotted path to the value (e.g., "properties.field.value")
292
292
  * @param skipLayout - Whether to skip layout resolution
293
293
  * @returns Value as JavaScript object or null if not found
@@ -303,28 +303,28 @@ export class JSONEvalWasm {
303
303
  getEvaluatedSchemaByPathsJS(paths_json: string, skip_layout: boolean, format: number): any;
304
304
  /**
305
305
  * Get the evaluated schema without $params field
306
- *
306
+ *
307
307
  * @param skipLayout - Whether to skip layout resolution
308
308
  * @returns Evaluated schema as JSON string
309
309
  */
310
310
  getEvaluatedSchemaWithoutParams(skip_layout: boolean): string;
311
311
  /**
312
312
  * Get the evaluated schema without $params as JavaScript object
313
- *
313
+ *
314
314
  * @param skipLayout - Whether to skip layout resolution
315
315
  * @returns Evaluated schema as JavaScript object
316
316
  */
317
317
  getEvaluatedSchemaWithoutParamsJS(skip_layout: boolean): any;
318
318
  /**
319
319
  * Check if a subform exists at the given path
320
- *
320
+ *
321
321
  * @param subformPath - Path to check
322
322
  * @returns True if subform exists, false otherwise
323
323
  */
324
324
  hasSubform(subform_path: string): boolean;
325
325
  /**
326
326
  * Evaluate a subform with data
327
- *
327
+ *
328
328
  * @param subformPath - Path to the subform (e.g., "#/riders")
329
329
  * @param data - JSON data string for the subform
330
330
  * @param context - Optional context data JSON string
@@ -334,7 +334,7 @@ export class JSONEvalWasm {
334
334
  evaluateSubform(subform_path: string, data: string, context?: string | null, paths?: string[] | null): void;
335
335
  /**
336
336
  * Validate subform data against its schema rules
337
- *
337
+ *
338
338
  * @param subformPath - Path to the subform
339
339
  * @param data - JSON data string for the subform
340
340
  * @param context - Optional context data JSON string
@@ -343,13 +343,13 @@ export class JSONEvalWasm {
343
343
  validateSubform(subform_path: string, data: string, context?: string | null): ValidationResult;
344
344
  /**
345
345
  * Get list of available subform paths
346
- *
346
+ *
347
347
  * @returns Array of subform paths
348
348
  */
349
349
  getSubformPaths(): string[];
350
350
  /**
351
351
  * Resolve layout for subform
352
- *
352
+ *
353
353
  * @param subformPath - Path to the subform
354
354
  * @param evaluate - If true, runs evaluation before resolving layout
355
355
  * @throws Error if resolve fails
@@ -357,7 +357,7 @@ export class JSONEvalWasm {
357
357
  resolveLayoutSubform(subform_path: string, evaluate: boolean): void;
358
358
  /**
359
359
  * Get schema value from subform (all .value fields)
360
- *
360
+ *
361
361
  * @param subformPath - Path to the subform
362
362
  * @returns Modified data as JavaScript object
363
363
  */
@@ -371,7 +371,7 @@ export class JSONEvalWasm {
371
371
  getSchemaByPathSubform(subform_path: string, schema_path: string): string | undefined;
372
372
  /**
373
373
  * Evaluate dependents in subform when a field changes
374
- *
374
+ *
375
375
  * @param subformPath - Path to the subform
376
376
  * @param changedPath - Path of the field that changed
377
377
  * @param data - Optional updated JSON data string
@@ -389,7 +389,7 @@ export class JSONEvalWasm {
389
389
  getSchemaByPathsSubform(subform_path: string, paths_json: string, format: number): string;
390
390
  /**
391
391
  * Get evaluated schema from subform
392
- *
392
+ *
393
393
  * @param subformPath - Path to the subform
394
394
  * @param resolveLayout - Whether to resolve layout
395
395
  * @returns Evaluated schema as JSON string
@@ -404,25 +404,25 @@ export class JSONEvalWasm {
404
404
  getSchemaByPathSubformJS(subform_path: string, schema_path: string): any;
405
405
  /**
406
406
  * Evaluate dependents in subform and return as JavaScript object
407
- *
407
+ *
408
408
  * @param subformPath - Path to the subform
409
409
  * @param changedPath - Path of the field that changed
410
410
  * @param data - Optional updated JSON data string
411
411
  * @param context - Optional context data JSON string
412
412
  * @returns Array of dependent change objects as JavaScript object
413
413
  */
414
- evaluateDependentsSubformJS(subform_path: string, changed_path: string, data?: string | null, context?: string | null): any;
414
+ evaluateDependentsSubformJS(subform_path: string, changed_paths: any, data?: string | null, context?: string | null): any;
415
415
  /**
416
416
  * Get schema by multiple paths from subform (JS object)
417
417
  * @param subformPath - Path to the subform
418
- * @param pathsJson - JSON array of dotted paths
418
+ * @param paths - Array of dotted paths
419
419
  * @param format - Return format (0=Nested, 1=Flat, 2=Array)
420
420
  * @returns Data in specified format as JavaScript object
421
421
  */
422
- getSchemaByPathsSubformJS(subform_path: string, paths_json: string, format: number): any;
422
+ getSchemaByPathsSubformJS(subform_path: string, paths_val: any, format: number): any;
423
423
  /**
424
424
  * Get evaluated schema from subform as JavaScript object
425
- *
425
+ *
426
426
  * @param subformPath - Path to the subform
427
427
  * @param resolveLayout - Whether to resolve layout
428
428
  * @returns Evaluated schema as JavaScript object
@@ -430,7 +430,7 @@ export class JSONEvalWasm {
430
430
  getEvaluatedSchemaSubformJS(subform_path: string, resolve_layout: boolean): any;
431
431
  /**
432
432
  * Get evaluated schema by specific path from subform
433
- *
433
+ *
434
434
  * @param subformPath - Path to the subform
435
435
  * @param schemaPath - Dotted path to the value within the subform
436
436
  * @param skipLayout - Whether to skip layout resolution
@@ -448,7 +448,7 @@ export class JSONEvalWasm {
448
448
  getEvaluatedSchemaByPathsSubform(subform_path: string, paths_json: string, skip_layout: boolean, format: number): string;
449
449
  /**
450
450
  * Get evaluated schema by specific path from subform as JavaScript object
451
- *
451
+ *
452
452
  * @param subformPath - Path to the subform
453
453
  * @param schemaPath - Dotted path to the value within the subform
454
454
  * @param skipLayout - Whether to skip layout resolution
@@ -458,15 +458,15 @@ export class JSONEvalWasm {
458
458
  /**
459
459
  * Get values from the evaluated schema of a subform using multiple dotted path notations (returns JS object)
460
460
  * @param subformPath - Path to the subform
461
- * @param pathsJson - JSON array of dotted paths
461
+ * @param paths - Array of dotted paths
462
462
  * @param skipLayout - Whether to skip layout resolution
463
463
  * @param format - Return format (0=Nested, 1=Flat, 2=Array)
464
464
  * @returns Data in specified format as JavaScript object
465
465
  */
466
- getEvaluatedSchemaByPathsSubformJS(subform_path: string, paths_json: string, skip_layout: boolean, format: number): any;
466
+ getEvaluatedSchemaByPathsSubformJS(subform_path: string, paths_val: any, skip_layout: boolean, format: number): any;
467
467
  /**
468
468
  * Get evaluated schema without $params from subform
469
- *
469
+ *
470
470
  * @param subformPath - Path to the subform
471
471
  * @param resolveLayout - Whether to resolve layout
472
472
  * @returns Evaluated schema as JSON string
@@ -474,7 +474,7 @@ export class JSONEvalWasm {
474
474
  getEvaluatedSchemaWithoutParamsSubform(subform_path: string, resolve_layout: boolean): string;
475
475
  /**
476
476
  * Get evaluated schema without $params from subform as JavaScript object
477
- *
477
+ *
478
478
  * @param subformPath - Path to the subform
479
479
  * @param resolveLayout - Whether to resolve layout
480
480
  * @returns Evaluated schema as JavaScript object
@@ -114,19 +114,19 @@ function getDataViewMemory0() {
114
114
  return cachedDataViewMemory0;
115
115
  }
116
116
 
117
- function getArrayU8FromWasm0(ptr, len) {
118
- ptr = ptr >>> 0;
119
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
120
- }
121
-
122
117
  function handleError(f, args) {
123
118
  try {
124
119
  return f.apply(this, args);
125
120
  } catch (e) {
126
- wasm.__wbindgen_export_3(addHeapObject(e));
121
+ wasm.__wbindgen_export_2(addHeapObject(e));
127
122
  }
128
123
  }
129
124
 
125
+ function getArrayU8FromWasm0(ptr, len) {
126
+ ptr = ptr >>> 0;
127
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
128
+ }
129
+
130
130
  function dropObject(idx) {
131
131
  if (idx < 132) return;
132
132
  heap[idx] = heap_next;
@@ -139,6 +139,10 @@ function takeObject(idx) {
139
139
  return ret;
140
140
  }
141
141
 
142
+ function isLikeNone(x) {
143
+ return x === undefined || x === null;
144
+ }
145
+
142
146
  function debugString(val) {
143
147
  // primitive types
144
148
  const type = typeof val;
@@ -204,10 +208,6 @@ function debugString(val) {
204
208
  return className;
205
209
  }
206
210
 
207
- function isLikeNone(x) {
208
- return x === undefined || x === null;
209
- }
210
-
211
211
  function passArrayJsValueToWasm0(array, malloc) {
212
212
  const ptr = malloc(array.length * 4, 4) >>> 0;
213
213
  const mem = getDataViewMemory0();
@@ -218,10 +218,17 @@ function passArrayJsValueToWasm0(array, malloc) {
218
218
  return ptr;
219
219
  }
220
220
  /**
221
- * Get the library version
221
+ * Initialize the library (sets up panic hook)
222
+ */
223
+ export function init() {
224
+ wasm.init();
225
+ }
226
+
227
+ /**
228
+ * Get library version (alias)
222
229
  * @returns {string}
223
230
  */
224
- export function getVersion() {
231
+ export function version() {
225
232
  let deferred1_0;
226
233
  let deferred1_1;
227
234
  try {
@@ -234,22 +241,15 @@ export function getVersion() {
234
241
  return getStringFromWasm0(r0, r1);
235
242
  } finally {
236
243
  wasm.__wbindgen_add_to_stack_pointer(16);
237
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
244
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
238
245
  }
239
246
  }
240
247
 
241
248
  /**
242
- * Initialize the library (sets up panic hook)
243
- */
244
- export function init() {
245
- wasm.init();
246
- }
247
-
248
- /**
249
- * Get library version (alias)
249
+ * Get the library version
250
250
  * @returns {string}
251
251
  */
252
- export function version() {
252
+ export function getVersion() {
253
253
  let deferred1_0;
254
254
  let deferred1_1;
255
255
  try {
@@ -262,7 +262,7 @@ export function version() {
262
262
  return getStringFromWasm0(r0, r1);
263
263
  } finally {
264
264
  wasm.__wbindgen_add_to_stack_pointer(16);
265
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
265
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
266
266
  }
267
267
  }
268
268
 
@@ -405,7 +405,7 @@ export class JSONEvalWasm {
405
405
  return getStringFromWasm0(ptr4, len4);
406
406
  } finally {
407
407
  wasm.__wbindgen_add_to_stack_pointer(16);
408
- wasm.__wbindgen_export_2(deferred5_0, deferred5_1, 1);
408
+ wasm.__wbindgen_export_3(deferred5_0, deferred5_1, 1);
409
409
  }
410
410
  }
411
411
  /**
@@ -448,22 +448,20 @@ export class JSONEvalWasm {
448
448
  * @param context - Optional context data JSON string
449
449
  * @param reEvaluate - If true, performs full evaluation after processing dependents
450
450
  * @returns Array of dependent change objects as JavaScript object
451
- * @param {string} changed_paths_json
451
+ * @param {any} changed_paths
452
452
  * @param {string | null | undefined} data
453
453
  * @param {string | null | undefined} context
454
454
  * @param {boolean} re_evaluate
455
455
  * @returns {any}
456
456
  */
457
- evaluateDependentsJS(changed_paths_json, data, context, re_evaluate) {
457
+ evaluateDependentsJS(changed_paths, data, context, re_evaluate) {
458
458
  try {
459
459
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
460
- const ptr0 = passStringToWasm0(changed_paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
461
- const len0 = WASM_VECTOR_LEN;
462
- var ptr1 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
460
+ var ptr0 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
461
+ var len0 = WASM_VECTOR_LEN;
462
+ var ptr1 = isLikeNone(context) ? 0 : passStringToWasm0(context, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
463
463
  var len1 = WASM_VECTOR_LEN;
464
- var ptr2 = isLikeNone(context) ? 0 : passStringToWasm0(context, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
465
- var len2 = WASM_VECTOR_LEN;
466
- wasm.jsonevalwasm_evaluateDependentsJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, re_evaluate);
464
+ wasm.jsonevalwasm_evaluateDependentsJS(retptr, this.__wbg_ptr, addHeapObject(changed_paths), ptr0, len0, ptr1, len1, re_evaluate);
467
465
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
468
466
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
469
467
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -917,7 +915,7 @@ export class JSONEvalWasm {
917
915
  let v2;
918
916
  if (r0 !== 0) {
919
917
  v2 = getStringFromWasm0(r0, r1).slice();
920
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
918
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
921
919
  }
922
920
  return v2;
923
921
  } finally {
@@ -956,7 +954,7 @@ export class JSONEvalWasm {
956
954
  return getStringFromWasm0(ptr2, len2);
957
955
  } finally {
958
956
  wasm.__wbindgen_add_to_stack_pointer(16);
959
- wasm.__wbindgen_export_2(deferred3_0, deferred3_1, 1);
957
+ wasm.__wbindgen_export_3(deferred3_0, deferred3_1, 1);
960
958
  }
961
959
  }
962
960
  /**
@@ -980,7 +978,7 @@ export class JSONEvalWasm {
980
978
  return getStringFromWasm0(r0, r1);
981
979
  } finally {
982
980
  wasm.__wbindgen_add_to_stack_pointer(16);
983
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
981
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
984
982
  }
985
983
  }
986
984
  /**
@@ -1136,7 +1134,7 @@ export class JSONEvalWasm {
1136
1134
  let v2;
1137
1135
  if (r0 !== 0) {
1138
1136
  v2 = getStringFromWasm0(r0, r1).slice();
1139
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
1137
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
1140
1138
  }
1141
1139
  return v2;
1142
1140
  } finally {
@@ -1172,7 +1170,7 @@ export class JSONEvalWasm {
1172
1170
  throw takeObject(r2);
1173
1171
  }
1174
1172
  var v1 = getArrayU8FromWasm0(r0, r1).slice();
1175
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
1173
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
1176
1174
  return v1;
1177
1175
  } finally {
1178
1176
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1212,7 +1210,7 @@ export class JSONEvalWasm {
1212
1210
  return getStringFromWasm0(ptr2, len2);
1213
1211
  } finally {
1214
1212
  wasm.__wbindgen_add_to_stack_pointer(16);
1215
- wasm.__wbindgen_export_2(deferred3_0, deferred3_1, 1);
1213
+ wasm.__wbindgen_export_3(deferred3_0, deferred3_1, 1);
1216
1214
  }
1217
1215
  }
1218
1216
  /**
@@ -1291,7 +1289,7 @@ export class JSONEvalWasm {
1291
1289
  return getStringFromWasm0(r0, r1);
1292
1290
  } finally {
1293
1291
  wasm.__wbindgen_add_to_stack_pointer(16);
1294
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
1292
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
1295
1293
  }
1296
1294
  }
1297
1295
  /**
@@ -1411,7 +1409,7 @@ export class JSONEvalWasm {
1411
1409
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1412
1410
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1413
1411
  var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
1414
- wasm.__wbindgen_export_2(r0, r1 * 4, 4);
1412
+ wasm.__wbindgen_export_3(r0, r1 * 4, 4);
1415
1413
  return v1;
1416
1414
  } finally {
1417
1415
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1488,7 +1486,7 @@ export class JSONEvalWasm {
1488
1486
  let v3;
1489
1487
  if (r0 !== 0) {
1490
1488
  v3 = getStringFromWasm0(r0, r1).slice();
1491
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
1489
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
1492
1490
  }
1493
1491
  return v3;
1494
1492
  } finally {
@@ -1538,7 +1536,7 @@ export class JSONEvalWasm {
1538
1536
  return getStringFromWasm0(ptr5, len5);
1539
1537
  } finally {
1540
1538
  wasm.__wbindgen_add_to_stack_pointer(16);
1541
- wasm.__wbindgen_export_2(deferred6_0, deferred6_1, 1);
1539
+ wasm.__wbindgen_export_3(deferred6_0, deferred6_1, 1);
1542
1540
  }
1543
1541
  }
1544
1542
  /**
@@ -1577,7 +1575,7 @@ export class JSONEvalWasm {
1577
1575
  return getStringFromWasm0(ptr3, len3);
1578
1576
  } finally {
1579
1577
  wasm.__wbindgen_add_to_stack_pointer(16);
1580
- wasm.__wbindgen_export_2(deferred4_0, deferred4_1, 1);
1578
+ wasm.__wbindgen_export_3(deferred4_0, deferred4_1, 1);
1581
1579
  }
1582
1580
  }
1583
1581
  /**
@@ -1605,7 +1603,7 @@ export class JSONEvalWasm {
1605
1603
  return getStringFromWasm0(r0, r1);
1606
1604
  } finally {
1607
1605
  wasm.__wbindgen_add_to_stack_pointer(16);
1608
- wasm.__wbindgen_export_2(deferred2_0, deferred2_1, 1);
1606
+ wasm.__wbindgen_export_3(deferred2_0, deferred2_1, 1);
1609
1607
  }
1610
1608
  }
1611
1609
  /**
@@ -1645,23 +1643,21 @@ export class JSONEvalWasm {
1645
1643
  * @param context - Optional context data JSON string
1646
1644
  * @returns Array of dependent change objects as JavaScript object
1647
1645
  * @param {string} subform_path
1648
- * @param {string} changed_path
1646
+ * @param {any} changed_paths
1649
1647
  * @param {string | null} [data]
1650
1648
  * @param {string | null} [context]
1651
1649
  * @returns {any}
1652
1650
  */
1653
- evaluateDependentsSubformJS(subform_path, changed_path, data, context) {
1651
+ evaluateDependentsSubformJS(subform_path, changed_paths, data, context) {
1654
1652
  try {
1655
1653
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1656
1654
  const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1657
1655
  const len0 = WASM_VECTOR_LEN;
1658
- const ptr1 = passStringToWasm0(changed_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1659
- const len1 = WASM_VECTOR_LEN;
1660
- var ptr2 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1656
+ var ptr1 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1657
+ var len1 = WASM_VECTOR_LEN;
1658
+ var ptr2 = isLikeNone(context) ? 0 : passStringToWasm0(context, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1661
1659
  var len2 = WASM_VECTOR_LEN;
1662
- var ptr3 = isLikeNone(context) ? 0 : passStringToWasm0(context, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1663
- var len3 = WASM_VECTOR_LEN;
1664
- wasm.jsonevalwasm_evaluateDependentsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
1660
+ wasm.jsonevalwasm_evaluateDependentsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(changed_paths), ptr1, len1, ptr2, len2);
1665
1661
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1666
1662
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1667
1663
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -1676,22 +1672,20 @@ export class JSONEvalWasm {
1676
1672
  /**
1677
1673
  * Get schema by multiple paths from subform (JS object)
1678
1674
  * @param subformPath - Path to the subform
1679
- * @param pathsJson - JSON array of dotted paths
1675
+ * @param paths - Array of dotted paths
1680
1676
  * @param format - Return format (0=Nested, 1=Flat, 2=Array)
1681
1677
  * @returns Data in specified format as JavaScript object
1682
1678
  * @param {string} subform_path
1683
- * @param {string} paths_json
1679
+ * @param {any} paths_val
1684
1680
  * @param {number} format
1685
1681
  * @returns {any}
1686
1682
  */
1687
- getSchemaByPathsSubformJS(subform_path, paths_json, format) {
1683
+ getSchemaByPathsSubformJS(subform_path, paths_val, format) {
1688
1684
  try {
1689
1685
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1690
1686
  const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1691
1687
  const len0 = WASM_VECTOR_LEN;
1692
- const ptr1 = passStringToWasm0(paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1693
- const len1 = WASM_VECTOR_LEN;
1694
- wasm.jsonevalwasm_getSchemaByPathsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, format);
1688
+ wasm.jsonevalwasm_getSchemaByPathsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(paths_val), format);
1695
1689
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1696
1690
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1697
1691
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -1755,7 +1749,7 @@ export class JSONEvalWasm {
1755
1749
  let v3;
1756
1750
  if (r0 !== 0) {
1757
1751
  v3 = getStringFromWasm0(r0, r1).slice();
1758
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
1752
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
1759
1753
  }
1760
1754
  return v3;
1761
1755
  } finally {
@@ -1800,7 +1794,7 @@ export class JSONEvalWasm {
1800
1794
  return getStringFromWasm0(ptr3, len3);
1801
1795
  } finally {
1802
1796
  wasm.__wbindgen_add_to_stack_pointer(16);
1803
- wasm.__wbindgen_export_2(deferred4_0, deferred4_1, 1);
1797
+ wasm.__wbindgen_export_3(deferred4_0, deferred4_1, 1);
1804
1798
  }
1805
1799
  }
1806
1800
  /**
@@ -1837,24 +1831,22 @@ export class JSONEvalWasm {
1837
1831
  /**
1838
1832
  * Get values from the evaluated schema of a subform using multiple dotted path notations (returns JS object)
1839
1833
  * @param subformPath - Path to the subform
1840
- * @param pathsJson - JSON array of dotted paths
1834
+ * @param paths - Array of dotted paths
1841
1835
  * @param skipLayout - Whether to skip layout resolution
1842
1836
  * @param format - Return format (0=Nested, 1=Flat, 2=Array)
1843
1837
  * @returns Data in specified format as JavaScript object
1844
1838
  * @param {string} subform_path
1845
- * @param {string} paths_json
1839
+ * @param {any} paths_val
1846
1840
  * @param {boolean} skip_layout
1847
1841
  * @param {number} format
1848
1842
  * @returns {any}
1849
1843
  */
1850
- getEvaluatedSchemaByPathsSubformJS(subform_path, paths_json, skip_layout, format) {
1844
+ getEvaluatedSchemaByPathsSubformJS(subform_path, paths_val, skip_layout, format) {
1851
1845
  try {
1852
1846
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1853
1847
  const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1854
1848
  const len0 = WASM_VECTOR_LEN;
1855
- const ptr1 = passStringToWasm0(paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1856
- const len1 = WASM_VECTOR_LEN;
1857
- wasm.jsonevalwasm_getEvaluatedSchemaByPathsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, skip_layout, format);
1849
+ wasm.jsonevalwasm_getEvaluatedSchemaByPathsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(paths_val), skip_layout, format);
1858
1850
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1859
1851
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1860
1852
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -1891,7 +1883,7 @@ export class JSONEvalWasm {
1891
1883
  return getStringFromWasm0(r0, r1);
1892
1884
  } finally {
1893
1885
  wasm.__wbindgen_add_to_stack_pointer(16);
1894
- wasm.__wbindgen_export_2(deferred2_0, deferred2_1, 1);
1886
+ wasm.__wbindgen_export_3(deferred2_0, deferred2_1, 1);
1895
1887
  }
1896
1888
  }
1897
1889
  /**
@@ -1963,7 +1955,7 @@ export class ValidationError {
1963
1955
  let v1;
1964
1956
  if (r0 !== 0) {
1965
1957
  v1 = getStringFromWasm0(r0, r1).slice();
1966
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
1958
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
1967
1959
  }
1968
1960
  return v1;
1969
1961
  } finally {
@@ -1982,7 +1974,7 @@ export class ValidationError {
1982
1974
  let v1;
1983
1975
  if (r0 !== 0) {
1984
1976
  v1 = getStringFromWasm0(r0, r1).slice();
1985
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
1977
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
1986
1978
  }
1987
1979
  return v1;
1988
1980
  } finally {
@@ -2012,7 +2004,7 @@ export class ValidationError {
2012
2004
  return getStringFromWasm0(r0, r1);
2013
2005
  } finally {
2014
2006
  wasm.__wbindgen_add_to_stack_pointer(16);
2015
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2007
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
2016
2008
  }
2017
2009
  }
2018
2010
  /**
@@ -2031,7 +2023,7 @@ export class ValidationError {
2031
2023
  return getStringFromWasm0(r0, r1);
2032
2024
  } finally {
2033
2025
  wasm.__wbindgen_add_to_stack_pointer(16);
2034
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2026
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
2035
2027
  }
2036
2028
  }
2037
2029
  /**
@@ -2046,7 +2038,7 @@ export class ValidationError {
2046
2038
  let v1;
2047
2039
  if (r0 !== 0) {
2048
2040
  v1 = getStringFromWasm0(r0, r1).slice();
2049
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
2041
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
2050
2042
  }
2051
2043
  return v1;
2052
2044
  } finally {
@@ -2069,7 +2061,7 @@ export class ValidationError {
2069
2061
  return getStringFromWasm0(r0, r1);
2070
2062
  } finally {
2071
2063
  wasm.__wbindgen_add_to_stack_pointer(16);
2072
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
2064
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
2073
2065
  }
2074
2066
  }
2075
2067
  }
@@ -2112,7 +2104,7 @@ export class ValidationResult {
2112
2104
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2113
2105
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2114
2106
  var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
2115
- wasm.__wbindgen_export_2(r0, r1 * 4, 4);
2107
+ wasm.__wbindgen_export_3(r0, r1 * 4, 4);
2116
2108
  return v1;
2117
2109
  } finally {
2118
2110
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -2159,6 +2151,16 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
2159
2151
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2160
2152
  };
2161
2153
 
2154
+ export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
2155
+ const ret = getObject(arg0).call(getObject(arg1));
2156
+ return addHeapObject(ret);
2157
+ }, arguments) };
2158
+
2159
+ export function __wbg_done_75ed0ee6dd243d9d(arg0) {
2160
+ const ret = getObject(arg0).done;
2161
+ return ret;
2162
+ };
2163
+
2162
2164
  export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
2163
2165
  let deferred0_0;
2164
2166
  let deferred0_1;
@@ -2167,7 +2169,7 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
2167
2169
  deferred0_1 = arg1;
2168
2170
  console.error(getStringFromWasm0(arg0, arg1));
2169
2171
  } finally {
2170
- wasm.__wbindgen_export_2(deferred0_0, deferred0_1, 1);
2172
+ wasm.__wbindgen_export_3(deferred0_0, deferred0_1, 1);
2171
2173
  }
2172
2174
  };
2173
2175
 
@@ -2180,7 +2182,59 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
2180
2182
  return ret;
2181
2183
  };
2182
2184
 
2183
- export function __wbg_log_416dbeafc33eeb04(arg0, arg1) {
2185
+ export function __wbg_get_0da715ceaecea5c8(arg0, arg1) {
2186
+ const ret = getObject(arg0)[arg1 >>> 0];
2187
+ return addHeapObject(ret);
2188
+ };
2189
+
2190
+ export function __wbg_get_458e874b43b18b25() { return handleError(function (arg0, arg1) {
2191
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
2192
+ return addHeapObject(ret);
2193
+ }, arguments) };
2194
+
2195
+ export function __wbg_instanceof_ArrayBuffer_67f3012529f6a2dd(arg0) {
2196
+ let result;
2197
+ try {
2198
+ result = getObject(arg0) instanceof ArrayBuffer;
2199
+ } catch (_) {
2200
+ result = false;
2201
+ }
2202
+ const ret = result;
2203
+ return ret;
2204
+ };
2205
+
2206
+ export function __wbg_instanceof_Uint8Array_9a8378d955933db7(arg0) {
2207
+ let result;
2208
+ try {
2209
+ result = getObject(arg0) instanceof Uint8Array;
2210
+ } catch (_) {
2211
+ result = false;
2212
+ }
2213
+ const ret = result;
2214
+ return ret;
2215
+ };
2216
+
2217
+ export function __wbg_isArray_030cce220591fb41(arg0) {
2218
+ const ret = Array.isArray(getObject(arg0));
2219
+ return ret;
2220
+ };
2221
+
2222
+ export function __wbg_iterator_f370b34483c71a1c() {
2223
+ const ret = Symbol.iterator;
2224
+ return addHeapObject(ret);
2225
+ };
2226
+
2227
+ export function __wbg_length_186546c51cd61acd(arg0) {
2228
+ const ret = getObject(arg0).length;
2229
+ return ret;
2230
+ };
2231
+
2232
+ export function __wbg_length_6bb7e81f9d7713e4(arg0) {
2233
+ const ret = getObject(arg0).length;
2234
+ return ret;
2235
+ };
2236
+
2237
+ export function __wbg_log_4b6ed0b139485439(arg0, arg1) {
2184
2238
  console.log(getStringFromWasm0(arg0, arg1));
2185
2239
  };
2186
2240
 
@@ -2204,16 +2258,35 @@ export function __wbg_new_2ff1f68f3676ea53() {
2204
2258
  return addHeapObject(ret);
2205
2259
  };
2206
2260
 
2261
+ export function __wbg_new_638ebfaedbf32a5e(arg0) {
2262
+ const ret = new Uint8Array(getObject(arg0));
2263
+ return addHeapObject(ret);
2264
+ };
2265
+
2207
2266
  export function __wbg_new_8a6f238a6ece86ea() {
2208
2267
  const ret = new Error();
2209
2268
  return addHeapObject(ret);
2210
2269
  };
2211
2270
 
2271
+ export function __wbg_next_5b3530e612fde77d(arg0) {
2272
+ const ret = getObject(arg0).next;
2273
+ return addHeapObject(ret);
2274
+ };
2275
+
2276
+ export function __wbg_next_692e82279131b03c() { return handleError(function (arg0) {
2277
+ const ret = getObject(arg0).next();
2278
+ return addHeapObject(ret);
2279
+ }, arguments) };
2280
+
2212
2281
  export function __wbg_parse_442f5ba02e5eaf8b() { return handleError(function (arg0, arg1) {
2213
2282
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
2214
2283
  return addHeapObject(ret);
2215
2284
  }, arguments) };
2216
2285
 
2286
+ export function __wbg_prototypesetcall_3d4a26c1ed734349(arg0, arg1, arg2) {
2287
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
2288
+ };
2289
+
2217
2290
  export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
2218
2291
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
2219
2292
  };
@@ -2240,6 +2313,17 @@ export function __wbg_validationerror_new(arg0) {
2240
2313
  return addHeapObject(ret);
2241
2314
  };
2242
2315
 
2316
+ export function __wbg_value_dd9372230531eade(arg0) {
2317
+ const ret = getObject(arg0).value;
2318
+ return addHeapObject(ret);
2319
+ };
2320
+
2321
+ export function __wbg_wbindgenbooleanget_3fe6f642c7d97746(arg0) {
2322
+ const v = getObject(arg0);
2323
+ const ret = typeof(v) === 'boolean' ? v : undefined;
2324
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
2325
+ };
2326
+
2243
2327
  export function __wbg_wbindgendebugstring_99ef257a3ddda34d(arg0, arg1) {
2244
2328
  const ret = debugString(getObject(arg1));
2245
2329
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
@@ -2248,11 +2332,34 @@ export function __wbg_wbindgendebugstring_99ef257a3ddda34d(arg0, arg1) {
2248
2332
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2249
2333
  };
2250
2334
 
2335
+ export function __wbg_wbindgenisfunction_8cee7dce3725ae74(arg0) {
2336
+ const ret = typeof(getObject(arg0)) === 'function';
2337
+ return ret;
2338
+ };
2339
+
2340
+ export function __wbg_wbindgenisobject_307a53c6bd97fbf8(arg0) {
2341
+ const val = getObject(arg0);
2342
+ const ret = typeof(val) === 'object' && val !== null;
2343
+ return ret;
2344
+ };
2345
+
2251
2346
  export function __wbg_wbindgenisstring_d4fa939789f003b0(arg0) {
2252
2347
  const ret = typeof(getObject(arg0)) === 'string';
2253
2348
  return ret;
2254
2349
  };
2255
2350
 
2351
+ export function __wbg_wbindgenjsvallooseeq_9bec8c9be826bed1(arg0, arg1) {
2352
+ const ret = getObject(arg0) == getObject(arg1);
2353
+ return ret;
2354
+ };
2355
+
2356
+ export function __wbg_wbindgennumberget_f74b4c7525ac05cb(arg0, arg1) {
2357
+ const obj = getObject(arg1);
2358
+ const ret = typeof(obj) === 'number' ? obj : undefined;
2359
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
2360
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2361
+ };
2362
+
2256
2363
  export function __wbg_wbindgenstringget_0f16a6ddddef376f(arg0, arg1) {
2257
2364
  const obj = getObject(arg1);
2258
2365
  const ret = typeof(obj) === 'string' ? obj : undefined;
Binary file
@@ -14,9 +14,9 @@ export const jsonevalwasm_disableCache: (a: number) => void;
14
14
  export const jsonevalwasm_enableCache: (a: number) => void;
15
15
  export const jsonevalwasm_evaluate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
16
16
  export const jsonevalwasm_evaluateDependents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
17
- export const jsonevalwasm_evaluateDependentsJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
17
+ export const jsonevalwasm_evaluateDependentsJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
18
18
  export const jsonevalwasm_evaluateDependentsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
19
- export const jsonevalwasm_evaluateDependentsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
19
+ export const jsonevalwasm_evaluateDependentsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
20
20
  export const jsonevalwasm_evaluateJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
21
21
  export const jsonevalwasm_evaluateSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
22
22
  export const jsonevalwasm_getEvaluatedSchema: (a: number, b: number, c: number) => void;
@@ -27,7 +27,7 @@ export const jsonevalwasm_getEvaluatedSchemaByPathSubformJS: (a: number, b: numb
27
27
  export const jsonevalwasm_getEvaluatedSchemaByPaths: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
28
28
  export const jsonevalwasm_getEvaluatedSchemaByPathsJS: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
29
29
  export const jsonevalwasm_getEvaluatedSchemaByPathsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
30
- export const jsonevalwasm_getEvaluatedSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
30
+ export const jsonevalwasm_getEvaluatedSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
31
31
  export const jsonevalwasm_getEvaluatedSchemaJS: (a: number, b: number, c: number) => void;
32
32
  export const jsonevalwasm_getEvaluatedSchemaMsgpack: (a: number, b: number, c: number) => void;
33
33
  export const jsonevalwasm_getEvaluatedSchemaSubform: (a: number, b: number, c: number, d: number, e: number) => void;
@@ -43,7 +43,7 @@ export const jsonevalwasm_getSchemaByPathSubformJS: (a: number, b: number, c: nu
43
43
  export const jsonevalwasm_getSchemaByPaths: (a: number, b: number, c: number, d: number, e: number) => void;
44
44
  export const jsonevalwasm_getSchemaByPathsJS: (a: number, b: number, c: number, d: number, e: number) => void;
45
45
  export const jsonevalwasm_getSchemaByPathsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
46
- export const jsonevalwasm_getSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
46
+ export const jsonevalwasm_getSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
47
47
  export const jsonevalwasm_getSchemaValue: (a: number, b: number) => void;
48
48
  export const jsonevalwasm_getSchemaValueSubform: (a: number, b: number, c: number, d: number) => void;
49
49
  export const jsonevalwasm_getSubformPaths: (a: number, b: number) => void;
@@ -78,7 +78,7 @@ export const init: () => void;
78
78
  export const version: (a: number) => void;
79
79
  export const __wbindgen_export_0: (a: number, b: number) => number;
80
80
  export const __wbindgen_export_1: (a: number, b: number, c: number, d: number) => number;
81
- export const __wbindgen_export_2: (a: number, b: number, c: number) => void;
82
- export const __wbindgen_export_3: (a: number) => void;
81
+ export const __wbindgen_export_2: (a: number) => void;
82
+ export const __wbindgen_export_3: (a: number, b: number, c: number) => void;
83
83
  export const __wbindgen_add_to_stack_pointer: (a: number) => number;
84
84
  export const __wbindgen_start: () => void;