-
-
Notifications
You must be signed in to change notification settings - Fork 38
Comparing changes
Open a pull request
base repository: TxnLab/use-wallet
base: v3.0.0-beta.10
head repository: TxnLab/use-wallet
compare: v3.0.0-rc.1
- 14 commits
- 76 files changed
- 2 contributors
Commits on Jun 5, 2024
-
feat: add Custom provider (#181)
* feat: add Custom provider * test: handle missing provider option in constructor * feat: optional methods in `CustomProvider` * docs: update README with Custom Provider * fix: add CustomWallet to createWalletMap()
Configuration menu - View commit details
-
Copy full SHA for bdaf3ee - Browse repository at this point
Copy the full SHA bdaf3eeView commit details
Commits on Jun 6, 2024
-
chore: upgrade to pnpm v9 (#182)
* chore: install dependencies using pnpm v9 * ci: update pnpm to v9 * ci: upgrade to pnpm/action-setup@v4 * chore: set package.json packageManager to [email protected] * ci: set specific pnpm version to match packageManger * ci: install Node v20
Configuration menu - View commit details
-
Copy full SHA for a33ad92 - Browse repository at this point
Copy the full SHA a33ad92View commit details
Commits on Jun 8, 2024
-
feat(kibisis): implement avm provider with kibisis client (#175)
* build(deps): add @agoralabs-sh/avm-web-provider dependency * feat(kibisis): implement kibisis with avm web provider * docs(kibisis): add required sdk for kibisis in readme * chore: squash * build(deps): update @agoralabs-sh/avm-web-provider to 1.6.2 * build(deps): update pnpm lock file to include merged resources * test(kibisis): update kibisis tests to reflect new client * chore: squash * chore: squash * chore: fix prettier issues * test(kibisis): add no-typecheck to kibisis test files * refactor(kibisis): move wallet to signle file structure
Configuration menu - View commit details
-
Copy full SHA for 9a7203d - Browse repository at this point
Copy the full SHA 9a7203dView commit details
Commits on Jun 12, 2024
-
feat(core): wallet provider updates (#183)
* feat(core): updates to all wallet clients * test(core): update wallet tests * chore: minor type changes * feat: update signTransactions in adapter packages * feat: update wallet icons * feat: update Kibisis logo * chore: update Kibisis logo * test: add tests for new utility functions * chore: remove unused utility functions
Configuration menu - View commit details
-
Copy full SHA for 1b7720a - Browse repository at this point
Copy the full SHA 1b7720aView commit details -
chore: set @perawallet/connect-beta to ^2.0.11 (#184)
* chore: set @perawallet/connect-beta to ^2.0.11 * chore: run pnpm install
Configuration menu - View commit details
-
Copy full SHA for 4f2330a - Browse repository at this point
Copy the full SHA 4f2330aView commit details
Commits on Jun 13, 2024
-
fix(walletconnect): handle all possible response types from algo_sign…
…Txn (#185) There are no restrictions or rules about the `algo_signTxn` RPC method response type. Each wallet can decide on its own how to format the signed transactions it returns. (This should probably be spec'd or defined somewhere!) The WalletConnect provider now handles numerous potential response types, to make sure it always returns an array of encoded signed transactions as `Promise<Uint8Array[]>`. Its signing function response is now typed as ```ts type SignTxnsResponse = Array<Uint8Array | string | null | undefined> ```
Configuration menu - View commit details
-
Copy full SHA for 1e246e1 - Browse repository at this point
Copy the full SHA 1e246e1View commit details
Commits on Jun 17, 2024
-
fix(walletconnect): get default metadata from window (#186)
The @walletconnect/utils package exports a function called `getWindowMetadata` which inspects the HTML Document for meta tags, favicon, etc, to populate `metadata` properties if values are not set in the configuration. This adds a private method to the WalletConnect provider adapted from the implementation from the package to avoid requiring it as a dependency (or peer dependency). When installing the package as a dependency, tree-shaking does not seem to have an effect. Despite only using this one function, the entire library gets included in the bundle, more than doubling use-wallet's bundle size.
Configuration menu - View commit details
-
Copy full SHA for 2c1762d - Browse repository at this point
Copy the full SHA 2c1762dView commit details
Commits on Jun 19, 2024
-
feat(core): switching networks (#187)
* feat(react): set algodClient to a useState variable This also refactors the `useWallet` hook so it directly accesses `WalletContext` (in place of the `useWalletManager` hook). Both modules are now in a single file - src/index.tsx * feat(vue): reactive algodClient * feat(solid): reactive algodClient * fix(solid): algodClient type * fix(vue): ensure algodClient is a defined computed value * fix(solid): fixes activeNetwork reactivity * feat: add network switcher to example apps * fix: "Set Active" button visibility in SolidJS example * feat: disconnect all wallets when switching networks * test: add/update tests for new setActiveNetwork logic * test: fix failing tests * refactor(solid): combine into one file
Configuration menu - View commit details
-
Copy full SHA for ef07c4d - Browse repository at this point
Copy the full SHA ef07c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38dc042 - Browse repository at this point
Copy the full SHA 38dc042View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8469c96 - Browse repository at this point
Copy the full SHA 8469c96View commit details -
chore: revert Pera provider to Pera Connect v1 (#188)
* chore: revert Pera provider to Pera Connect v1 While the testing for the Pera Connect v2 beta so far has been very promising, due to an unresolved issue this reverts the Pera provider back to Pera Connect v1. A dependency of `@perawallet/connect-beta` – `@walletconnect/sign-client` is not included in Vite production builds. Vite's dev mode uses esbuild and everything works fine, but for some reason the Rollup production builds omit the Sign client and an error is thrown when you try to connect. Instead of removing the new provider, it will remain as an undocumented option, `PERA2`, so it can continue to be tested on an opt-in basis. * chore: fix TypeScript error
Configuration menu - View commit details
-
Copy full SHA for 4a5c947 - Browse repository at this point
Copy the full SHA 4a5c947View commit details
Commits on Jun 20, 2024
-
feat(core): signTransactions response should match length of txnGroup (…
…#189) * feat: return null for transactions that weren't signed * refactor: move transactionSigner in BaseWallet
Configuration menu - View commit details
-
Copy full SHA for 5244482 - Browse repository at this point
Copy the full SHA 5244482View commit details -
Configuration menu - View commit details
-
Copy full SHA for f042464 - Browse repository at this point
Copy the full SHA f042464View commit details -
Configuration menu - View commit details
-
Copy full SHA for 568179e - Browse repository at this point
Copy the full SHA 568179eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.0.0-beta.10...v3.0.0-rc.1