@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "warp-contracts",
|
||||
"version": "1.3.3",
|
||||
"version": "1.3.4-beta.0",
|
||||
"description": "An implementation of the SmartWeave smart contract protocol.",
|
||||
"types": "./lib/types/index.d.ts",
|
||||
"main": "./lib/cjs/index.js",
|
||||
|
||||
@@ -497,7 +497,9 @@ export const rustWasmImports = (
|
||||
}
|
||||
|
||||
function notDefined(what) {
|
||||
return () => { throw new Error(`${what} is not defined`); };
|
||||
return () => {
|
||||
throw new Error(`${what} is not defined`);
|
||||
};
|
||||
}
|
||||
|
||||
// mapping from base function names (without mangled suffixes)
|
||||
@@ -1245,7 +1247,7 @@ export const rustWasmImports = (
|
||||
wasm: () => wasmInstance.exports,
|
||||
WASM_VECTOR_LEN: () => WASM_VECTOR_LEN,
|
||||
__wbg_adapter_4: __wbg_adapter_42,
|
||||
__wbg_adapter_3: __wbg_adapter_52,
|
||||
__wbg_adapter_3: __wbg_adapter_52
|
||||
};
|
||||
|
||||
function wrapPluginMethod(f: (_: Object) => Object) {
|
||||
@@ -1253,8 +1255,8 @@ export const rustWasmImports = (
|
||||
return logError(function (arg0) {
|
||||
const ret = f(takeObject(arg0));
|
||||
return addHeapObject(ret);
|
||||
}, arguments)
|
||||
}
|
||||
}, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
function extensionsDefinedImports(swGlobal, helpers) {
|
||||
@@ -1272,7 +1274,6 @@ export const rustWasmImports = (
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
const allBaseImports = { ...baseImports, ...extensionsDefinedImports(swGlobal, helpers) };
|
||||
const baseImportsKeys = Object.keys(allBaseImports);
|
||||
// assigning functions to "real" import names from the currently
|
||||
|
||||
Reference in New Issue
Block a user