@dynamic-labs/sdk-api-core 0.0.808 → 0.0.810
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/package.json
CHANGED
|
@@ -24,6 +24,7 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'price': !runtime.exists(json, 'price') ? undefined : json['price'],
|
|
25
25
|
'marketValue': !runtime.exists(json, 'marketValue') ? undefined : json['marketValue'],
|
|
26
26
|
'liquidityPoolSizeUsd': !runtime.exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
27
|
+
'isNative': !runtime.exists(json, 'isNative') ? undefined : json['isNative'],
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
function TokenBalanceToJSON(value) {
|
|
@@ -45,6 +46,7 @@ function TokenBalanceToJSON(value) {
|
|
|
45
46
|
'price': value.price,
|
|
46
47
|
'marketValue': value.marketValue,
|
|
47
48
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
49
|
+
'isNative': value.isNative,
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -81,6 +81,12 @@ export interface TokenBalance {
|
|
|
81
81
|
* @memberof TokenBalance
|
|
82
82
|
*/
|
|
83
83
|
liquidityPoolSizeUsd?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof TokenBalance
|
|
88
|
+
*/
|
|
89
|
+
isNative?: boolean;
|
|
84
90
|
}
|
|
85
91
|
export declare function TokenBalanceFromJSON(json: any): TokenBalance;
|
|
86
92
|
export declare function TokenBalanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenBalance;
|
|
@@ -20,6 +20,7 @@ function TokenBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'price': !exists(json, 'price') ? undefined : json['price'],
|
|
21
21
|
'marketValue': !exists(json, 'marketValue') ? undefined : json['marketValue'],
|
|
22
22
|
'liquidityPoolSizeUsd': !exists(json, 'liquidityPoolSizeUsd') ? undefined : json['liquidityPoolSizeUsd'],
|
|
23
|
+
'isNative': !exists(json, 'isNative') ? undefined : json['isNative'],
|
|
23
24
|
};
|
|
24
25
|
}
|
|
25
26
|
function TokenBalanceToJSON(value) {
|
|
@@ -41,6 +42,7 @@ function TokenBalanceToJSON(value) {
|
|
|
41
42
|
'price': value.price,
|
|
42
43
|
'marketValue': value.marketValue,
|
|
43
44
|
'liquidityPoolSizeUsd': value.liquidityPoolSizeUsd,
|
|
45
|
+
'isNative': value.isNative,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|