diff --git a/package-binaries.sh b/package-binaries.sh index a86f9ae..fcb8e7a 100755 --- a/package-binaries.sh +++ b/package-binaries.sh @@ -1,6 +1,9 @@ npx node-pre-gyp package --target_arch=x64 --target_platform=darwin --target=12.0.0 npx node-pre-gyp package --target_arch=x64 --target_platform=linux --target=12.0.0 +npx node-pre-gyp package --target_arch=arm64 --target_platform=darwin --target=12.0.0 npx node-pre-gyp package --target_arch=x64 --target_platform=darwin --target=14.0.0 npx node-pre-gyp package --target_arch=x64 --target_platform=linux --target=14.0.0 +npx node-pre-gyp package --target_arch=arm64 --target_platform=darwin --target=14.0.0 npx node-pre-gyp package --target_arch=x64 --target_platform=darwin --target=16.0.0 -npx node-pre-gyp package --target_arch=x64 --target_platform=linux --target=16.0.0 \ No newline at end of file +npx node-pre-gyp package --target_arch=x64 --target_platform=linux --target=16.0.0 +npx node-pre-gyp package --target_arch=arm64 --target_platform=darwin --target=16.0.0 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index df3bcfb..143a82e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fast-abi", - "version": "0.0.3", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "fast-abi", - "version": "0.0.3", + "version": "0.1.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index fe96be1..9ac00ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@uniswap/sfast-abi", - "version": "0.0.3", + "name": "@uniswap/fast-abi", + "version": "0.1.0", "description": "", "main": "lib/index.js", "dependencies": { diff --git a/src/fast_abi.ts b/src/fast_abi.ts index d26ee73..02752f6 100644 --- a/src/fast_abi.ts +++ b/src/fast_abi.ts @@ -1,7 +1,7 @@ import { DataItem, MethodAbi } from 'ethereum-types'; import { BigNumber } from 'ethers'; -const { Coder } = require('../native'); +const { Coder } = require('../build-native'); // Allow you to override the BigNumber module used, but it must have the same // signature as the ethers.js BigNumber module (e.g. BigNumber.from(..))