@stll/stdnum-wasm 2.1.2 → 2.1.3
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.
|
@@ -25,8 +25,6 @@ export function generate(id: string): string | undefined;
|
|
|
25
25
|
|
|
26
26
|
export function hasValidEip55Checksum(value: string): boolean;
|
|
27
27
|
|
|
28
|
-
export function initialize_runtime_date(): void;
|
|
29
|
-
|
|
30
28
|
export function luhnGenerate(length?: number | null): string;
|
|
31
29
|
|
|
32
30
|
export function parse(id: string, value: string): any;
|
|
@@ -73,12 +71,10 @@ export interface InitOutput {
|
|
|
73
71
|
readonly validatorIds: (a: number) => void;
|
|
74
72
|
readonly validatorMetadata: (a: number, b: number, c: number) => void;
|
|
75
73
|
readonly validators: (a: number) => void;
|
|
76
|
-
readonly initialize_runtime_date: () => void;
|
|
77
74
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
78
75
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
79
76
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
80
77
|
readonly __wbindgen_export3: (a: number, b: number, c: number) => void;
|
|
81
|
-
readonly __wbindgen_start: () => void;
|
|
82
78
|
}
|
|
83
79
|
|
|
84
80
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
@@ -233,10 +233,6 @@ export function hasValidEip55Checksum(value) {
|
|
|
233
233
|
return ret !== 0;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export function initialize_runtime_date() {
|
|
237
|
-
wasm.initialize_runtime_date();
|
|
238
|
-
}
|
|
239
|
-
|
|
240
236
|
/**
|
|
241
237
|
* @param {number | null} [length]
|
|
242
238
|
* @returns {string}
|
|
@@ -448,22 +444,6 @@ function __wbg_get_imports() {
|
|
|
448
444
|
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
449
445
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
450
446
|
},
|
|
451
|
-
__wbg_getUTCDate_652a2ad7beebbadf: function(arg0) {
|
|
452
|
-
const ret = getObject(arg0).getUTCDate();
|
|
453
|
-
return ret;
|
|
454
|
-
},
|
|
455
|
-
__wbg_getUTCFullYear_5af8ca4e2020c06e: function(arg0) {
|
|
456
|
-
const ret = getObject(arg0).getUTCFullYear();
|
|
457
|
-
return ret;
|
|
458
|
-
},
|
|
459
|
-
__wbg_getUTCMonth_773ed3c34515d086: function(arg0) {
|
|
460
|
-
const ret = getObject(arg0).getUTCMonth();
|
|
461
|
-
return ret;
|
|
462
|
-
},
|
|
463
|
-
__wbg_new_0_3da9e97f24fc69be: function() {
|
|
464
|
-
const ret = new Date();
|
|
465
|
-
return addHeapObject(ret);
|
|
466
|
-
},
|
|
467
447
|
__wbg_new_32b398fb48b6d94a: function() {
|
|
468
448
|
const ret = new Array();
|
|
469
449
|
return addHeapObject(ret);
|
|
@@ -472,6 +452,10 @@ function __wbg_get_imports() {
|
|
|
472
452
|
const ret = new Object();
|
|
473
453
|
return addHeapObject(ret);
|
|
474
454
|
},
|
|
455
|
+
__wbg_now_86c0d4ba3fa605b8: function() {
|
|
456
|
+
const ret = Date.now();
|
|
457
|
+
return ret;
|
|
458
|
+
},
|
|
475
459
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
476
460
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
477
461
|
},
|
|
@@ -658,7 +642,6 @@ function __wbg_finalize_init(instance, module) {
|
|
|
658
642
|
cachedDataViewMemory0 = null;
|
|
659
643
|
cachedUint32ArrayMemory0 = null;
|
|
660
644
|
cachedUint8ArrayMemory0 = null;
|
|
661
|
-
wasm.__wbindgen_start();
|
|
662
645
|
return wasm;
|
|
663
646
|
}
|
|
664
647
|
|
|
Binary file
|
|
@@ -23,9 +23,7 @@ export const validateNamedId: (a: number, b: number, c: number, d: number) => nu
|
|
|
23
23
|
export const validatorIds: (a: number) => void;
|
|
24
24
|
export const validatorMetadata: (a: number, b: number, c: number) => void;
|
|
25
25
|
export const validators: (a: number) => void;
|
|
26
|
-
export const initialize_runtime_date: () => void;
|
|
27
26
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
28
27
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
29
28
|
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
30
29
|
export const __wbindgen_export3: (a: number, b: number, c: number) => void;
|
|
31
|
-
export const __wbindgen_start: () => void;
|