Skip to content

Commit 2c3dd50

Browse files
authored
Update sdk to remove inaccessible types (#48)
* rebuild to remove inaccessible fields * Bump
1 parent 8405b27 commit 2c3dd50

File tree

7 files changed

+123
-213
lines changed

7 files changed

+123
-213
lines changed

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": "1.0.35",
3+
"version": "1.0.36",
44
"engines": {
55
"node": ">=17.5.0"
66
},

src/resources/graphql.schema.json

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -5132,18 +5132,6 @@
51325132
"description": "Detailed stats for a token within a pair.",
51335133
"isOneOf": null,
51345134
"fields": [
5135-
{
5136-
"name": "bucketCount",
5137-
"description": "Number of aggregated buckets specified in input",
5138-
"args": [],
5139-
"type": {
5140-
"kind": "SCALAR",
5141-
"name": "Int",
5142-
"ofType": null
5143-
},
5144-
"isDeprecated": false,
5145-
"deprecationReason": null
5146-
},
51475135
{
51485136
"name": "pairId",
51495137
"description": "The ID of the pair (`pairAddress:networkId`).",
@@ -5160,18 +5148,6 @@
51605148
"isDeprecated": false,
51615149
"deprecationReason": null
51625150
},
5163-
{
5164-
"name": "queryTimestamp",
5165-
"description": "The timestamp specified as input to the query",
5166-
"args": [],
5167-
"type": {
5168-
"kind": "SCALAR",
5169-
"name": "Int",
5170-
"ofType": null
5171-
},
5172-
"isDeprecated": false,
5173-
"deprecationReason": null
5174-
},
51755151
{
51765152
"name": "statsType",
51775153
"description": "The type of statistics returned. Can be `FILTERED` or `UNFILTERED`.",
@@ -6252,18 +6228,6 @@
62526228
"isDeprecated": false,
62536229
"deprecationReason": null
62546230
},
6255-
{
6256-
"name": "pairId",
6257-
"description": "The pair that the token is contained in",
6258-
"args": [],
6259-
"type": {
6260-
"kind": "SCALAR",
6261-
"name": "String",
6262-
"ofType": null
6263-
},
6264-
"isDeprecated": false,
6265-
"deprecationReason": null
6266-
},
62676231
{
62686232
"name": "pooled",
62696233
"description": "The amount of this token in the pair.",
@@ -10001,18 +9965,6 @@
100019965
"isDeprecated": false,
100029966
"deprecationReason": null
100039967
},
10004-
{
10005-
"name": "tokenId",
10006-
"description": "the token Id",
10007-
"args": [],
10008-
"type": {
10009-
"kind": "SCALAR",
10010-
"name": "String",
10011-
"ofType": null
10012-
},
10013-
"isDeprecated": false,
10014-
"deprecationReason": null
10015-
},
100169968
{
100179969
"name": "top10HoldersPercent",
100189970
"description": "What percentage of the total supply do the top 10 holders hold.",
@@ -36240,18 +36192,6 @@
3624036192
"isDeprecated": true,
3624136193
"deprecationReason": "Pricing no longer based on specific pools"
3624236194
},
36243-
{
36244-
"name": "internalPoolAddress",
36245-
"description": "The internal pool address for the price",
36246-
"args": [],
36247-
"type": {
36248-
"kind": "SCALAR",
36249-
"name": "String",
36250-
"ofType": null
36251-
},
36252-
"isDeprecated": false,
36253-
"deprecationReason": null
36254-
},
3625536195
{
3625636196
"name": "networkId",
3625736197
"description": "The network ID the token is deployed on.",

src/resources/graphql.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -869,12 +869,8 @@ export type DetailedPairStatsStringMetrics = {
869869
/** Detailed stats for a token within a pair. */
870870
export type DetailedStats = {
871871
__typename?: 'DetailedStats';
872-
/** Number of aggregated buckets specified in input */
873-
bucketCount?: Maybe<Scalars['Int']['output']>;
874872
/** The ID of the pair (`pairAddress:networkId`). */
875873
pairId: Scalars['String']['output'];
876-
/** The timestamp specified as input to the query */
877-
queryTimestamp?: Maybe<Scalars['Int']['output']>;
878874
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
879875
statsType: TokenPairStatisticsType;
880876
/** The breakdown of stats over a 24 hour window. */
@@ -1071,8 +1067,6 @@ export type EnhancedToken = {
10711067
name?: Maybe<Scalars['String']['output']>;
10721068
/** The network ID the token is deployed on. */
10731069
networkId: Scalars['Int']['output'];
1074-
/** The pair that the token is contained in */
1075-
pairId?: Maybe<Scalars['String']['output']>;
10761070
/**
10771071
* The amount of this token in the pair.
10781072
* @deprecated Pooled can be found on the pair instead
@@ -1698,8 +1692,6 @@ export type HoldersResponse = {
16981692
items: Array<Balance>;
16991693
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
17001694
status: HoldersStatus;
1701-
/** the token Id */
1702-
tokenId?: Maybe<Scalars['String']['output']>;
17031695
/** What percentage of the total supply do the top 10 holders hold. */
17041696
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
17051697
};
@@ -6171,8 +6163,6 @@ export type Price = {
61716163
* @deprecated Pricing no longer based on specific pools
61726164
*/
61736165
confidence?: Maybe<Scalars['Float']['output']>;
6174-
/** The internal pool address for the price */
6175-
internalPoolAddress?: Maybe<Scalars['String']['output']>;
61766166
/** The network ID the token is deployed on. */
61776167
networkId: Scalars['Int']['output'];
61786168
/**

src/resources/schema.graphql

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,10 +1661,6 @@ type DetailedStats {
16611661
stats_hour12: WindowedDetailedStats
16621662
"""The breakdown of stats over a 24 hour window."""
16631663
stats_day1: WindowedDetailedStats
1664-
"""Number of aggregated buckets specified in input"""
1665-
bucketCount: Int
1666-
"""The timestamp specified as input to the query"""
1667-
queryTimestamp: Int
16681664
}
16691665

16701666
"""The start/end timestamp for a given bucket within the window."""
@@ -1831,8 +1827,6 @@ type EnhancedToken {
18311827
isMintableValid: Boolean
18321828
"""The launchpad data for the token, if applicable."""
18331829
launchpad: LaunchpadData
1834-
"""The pair that the token is contained in"""
1835-
pairId: String
18361830
}
18371831

18381832
"""A token transaction."""
@@ -2417,8 +2411,6 @@ type HoldersResponse {
24172411
status: HoldersStatus!
24182412
"""What percentage of the total supply do the top 10 holders hold."""
24192413
top10HoldersPercent: Float
2420-
"""the token Id"""
2421-
tokenId: String
24222414
}
24232415

24242416
enum HoldersSortAttribute {
@@ -6662,8 +6654,6 @@ type Price {
66626654
poolAddress: String @deprecated(reason: "Pricing no longer based on specific pools")
66636655
"""Ratio of how confident we are in the price"""
66646656
confidence: Float @deprecated(reason: "Pricing no longer based on specific pools")
6665-
"""The internal pool address for the price"""
6666-
internalPoolAddress: String
66676657
}
66686658

66696659
"""Webhook conditions for a price event."""

0 commit comments

Comments
 (0)