Commit Graph

68 Commits

Author SHA1 Message Date
Samuel Andert
e12f6bcf05 feat(components): Initialize component state and enable property mapping
- Ensure every component has an initialized state, defaulting to empty.
- Implement property mapping to synchronize states between parent and child components.
2023-07-24 15:00:05 +02:00
Samuel Andert
5b7c49fd58 feat(wallet): Refactor wallet service for enhanced modularity and clarity
- 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.
2023-07-24 12:54:59 +02:00
Samuel Andert
cf1a83006e Refactor authWithMetamask to enhance modularity and introduce logout functionality 2023-07-24 11:51:39 +02:00
Samuel Andert
8aff269743 fix(docs): Correct documentation format layout 2023-07-24 11:13:52 +02:00
Samuel Andert
5ee59cb820 docs(provider.ts): Add README documentation, +cleanup 2023-07-24 11:11:51 +02:00
Samuel Andert
3f024283ef feat(provider): Enhance provider setup with meaningful logging
- Introduced detailed system-level logging for provider initialization and configuration stages.
- Adjusted path references for accurate message sourcing.
- Abstracted walletConnectId for improved modularity.
2023-07-24 10:36:55 +02:00
Samuel Andert
a572099312 Updated componentLoader and vite to load any folder depth 2023-07-24 09:39:33 +02:00
Samuel Andert
f75268a1d1 minor cleanup 2023-07-24 08:51:10 +02:00
Samuel Andert
0200c31ded tiding up a bit 2023-07-23 18:52:42 +02:00
Samuel Andert
613053c062 added WIP, recursive children in children render 2023-07-22 21:37:07 +02:00
Samuel Andert
f060090b0c testing actions on dynamic components load 2023-07-22 21:04:12 +02:00
Samuel Andert
4d5b634e55 simplified the actions again to fix some bugs 2023-07-22 19:05:44 +02:00
Samuel Andert
68708b65d8 finished correct decoupling of action with svelte stores 2023-07-22 18:11:20 +02:00
Samuel Andert
dc3995e327 decoupled actions from the components loading dynamically 2023-07-22 17:35:14 +02:00
Samuel Andert
90e4718df3 refactored the sned and clear messages button 2023-07-22 17:16:05 +02:00
Samuel Andert
5b7f46a414 some basic cleanup 2023-07-22 16:34:57 +02:00
Samuel Andert
5ddfc36acb minor fixes 2023-07-22 16:22:46 +02:00
Samuel Andert
0053515286 Added dynamic component rendering attached to message with the
@app: command
2023-07-22 16:08:00 +02:00
Samuel Andert
379a163fce minor cleanup and added dummy HelloEarth test comp 2023-07-22 15:41:27 +02:00
Samuel Andert
c84615d6bf added enter send key to messages input 2023-07-22 11:21:02 +02:00
Samuel Andert
77a183a7c2 fixed messages to auto scroll to bottom 2023-07-22 11:15:26 +02:00
Samuel Andert
97fb57c659 fixed overflow and hidden bugs 2023-07-22 10:28:04 +02:00
Samuel Andert
d021281df3 Added dynamic layouts to the composite loader 2023-07-22 09:58:26 +02:00
Samuel Andert
1ba7a9a28b added dynamical import of components via vite 2023-07-22 09:29:40 +02:00
Samuel Andert
01c742e6ce added basic composite pattern to load the ui dynamically via json 2023-07-22 09:12:03 +02:00
Samuel Andert
081d052443 added Basic Status Messages to GoogleAuth 2023-07-21 15:16:07 +02:00
Samuel Andert
207b154035 some ui updates 2023-07-21 14:48:44 +02:00
Samuel Andert
5be272d1f2 more wiring up of messages 2023-07-21 14:16:42 +02:00
Samuel Andert
6c691c7be3 pulling out the basic messaging service. 2023-07-21 13:47:09 +02:00
Samuel Andert
5e827cd939 wired dummy messaging to use svelte stores. 2023-07-21 13:13:45 +02:00
Samuel Andert
4056f3ef8d added basic messaging mockup 2023-07-21 12:24:08 +02:00
Samuel Andert
f11a208f56 ported google PKP signup to sveltekit 2023-07-21 11:20:11 +02:00
Samuel Andert
8d9980c59e further reducing google auth example 2023-07-21 10:11:29 +02:00
Samuel Andert
c71f37d221 reducing the google example to google only 2023-07-21 09:55:48 +02:00
Samuel Andert
4b419a5ade Updated main provider to include Chronicle 2023-07-21 09:24:32 +02:00
Samuel Andert
19b5dee9d8 added social auth example as reference implementation 2023-07-21 09:02:42 +02:00
Samuel Andert
68f85d9f29 added user prompt to sign in session request of wallet connect 2023-07-20 19:54:19 +02:00
Samuel Andert
940b4c3c45 fixed dynamic authSig bug 2023-07-20 19:14:57 +02:00
Samuel Andert
141834dac8 removed hardcoded authsig 2023-07-20 19:05:54 +02:00
Samuel Andert
eb647b7aad Added basic PKP wallet connect sign in POC 2023-07-20 18:43:41 +02:00
Samuel Andert
07a61a4d3a refactoring and cleanup of Send.Svelte 2023-07-20 17:07:03 +02:00
Samuel Andert
db5ae4f998 try fix for small authsig bug 2023-07-20 13:12:04 +02:00
Samuel Andert
d79342a5f0 removed nextjs example implementation 2023-07-20 12:53:07 +02:00
Samuel Andert
702c33a373 Added Send 0.01xdai with PKP 2023-07-20 12:50:54 +02:00
Samuel Andert
ff2d6489d1 fixed import global but and added some POC interactions with LIT 2023-07-19 17:19:45 +02:00
Samuel Andert
55bb332faa part 1 of moving from next to svelte 2023-07-19 11:42:47 +02:00
Samuel Andert
7200050301 added 0.001 et txh 2023-07-18 16:39:11 +02:00
Samuel Andert
5fdaefac93 first commit 2023-07-18 15:36:33 +02:00
Bean
bb4cd43210
Merge pull request #8 from LIT-Protocol:fix/cached-pkp-usage
add pkp public key to session sig requests
2023-06-15 15:07:33 -04:00
Josh Long
162494dfd8 add pkp public key to session sig requests 2023-06-15 15:03:42 -04:00