Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
chore: update client and fix network
Browse files Browse the repository at this point in the history
  • Loading branch information
samerbuna committed Dec 29, 2022
1 parent ccafdb7 commit fbc938d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (!isBrowser) {

if (
process.env.NETWORK &&
!["mainnet", "testnet", "signet", "regtest"].includes(process.env.NETWORK)
!["mainnet", "signet", "signet", "regtest"].includes(process.env.NETWORK)
) {
throw new Error("Invalid NETWORK value")
}
Expand All @@ -42,8 +42,8 @@ const networkMap = (graphqlUrl: string): Network => {
return "mainnet"
}

if (graphqlUrl.match("testnet")) {
return "testnet"
if (graphqlUrl.match("signet")) {
return "signet"
}

return "regtest"
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,9 @@
strip-json-comments "^3.1.1"

"@galoymoney/client@^0.1.52":
version "0.1.52"
resolved "https://registry.yarnpkg.com/@galoymoney/client/-/client-0.1.52.tgz#88b37ef6323ea4be477888416a142d719e1e6c96"
integrity sha512-v0Pm7vSNyHeXr4vc5Y5FxcV19LCil9zK0Ol7ee4+RK8MOoZX8vwbC5Ib6V7Bmt2GaWirRObrwO+UEYEjp2svfw==
version "0.1.60"
resolved "https://registry.yarnpkg.com/@galoymoney/client/-/client-0.1.60.tgz#10a708b2ea53584503f658f4af6f011fae1313e3"
integrity sha512-DOveDf+DmNW+9Ob9ljqcVwWFVTJkNygno8JVzpwlHgB7Ndh/iA2+RcM4kY4r2A+eQslxd0yTSpMrZjCCvcOJmA==

"@galoymoney/react@^0.1.14":
version "0.1.14"
Expand Down

0 comments on commit fbc938d

Please sign in to comment.