v1.3.4-beta.0
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
robal
2023-03-29 17:44:02 +02:00
parent a69e2fc638
commit 68a329a710
2 changed files with 15 additions and 14 deletions

View File

@@ -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",

View File

@@ -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