Skip to content

Commit ea2e262

Browse files
committed
changes the bar resolution type to be more consistent with other resolution types within predictions api
1 parent 1e2a405 commit ea2e262

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codex-data/sdk",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"engines": {
55
"node": ">=17.5.0"
66
},

src/sdk/generated/graphql.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ export type BalancesInput = {
213213
removeScams?: InputMaybe<Scalars['Boolean']['input']>;
214214
/** The attribute to sort the list on. Defaults to BALANCE (raw token amount). */
215215
sortBy?: InputMaybe<BalancesSortAttribute>;
216+
/** The direction to sort the list. Defaults to DESC (highest value first). */
217+
sortDirection?: InputMaybe<RankingDirection>;
216218
/** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
217219
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
218220
/** The wallet address to filter by. */
@@ -8949,10 +8951,10 @@ export type PredictionTraderBarsInput = {
89498951

89508952
/** The time resolution for prediction trader bar data. */
89518953
export enum PredictionTraderBarsResolution {
8952-
Day1 = 'DAY1',
8953-
Hour1 = 'HOUR1',
8954-
Hour4 = 'HOUR4',
8955-
Week1 = 'WEEK1'
8954+
Day1 = 'day1',
8955+
Hour1 = 'hour1',
8956+
Hour4 = 'hour4',
8957+
Week1 = 'week1'
89568958
}
89578959

89588960
/** Response returned by `predictionTraderBars`. */

0 commit comments

Comments
 (0)