Skip to content

Commit

Permalink
chore: remove example config from lib
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Jun 19, 2024
1 parent c11360e commit cf9d3a8
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions packages/dot-connect/src/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,11 @@ import type {
} from "./types.js";
import { wallets as rawWalletConfigs } from "./wallets/index.js";
import { computed, signal } from "@lit-labs/preact-signals";
import {
InjectedAggregator,
Wallet,
WalletAggregator,
WalletConnect,
} from "@reactive-dot/core/wallets.js";
import { Wallet, WalletAggregator } from "@reactive-dot/core/wallets.js";
import { Observable, combineLatest } from "rxjs";
import { map, switchMap } from "rxjs/operators";

export const walletsOrAggregators = signal<SupportedWalletOrAggregator[]>([
new InjectedAggregator(),
new WalletConnect({
projectId: "68f5b7e972a51cf379b127f51a791c34",
providerOptions: {
metadata: {
name: "DOT Connect example",
description: "Simple App showcasing DOT Connect",
url: globalThis.location.origin,
icons: ["https://walletconnect.com/walletconnect-logo.png"],
},
},
chainIds: [
"polkadot:91b171bb158e2d3848fa23a9f1c25182", // Polkadot
],
}),
]);
export const walletsOrAggregators = signal<SupportedWalletOrAggregator[]>([]);

const directWallets = computed(() =>
walletsOrAggregators.value.filter(
Expand Down

0 comments on commit cf9d3a8

Please sign in to comment.