@gearbox-protocol/sdk 8.0.3 → 8.0.4

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.
@@ -138,7 +138,7 @@ const chains = {
138
138
  },
139
139
  wellKnownToken: {
140
140
  address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
141
- symbol: "USDC.e"
141
+ symbol: "USDC"
142
142
  },
143
143
  alchemyDomain: "sonic-mainnet"
144
144
  }),
@@ -227,7 +227,7 @@ const chains = {
227
227
  isPublic: false,
228
228
  wellKnownToken: {
229
229
  address: "0x79a02482a880bce3f13e09da970dc34db4cd24d1",
230
- symbol: "USDC.e"
230
+ symbol: "USDC"
231
231
  },
232
232
  alchemyDomain: "worldchain-mainnet"
233
233
  // TODO: has no block explorer API
@@ -122,7 +122,7 @@ const chains = {
122
122
  },
123
123
  wellKnownToken: {
124
124
  address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
125
- symbol: "USDC.e"
125
+ symbol: "USDC"
126
126
  },
127
127
  alchemyDomain: "sonic-mainnet"
128
128
  }),
@@ -211,7 +211,7 @@ const chains = {
211
211
  isPublic: false,
212
212
  wellKnownToken: {
213
213
  address: "0x79a02482a880bce3f13e09da970dc34db4cd24d1",
214
- symbol: "USDC.e"
214
+ symbol: "USDC"
215
215
  },
216
216
  alchemyDomain: "worldchain-mainnet"
217
217
  // TODO: has no block explorer API
@@ -134,8 +134,8 @@ export declare class CreditAccountData_Legacy {
134
134
  constructor(payload: CreditAccountDataPayload);
135
135
  static sortBalances(balances: Record<Address, bigint>, prices: Record<Address, bigint>, tokens: Record<Address, TokenData>): Array<[Address, bigint]>;
136
136
  static sortAssets<T extends Asset>(balances: Array<T>, prices: Record<Address, bigint>, tokens: Record<Address, TokenData>): T[];
137
- static assetComparator<T extends Asset>(t1: T, t2: T, prices1: Record<Address, bigint> | undefined, prices2: Record<Address, bigint> | undefined, tokens1: Record<Address, TokenData> | undefined, tokens2: Record<Address, TokenData> | undefined): 1 | -1 | 0;
138
- static tokensAbcComparator(t1?: TokenData, t2?: TokenData): 1 | -1 | 0;
137
+ static assetComparator<T extends Asset>(t1: T, t2: T, prices1: Record<Address, bigint> | undefined, prices2: Record<Address, bigint> | undefined, tokens1: Record<Address, TokenData> | undefined, tokens2: Record<Address, TokenData> | undefined): 1 | 0 | -1;
138
+ static tokensAbcComparator(t1?: TokenData, t2?: TokenData): 1 | 0 | -1;
139
139
  static amountAbcComparator(t1: bigint, t2: bigint): 1 | -1;
140
140
  isForbidden(token: Address): boolean;
141
141
  isQuoted(token: Address): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",