@galacticcouncil/sdk 0.6.2 → 0.6.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.
@@ -4,5 +4,9 @@ import { PolkadotApiClient } from './PolkadotApi';
4
4
  export declare class AssetClient extends PolkadotApiClient {
5
5
  constructor(api: ApiPromise);
6
6
  getAssetMetadata(tokenKey: string): Promise<AssetMetadata>;
7
+ private getTokenMetadata;
8
+ private getBondMetadata;
7
9
  getAssetDetail(tokenKey: string): Promise<AssetDetail>;
10
+ private getTokenDetail;
11
+ private getBondDetail;
8
12
  }
@@ -2,6 +2,7 @@ import { BigNumber } from './utils/bignumber';
2
2
  export type PoolAsset = {
3
3
  id: string;
4
4
  symbol: string;
5
+ origin: string;
5
6
  };
6
7
  export declare enum PoolType {
7
8
  XYK = "Xyk",
@@ -126,6 +127,7 @@ export interface AssetBalance {
126
127
  export interface AssetMetadata {
127
128
  symbol: string;
128
129
  decimals: number;
130
+ origin: string;
129
131
  }
130
132
  export interface AssetDetail {
131
133
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/sdk",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "Galactic off-chain routing & optimization of orders across pools for best price execution",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "test": "jest"
33
33
  },
34
34
  "devDependencies": {
35
- "@galacticcouncil/api-augment": "^0.0.4"
35
+ "@galacticcouncil/api-augment": "^0.0.5"
36
36
  },
37
37
  "dependencies": {
38
38
  "@galacticcouncil/math-lbp": "^0.2.0",