@imferno/wasm 2.0.1-beta.ff19470 → 2.0.1-chore-clippy-rust-1.95-lints.cabeb34

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/imferno_wasm.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /* eslint-disable */
3
3
  export interface Asset {
4
4
  id: ImfUuid;
5
- packing_list: boolean | null;
6
- chunk_list: ChunkList;
5
+ packingList: boolean | null;
6
+ chunkList: ChunkList;
7
7
  }
8
8
 
9
9
  export interface AssetList {
@@ -12,12 +12,12 @@ export interface AssetList {
12
12
 
13
13
  export interface AssetMap {
14
14
  id: ImfUuid;
15
- annotation_text: string | null;
15
+ annotationText: string | null;
16
16
  creator: string | null;
17
- volume_count: number;
18
- issue_date: string;
17
+ volumeCount: number;
18
+ issueDate: string;
19
19
  issuer: string | null;
20
- asset_list: AssetList;
20
+ assetList: AssetList;
21
21
  }
22
22
 
23
23
  export interface AudienceElement {
@@ -71,7 +71,7 @@ export interface CDCIDescriptor {
71
71
 
72
72
  export interface Chunk {
73
73
  path: string;
74
- volume_index: number;
74
+ volumeIndex: number;
75
75
  }
76
76
 
77
77
  export interface ChunkList {
@@ -439,7 +439,7 @@ export interface VideoSubDescriptors {
439
439
  }
440
440
 
441
441
  export interface VolumeIndex {
442
- Index: number;
442
+ index: number;
443
443
  }
444
444
 
445
445
  export interface WAVEPCMDescriptor {
package/imferno_wasm.js CHANGED
@@ -110,15 +110,14 @@ export function validate(files, options) {
110
110
  }
111
111
  return takeFromExternrefTable0(ret[0]);
112
112
  }
113
-
114
113
  function __wbg_get_imports() {
115
114
  const import0 = {
116
115
  __proto__: null,
117
- __wbg_Error_55538483de6e3abe: function(arg0, arg1) {
116
+ __wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
118
117
  const ret = Error(getStringFromWasm0(arg0, arg1));
119
118
  return ret;
120
119
  },
121
- __wbg_Number_f257194b7002d6f9: function(arg0) {
120
+ __wbg_Number_a3d737fd183f7dca: function(arg0) {
122
121
  const ret = Number(arg0);
123
122
  return ret;
124
123
  },
@@ -129,68 +128,68 @@ function __wbg_get_imports() {
129
128
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
130
129
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
131
130
  },
132
- __wbg___wbindgen_bigint_get_as_i64_a738e80c0fe6f6a7: function(arg0, arg1) {
131
+ __wbg___wbindgen_bigint_get_as_i64_3af6d4ca77193a4b: function(arg0, arg1) {
133
132
  const v = arg1;
134
133
  const ret = typeof(v) === 'bigint' ? v : undefined;
135
134
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
136
135
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
137
136
  },
138
- __wbg___wbindgen_boolean_get_fe2a24fdfdb4064f: function(arg0) {
137
+ __wbg___wbindgen_boolean_get_c3dd5c39f1b5a12b: function(arg0) {
139
138
  const v = arg0;
140
139
  const ret = typeof(v) === 'boolean' ? v : undefined;
141
140
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
142
141
  },
143
- __wbg___wbindgen_debug_string_d89627202d0155b7: function(arg0, arg1) {
142
+ __wbg___wbindgen_debug_string_07cb72cfcc952e2b: function(arg0, arg1) {
144
143
  const ret = debugString(arg1);
145
144
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
146
145
  const len1 = WASM_VECTOR_LEN;
147
146
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
148
147
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
149
148
  },
150
- __wbg___wbindgen_in_fe3eb6a509f75744: function(arg0, arg1) {
149
+ __wbg___wbindgen_in_2617fa76397620d3: function(arg0, arg1) {
151
150
  const ret = arg0 in arg1;
152
151
  return ret;
153
152
  },
154
- __wbg___wbindgen_is_bigint_ca270ac12ef71091: function(arg0) {
153
+ __wbg___wbindgen_is_bigint_d6a8167cac401b95: function(arg0) {
155
154
  const ret = typeof(arg0) === 'bigint';
156
155
  return ret;
157
156
  },
158
- __wbg___wbindgen_is_function_2a95406423ea8626: function(arg0) {
157
+ __wbg___wbindgen_is_function_2f0fd7ceb86e64c5: function(arg0) {
159
158
  const ret = typeof(arg0) === 'function';
160
159
  return ret;
161
160
  },
162
- __wbg___wbindgen_is_null_8d90524c9e0af183: function(arg0) {
161
+ __wbg___wbindgen_is_null_066086be3abe9bb3: function(arg0) {
163
162
  const ret = arg0 === null;
164
163
  return ret;
165
164
  },
166
- __wbg___wbindgen_is_object_59a002e76b059312: function(arg0) {
165
+ __wbg___wbindgen_is_object_5b22ff2418063a9c: function(arg0) {
167
166
  const val = arg0;
168
167
  const ret = typeof(val) === 'object' && val !== null;
169
168
  return ret;
170
169
  },
171
- __wbg___wbindgen_is_string_624d5244bb2bc87c: function(arg0) {
170
+ __wbg___wbindgen_is_string_eddc07a3efad52e6: function(arg0) {
172
171
  const ret = typeof(arg0) === 'string';
173
172
  return ret;
174
173
  },
175
- __wbg___wbindgen_is_undefined_87a3a837f331fef5: function(arg0) {
174
+ __wbg___wbindgen_is_undefined_244a92c34d3b6ec0: function(arg0) {
176
175
  const ret = arg0 === undefined;
177
176
  return ret;
178
177
  },
179
- __wbg___wbindgen_jsval_eq_eedd705f9f2a4f35: function(arg0, arg1) {
178
+ __wbg___wbindgen_jsval_eq_403eaa3610500a25: function(arg0, arg1) {
180
179
  const ret = arg0 === arg1;
181
180
  return ret;
182
181
  },
183
- __wbg___wbindgen_jsval_loose_eq_cf851f110c48f9ba: function(arg0, arg1) {
182
+ __wbg___wbindgen_jsval_loose_eq_1978f1e77b4bce62: function(arg0, arg1) {
184
183
  const ret = arg0 == arg1;
185
184
  return ret;
186
185
  },
187
- __wbg___wbindgen_number_get_769f3676dc20c1d7: function(arg0, arg1) {
186
+ __wbg___wbindgen_number_get_dd6d69a6079f26f1: function(arg0, arg1) {
188
187
  const obj = arg1;
189
188
  const ret = typeof(obj) === 'number' ? obj : undefined;
190
189
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
191
190
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
192
191
  },
193
- __wbg___wbindgen_string_get_f1161390414f9b59: function(arg0, arg1) {
192
+ __wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
194
193
  const obj = arg1;
195
194
  const ret = typeof(obj) === 'string' ? obj : undefined;
196
195
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -198,34 +197,34 @@ function __wbg_get_imports() {
198
197
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
199
198
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
200
199
  },
201
- __wbg___wbindgen_throw_5549492daedad139: function(arg0, arg1) {
200
+ __wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
202
201
  throw new Error(getStringFromWasm0(arg0, arg1));
203
202
  },
204
- __wbg_call_6ae20895a60069a2: function() { return handleError(function (arg0, arg1) {
203
+ __wbg_call_add9e5a76382e668: function() { return handleError(function (arg0, arg1) {
205
204
  const ret = arg0.call(arg1);
206
205
  return ret;
207
206
  }, arguments); },
208
- __wbg_done_19f92cb1f8738aba: function(arg0) {
207
+ __wbg_done_b1afd6201ac045e0: function(arg0) {
209
208
  const ret = arg0.done;
210
209
  return ret;
211
210
  },
212
- __wbg_entries_28ed7cb892e12eff: function(arg0) {
211
+ __wbg_entries_bb9843ba73dc70d6: function(arg0) {
213
212
  const ret = Object.entries(arg0);
214
213
  return ret;
215
214
  },
216
- __wbg_getTime_c3af35594e283356: function(arg0) {
215
+ __wbg_getTime_e599bee315e19eba: function(arg0) {
217
216
  const ret = arg0.getTime();
218
217
  return ret;
219
218
  },
220
- __wbg_get_94f5fc088edd3138: function(arg0, arg1) {
219
+ __wbg_get_652f640b3b0b6e3e: function(arg0, arg1) {
221
220
  const ret = arg0[arg1 >>> 0];
222
221
  return ret;
223
222
  },
224
- __wbg_get_a50328e7325d7f9b: function() { return handleError(function (arg0, arg1) {
223
+ __wbg_get_9cfea9b7bbf12a15: function() { return handleError(function (arg0, arg1) {
225
224
  const ret = Reflect.get(arg0, arg1);
226
225
  return ret;
227
226
  }, arguments); },
228
- __wbg_get_unchecked_7c6bbabf5b0b1fbf: function(arg0, arg1) {
227
+ __wbg_get_unchecked_be562b1421656321: function(arg0, arg1) {
229
228
  const ret = arg0[arg1 >>> 0];
230
229
  return ret;
231
230
  },
@@ -233,7 +232,7 @@ function __wbg_get_imports() {
233
232
  const ret = arg0[arg1];
234
233
  return ret;
235
234
  },
236
- __wbg_instanceof_ArrayBuffer_8d855993947fc3a2: function(arg0) {
235
+ __wbg_instanceof_ArrayBuffer_eab9f28fbec23477: function(arg0) {
237
236
  let result;
238
237
  try {
239
238
  result = arg0 instanceof ArrayBuffer;
@@ -243,7 +242,7 @@ function __wbg_get_imports() {
243
242
  const ret = result;
244
243
  return ret;
245
244
  },
246
- __wbg_instanceof_Map_238410f1463c05ed: function(arg0) {
245
+ __wbg_instanceof_Map_10d4edf60fcf9327: function(arg0) {
247
246
  let result;
248
247
  try {
249
248
  result = arg0 instanceof Map;
@@ -253,7 +252,7 @@ function __wbg_get_imports() {
253
252
  const ret = result;
254
253
  return ret;
255
254
  },
256
- __wbg_instanceof_Uint8Array_ce24d58a5f4bdcc3: function(arg0) {
255
+ __wbg_instanceof_Uint8Array_57d77acd50e4c44d: function(arg0) {
257
256
  let result;
258
257
  try {
259
258
  result = arg0 instanceof Uint8Array;
@@ -263,71 +262,71 @@ function __wbg_get_imports() {
263
262
  const ret = result;
264
263
  return ret;
265
264
  },
266
- __wbg_isArray_867202cf8f195ed8: function(arg0) {
265
+ __wbg_isArray_c6c6ef8308995bcf: function(arg0) {
267
266
  const ret = Array.isArray(arg0);
268
267
  return ret;
269
268
  },
270
- __wbg_isSafeInteger_1dfae065cbfe1915: function(arg0) {
269
+ __wbg_isSafeInteger_3c56c421a5b4cce4: function(arg0) {
271
270
  const ret = Number.isSafeInteger(arg0);
272
271
  return ret;
273
272
  },
274
- __wbg_iterator_54661826e186eb6a: function() {
273
+ __wbg_iterator_9d68985a1d096fc2: function() {
275
274
  const ret = Symbol.iterator;
276
275
  return ret;
277
276
  },
278
- __wbg_length_e6e1633fbea6cfa9: function(arg0) {
277
+ __wbg_length_0a6ce016dc1460b0: function(arg0) {
279
278
  const ret = arg0.length;
280
279
  return ret;
281
280
  },
282
- __wbg_length_fae3e439140f48a4: function(arg0) {
281
+ __wbg_length_ba3c032602efe310: function(arg0) {
283
282
  const ret = arg0.length;
284
283
  return ret;
285
284
  },
286
285
  __wbg_log_3a9854467c45b73c: function(arg0, arg1) {
287
286
  console.log(getStringFromWasm0(arg0, arg1));
288
287
  },
289
- __wbg_new_0934b88171ef61b0: function() {
290
- const ret = new Map();
291
- return ret;
292
- },
293
- __wbg_new_0_e649c99e7382313f: function() {
288
+ __wbg_new_0_e486ec9936f7edbf: function() {
294
289
  const ret = new Date();
295
290
  return ret;
296
291
  },
297
- __wbg_new_1d96678aaacca32e: function(arg0) {
298
- const ret = new Uint8Array(arg0);
292
+ __wbg_new_2fad8ca02fd00684: function() {
293
+ const ret = new Object();
299
294
  return ret;
300
295
  },
301
- __wbg_new_4370be21fa2b2f80: function() {
296
+ __wbg_new_3baa8d9866155c79: function() {
302
297
  const ret = new Array();
303
298
  return ret;
304
299
  },
305
- __wbg_new_48e1d86cfd30c8e7: function() {
306
- const ret = new Object();
300
+ __wbg_new_46ae4e4ff2a07a64: function() {
301
+ const ret = new Map();
307
302
  return ret;
308
303
  },
309
- __wbg_next_55d835fe0ab5b3e7: function(arg0) {
304
+ __wbg_new_8454eee672b2ba6e: function(arg0) {
305
+ const ret = new Uint8Array(arg0);
306
+ return ret;
307
+ },
308
+ __wbg_next_261c3c48c6e309a5: function(arg0) {
310
309
  const ret = arg0.next;
311
310
  return ret;
312
311
  },
313
- __wbg_next_e34cfb9df1518d7c: function() { return handleError(function (arg0) {
312
+ __wbg_next_aacee310bcfe6461: function() { return handleError(function (arg0) {
314
313
  const ret = arg0.next();
315
314
  return ret;
316
315
  }, arguments); },
317
- __wbg_prototypesetcall_3875d54d12ef2eec: function(arg0, arg1, arg2) {
316
+ __wbg_prototypesetcall_fd4050e806e1d519: function(arg0, arg1, arg2) {
318
317
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
319
318
  },
320
- __wbg_set_4702dfa37c77f492: function(arg0, arg1, arg2) {
321
- arg0[arg1 >>> 0] = arg2;
322
- },
323
319
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
324
320
  arg0[arg1] = arg2;
325
321
  },
326
- __wbg_set_8c6629931852a4a5: function(arg0, arg1, arg2) {
322
+ __wbg_set_82f7a370f604db70: function(arg0, arg1, arg2) {
327
323
  const ret = arg0.set(arg1, arg2);
328
324
  return ret;
329
325
  },
330
- __wbg_value_d5b248ce8419bd1b: function(arg0) {
326
+ __wbg_set_f614f6a0608d1d1d: function(arg0, arg1, arg2) {
327
+ arg0[arg1 >>> 0] = arg2;
328
+ },
329
+ __wbg_value_f852716acdeb3e82: function(arg0) {
331
330
  const ret = arg0.value;
332
331
  return ret;
333
332
  },
@@ -452,8 +451,7 @@ function getDataViewMemory0() {
452
451
  }
453
452
 
454
453
  function getStringFromWasm0(ptr, len) {
455
- ptr = ptr >>> 0;
456
- return decodeText(ptr, len);
454
+ return decodeText(ptr >>> 0, len);
457
455
  }
458
456
 
459
457
  let cachedUint8ArrayMemory0 = null;
@@ -549,8 +547,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
549
547
 
550
548
  let WASM_VECTOR_LEN = 0;
551
549
 
552
- let wasmModule, wasm;
550
+ let wasmModule, wasmInstance, wasm;
553
551
  function __wbg_finalize_init(instance, module) {
552
+ wasmInstance = instance;
554
553
  wasm = instance.exports;
555
554
  wasmModule = module;
556
555
  cachedDataViewMemory0 = null;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/wasm",
3
- "version": "2.0.1-beta.ff19470",
3
+ "version": "2.0.1-chore-clippy-rust-1.95-lints.cabeb34",
4
4
  "description": "Fast, type-safe SMPTE ST 2067 IMF parser for JavaScript and TypeScript",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",