Skip to content

Commit

Permalink
Merge pull request #155 from celo-org/aaronmgder/ck2
Browse files Browse the repository at this point in the history
Use CK 3.1 release
  • Loading branch information
aaronmgdr authored May 4, 2022
2 parents 6dd842a + 8c8834a commit 0c222c7
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 628 deletions.
6 changes: 3 additions & 3 deletions packages/example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "3.0.1-dev",
"version": "3.1.1-dev",
"scripts": {
"build": "next build",
"clean": "rm -rf .next out",
Expand All @@ -12,8 +12,8 @@
},
"license": "MIT",
"dependencies": {
"@celo-tools/use-contractkit": "3.0.1-dev",
"@celo/contractkit": "^1.5.2",
"@celo-tools/use-contractkit": "3.1.1-dev",
"@celo/contractkit": "^2.0.0",
"next": "12.1.0",
"postcss": "^8.4.5",
"react": "^17.0.2",
Expand Down
16 changes: 8 additions & 8 deletions packages/use-contractkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo-tools/use-contractkit",
"version": "3.0.1-dev",
"version": "3.1.1-dev",
"private": false,
"scripts": {
"build": "tsc -b && yarn run build-styles",
Expand All @@ -23,12 +23,12 @@
"readme": "../../readme.md",
"license": "MIT",
"dependencies": {
"@celo/utils": "1.5.2",
"@celo/wallet-base": "1.5.2",
"@celo/wallet-ledger": "1.5.2",
"@celo/wallet-local": "1.5.2",
"@celo/wallet-remote": "1.5.2",
"@celo/wallet-walletconnect-v1": "3.0.1-dev",
"@celo/utils": "^2.0.0",
"@celo/wallet-base": "^2.0.0",
"@celo/wallet-ledger": "^2.0.0",
"@celo/wallet-local": "^2.0.0",
"@celo/wallet-remote": "^2.0.0",
"@celo/wallet-walletconnect-v1": "3.1.1-dev",
"@ethersproject/providers": "^5.5.2",
"@ledgerhq/hw-transport-webusb": "^5.43.0",
"isomorphic-fetch": "^3.0.0",
Expand All @@ -51,7 +51,7 @@
"web3": "^1.3.6"
},
"peerDependencies": {
"@celo/contractkit": "^1.5.1",
"@celo/contractkit": ">=1.5.0 <=3.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"web3": "^1.3.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/use-contractkit/src/use-contract-kit-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function useContractKitMethods(
}
return results;
},
[getConnectedKit, dispatch, isMobile]
[getConnectedKit, dispatch, connector]
);

return {
Expand Down
10 changes: 5 additions & 5 deletions packages/wallet-walletconnect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/wallet-walletconnect",
"version": "3.0.1-dev",
"version": "3.1.1-dev",
"description": "WalletConnect wallet implementation",
"author": "Celo",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,10 +28,10 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@celo/connect": "1.5.2",
"@celo/utils": "1.5.2",
"@celo/wallet-base": "1.5.2",
"@celo/wallet-remote": "1.5.2",
"@celo/connect": "^2.0.0",
"@celo/utils": "^2.0.0",
"@celo/wallet-base": "^2.0.0",
"@celo/wallet-remote": "^2.0.0",
"@walletconnect/client": "2.0.0-beta.21",
"@walletconnect/types": "2.0.0-beta.21",
"@walletconnect/utils": "2.0.0-beta.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/walletconnect-v1/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/wallet-walletconnect-v1",
"version": "3.0.1-dev",
"version": "3.1.1-dev",
"description": "WalletConnect wallet legacy (v1) implementation",
"author": "Celo",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ By default use-contractkit is styled so that you can drop it into your applicati
yarn add @celo-tools/use-contractkit @celo/contractkit
```

You can use any `@celo/contractkit` version at least as recent as `1.5.1`.
You can use any `@celo/contractkit` version at least as recent as `1.5.1` including `2.0`.

## Supported wallets

Expand Down
Loading

1 comment on commit 0c222c7

@vercel
Copy link

@vercel vercel bot commented on 0c222c7 May 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.