Skip to content

Commit

Permalink
Merge pull request #384 from ergolabs/dev
Browse files Browse the repository at this point in the history
v1.1.7
  • Loading branch information
yasha-black authored Feb 7, 2022
2 parents 6972246 + 1d11811 commit 1243361
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@craco/craco": "^6.3.0",
"@ergolabs/ergo-dex-sdk": "^1.3.11",
"@ergolabs/ergo-sdk": "^0.1.27",
"@ergolabs/ergo-dex-sdk": "^1.3.12",
"@ergolabs/ergo-sdk": "^0.1.28",
"@rehooks/local-storage": "2.4.0",
"@sentry/react": "^6.16.1",
"@sentry/tracing": "^6.16.1",
Expand Down
9 changes: 7 additions & 2 deletions src/network/ergo/ammPools/ammPools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
map,
publishReplay,
refCount,
retry,
switchMap,
} from 'rxjs';

Expand All @@ -15,7 +16,9 @@ import { nativeNetworkPools, networkPools } from './common';

const nativeNetworkAmmPools$ = appTick$.pipe(
switchMap(() =>
defer(() => from(nativeNetworkPools().getAll({ limit: 100, offset: 0 }))),
defer(() =>
from(nativeNetworkPools().getAll({ limit: 100, offset: 0 })),
).pipe(retry(3)),
),
map(([pools]) => pools),
publishReplay(1),
Expand All @@ -24,7 +27,9 @@ const nativeNetworkAmmPools$ = appTick$.pipe(

const networkAmmPools$ = appTick$.pipe(
switchMap(() =>
defer(() => from(networkPools().getAll({ limit: 100, offset: 0 }))),
defer(() => from(networkPools().getAll({ limit: 100, offset: 0 }))).pipe(
retry(3),
),
),
map(([pools]) => pools),
publishReplay(1),
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1642,12 +1642,12 @@
ts-node "^9"
tslib "^2"

"@ergolabs/ergo-dex-sdk@^1.3.11":
version "1.3.11"
resolved "https://registry.yarnpkg.com/@ergolabs/ergo-dex-sdk/-/ergo-dex-sdk-1.3.11.tgz#0ec148c66d105588ca68dffb49c1744173de5d70"
integrity sha512-U2tVlcwsdOflbJjVhbhcwj/cYzDXfcFdZ6zivNT5Zx4vk2u+TuMHcoR8l+DuE7CpDmpiy9aS7eLUdIFJ6mzbhQ==
"@ergolabs/ergo-dex-sdk@^1.3.12":
version "1.3.12"
resolved "https://registry.yarnpkg.com/@ergolabs/ergo-dex-sdk/-/ergo-dex-sdk-1.3.12.tgz#46997e66b2fb9634bffae51fb9ee5f9c59b4f934"
integrity sha512-pLF+T5PEciPy5cKEmye3GX/aYW4ADRUDEYSGdG/IT+3S59lZc9chuEXEAIwTrIUKNT3S+4nEqFntTDTcaGL3mA==
dependencies:
"@ergolabs/ergo-sdk" "0.1.27"
"@ergolabs/ergo-sdk" "0.1.28"
axios "^0.21.1"
blakejs "^1.1.0"
bs58 "^4.0.1"
Expand All @@ -1658,10 +1658,10 @@
mathjs "^9.4.4"
ramda "0.27.1"

"@ergolabs/[email protected].27", "@ergolabs/ergo-sdk@^0.1.27":
version "0.1.27"
resolved "https://registry.yarnpkg.com/@ergolabs/ergo-sdk/-/ergo-sdk-0.1.27.tgz#d9f5ff2926acb581ed04ec79c4cdb5eb7208bfe7"
integrity sha512-Fz6vSshl5FaEsy+rY0j3TG3Wc5rLAW9bXvhd0fJeIiipjMCOFUObk+JIknGvKwzb4hpwNnLdqo4MP462V2+Bwg==
"@ergolabs/[email protected].28", "@ergolabs/ergo-sdk@^0.1.28":
version "0.1.28"
resolved "https://registry.yarnpkg.com/@ergolabs/ergo-sdk/-/ergo-sdk-0.1.28.tgz#715d58ba9d65af413ff963f3c36b9965b28fa92c"
integrity sha512-EYBuf7WP+RTbIHWJJd+XjpexRSDqntSMnhtex3BCc8knezoZqzY7Wj8a+KJC3xOL1PdfJjXn6SMLxpFQirOzZw==
dependencies:
axios "^0.21.1"
blakejs "^1.1.0"
Expand Down

0 comments on commit 1243361

Please sign in to comment.