Skip to content

Commit

Permalink
feat: upgrade portkey and sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Nov 1, 2023
1 parent 815abf4 commit 100a45a
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 102 deletions.
4 changes: 2 additions & 2 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"pin": "sh -c '{ for X in {core,empty}; do lerna add @web3-react/$X --exact --no-bootstrap --scope=example-cra; done }'"
},
"dependencies": {
"@portkey/did-ui-react": "1.5.0",
"@portkey/types": "1.5.0",
"@portkey/did-ui-react": "1.5.1-alpha.2",
"@portkey/types": "1.5.1-alpha.2",
"@types/react-dom": "^18.0.0",
"aelf-web-login": "workspace:*",
"ahooks": "^3.7.7",
Expand Down
14 changes: 7 additions & 7 deletions packages/login/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aelf-web-login",
"version": "1.1.4-alpha.6",
"version": "1.1.4-alpha.7",
"main": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
Expand Down Expand Up @@ -48,16 +48,16 @@
},
"dependencies": {
"@aelf-react/core": "^0.1.19",
"@portkey/contracts": "1.5.0",
"@portkey/contracts": "1.5.1-alpha.2",
"@portkey/detect-provider": "1.0.1-alpha.0",
"@portkey/did-ui-react": "1.5.0",
"@portkey/did-ui-react": "1.5.1-alpha.2",
"@portkey/provider-types": "1.0.1-alpha.0",
"@portkey/services": "1.5.0",
"@portkey/types": "1.5.0",
"@portkey/utils": "1.5.0",
"@portkey/services": "1.5.1-alpha.2",
"@portkey/types": "1.5.1-alpha.2",
"@portkey/utils": "1.5.1-alpha.2",
"@types/bn.js": "^5.1.3",
"aelf-bridge": "^0.0.10",
"aelf-sdk": "^3.2.40",
"aelf-sdk": "^3.3.0",
"ahooks": "^3.7.7",
"antd": "^4.24.4",
"bn.js": "^5.2.1",
Expand Down
1 change: 0 additions & 1 deletion packages/login/src/hooks/useCallContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ export default function useCallContract(options?: CallContractHookOptions): Call
rpcUrl: chainInfo.endPoint,
});
});
console.log(caContract, didWalletInfo, sendOptions, 'xxxxxx');
const result = await sendAdapter({ caContract, didWalletInfo, params, chainId, sendOptions });
// compatible with aelf-sdk result of contract
if (result?.transactionId) {
Expand Down
Loading

0 comments on commit 100a45a

Please sign in to comment.