From d042114e5e27e105afc801846d294a77149b8d75 Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Sat, 27 Jan 2024 18:10:06 -0800 Subject: [PATCH] fix: build (#24) --- .changeset/giant-pots-shop.md | 5 +++++ package.json | 10 ++++----- src/index.ts | 2 +- yarn.lock | 38 +++++++++++++++++------------------ 4 files changed, 30 insertions(+), 25 deletions(-) create mode 100644 .changeset/giant-pots-shop.md diff --git a/.changeset/giant-pots-shop.md b/.changeset/giant-pots-shop.md new file mode 100644 index 0000000000..17d1038310 --- /dev/null +++ b/.changeset/giant-pots-shop.md @@ -0,0 +1,5 @@ +--- +"@coinbase/onchainkit": patch +--- + +- **fix**: build diff --git a/package.json b/package.json index c3df86f547..dd6e4a4ec8 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,12 @@ "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT", "dependencies": { - "@ethersproject/abstract-signer": "5.7.0", - "@farcaster/fishery": "2.2.3", - "@farcaster/hub-nodejs": "0.10.21", - "ethers": "6.10.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@farcaster/fishery": "^2.2.3", + "@farcaster/hub-nodejs": "^0.10.21", + "ethers": "^6.10.0", "react": "^18", - "viem": "2.5.0" + "viem": "^2.5.0" }, "scripts": { "build": "tsc && tsc --module commonjs --outDir dist/lib", diff --git a/src/index.ts b/src/index.ts index 326983dc5c..c8181c0bfb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ // ☕️ -const version = '0.1.4'; +const version = '0.1.5'; export { version }; export { getFrameAccountAddress } from './core/getFrameAccountAddress'; diff --git a/yarn.lock b/yarn.lock index e5f0d8f607..df1942ec76 100644 --- a/yarn.lock +++ b/yarn.lock @@ -318,15 +318,15 @@ __metadata: dependencies: "@changesets/changelog-github": "npm:^0.4.8" "@changesets/cli": "npm:^2.26.2" - "@ethersproject/abstract-signer": "npm:5.7.0" - "@farcaster/fishery": "npm:2.2.3" - "@farcaster/hub-nodejs": "npm:0.10.21" - ethers: "npm:6.10.0" + "@ethersproject/abstract-signer": "npm:^5.7.0" + "@farcaster/fishery": "npm:^2.2.3" + "@farcaster/hub-nodejs": "npm:^0.10.21" + ethers: "npm:^6.10.0" prettier: "npm:^3.1.1" prettier-plugin-tailwindcss: "npm:^0.5.9" react: "npm:^18" typescript: "npm:~5.3.3" - viem: "npm:2.5.0" + viem: "npm:^2.5.0" yarn: "npm:^1.22.21" languageName: unknown linkType: soft @@ -346,7 +346,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/abstract-signer@npm:5.7.0": +"@ethersproject/abstract-signer@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abstract-signer@npm:5.7.0" dependencies: @@ -524,7 +524,7 @@ __metadata: languageName: node linkType: hard -"@farcaster/fishery@npm:2.2.3": +"@farcaster/fishery@npm:^2.2.3": version: 2.2.3 resolution: "@farcaster/fishery@npm:2.2.3" dependencies: @@ -533,7 +533,7 @@ __metadata: languageName: node linkType: hard -"@farcaster/hub-nodejs@npm:0.10.21": +"@farcaster/hub-nodejs@npm:^0.10.21": version: 0.10.21 resolution: "@farcaster/hub-nodejs@npm:0.10.21" dependencies: @@ -1575,7 +1575,7 @@ __metadata: languageName: node linkType: hard -"ethers@npm:6.10.0": +"ethers@npm:^6.10.0": version: 6.10.0 resolution: "ethers@npm:6.10.0" dependencies: @@ -3874,16 +3874,16 @@ __metadata: languageName: node linkType: hard -"viem@npm:2.5.0": - version: 2.5.0 - resolution: "viem@npm:2.5.0" +"viem@npm:^1.12.2": + version: 1.21.4 + resolution: "viem@npm:1.21.4" dependencies: "@adraffy/ens-normalize": "npm:1.10.0" "@noble/curves": "npm:1.2.0" "@noble/hashes": "npm:1.3.2" "@scure/bip32": "npm:1.3.2" "@scure/bip39": "npm:1.2.1" - abitype: "npm:1.0.0" + abitype: "npm:0.9.8" isows: "npm:1.0.3" ws: "npm:8.13.0" peerDependencies: @@ -3891,20 +3891,20 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 1a15999dea2f4fd97d52f7436aa237d7334b41aa50a509a713ef7719437d28bdc4daa1e9f9bad56016caef72294d057c4dd47931d4f6aecfa243ba4cc60e2c51 + checksum: 8b29c790181e44c4c95b9ffed1a8c1b6c2396eb949b95697cc390ca8c49d88ef9e2cd56bd4800b90a9bbc93681ae8d63045fc6fa06e00d84f532bef77967e751 languageName: node linkType: hard -"viem@npm:^1.12.2": - version: 1.21.4 - resolution: "viem@npm:1.21.4" +"viem@npm:^2.5.0": + version: 2.5.0 + resolution: "viem@npm:2.5.0" dependencies: "@adraffy/ens-normalize": "npm:1.10.0" "@noble/curves": "npm:1.2.0" "@noble/hashes": "npm:1.3.2" "@scure/bip32": "npm:1.3.2" "@scure/bip39": "npm:1.2.1" - abitype: "npm:0.9.8" + abitype: "npm:1.0.0" isows: "npm:1.0.3" ws: "npm:8.13.0" peerDependencies: @@ -3912,7 +3912,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 8b29c790181e44c4c95b9ffed1a8c1b6c2396eb949b95697cc390ca8c49d88ef9e2cd56bd4800b90a9bbc93681ae8d63045fc6fa06e00d84f532bef77967e751 + checksum: 1a15999dea2f4fd97d52f7436aa237d7334b41aa50a509a713ef7719437d28bdc4daa1e9f9bad56016caef72294d057c4dd47931d4f6aecfa243ba4cc60e2c51 languageName: node linkType: hard