Add Keplr types to window

This commit is contained in:
abefernan
2024-04-03 13:57:56 +02:00
parent 5ce9579e47
commit 0f64b9e778
3 changed files with 11 additions and 5 deletions
+4 -4
View File
@@ -18,7 +18,7 @@
"@cosmjs/tendermint-rpc": "^0.32.2",
"@cosmjs/utils": "^0.32.2",
"@hookform/resolvers": "^3.3.1",
"@keplr-wallet/types": "^0.12.23",
"@keplr-wallet/types": "^0.12.76",
"@ledgerhq/hw-transport-webusb": "^6.27.19",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
@@ -1705,9 +1705,9 @@
}
},
"node_modules/@keplr-wallet/types": {
"version": "0.12.23",
"resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.23.tgz",
"integrity": "sha512-PRnsoGswlWV5bwyqGw1o5dKCEY33s8Mgxd7HeqTX9L+Pj6TAapnBlyCxhXBp74W0QySIMe8it37VjhJqa9QWxA==",
"version": "0.12.76",
"resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.76.tgz",
"integrity": "sha512-N2KRh1xCJ3gqZUWEi803RwpeCVrFCxFTZyUgFgIUt/fg0qPyd/F6okjcpvu6dj9BNDppuJntqYUpOUdWA7mY9Q==",
"dependencies": {
"long": "^4.0.0"
}
+1 -1
View File
@@ -23,7 +23,7 @@
"@cosmjs/tendermint-rpc": "^0.32.2",
"@cosmjs/utils": "^0.32.2",
"@hookform/resolvers": "^3.3.1",
"@keplr-wallet/types": "^0.12.23",
"@keplr-wallet/types": "^0.12.76",
"@ledgerhq/hw-transport-webusb": "^6.27.19",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
+6
View File
@@ -0,0 +1,6 @@
import { Window as KeplrWindow } from "@keplr-wallet/types";
declare global {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Window extends KeplrWindow {}
}