Skip to content

Commit

Permalink
modify peer
Browse files Browse the repository at this point in the history
  • Loading branch information
liujun93 committed Jan 23, 2024
1 parent cee107f commit 831ef1a
Show file tree
Hide file tree
Showing 5 changed files with 282 additions and 257 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ packages/example/utils/tmp.ts
/.parcel-cache
packages/my-example
wallets/social-login
.yarn
10 changes: 3 additions & 7 deletions wallets/leap-capsule-social-login/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
"baseUrl": ".",
"rootDir": "src"
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules"
]
}
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
4 changes: 2 additions & 2 deletions wallets/web3auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"url": "^0.11.1"
},
"peerDependencies": {
"@cosmjs/amino": ">= 0.32.2",
"@cosmjs/proto-signing": ">= 0.32.2",
"@cosmjs/amino": "^0.32.2",
"@cosmjs/proto-signing": "^0.32.2",
"@keplr-wallet/cosmos": ">= 0.10",
"cosmjs-types": "^0.9.0"
}
Expand Down
4 changes: 3 additions & 1 deletion wallets/web3auth/src/extension/web3auth.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ self.onmessage = async ({ data }: MessageEvent<ToWorkerMessage>) => {
walletPrivateKey,
data.payload.chainBech32Prefix
)
).signDirect(data.payload.signerAddress, data.payload.data.value);
)
// @ts-ignore
.signDirect(data.payload.signerAddress, data.payload.data.value);

payload = {
id: data.payload.id,
Expand Down
Loading

0 comments on commit 831ef1a

Please sign in to comment.