Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Jan 7, 2025
1 parent e74a715 commit 91734ce
Show file tree
Hide file tree
Showing 4 changed files with 5,766 additions and 6,375 deletions.
1 change: 0 additions & 1 deletion packages/docs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ function MyApp({ Component, pageProps }: AppProps) {
"fin",
"tailwind",
"owallet",
"galaxystation",
"cdcwallet"
),
// ...web3AuthWallets,
Expand Down
3 changes: 1 addition & 2 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@cosmos-kit/core": "^2.15.0",
"@cosmos-kit/cosmostation": "^2.14.1",
"@cosmos-kit/fin": "^2.13.2",
"@cosmos-kit/galaxy-station": "^2.12.1",
"@cosmos-kit/ins": "^2.2.0",
"@cosmos-kit/keplr": "^2.14.2",
"@cosmos-kit/leap": "^2.14.2",
Expand Down Expand Up @@ -86,4 +85,4 @@
"tailwindcss": "3.3.2",
"typescript": "^5"
}
}
}
39 changes: 11 additions & 28 deletions packages/example/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,15 @@ import "@interchain-ui/react/styles";
import { Chain } from "@chain-registry/types";
import { Decimal } from "@cosmjs/math";
import { GasPrice } from "@cosmjs/stargate";
import { wallets as cdcwalletWallets } from "@cosmos-kit/cdcwallet";
import { wallets as coin98Wallets } from "@cosmos-kit/coin98";
import { ChainName } from "@cosmos-kit/core";
import { MainWalletBase } from "@cosmos-kit/core";
import { wallets as cosmostationWallets } from "@cosmos-kit/cosmostation";
import { wallets as exodusWallets } from "@cosmos-kit/exodus";
import { wallets as finWallets } from "@cosmos-kit/fin";
import { wallets as frontierWallets } from "@cosmos-kit/frontier";
import { wallets as galaxyStationWallets } from "@cosmos-kit/galaxy-station";
import { wallets as keplrWallets } from "@cosmos-kit/keplr";
import { wallets as leapWallets } from "@cosmos-kit/leap";
import { wallets as snapWallet } from "@cosmos-kit/leap-metamask-cosmos-snap";
import { wallets as ledgerWallets } from "@cosmos-kit/ledger";
import { wallets as ninjiWallets } from "@cosmos-kit/ninji";
import { wallets as omniWallets } from "@cosmos-kit/omni";
import { wallets as owalletWallets } from "@cosmos-kit/owallet";
// Show how to custom modal views
import { ChainProvider, defaultModalViews } from "@cosmos-kit/react";
// import { ChainProvider } from "@cosmos-kit/react";
import { wallets as shellWallets } from "@cosmos-kit/shell";
import { wallets as stationWallets } from "@cosmos-kit/station";
import { wallets as tailwindWallet } from "@cosmos-kit/tailwind";
import { wallets as trustWallets } from "@cosmos-kit/trust";
import { wallets as vectisWallets } from "@cosmos-kit/vectis";
// import { makeWeb3AuthWallets } from "@cosmos-kit/web3auth";
import { wallets as ctrlWallets } from "@cosmos-kit/ctrl";
import { useTheme } from "@interchain-ui/react";
import { assets, chains } from "chain-registry";
Expand Down Expand Up @@ -108,7 +92,6 @@ function MyApp({ Component, pageProps }: AppProps) {
// ...web3AuthWallets,
// ...trustWallets,
...stationWallets,
...galaxyStationWallets,
// ...tailwindWallet,
// ...cosmostationWallets,
// ...omniWallets,
Expand Down Expand Up @@ -175,17 +158,17 @@ function MyApp({ Component, pageProps }: AppProps) {
// },
},
}}
// // ==== Custom base modal customization
// // modalTheme={{
// // modalContentClassName: "my-custom-modal-content",
// }}
// // ==== Custom components
// // modalViews={{
// // ...defaultModalViews,
// // Connected: CustomConnectedView,
// // }}
// walletModal={CustomModal}
// modalOptions={{ mobile: { displayQRCodeEveryTime: true } }}
// // ==== Custom base modal customization
// // modalTheme={{
// // modalContentClassName: "my-custom-modal-content",
// }}
// // ==== Custom components
// // modalViews={{
// // ...defaultModalViews,
// // Connected: CustomConnectedView,
// // }}
// walletModal={CustomModal}
// modalOptions={{ mobile: { displayQRCodeEveryTime: true } }}
>
<Component {...pageProps} />
</ChainProvider>
Expand Down
Loading

0 comments on commit 91734ce

Please sign in to comment.