Skip to content

Commit

Permalink
update domain
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqiancaosissi committed Dec 26, 2023
1 parent 1e80ffc commit 273e0a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const getConfig = (env: string = defaultNetwork) => {
walletUrl: "https://wallet.near.org",
helperUrl: "https://helper.mainnet.near.org",
explorerUrl: "https://explorer.mainnet.near.org",
liquidationUrl: "https://api.data-service.burrow.finance",
recordsUrl: "https://indexer.ref.finance",
liquidationUrl: "https://api-data-service-burrow.ref-finance.fun",
recordsUrl: "https://indexer.ref-finance.fun",
SPECIAL_REGISTRATION_TOKEN_IDS: [
"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1",
],
Expand Down
5 changes: 2 additions & 3 deletions utils/wallet-selector-compat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,9 @@ export const getWalletSelector = async ({ onAccountChange }: GetWalletSelectorAr
debug: !!isTestnet,
optimizeWalletOrder: false,
});

const subscription = selector.store.observable
const subscription = (selector.store.observable as any)
.pipe(
map((s) => s.accounts),
map((s: any) => s.accounts),
distinctUntilChanged(),
)
.subscribe((nextAccounts) => {
Expand Down

0 comments on commit 273e0a9

Please sign in to comment.