Skip to content

Commit

Permalink
add @keplr-wallet/types
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason Smith committed Dec 3, 2024
1 parent c29adae commit eb9f219
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion global.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
export {};

import { MetaMaskInpageProvider } from "@metamask/providers";
import { Keplr } from "@keplr-wallet/types";

declare global {
interface Window {
ethereum?: MetaMaskInpageProvider;
keplr?: Keplr;
}
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@interchain-kit/react": "0.0.1-beta.39",
"@interchain-ui/react": "^1.23.29",
"@interchain-ui/react-no-ssr": "^0.1.6",
"@keplr-wallet/types": "^0.12.157",
"@metamask/providers": "^18.1.1",
"@tanstack/react-query": "4.29.1",
"bech32": "^2.0.0",
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2045,6 +2045,13 @@
dependencies:
long "^4.0.0"

"@keplr-wallet/types@^0.12.157":
version "0.12.157"
resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.157.tgz#5aa15c09c5e18ab3a1381839368a6725c4037818"
integrity sha512-CWRg6AK2x7sXZ0rhr9NSL8z9sIdnNHgrce3nyOBAJkXJ9XtrrJoOtopnkFaQmFOanysMHUrKMCbZFiaYrBmqew==
dependencies:
long "^4.0.0"

"@keplr-wallet/[email protected]":
version "0.12.28"
resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.28.tgz#907c7fa0b49a729cda207fca14fc0a38871cc6c4"
Expand Down

0 comments on commit eb9f219

Please sign in to comment.