@concordium/rust-bindings
Advanced tools
Comparing version
{ | ||
"name": "@concordium/rust-bindings", | ||
"version": "0.10.0", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=14.16.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Concordium/concordium-node-sdk-js", | ||
"directory": "packages/rust-bindings" | ||
}, | ||
"main": "pkg/node/concordium_rust_bindings.js", | ||
"browser": "pkg/bundler/concordium_rust_bindings.js", | ||
"types": "pkg/bundler/concordium_rust_bindings.d.ts", | ||
"files": [ | ||
"/pkg/**/concordium_rust_bindings*" | ||
], | ||
"scripts": { | ||
"lint": "cargo clippy", | ||
"lint-fix": "cargo +nightly-2022-06-09-x86_64-unknown-linux-gnu fmt", | ||
"build": "wasm-pack build --target web --out-dir pkg/bundler \"$@\" && wasm-pack build --target nodejs --out-dir pkg/node \"$@\"", | ||
"build-dev": "yarn build --dev", | ||
"build:rust-bindings": "yarn build" | ||
} | ||
} | ||
"name": "@concordium/rust-bindings", | ||
"version": "0.11.0", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=14.16.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Concordium/concordium-node-sdk-js", | ||
"directory": "packages/rust-bindings" | ||
}, | ||
"main": "pkg/node/concordium_rust_bindings.js", | ||
"browser": "pkg/bundler/concordium_rust_bindings.js", | ||
"types": "pkg/bundler/concordium_rust_bindings.d.ts", | ||
"files": [ | ||
"/pkg/**/concordium_rust_bindings*" | ||
], | ||
"scripts": { | ||
"lint": "cargo clippy", | ||
"lint-fix": "cargo +nightly-2022-06-09-x86_64-unknown-linux-gnu fmt", | ||
"build": "wasm-pack build --target web --out-dir pkg/bundler \"$@\" && wasm-pack build --target nodejs --out-dir pkg/node \"$@\"", | ||
"build-dev": "yarn build --dev", | ||
"build:rust-bindings": "yarn build" | ||
} | ||
} |
@@ -31,40 +31,3 @@ /* tslint:disable */ | ||
export function generateBakerKeys(a: number, b: number, c: number): void; | ||
export function verify_initial_cdi_ffi(a: number, b: number, c: number, d: number): number; | ||
export function verify_cdi_ffi(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number; | ||
export function pedersen_key_gen(): number; | ||
export function ip_info_ip_identity(a: number): number; | ||
export function dummy_generate_global_context(): number; | ||
export function ar_info_ar_identity(a: number): number; | ||
export function ar_info_name(a: number, b: number): number; | ||
export function ar_info_url(a: number, b: number): number; | ||
export function ar_info_description(a: number, b: number): number; | ||
export function ar_info_public_key(a: number, b: number): number; | ||
export function ip_info_name(a: number, b: number): number; | ||
export function ip_info_url(a: number, b: number): number; | ||
export function ip_info_description(a: number, b: number): number; | ||
export function ip_info_verify_key(a: number, b: number): number; | ||
export function ip_info_cdi_verify_key(a: number, b: number): number; | ||
export function pedersen_key_from_bytes(a: number, b: number): number; | ||
export function pedersen_key_to_bytes(a: number, b: number): number; | ||
export function pedersen_key_free(a: number): void; | ||
export function ps_sig_key_from_bytes(a: number, b: number): number; | ||
export function ps_sig_key_to_bytes(a: number, b: number): number; | ||
export function ps_sig_key_free(a: number): void; | ||
export function ps_sig_key_gen(a: number): number; | ||
export function ip_info_free(a: number): void; | ||
export function ip_info_from_bytes(a: number, b: number): number; | ||
export function ip_info_to_bytes(a: number, b: number): number; | ||
export function ip_info_from_json(a: number, b: number): number; | ||
export function ip_info_to_json(a: number, b: number): number; | ||
export function global_context_free(a: number): void; | ||
export function global_context_from_bytes(a: number, b: number): number; | ||
export function global_context_to_bytes(a: number, b: number): number; | ||
export function global_context_from_json(a: number, b: number): number; | ||
export function global_context_to_json(a: number, b: number): number; | ||
export function ar_info_free(a: number): void; | ||
export function ar_info_from_bytes(a: number, b: number): number; | ||
export function ar_info_to_bytes(a: number, b: number): number; | ||
export function ar_info_from_json(a: number, b: number): number; | ||
export function ar_info_to_json(a: number, b: number): number; | ||
export function free_array_len(a: number, b: number): void; | ||
export function deserializeTypeValue(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbindgen_malloc(a: number): number; | ||
@@ -71,0 +34,0 @@ export function __wbindgen_realloc(a: number, b: number, c: number): number; |
@@ -91,6 +91,6 @@ /* tslint:disable */ | ||
* @param {string} value | ||
* @param {string} value_type | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
export function serializeTypeValue(value: string, value_type: string): string; | ||
export function serializeTypeValue(value: string, schema: string): string; | ||
/** | ||
@@ -194,2 +194,8 @@ * @param {string} input | ||
export function generateBakerKeys(sender: string): string; | ||
/** | ||
* @param {string} serialized_value | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
export function deserializeTypeValue(serialized_value: string, schema: string): string; | ||
@@ -227,40 +233,3 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; | ||
readonly generateBakerKeys: (a: number, b: number, c: number) => void; | ||
readonly verify_initial_cdi_ffi: (a: number, b: number, c: number, d: number) => number; | ||
readonly verify_cdi_ffi: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number; | ||
readonly pedersen_key_gen: () => number; | ||
readonly ip_info_ip_identity: (a: number) => number; | ||
readonly dummy_generate_global_context: () => number; | ||
readonly ar_info_ar_identity: (a: number) => number; | ||
readonly ar_info_name: (a: number, b: number) => number; | ||
readonly ar_info_url: (a: number, b: number) => number; | ||
readonly ar_info_description: (a: number, b: number) => number; | ||
readonly ar_info_public_key: (a: number, b: number) => number; | ||
readonly ip_info_name: (a: number, b: number) => number; | ||
readonly ip_info_url: (a: number, b: number) => number; | ||
readonly ip_info_description: (a: number, b: number) => number; | ||
readonly ip_info_verify_key: (a: number, b: number) => number; | ||
readonly ip_info_cdi_verify_key: (a: number, b: number) => number; | ||
readonly pedersen_key_from_bytes: (a: number, b: number) => number; | ||
readonly pedersen_key_to_bytes: (a: number, b: number) => number; | ||
readonly pedersen_key_free: (a: number) => void; | ||
readonly ps_sig_key_from_bytes: (a: number, b: number) => number; | ||
readonly ps_sig_key_to_bytes: (a: number, b: number) => number; | ||
readonly ps_sig_key_free: (a: number) => void; | ||
readonly ps_sig_key_gen: (a: number) => number; | ||
readonly ip_info_free: (a: number) => void; | ||
readonly ip_info_from_bytes: (a: number, b: number) => number; | ||
readonly ip_info_to_bytes: (a: number, b: number) => number; | ||
readonly ip_info_from_json: (a: number, b: number) => number; | ||
readonly ip_info_to_json: (a: number, b: number) => number; | ||
readonly global_context_free: (a: number) => void; | ||
readonly global_context_from_bytes: (a: number, b: number) => number; | ||
readonly global_context_to_bytes: (a: number, b: number) => number; | ||
readonly global_context_from_json: (a: number, b: number) => number; | ||
readonly global_context_to_json: (a: number, b: number) => number; | ||
readonly ar_info_free: (a: number) => void; | ||
readonly ar_info_from_bytes: (a: number, b: number) => number; | ||
readonly ar_info_to_bytes: (a: number, b: number) => number; | ||
readonly ar_info_from_json: (a: number, b: number) => number; | ||
readonly ar_info_to_json: (a: number, b: number) => number; | ||
readonly free_array_len: (a: number, b: number) => void; | ||
readonly deserializeTypeValue: (a: number, b: number, c: number, d: number, e: number) => void; | ||
readonly __wbindgen_malloc: (a: number) => number; | ||
@@ -267,0 +236,0 @@ readonly __wbindgen_realloc: (a: number, b: number, c: number) => number; |
@@ -454,6 +454,6 @@ | ||
* @param {string} value | ||
* @param {string} value_type | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
export function serializeTypeValue(value, value_type) { | ||
export function serializeTypeValue(value, schema) { | ||
try { | ||
@@ -463,3 +463,3 @@ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
const len0 = WASM_VECTOR_LEN; | ||
const ptr1 = passStringToWasm0(value_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const ptr1 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
@@ -469,6 +469,14 @@ wasm.serializeTypeValue(retptr, ptr0, len0, ptr1, len1); | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
return getStringFromWasm0(r0, r1); | ||
var r2 = getInt32Memory0()[retptr / 4 + 2]; | ||
var r3 = getInt32Memory0()[retptr / 4 + 3]; | ||
var ptr2 = r0; | ||
var len2 = r1; | ||
if (r3) { | ||
ptr2 = 0; len2 = 0; | ||
throw takeObject(r2); | ||
} | ||
return getStringFromWasm0(ptr2, len2); | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
wasm.__wbindgen_free(r0, r1); | ||
wasm.__wbindgen_free(ptr2, len2); | ||
} | ||
@@ -797,2 +805,32 @@ } | ||
/** | ||
* @param {string} serialized_value | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
export function deserializeTypeValue(serialized_value, schema) { | ||
try { | ||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
const ptr0 = passStringToWasm0(serialized_value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
const ptr1 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
wasm.deserializeTypeValue(retptr, ptr0, len0, ptr1, len1); | ||
var r0 = getInt32Memory0()[retptr / 4 + 0]; | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
var r2 = getInt32Memory0()[retptr / 4 + 2]; | ||
var r3 = getInt32Memory0()[retptr / 4 + 3]; | ||
var ptr2 = r0; | ||
var len2 = r1; | ||
if (r3) { | ||
ptr2 = 0; len2 = 0; | ||
throw takeObject(r2); | ||
} | ||
return getStringFromWasm0(ptr2, len2); | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
wasm.__wbindgen_free(ptr2, len2); | ||
} | ||
} | ||
function handleError(f, args) { | ||
@@ -855,11 +893,2 @@ try { | ||
}; | ||
imports.wbg.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
imports.wbg.__wbg_randomFillSync_d2ba53160aec6aba = function(arg0, arg1, arg2) { | ||
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2)); | ||
}; | ||
imports.wbg.__wbg_getRandomValues_e57c9b75ddead065 = function(arg0, arg1) { | ||
getObject(arg0).getRandomValues(getObject(arg1)); | ||
}; | ||
imports.wbg.__wbg_self_86b4b13392c7af56 = function() { return handleError(function () { | ||
@@ -881,2 +910,5 @@ const ret = self.self; | ||
}; | ||
imports.wbg.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
imports.wbg.__wbg_static_accessor_MODULE_452b4680e8614c81 = function() { | ||
@@ -894,22 +926,28 @@ const ret = module; | ||
}; | ||
imports.wbg.__wbg_buffer_397eaa4d72ee94dd = function(arg0) { | ||
imports.wbg.__wbg_getRandomValues_e57c9b75ddead065 = function(arg0, arg1) { | ||
getObject(arg0).getRandomValues(getObject(arg1)); | ||
}; | ||
imports.wbg.__wbg_randomFillSync_d2ba53160aec6aba = function(arg0, arg1, arg2) { | ||
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2)); | ||
}; | ||
imports.wbg.__wbg_buffer_7af23f65f6c64548 = function(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_new_a7ce447f15ff496f = function(arg0) { | ||
imports.wbg.__wbg_new_cc9018bd6f283b6f = function(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_set_969ad0a60e51d320 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbg_set_f25e869e4565d2a2 = function(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
}; | ||
imports.wbg.__wbg_length_1eb8fc608a0d4cdb = function(arg0) { | ||
imports.wbg.__wbg_length_0acb1cf9bbaf8519 = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_newwithlength_929232475839a482 = function(arg0) { | ||
imports.wbg.__wbg_newwithlength_8f0657faca9f1422 = function(arg0) { | ||
const ret = new Uint8Array(arg0 >>> 0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_subarray_8b658422a224f479 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbg_subarray_da527dbd24eafb6b = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); | ||
@@ -916,0 +954,0 @@ return addHeapObject(ret); |
@@ -31,40 +31,3 @@ /* tslint:disable */ | ||
export function generateBakerKeys(a: number, b: number, c: number): void; | ||
export function verify_initial_cdi_ffi(a: number, b: number, c: number, d: number): number; | ||
export function verify_cdi_ffi(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number; | ||
export function pedersen_key_gen(): number; | ||
export function ip_info_ip_identity(a: number): number; | ||
export function dummy_generate_global_context(): number; | ||
export function ar_info_ar_identity(a: number): number; | ||
export function ar_info_name(a: number, b: number): number; | ||
export function ar_info_url(a: number, b: number): number; | ||
export function ar_info_description(a: number, b: number): number; | ||
export function ar_info_public_key(a: number, b: number): number; | ||
export function ip_info_name(a: number, b: number): number; | ||
export function ip_info_url(a: number, b: number): number; | ||
export function ip_info_description(a: number, b: number): number; | ||
export function ip_info_verify_key(a: number, b: number): number; | ||
export function ip_info_cdi_verify_key(a: number, b: number): number; | ||
export function pedersen_key_from_bytes(a: number, b: number): number; | ||
export function pedersen_key_to_bytes(a: number, b: number): number; | ||
export function pedersen_key_free(a: number): void; | ||
export function ps_sig_key_from_bytes(a: number, b: number): number; | ||
export function ps_sig_key_to_bytes(a: number, b: number): number; | ||
export function ps_sig_key_free(a: number): void; | ||
export function ps_sig_key_gen(a: number): number; | ||
export function ip_info_free(a: number): void; | ||
export function ip_info_from_bytes(a: number, b: number): number; | ||
export function ip_info_to_bytes(a: number, b: number): number; | ||
export function ip_info_from_json(a: number, b: number): number; | ||
export function ip_info_to_json(a: number, b: number): number; | ||
export function global_context_free(a: number): void; | ||
export function global_context_from_bytes(a: number, b: number): number; | ||
export function global_context_to_bytes(a: number, b: number): number; | ||
export function global_context_from_json(a: number, b: number): number; | ||
export function global_context_to_json(a: number, b: number): number; | ||
export function ar_info_free(a: number): void; | ||
export function ar_info_from_bytes(a: number, b: number): number; | ||
export function ar_info_to_bytes(a: number, b: number): number; | ||
export function ar_info_from_json(a: number, b: number): number; | ||
export function ar_info_to_json(a: number, b: number): number; | ||
export function free_array_len(a: number, b: number): void; | ||
export function deserializeTypeValue(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbindgen_malloc(a: number): number; | ||
@@ -71,0 +34,0 @@ export function __wbindgen_realloc(a: number, b: number, c: number): number; |
@@ -91,6 +91,6 @@ /* tslint:disable */ | ||
* @param {string} value | ||
* @param {string} value_type | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
export function serializeTypeValue(value: string, value_type: string): string; | ||
export function serializeTypeValue(value: string, schema: string): string; | ||
/** | ||
@@ -194,1 +194,7 @@ * @param {string} input | ||
export function generateBakerKeys(sender: string): string; | ||
/** | ||
* @param {string} serialized_value | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
export function deserializeTypeValue(serialized_value: string, schema: string): string; |
@@ -456,6 +456,6 @@ let imports = {}; | ||
* @param {string} value | ||
* @param {string} value_type | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
module.exports.serializeTypeValue = function(value, value_type) { | ||
module.exports.serializeTypeValue = function(value, schema) { | ||
try { | ||
@@ -465,3 +465,3 @@ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
const len0 = WASM_VECTOR_LEN; | ||
const ptr1 = passStringToWasm0(value_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const ptr1 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
@@ -471,6 +471,14 @@ wasm.serializeTypeValue(retptr, ptr0, len0, ptr1, len1); | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
return getStringFromWasm0(r0, r1); | ||
var r2 = getInt32Memory0()[retptr / 4 + 2]; | ||
var r3 = getInt32Memory0()[retptr / 4 + 3]; | ||
var ptr2 = r0; | ||
var len2 = r1; | ||
if (r3) { | ||
ptr2 = 0; len2 = 0; | ||
throw takeObject(r2); | ||
} | ||
return getStringFromWasm0(ptr2, len2); | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
wasm.__wbindgen_free(r0, r1); | ||
wasm.__wbindgen_free(ptr2, len2); | ||
} | ||
@@ -799,2 +807,32 @@ }; | ||
/** | ||
* @param {string} serialized_value | ||
* @param {string} schema | ||
* @returns {string} | ||
*/ | ||
module.exports.deserializeTypeValue = function(serialized_value, schema) { | ||
try { | ||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
const ptr0 = passStringToWasm0(serialized_value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
const ptr1 = passStringToWasm0(schema, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
wasm.deserializeTypeValue(retptr, ptr0, len0, ptr1, len1); | ||
var r0 = getInt32Memory0()[retptr / 4 + 0]; | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
var r2 = getInt32Memory0()[retptr / 4 + 2]; | ||
var r3 = getInt32Memory0()[retptr / 4 + 3]; | ||
var ptr2 = r0; | ||
var len2 = r1; | ||
if (r3) { | ||
ptr2 = 0; len2 = 0; | ||
throw takeObject(r2); | ||
} | ||
return getStringFromWasm0(ptr2, len2); | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
wasm.__wbindgen_free(ptr2, len2); | ||
} | ||
}; | ||
function handleError(f, args) { | ||
@@ -822,14 +860,2 @@ try { | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbg_randomFillSync_d2ba53160aec6aba = function(arg0, arg1, arg2) { | ||
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2)); | ||
}; | ||
module.exports.__wbg_getRandomValues_e57c9b75ddead065 = function(arg0, arg1) { | ||
getObject(arg0).getRandomValues(getObject(arg1)); | ||
}; | ||
module.exports.__wbg_self_86b4b13392c7af56 = function() { return handleError(function () { | ||
@@ -855,2 +881,6 @@ const ret = self.self; | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbg_static_accessor_MODULE_452b4680e8614c81 = function() { | ||
@@ -871,3 +901,11 @@ const ret = module; | ||
module.exports.__wbg_buffer_397eaa4d72ee94dd = function(arg0) { | ||
module.exports.__wbg_getRandomValues_e57c9b75ddead065 = function(arg0, arg1) { | ||
getObject(arg0).getRandomValues(getObject(arg1)); | ||
}; | ||
module.exports.__wbg_randomFillSync_d2ba53160aec6aba = function(arg0, arg1, arg2) { | ||
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2)); | ||
}; | ||
module.exports.__wbg_buffer_7af23f65f6c64548 = function(arg0) { | ||
const ret = getObject(arg0).buffer; | ||
@@ -877,3 +915,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_a7ce447f15ff496f = function(arg0) { | ||
module.exports.__wbg_new_cc9018bd6f283b6f = function(arg0) { | ||
const ret = new Uint8Array(getObject(arg0)); | ||
@@ -883,7 +921,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_set_969ad0a60e51d320 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_set_f25e869e4565d2a2 = function(arg0, arg1, arg2) { | ||
getObject(arg0).set(getObject(arg1), arg2 >>> 0); | ||
}; | ||
module.exports.__wbg_length_1eb8fc608a0d4cdb = function(arg0) { | ||
module.exports.__wbg_length_0acb1cf9bbaf8519 = function(arg0) { | ||
const ret = getObject(arg0).length; | ||
@@ -893,3 +931,3 @@ return ret; | ||
module.exports.__wbg_newwithlength_929232475839a482 = function(arg0) { | ||
module.exports.__wbg_newwithlength_8f0657faca9f1422 = function(arg0) { | ||
const ret = new Uint8Array(arg0 >>> 0); | ||
@@ -899,3 +937,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_subarray_8b658422a224f479 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_subarray_da527dbd24eafb6b = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); | ||
@@ -902,0 +940,0 @@ return addHeapObject(ret); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11
10%3326954
-13.07%2282
-1.08%