@bitgo/wasm-miniscript
Advanced tools
Comparing version 1.9.1 to 1.10.0
@@ -56,2 +56,11 @@ let wasm; | ||
let WASM_VECTOR_LEN = 0; | ||
function passArray8ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 1, 1) >>> 0; | ||
getUint8Memory0().set(arg, ptr / 1); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
let cachedInt32Memory0 = null; | ||
@@ -71,3 +80,8 @@ | ||
let WASM_VECTOR_LEN = 0; | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
@@ -130,16 +144,2 @@ const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder; | ||
function passArray8ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 1, 1) >>> 0; | ||
getUint8Memory0().set(arg, ptr / 1); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
function handleError(f, args) { | ||
@@ -146,0 +146,0 @@ try { |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export const memory: WebAssembly.Memory; | ||
export function __wbg_wrappsbt_free(a: number): void; | ||
export function wrappsbt_deserialize(a: number, b: number, c: number): void; | ||
export function wrappsbt_serialize(a: number, b: number): void; | ||
export function wrappsbt_clone(a: number): number; | ||
export function wrappsbt_updateInputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_updateOutputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_finalize(a: number, b: number): void; | ||
export function __wbg_wrapdescriptor_free(a: number): void; | ||
@@ -22,9 +29,2 @@ export function wrapdescriptor_node(a: number, b: number): void; | ||
export function wrapminiscript_fromBitcoinScript(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbg_wrappsbt_free(a: number): void; | ||
export function wrappsbt_deserialize(a: number, b: number, c: number): void; | ||
export function wrappsbt_serialize(a: number, b: number): void; | ||
export function wrappsbt_clone(a: number): number; | ||
export function wrappsbt_updateInputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_updateOutputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_finalize(a: number, b: number): void; | ||
export function rustsecp256k1_v0_10_0_context_create(a: number): number; | ||
@@ -35,5 +35,5 @@ export function rustsecp256k1_v0_10_0_context_destroy(a: number): void; | ||
export function __wbindgen_add_to_stack_pointer(a: number): number; | ||
export function __wbindgen_malloc(a: number, b: number): number; | ||
export function __wbindgen_free(a: number, b: number, c: number): void; | ||
export function __wbindgen_malloc(a: number, b: number): number; | ||
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; | ||
export function __wbindgen_exn_store(a: number): void; |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export const memory: WebAssembly.Memory; | ||
export function __wbg_wrappsbt_free(a: number): void; | ||
export function wrappsbt_deserialize(a: number, b: number, c: number): void; | ||
export function wrappsbt_serialize(a: number, b: number): void; | ||
export function wrappsbt_clone(a: number): number; | ||
export function wrappsbt_updateInputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_updateOutputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_finalize(a: number, b: number): void; | ||
export function __wbg_wrapdescriptor_free(a: number): void; | ||
@@ -22,9 +29,2 @@ export function wrapdescriptor_node(a: number, b: number): void; | ||
export function wrapminiscript_fromBitcoinScript(a: number, b: number, c: number, d: number, e: number): void; | ||
export function __wbg_wrappsbt_free(a: number): void; | ||
export function wrappsbt_deserialize(a: number, b: number, c: number): void; | ||
export function wrappsbt_serialize(a: number, b: number): void; | ||
export function wrappsbt_clone(a: number): number; | ||
export function wrappsbt_updateInputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_updateOutputWithDescriptor(a: number, b: number, c: number, d: number): void; | ||
export function wrappsbt_finalize(a: number, b: number): void; | ||
export function rustsecp256k1_v0_10_0_context_create(a: number): number; | ||
@@ -35,5 +35,5 @@ export function rustsecp256k1_v0_10_0_context_destroy(a: number): void; | ||
export function __wbindgen_add_to_stack_pointer(a: number): number; | ||
export function __wbindgen_malloc(a: number, b: number): number; | ||
export function __wbindgen_free(a: number, b: number, c: number): void; | ||
export function __wbindgen_malloc(a: number, b: number): number; | ||
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; | ||
export function __wbindgen_exn_store(a: number): void; |
@@ -53,2 +53,11 @@ let imports = {}; | ||
let WASM_VECTOR_LEN = 0; | ||
function passArray8ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 1, 1) >>> 0; | ||
getUint8Memory0().set(arg, ptr / 1); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
let cachedInt32Memory0 = null; | ||
@@ -68,3 +77,8 @@ | ||
let WASM_VECTOR_LEN = 0; | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
@@ -125,16 +139,2 @@ let cachedTextEncoder = new TextEncoder('utf-8'); | ||
function passArray8ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 1, 1) >>> 0; | ||
getUint8Memory0().set(arg, ptr / 1); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
function handleError(f, args) { | ||
@@ -141,0 +141,0 @@ try { |
{ | ||
"name": "@bitgo/wasm-miniscript", | ||
"version": "1.9.1", | ||
"version": "1.10.0", | ||
"lint-staged": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7151797