@arianee/utils
Advanced tools
Comparing version 1.15.0 to 1.16.0
{ | ||
"name": "@arianee/utils", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"type": "commonjs", | ||
@@ -11,3 +11,3 @@ "dependencies": { | ||
"peerDependencies": { | ||
"@arianee/common-types": "1.15.0", | ||
"@arianee/common-types": "1.16.0", | ||
"tslib": "2.5.0" | ||
@@ -14,0 +14,0 @@ }, |
@@ -6,9 +6,15 @@ "use strict"; | ||
const arianee_abi_1 = require("@arianee/arianee-abi"); | ||
const ArianeeFactories = Object.assign(Object.assign({}, arianee_abi_1.ethers6_v1.factories), arianee_abi_1.ethers6_v1_1.factories); | ||
const ArianeeContracts = Object.keys(ArianeeFactories).map((key) => { | ||
const ArianeeFactoriesV1 = Object.keys(arianee_abi_1.ethers6_v1.factories).map((key) => { | ||
return { | ||
name: key.split('__')[0], | ||
abi: ArianeeFactories[key].abi, | ||
name: `${key.split('__')[0]}_v1`, | ||
abi: arianee_abi_1.ethers6_v1.factories[key].abi, | ||
}; | ||
}); | ||
const ArianeeFactoriesV1_1 = Object.keys(arianee_abi_1.ethers6_v1.factories).map((key) => { | ||
return { | ||
name: `${key.split('__')[0]}_v1-1`, | ||
abi: arianee_abi_1.ethers6_v1.factories[key].abi, | ||
}; | ||
}); | ||
const ArianeeContracts = [...ArianeeFactoriesV1, ...ArianeeFactoriesV1_1]; | ||
class DecodedArianeeTransactionError extends Error { | ||
@@ -15,0 +21,0 @@ constructor(message) { |
Sorry, the diff of this file is not supported yet
25987
394