Upgrade @creit.tech/stellar-wallets-kit to v2.0.1#1958
Conversation
|
Preview is available here: |
Co-authored-by: sagpatil <1414227+sagpatil@users.noreply.github.com>
|
Preview is available here: |
|
@copilot fix the issue with frozen lock file in the test https://github.com/stellar/laboratory/actions/runs/23264179398/job/67653173536?pr=1958 corepack enable Commit the updated lockfile: bash |
Co-authored-by: sagpatil <1414227+sagpatil@users.noreply.github.com>
Co-authored-by: sagpatil <1414227+sagpatil@users.noreply.github.com>
Co-authored-by: sagpatil <1414227+sagpatil@users.noreply.github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
... Fixed in commit |
|
Preview is available here: |
1 similar comment
|
Preview is available here: |
|
@copilot previous session had an error , please retry |
The previous session successfully fixed the lockfile — |
Upgrades Stellar Wallets Kit from v1.9.3 to v2.0.1. This release resolves the React hydration error caused by the library injecting inline styles that conflicted with Next.js SSR.
Breaking API Changes Addressed
Static class model —
StellarWalletsKitis no longer instantiated; all methods are now static:Module imports — wallet modules moved from the main package to individual sub-paths:
Other changes:
WalletNetworkenum renamed toNetworksopenModal({ onWalletSelected })callback pattern replaced byauthModal()returningPromise<{ address }>buttonTheme/modalThemereplaced by a singlethemeproperty usingSwkAppDarkTheme/SwkAppLightThemeLedgerModuleimport path:.../modules/ledger.module→.../modules/ledgerFiles Updated
WalletKitContextProvider— callsStellarWalletsKit.init()inuseEffect; context now providesisInitialized: booleaninstead of a class instanceConnectWallet— static method calls; wallet ID sourced fromStellarWalletsKit.selectedModule.productIdpost-authuseSignWithExtensionWallet—openModalcallback replaced withauthModal()promise chainInvokeContractForm—signTransactionvia static callgetWalletKitNetwork—WalletNetwork→NetworksWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
stellarwalletskit.dev/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.