breaking changes, major refactoring of Composite

This commit is contained in:
Samuel Andert
2023-07-26 09:23:15 +02:00
parent 858d21e7db
commit 0161f4ba4f
14 changed files with 212 additions and 215 deletions

View File

@ -1,10 +1,10 @@
<script>
import { onMount } from 'svelte';
import { connectWallet } from '$lib/services/wallet/wallet';
import { getComponentStore } from '$lib/stores/componentStores.ts';
import { getCompositeStore } from '$lib/core/compositeStores';
export let id;
const store = getComponentStore(id);
const store = getCompositeStore(id);
onMount(async () => {
$store.pkpWallet = await connectWallet($store.pkpPubKey, $store.rpcURL);