@galacticcouncil/sdk 1.2.1 → 1.2.2

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.
@@ -11,10 +11,14 @@ export declare class AssetClient extends PolkadotApiClient {
11
11
  safeBondsQuery(): Promise<Map<string, ITuple<[u32, u64]>>>;
12
12
  metadataQuery(): Promise<Map<string, AssetMetadata>>;
13
13
  locationsQuery(): Promise<Map<string, HydradxRuntimeXcmAssetLocation>>;
14
- private getTokens;
15
- private getBonds;
14
+ private getToken;
15
+ private getBond;
16
16
  private getShares;
17
+ private getExternal;
18
+ private normalizeMetadata;
19
+ private getSupportedAssets;
17
20
  getOnChainAssets(external?: ExternalAsset[]): Promise<Asset[]>;
21
+ private isValidAsset;
18
22
  private isSupportedAsset;
19
23
  private parseLocation;
20
24
  }
@@ -6,3 +6,4 @@ export * from './errors';
6
6
  export * from './consts';
7
7
  export * from './utils/bignumber';
8
8
  export * from './utils/math';
9
+ export * from './utils/json';
@@ -123,6 +123,7 @@ export interface Asset extends AssetMetadata {
123
123
  icon: string;
124
124
  type: string;
125
125
  existentialDeposit: string;
126
+ isSufficient: boolean;
126
127
  origin?: number;
127
128
  meta?: Record<string, string>;
128
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/sdk",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Galactic off-chain routing & optimization of orders across pools for best price execution",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {