-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(liquid): implement dynamic import for LiquidAuthClient (#299)
* feat(liquid): add logging - Integrate `logger` into `LiquidWallet` for improved debugging and monitoring - Update tests to mock `logger` * refactor(liquid): update signTransactions method - Add debug logging for transaction signing process - Implement try-catch block for error handling - Remove underscore prefix from method parameters * refactor(liquid): add createWalletWithStore to tests * refactor(liquid): implement dynamic import for LiquidAuthClient - Remove static import of `LiquidAuthClient` - Add `initializeClient` method for lazy-loading - Update `connect` and `signTransactions` to use lazy-loaded client - Inline `ICON` constant to remove static dependency - Improve error handling and logging - Update tests to reflect new behavior * chore: add LiquidAuthClient dependency to example apps - Install `@algorandfoundation/liquid-auth-use-wallet-client` in example apps - Add fallback for this optional dependency in Next.js config * fix(liquid): convert public methods to arrow functions Ensures correct 'this' context when methods are used as callbacks, addressing issues like undefined 'this.store' in React components. Aligns with the fix implemented in PR #152. See: #152 * refactor(examples): simplify LiquidWallet configuration Update example apps to use enum syntax for `LiquidWallet` when no custom options are needed.
- Loading branch information
Showing
14 changed files
with
167 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.