@sentio/api 1.0.3-rc.40 → 1.0.3-rc.42

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.
@@ -2069,6 +2069,7 @@ export declare namespace price_service {
2069
2069
  type BatchGetPricesRequest = {
2070
2070
  timestamps?: Array<string>;
2071
2071
  coinIds?: Array<CoinId2>;
2072
+ experimentalFlag?: ExperimentalFlag;
2072
2073
  };
2073
2074
  type BatchGetPricesResponse = {
2074
2075
  prices?: Array<BatchGetPricesResponseCoinPrice>;
@@ -2105,6 +2106,9 @@ export declare namespace price_service {
2105
2106
  address?: string;
2106
2107
  chain?: string;
2107
2108
  };
2109
+ type ExperimentalFlag = {
2110
+ enablePythSource?: boolean;
2111
+ };
2108
2112
  /**
2109
2113
  * GetPriceResponse is the response for GetPrice.
2110
2114
  */
@@ -2117,6 +2121,7 @@ export declare namespace price_service {
2117
2121
  * The actual timestamp of the price returned.
2118
2122
  */
2119
2123
  timestamp?: string;
2124
+ source?: string;
2120
2125
  };
2121
2126
  type ListCoinsResponse2 = {
2122
2127
  coins?: Array<CoinId2>;
@@ -2138,6 +2143,7 @@ export declare namespace price_service {
2138
2143
  'coinId.address.address'?: string;
2139
2144
  'coinId.address.chain'?: string;
2140
2145
  source?: string;
2146
+ 'experimentalFlag.enablePythSource'?: boolean;
2141
2147
  };
2142
2148
  url: '/api/v1/prices';
2143
2149
  };
@@ -3168,6 +3174,8 @@ export declare namespace web_service {
3168
3174
  precision?: number;
3169
3175
  currencySymbol?: string;
3170
3176
  tooltipTotal?: boolean;
3177
+ prefix?: string;
3178
+ suffix?: string;
3171
3179
  };
3172
3180
  type ChartConfigValueConfigStyle = 'Standard' | 'Compact' | 'Scientific' | 'Percent' | 'Currency' | 'None';
3173
3181
  type ChartConfigValueFormatter = 'NumberFormatter' | 'DateFormatter' | 'StringFormatter';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/api",
3
- "version": "1.0.3-rc.40",
3
+ "version": "1.0.3-rc.42",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.gen.ts CHANGED
@@ -2079,6 +2079,7 @@ export namespace price_service {
2079
2079
  export type BatchGetPricesRequest = {
2080
2080
  timestamps?: Array<string>;
2081
2081
  coinIds?: Array<CoinId2>;
2082
+ experimentalFlag?: ExperimentalFlag;
2082
2083
  };
2083
2084
  export type BatchGetPricesResponse = {
2084
2085
  prices?: Array<BatchGetPricesResponseCoinPrice>;
@@ -2115,6 +2116,9 @@ export namespace price_service {
2115
2116
  address?: string;
2116
2117
  chain?: string;
2117
2118
  };
2119
+ export type ExperimentalFlag = {
2120
+ enablePythSource?: boolean;
2121
+ };
2118
2122
  /**
2119
2123
  * GetPriceResponse is the response for GetPrice.
2120
2124
  */
@@ -2127,6 +2131,7 @@ export namespace price_service {
2127
2131
  * The actual timestamp of the price returned.
2128
2132
  */
2129
2133
  timestamp?: string;
2134
+ source?: string;
2130
2135
  };
2131
2136
  export type ListCoinsResponse2 = {
2132
2137
  coins?: Array<CoinId2>;
@@ -2148,6 +2153,7 @@ export namespace price_service {
2148
2153
  'coinId.address.address'?: string;
2149
2154
  'coinId.address.chain'?: string;
2150
2155
  source?: string;
2156
+ 'experimentalFlag.enablePythSource'?: boolean;
2151
2157
  };
2152
2158
  url: '/api/v1/prices';
2153
2159
  };
@@ -3181,6 +3187,8 @@ export namespace web_service {
3181
3187
  precision?: number;
3182
3188
  currencySymbol?: string;
3183
3189
  tooltipTotal?: boolean;
3190
+ prefix?: string;
3191
+ suffix?: string;
3184
3192
  };
3185
3193
  export type ChartConfigValueConfigStyle = 'Standard' | 'Compact' | 'Scientific' | 'Percent' | 'Currency' | 'None';
3186
3194
  export type ChartConfigValueFormatter = 'NumberFormatter' | 'DateFormatter' | 'StringFormatter';