Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add all eligible modules from stellar wallets kit #1149

Merged
merged 2 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"pre-push": "yarn lint:ts && yarn test"
},
"dependencies": {
"@creit.tech/stellar-wallets-kit": "^1.2.3",
"@creit.tech/stellar-wallets-kit": "^1.2.5",
"@ledgerhq/hw-app-str": "^7.0.4",
"@ledgerhq/hw-transport-webusb": "^6.29.4",
"@stellar/design-system": "^2.0.0-beta.17",
Expand Down
6 changes: 2 additions & 4 deletions src/components/WalletKitContextProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import { useStore } from "@/store/useStore";

import {
StellarWalletsKit,
FreighterModule,
xBullModule,
AlbedoModule,
XBULL_ID,
allowAllModules,
} from "@creit.tech/stellar-wallets-kit";

import { getWalletKitNetwork } from "@/helpers/getWalletKitNetwork";
Expand Down Expand Up @@ -80,7 +78,7 @@ export const WalletKitContextProvider = ({
return new StellarWalletsKit({
network: networkType,
selectedWalletId: XBULL_ID,
modules: [new xBullModule(), new FreighterModule(), new AlbedoModule()],
modules: allowAllModules(),
...(theme && {
buttonTheme: isDarkTheme
? {
Expand Down
9 changes: 5 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@
"@babel/helper-validator-identifier" "^7.24.7"
to-fast-properties "^2.0.0"

"@creit.tech/stellar-wallets-kit@^1.2.3":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@creit.tech/stellar-wallets-kit/-/stellar-wallets-kit-1.2.3.tgz#4a7cb03786fdf8c4ac3da8f872e951d3e9a2c349"
integrity sha512-AM1fL/cQkI0i+lefJlViOPR4uxZrPDImbF+eCYST7FEIWYZrPsd/Mtne5qGVJDC6Umzdg9HqJt7CSFZTUJ2b3A==
"@creit.tech/stellar-wallets-kit@^1.2.5":
version "1.2.5"
resolved "https://registry.yarnpkg.com/@creit.tech/stellar-wallets-kit/-/stellar-wallets-kit-1.2.5.tgz#852cdb9a1c248a5e9d9e899ff7fa59d99db69848"
integrity sha512-PcNK//8LzMLwZgpJwrnVAKR6PRN9Idt37VgG5SzkQEyLze5G1v+T+sUAc4OBQ0jkpFqHLarpgeMjfeB21T5ZGA==
dependencies:
"@albedo-link/intent" "0.12.0"
"@creit.tech/xbull-wallet-connect" "0.3.0"
Expand All @@ -277,6 +277,7 @@
"@stellar/freighter-api" "3.0.0"
"@walletconnect/modal" "2.6.2"
"@walletconnect/sign-client" "2.11.2"
buffer "6.0.3"
events "3.3.0"
lit "3.2.0"
rxjs "7.8.1"
Expand Down