Skip to content

Commit

Permalink
chore: bump viem version
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Nov 13, 2023
1 parent 2e73a11 commit 598deab
Show file tree
Hide file tree
Showing 28 changed files with 58 additions and 57 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"abitype": "*",
"react": "^18.2.0",
"unocss": "^0.53.6",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"vite": "^4.4.9",
"vitepress": "1.0.0-rc.20",
"vitepress-plugin-shiki-twoslash": "^0.0.6",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"rimraf": "^4.4.1",
"simple-git-hooks": "^2.9.0",
"typescript": "5.1.6",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"vitest": "^0.34.5"
},
"packageManager": "pnpm@8.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@wagmi/cli",
"description": "Manage and generate code from Ethereum ABIs",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -80,7 +80,7 @@
"pathe": "^1.1.1",
"picocolors": "^1.0.0",
"prettier": "^3.0.3",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"zod": "^3.22.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.0.0-beta.2'
export const version = '2.0.0-beta.3'
4 changes: 2 additions & 2 deletions packages/connectors/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@wagmi/connectors",
"description": "Collection of connectors for Wagmi",
"version": "4.0.0-beta.2",
"version": "4.0.0-beta.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,7 +37,7 @@
"peerDependencies": {
"@wagmi/core": "workspace:*",
"typescript": ">=5.0.4",
"viem": "2.0.0-beta.4"
"viem": "2.0.0-beta.6"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '4.0.0-beta.2'
export const version = '4.0.0-beta.3'
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@wagmi/core",
"description": "VanillaJS library for Ethereum",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -65,7 +65,7 @@
"peerDependencies": {
"@tanstack/query-core": ">=5.0.0",
"typescript": ">=5.0.4",
"viem": "2.0.0-beta.4"
"viem": "2.0.0-beta.6"
},
"peerDependenciesMeta": {
"@tanstack/query-core": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/connect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to connect.
Version: viem@2.0.0-beta.4]
Version: viem@2.0.0-beta.6]
`)
})

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/getToken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ test('behavior: bogus token', async () => {
function: decimals()
Docs: https://viem.sh/docs/contract/multicall.html
Version: viem@2.0.0-beta.4"
Version: viem@2.0.0-beta.6"
`)
})
16 changes: 8 additions & 8 deletions packages/core/src/actions/readContracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ test('throws if allowFailure=false & a contract method fails', async () => {
args: (0xA0Cf798816D4b9b9866b5330EEa46a18382f251e, 69420)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4"
Version: viem@2.0.0-beta.6"
`,
)
})
Expand Down Expand Up @@ -450,7 +450,7 @@ test('allowFailure=true & a contract method fails', async () => {
args: (0xA0Cf798816D4b9b9866b5330EEa46a18382f251e, 69420)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4],
Version: viem@2.0.0-beta.6],
"result": undefined,
"status": "failure",
},
Expand All @@ -464,7 +464,7 @@ test('allowFailure=true & a contract method fails', async () => {
args: (0xA0Cf798816D4b9b9866b5330EEa46a18382f251e, 69421)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4],
Version: viem@2.0.0-beta.6],
"result": undefined,
"status": "failure",
},
Expand Down Expand Up @@ -502,7 +502,7 @@ test('throws if allowFailure=false & encoding contract function data fails', asy
args: (1e+31)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4"
Version: viem@2.0.0-beta.6"
`,
)
})
Expand Down Expand Up @@ -561,7 +561,7 @@ test('allowFailure=true & encoding contract function data fails', async () => {
args: (1e+31)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4],
Version: viem@2.0.0-beta.6],
"result": undefined,
"status": "failure",
},
Expand All @@ -579,7 +579,7 @@ test('allowFailure=true & encoding contract function data fails', async () => {
args: (1e+31)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4],
Version: viem@2.0.0-beta.6],
"result": undefined,
"status": "failure",
},
Expand Down Expand Up @@ -617,7 +617,7 @@ test('should throw if allowFailure=false & a contract has no response', async ()
args: (0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4"
Version: viem@2.0.0-beta.6"
`,
)
})
Expand Down Expand Up @@ -669,7 +669,7 @@ test('allowFailure=true & a contract has no response', async () => {
args: (0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@2.0.0-beta.4],
Version: viem@2.0.0-beta.6],
"result": undefined,
"status": "failure",
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/signMessage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to sign message.
Version: viem@2.0.0-beta.4]
Version: viem@2.0.0-beta.6]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/signTypedData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to sign typed data.
Version: viem@2.0.0-beta.4]
Version: viem@2.0.0-beta.6]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/actions/switchChain.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('behavior: user rejected request', async () => {
[UserRejectedRequestError: User rejected the request.
Details: Failed to switch chain.
Version: viem@2.0.0-beta.4]
Version: viem@2.0.0-beta.6]
`)
await disconnect(config, { connector: connector_ })
})
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.0.0-beta.2'
export const version = '2.0.0-beta.3'
2 changes: 1 addition & 1 deletion packages/create-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-wagmi",
"description": "Create Wagmi apps with one command",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-wagmi/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.0.0-beta.2'
export const version = '2.0.0-beta.3'
4 changes: 2 additions & 2 deletions packages/create-wagmi/templates/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "13.5.3",
"viem": "2.0.0-beta.4",
"wagmi": "2.0.0-beta.2"
"viem": "2.0.0-beta.6",
"wagmi": "2.0.0-beta.3"
},
"devDependencies": {
"@types/node": "^20.7.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-wagmi/templates/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@tanstack/react-query": "5.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "2.0.0-beta.4",
"wagmi": "2.0.0-beta.2"
"viem": "2.0.0-beta.6",
"wagmi": "2.0.0-beta.3"
},
"devDependencies": {
"@biomejs/biome": "^1.1.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/create-wagmi/templates/vite-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"preview": "vite preview"
},
"dependencies": {
"@wagmi/connectors": "4.0.0-beta.2",
"@wagmi/core": "2.0.0-beta.2",
"@wagmi/connectors": "4.0.0-beta.3",
"@wagmi/core": "2.0.0-beta.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "2.0.0-beta.4"
"viem": "2.0.0-beta.6"
},
"devDependencies": {
"buffer": "^6.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wagmi",
"description": "React Hooks for Ethereum",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -66,7 +66,7 @@
"@tanstack/react-query": ">=5.0.0",
"react": ">=18",
"typescript": ">=5.0.4",
"viem": "2.0.0-beta.4"
"viem": "2.0.0-beta.6"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/hooks/useTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ test('default', async () => {
"typeHex": "0x2",
"v": 0n,
"value": 100000000000000000n,
"yParity": 0,
},
"dataUpdatedAt": 1675209600000,
"error": null,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.0.0-beta.2'
export const version = '2.0.0-beta.3'
2 changes: 1 addition & 1 deletion packages/register-tests/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"@tanstack/react-query": "5.0.5",
"react": "^18.2.0",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"wagmi": "workspace:*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"react": ">=18",
"react-dom": ">=18",
"typescript": ">=5.0.4",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"wagmi": "workspace:*"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@wagmi/core": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "2.0.0-beta.4"
"viem": "2.0.0-beta.6"
},
"devDependencies": {
"@types/react": "^18.2.23",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"idb-keyval": "^6.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"wagmi": "workspace:*"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-ssr-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"react-dom": "^18.2.0",
"sirv": "^2.0.3",
"ts-node": "^10.9.1",
"viem": "2.0.0-beta.4",
"viem": "2.0.0-beta.6",
"vike": "^0.4.142",
"vite": "^4.4.9",
"wagmi": "workspace:*"
Expand Down
Loading

0 comments on commit 598deab

Please sign in to comment.