@strkfarm/sdk 1.1.63 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.global.js +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/pricer.ts +1 -1
|
@@ -49380,7 +49380,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
49380
49380
|
let retry = 0;
|
|
49381
49381
|
while (retry < MAX_RETRIES) {
|
|
49382
49382
|
try {
|
|
49383
|
-
if (token.symbol === "USDT") {
|
|
49383
|
+
if (token.symbol === "USDT" || token.symbol === "USDC") {
|
|
49384
49384
|
this.prices[token.symbol] = {
|
|
49385
49385
|
price: 1,
|
|
49386
49386
|
timestamp: /* @__PURE__ */ new Date()
|
package/dist/index.browser.mjs
CHANGED
|
@@ -460,7 +460,7 @@ var Pricer = class extends PricerBase {
|
|
|
460
460
|
let retry = 0;
|
|
461
461
|
while (retry < MAX_RETRIES) {
|
|
462
462
|
try {
|
|
463
|
-
if (token.symbol === "USDT") {
|
|
463
|
+
if (token.symbol === "USDT" || token.symbol === "USDC") {
|
|
464
464
|
this.prices[token.symbol] = {
|
|
465
465
|
price: 1,
|
|
466
466
|
timestamp: /* @__PURE__ */ new Date()
|
package/dist/index.js
CHANGED
|
@@ -607,7 +607,7 @@ var Pricer = class extends PricerBase {
|
|
|
607
607
|
let retry = 0;
|
|
608
608
|
while (retry < MAX_RETRIES) {
|
|
609
609
|
try {
|
|
610
|
-
if (token.symbol === "USDT") {
|
|
610
|
+
if (token.symbol === "USDT" || token.symbol === "USDC") {
|
|
611
611
|
this.prices[token.symbol] = {
|
|
612
612
|
price: 1,
|
|
613
613
|
timestamp: /* @__PURE__ */ new Date()
|
package/dist/index.mjs
CHANGED
|
@@ -501,7 +501,7 @@ var Pricer = class extends PricerBase {
|
|
|
501
501
|
let retry = 0;
|
|
502
502
|
while (retry < MAX_RETRIES) {
|
|
503
503
|
try {
|
|
504
|
-
if (token.symbol === "USDT") {
|
|
504
|
+
if (token.symbol === "USDT" || token.symbol === "USDC") {
|
|
505
505
|
this.prices[token.symbol] = {
|
|
506
506
|
price: 1,
|
|
507
507
|
timestamp: /* @__PURE__ */ new Date()
|
package/package.json
CHANGED
package/src/modules/pricer.ts
CHANGED
|
@@ -94,7 +94,7 @@ export class Pricer extends PricerBase {
|
|
|
94
94
|
let retry = 0;
|
|
95
95
|
while (retry < MAX_RETRIES) {
|
|
96
96
|
try {
|
|
97
|
-
if (token.symbol === 'USDT') {
|
|
97
|
+
if (token.symbol === 'USDT' || token.symbol === 'USDC') {
|
|
98
98
|
this.prices[token.symbol] = {
|
|
99
99
|
price: 1,
|
|
100
100
|
timestamp: new Date()
|