- Adjusted Composite to conditionally check for both direct root and child rendering.
- Differentiated error states: omitting an error when `component` prop is absent but showing an error when it's undefined.
- Fixed rendering of @app in the messages stream.
- Initialize pkpWallet with null value inside the component store.
- Update store's pkpWallet upon successful wallet connection.
- Reflect pkpWallet value reactively in the UI.
BREAKING CHANGE: The pkpWallet now resides in the component's store and should be accessed as $store.pkpWallet.
Refactor the Composite component to support a new layout format with additional customization through the customTailwind property. This change simplifies the way layouts are defined and provides greater flexibility for design customizations.
BREAKING CHANGE: The layout interface in Composite.svelte has been modified. Components that depend on the old layout structure may need to be updated.
- Ensure every component has an initialized state, defaulting to empty.
- Implement property mapping to synchronize states between parent and child components.
- Abstracted RPC interface to allow dynamic input for connection flexibility.
- Added `signSession` function to retrieve `authSig` efficiently.
- Improved logging and error handling to provide clearer feedback.
- Centralized `authSig` retrieval for better code maintainability.
This refactor ensures the wallet service is more adaptable to varying use cases and improves overall code readability.
- Introduced detailed system-level logging for provider initialization and configuration stages.
- Adjusted path references for accurate message sourcing.
- Abstracted walletConnectId for improved modularity.
* Decouple Google OAuth sign in with Mint PKP step
* Use new signSessionKey SDK method
* Handle authentication separately from storing conditions
* Use auth-helpers package to generate session sigs correctly
* Use react-app-rewired to use config override for fixing webpack bundle
create-react-app default webpack config does not match against .cjs files, so we need to override the default config to bundle .cjs files from auth-helpers using CJS to import the .cjs file
from recap-ts.
* Implement encrypt / decrypt using session sigs
* Use latest js-sdk, use npm instead of yarn
yarn still installs tslib at 1.14.1, which breaks, whereas npm installs at 2.5.0
* Update WebAuthn registration and authentication to use new and safer flow
* Implement usernameless WebAuthn registration + Authentication
The username is solely stored in the client side for the end-user to conveniently refer to.
* Use updated SDK interface
* Implement executeJs in webauthn demo
* Show executeJs sig
* Fix username bug
* encodeURIComponent for username
* Use latest working SDK version
* Use serrano