Skip to content

Commit

Permalink
Merge pull request #26 from getAlby/chore/cleanup
Browse files Browse the repository at this point in the history
fix: relays & package upgrades
  • Loading branch information
reneaaron authored Sep 5, 2024
2 parents 3b41f9c + 7656298 commit e40e560
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@getalby/sdk": "^3.7.0",
"@nostr-dev-kit/ndk": "^2.3.2",
"@nostr-dev-kit/ndk-cache-dexie": "^2.2.3",
"@popicons/react": "^0.0.8",
"@popicons/react": "^0.0.12",
"nostr-tools": "1.17.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
Expand Down
8 changes: 6 additions & 2 deletions src/state/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ interface Actions {
clearCart(): void;
}

const initialRelays = ["wss://relay.damus.io", "wss://relay.shitforce.one"];
const initialRelays = [
"wss://relay.damus.io",
"wss://relay.primal.net",
"wss://relay.nostr.net"
];

const useStore = create<State & Actions>((set, get) => ({
provider: undefined,
Expand All @@ -33,7 +37,7 @@ const useStore = create<State & Actions>((set, get) => ({
explicitRelayUrls: initialRelays,
autoConnectUserRelays: false,
autoFetchUserMutelist: false,
signer: new NDKPrivateKeySigner(provider.secret),
signer: new NDKPrivateKeySigner(provider.client.secret),
});
ndk.connect();
} else {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1283,10 +1283,10 @@
utf8-buffer "^1.0.0"
websocket-polyfill "^0.0.3"

"@popicons/react@^0.0.8":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@popicons/react/-/react-0.0.8.tgz#b329abf0f0f12da76e6eb1a1824f075cac23eb2d"
integrity sha512-/WyuFuSAThK9zCHiIY7N+jxAWnqu4C8kkhXIkj5PcPlBYGKw9T93UheWz+KkSLnAQIUI+jovVrSMV/AZuPROqg==
"@popicons/react@^0.0.12":
version "0.0.12"
resolved "https://registry.yarnpkg.com/@popicons/react/-/react-0.0.12.tgz#044bde1d70124b5afadf0cebde8c7edf63f5cdeb"
integrity sha512-gImLemvEWT2OzBmikcw41iGtzQYR0912YYeKOtVmE/ZkcWrsn1Vkpe6lWvPAKVJBzHG8hUmZJLut0DpWBeYyKg==

"@remix-run/[email protected]":
version "1.14.1"
Expand Down

0 comments on commit e40e560

Please sign in to comment.