@codex-data/sdk 1.0.36 → 1.0.37

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.
Files changed (36) hide show
  1. package/dist/resources/graphql.d.ts +69 -14
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +5 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/scripts/generateNetworkConfigs.js +6 -1
  6. package/dist/scripts/generateNetworkConfigs.js.map +1 -1
  7. package/dist/sdk/Subscribe.js +5 -5
  8. package/dist/sdk/generated/gql.d.ts +24 -24
  9. package/dist/sdk/generated/gql.d.ts.map +1 -1
  10. package/dist/sdk/generated/gql.js +12 -12
  11. package/dist/sdk/generated/gql.js.map +1 -1
  12. package/dist/sdk/generated/graphql.d.ts +95 -14
  13. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  14. package/dist/sdk/generated/graphql.js +17 -14
  15. package/dist/sdk/generated/graphql.js.map +1 -1
  16. package/package.json +1 -1
  17. package/src/resources/generated_queries/FilterPairs.graphql +1 -0
  18. package/src/resources/generated_queries/FilterTokens.graphql +9 -0
  19. package/src/resources/generated_queries/GetBars.graphql +1 -0
  20. package/src/resources/generated_queries/GetDetailedPairStats.graphql +1 -0
  21. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +1 -0
  22. package/src/resources/generated_queries/GetTokenPrices.graphql +1 -0
  23. package/src/resources/generated_queries/ListPairsForToken.graphql +1 -0
  24. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +1 -0
  25. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +7 -0
  26. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +10 -2
  27. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -0
  28. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
  29. package/src/resources/graphql.schema.json +340 -16
  30. package/src/resources/graphql.ts +69 -14
  31. package/src/resources/networkConfigs.json +33 -2
  32. package/src/resources/schema.graphql +72 -16
  33. package/src/scripts/generateNetworkConfigs.ts +10 -1
  34. package/src/sdk/Subscribe.ts +5 -5
  35. package/src/sdk/generated/gql.ts +36 -36
  36. package/src/sdk/generated/graphql.ts +93 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
@@ -70,6 +70,7 @@ query FilterPairs(
70
70
  type
71
71
  }
72
72
  ... on UniswapV4Data {
73
+ isDynamicFee
73
74
  isToken0NetworkToken
74
75
  type
75
76
  uniswapV4HookAddress
@@ -21,6 +21,8 @@ query FilterTokens(
21
21
  count
22
22
  page
23
23
  results {
24
+ bundlerCount
25
+ bundlerHeldPercentage
24
26
  buyCount1
25
27
  buyCount4
26
28
  buyCount5m
@@ -38,6 +40,7 @@ query FilterTokens(
38
40
  change24
39
41
  circulatingMarketCap
40
42
  createdAt
43
+ devHeldPercentage
41
44
  exchanges {
42
45
  address
43
46
  color
@@ -54,6 +57,8 @@ query FilterTokens(
54
57
  high12
55
58
  high24
56
59
  holders
60
+ insiderCount
61
+ insiderHeldPercentage
57
62
  isScam
58
63
  lastTransaction
59
64
  liquidPair {
@@ -74,6 +79,7 @@ query FilterTokens(
74
79
  type
75
80
  }
76
81
  ... on UniswapV4Data {
82
+ isDynamicFee
77
83
  isToken0NetworkToken
78
84
  type
79
85
  uniswapV4HookAddress
@@ -270,6 +276,7 @@ query FilterTokens(
270
276
  type
271
277
  }
272
278
  ... on UniswapV4Data {
279
+ isDynamicFee
273
280
  isToken0NetworkToken
274
281
  type
275
282
  uniswapV4HookAddress
@@ -451,6 +458,8 @@ query FilterTokens(
451
458
  sellVolume5m
452
459
  sellVolume12
453
460
  sellVolume24
461
+ sniperCount
462
+ sniperHeldPercentage
454
463
  swapPct1dOldWallet
455
464
  swapPct7dOldWallet
456
465
  token {
@@ -50,6 +50,7 @@ query GetBars(
50
50
  type
51
51
  }
52
52
  ... on UniswapV4Data {
53
+ isDynamicFee
53
54
  isToken0NetworkToken
54
55
  type
55
56
  uniswapV4HookAddress
@@ -37,6 +37,7 @@ query GetDetailedPairStats(
37
37
  type
38
38
  }
39
39
  ... on UniswapV4Data {
40
+ isDynamicFee
40
41
  isToken0NetworkToken
41
42
  type
42
43
  uniswapV4HookAddress
@@ -21,6 +21,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
21
21
  type
22
22
  }
23
23
  ... on UniswapV4Data {
24
+ isDynamicFee
24
25
  isToken0NetworkToken
25
26
  type
26
27
  uniswapV4HookAddress
@@ -1,6 +1,7 @@
1
1
  query GetTokenPrices($inputs: [GetPriceInput]) {
2
2
  getTokenPrices(inputs: $inputs) {
3
3
  address
4
+ blockNumber
4
5
  networkId
5
6
  priceUsd
6
7
  timestamp
@@ -21,6 +21,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
21
21
  type
22
22
  }
23
23
  ... on UniswapV4Data {
24
+ isDynamicFee
24
25
  isToken0NetworkToken
25
26
  type
26
27
  uniswapV4HookAddress
@@ -118,6 +118,7 @@ query ListPairsWithMetadataForToken(
118
118
  type
119
119
  }
120
120
  ... on UniswapV4Data {
121
+ isDynamicFee
121
122
  isToken0NetworkToken
122
123
  type
123
124
  uniswapV4HookAddress
@@ -1,9 +1,14 @@
1
1
  subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
2
2
  onLaunchpadTokenEvent(input: $input) {
3
3
  address
4
+ bundlerCount
5
+ bundlerHeldPercentage
4
6
  buyCount1
7
+ devHeldPercentage
5
8
  eventType
6
9
  holders
10
+ insiderCount
11
+ insiderHeldPercentage
7
12
  launchpadName
8
13
  liquidity
9
14
  marketCap
@@ -11,6 +16,8 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
11
16
  price
12
17
  protocol
13
18
  sellCount1
19
+ sniperCount
20
+ sniperHeldPercentage
14
21
  token {
15
22
  address
16
23
  cmcId
@@ -1,5 +1,13 @@
1
- subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
2
- onPairMetadataUpdated(id: $id, quoteToken: $quoteToken) {
1
+ subscription OnPairMetadataUpdated(
2
+ $id: String
3
+ $quoteToken: QuoteToken
4
+ $useNonLiquidityTokenAsQuoteToken: Boolean
5
+ ) {
6
+ onPairMetadataUpdated(
7
+ id: $id
8
+ quoteToken: $quoteToken
9
+ useNonLiquidityTokenAsQuoteToken: $useNonLiquidityTokenAsQuoteToken
10
+ ) {
3
11
  createdAt
4
12
  enhancedToken0 {
5
13
  address
@@ -9,6 +9,7 @@ subscription OnPriceUpdated(
9
9
  sourcePairAddress: $sourcePairAddress
10
10
  ) {
11
11
  address
12
+ blockNumber
12
13
  networkId
13
14
  priceUsd
14
15
  timestamp
@@ -1,6 +1,7 @@
1
1
  subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
2
2
  onPricesUpdated(input: $input) {
3
3
  address
4
+ blockNumber
4
5
  networkId
5
6
  priceUsd
6
7
  timestamp