refactor: ♻️ Replace megalodon with @lysand-org/client

This commit is contained in:
Jesse Wierzbinski 2024-06-07 13:09:15 -10:00
parent 5c528e8d03
commit 0bd3237965
No known key found for this signature in database
41 changed files with 147 additions and 170 deletions

View file

@ -7,7 +7,7 @@ const props = defineProps<{
id?: string;
}>();
const client = useMegalodon();
const client = useClient();
const timelineParameters = ref({});
const { timeline, loadNext, loadPrev } = useAccountTimeline(
client.value,

View file

@ -4,7 +4,7 @@
<script lang="ts" setup>
const tokenData = useTokenData();
const client = useMegalodon(tokenData);
const client = useClient(tokenData);
const timelineParameters = ref({});
const { timeline, loadNext, loadPrev } = useHomeTimeline(
client.value,

View file

@ -3,7 +3,7 @@
</template>
<script lang="ts" setup>
const client = useMegalodon();
const client = useClient();
const timelineParameters = ref({});
const { timeline, loadNext, loadPrev } = useLocalTimeline(
client.value,

View file

@ -15,7 +15,7 @@
<script lang="ts" setup>
const tokenData = useTokenData();
const client = useMegalodon(tokenData);
const client = useClient(tokenData);
const isLoading = ref(true);

View file

@ -3,7 +3,7 @@
</template>
<script lang="ts" setup>
const client = useMegalodon();
const client = useClient();
const timelineParameters = ref({});
const { timeline, loadNext, loadPrev } = usePublicTimeline(
client.value,