@codex-data/sdk 1.0.4 → 1.0.5

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 (68) hide show
  1. package/dist/resources/generated_queries/Balances.graphql +2 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +0 -44
  3. package/dist/resources/generated_queries/FilterTokens.graphql +0 -33
  4. package/dist/resources/generated_queries/GetBars.graphql +0 -22
  5. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -11
  6. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -22
  7. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -22
  8. package/dist/resources/generated_queries/Holders.graphql +2 -0
  9. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -22
  10. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -44
  11. package/dist/resources/generated_queries/PairMetadata.graphql +0 -22
  12. package/dist/resources/generated_queries/PrimeHolders.graphql +2 -0
  13. package/dist/resources/generated_queries/Token.graphql +0 -11
  14. package/dist/resources/generated_queries/Tokens.graphql +0 -11
  15. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +2 -0
  16. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -22
  17. package/dist/resources/graphql.d.ts +33 -32
  18. package/dist/resources/graphql.d.ts.map +1 -1
  19. package/dist/resources/graphql.js +9 -2
  20. package/dist/resources/graphql.js.map +1 -1
  21. package/dist/resources/graphql.schema.json +336 -172
  22. package/dist/resources/graphql.ts +35 -34
  23. package/dist/resources/schema.graphql +37 -41
  24. package/dist/sdk/Mutation.d.ts +2 -2
  25. package/dist/sdk/Mutation.d.ts.map +1 -1
  26. package/dist/sdk/Mutation.js +2 -2
  27. package/dist/sdk/Mutation.js.map +1 -1
  28. package/dist/sdk/Query.d.ts +47 -47
  29. package/dist/sdk/Query.d.ts.map +1 -1
  30. package/dist/sdk/Query.js +47 -47
  31. package/dist/sdk/Query.js.map +1 -1
  32. package/dist/sdk/Subscribe.d.ts +13 -13
  33. package/dist/sdk/Subscribe.d.ts.map +1 -1
  34. package/dist/sdk/Subscribe.js +79 -79
  35. package/dist/sdk/Subscribe.js.map +1 -1
  36. package/dist/sdk/generated/gql.d.ts +32 -32
  37. package/dist/sdk/generated/gql.d.ts.map +1 -1
  38. package/dist/sdk/generated/gql.js +16 -16
  39. package/dist/sdk/generated/gql.js.map +1 -1
  40. package/dist/sdk/generated/graphql.d.ts +41 -344
  41. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  42. package/dist/sdk/generated/graphql.js +27 -20
  43. package/dist/sdk/generated/graphql.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/resources/generated_queries/Balances.graphql +2 -0
  46. package/src/resources/generated_queries/FilterPairs.graphql +0 -44
  47. package/src/resources/generated_queries/FilterTokens.graphql +0 -33
  48. package/src/resources/generated_queries/GetBars.graphql +0 -22
  49. package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -11
  50. package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -22
  51. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -22
  52. package/src/resources/generated_queries/Holders.graphql +2 -0
  53. package/src/resources/generated_queries/ListPairsForToken.graphql +0 -22
  54. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -44
  55. package/src/resources/generated_queries/PairMetadata.graphql +0 -22
  56. package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
  57. package/src/resources/generated_queries/Token.graphql +0 -11
  58. package/src/resources/generated_queries/Tokens.graphql +0 -11
  59. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +2 -0
  60. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -22
  61. package/src/resources/graphql.schema.json +336 -172
  62. package/src/resources/graphql.ts +35 -34
  63. package/src/resources/schema.graphql +37 -41
  64. package/src/sdk/Mutation.ts +4 -4
  65. package/src/sdk/Query.ts +99 -99
  66. package/src/sdk/Subscribe.ts +133 -133
  67. package/src/sdk/generated/gql.ts +32 -32
  68. package/src/sdk/generated/graphql.ts +67 -66
@@ -704,12 +704,292 @@
704
704
  "enumValues": null,
705
705
  "possibleTypes": null
706
706
  },
707
+ {
708
+ "kind": "OBJECT",
709
+ "name": "AptosNetworkConfig",
710
+ "description": null,
711
+ "isOneOf": null,
712
+ "fields": [
713
+ {
714
+ "name": "baseTokenAddress",
715
+ "description": null,
716
+ "args": [],
717
+ "type": {
718
+ "kind": "NON_NULL",
719
+ "name": null,
720
+ "ofType": {
721
+ "kind": "SCALAR",
722
+ "name": "String",
723
+ "ofType": null
724
+ }
725
+ },
726
+ "isDeprecated": false,
727
+ "deprecationReason": null
728
+ },
729
+ {
730
+ "name": "baseTokenSymbol",
731
+ "description": null,
732
+ "args": [],
733
+ "type": {
734
+ "kind": "NON_NULL",
735
+ "name": null,
736
+ "ofType": {
737
+ "kind": "SCALAR",
738
+ "name": "String",
739
+ "ofType": null
740
+ }
741
+ },
742
+ "isDeprecated": false,
743
+ "deprecationReason": null
744
+ },
745
+ {
746
+ "name": "color",
747
+ "description": null,
748
+ "args": [],
749
+ "type": {
750
+ "kind": "SCALAR",
751
+ "name": "String",
752
+ "ofType": null
753
+ },
754
+ "isDeprecated": false,
755
+ "deprecationReason": null
756
+ },
757
+ {
758
+ "name": "defaultPairAddress",
759
+ "description": null,
760
+ "args": [],
761
+ "type": {
762
+ "kind": "NON_NULL",
763
+ "name": null,
764
+ "ofType": {
765
+ "kind": "SCALAR",
766
+ "name": "String",
767
+ "ofType": null
768
+ }
769
+ },
770
+ "isDeprecated": false,
771
+ "deprecationReason": null
772
+ },
773
+ {
774
+ "name": "defaultPairQuoteToken",
775
+ "description": null,
776
+ "args": [],
777
+ "type": {
778
+ "kind": "NON_NULL",
779
+ "name": null,
780
+ "ofType": {
781
+ "kind": "ENUM",
782
+ "name": "QuoteToken",
783
+ "ofType": null
784
+ }
785
+ },
786
+ "isDeprecated": false,
787
+ "deprecationReason": null
788
+ },
789
+ {
790
+ "name": "enabled",
791
+ "description": null,
792
+ "args": [],
793
+ "type": {
794
+ "kind": "NON_NULL",
795
+ "name": null,
796
+ "ofType": {
797
+ "kind": "SCALAR",
798
+ "name": "Boolean",
799
+ "ofType": null
800
+ }
801
+ },
802
+ "isDeprecated": false,
803
+ "deprecationReason": null
804
+ },
805
+ {
806
+ "name": "id",
807
+ "description": null,
808
+ "args": [],
809
+ "type": {
810
+ "kind": "NON_NULL",
811
+ "name": null,
812
+ "ofType": {
813
+ "kind": "SCALAR",
814
+ "name": "ID",
815
+ "ofType": null
816
+ }
817
+ },
818
+ "isDeprecated": false,
819
+ "deprecationReason": null
820
+ },
821
+ {
822
+ "name": "mainnet",
823
+ "description": null,
824
+ "args": [],
825
+ "type": {
826
+ "kind": "NON_NULL",
827
+ "name": null,
828
+ "ofType": {
829
+ "kind": "SCALAR",
830
+ "name": "Boolean",
831
+ "ofType": null
832
+ }
833
+ },
834
+ "isDeprecated": false,
835
+ "deprecationReason": null
836
+ },
837
+ {
838
+ "name": "name",
839
+ "description": null,
840
+ "args": [],
841
+ "type": {
842
+ "kind": "NON_NULL",
843
+ "name": null,
844
+ "ofType": {
845
+ "kind": "SCALAR",
846
+ "name": "String",
847
+ "ofType": null
848
+ }
849
+ },
850
+ "isDeprecated": false,
851
+ "deprecationReason": null
852
+ },
853
+ {
854
+ "name": "networkIconUrl",
855
+ "description": null,
856
+ "args": [],
857
+ "type": {
858
+ "kind": "NON_NULL",
859
+ "name": null,
860
+ "ofType": {
861
+ "kind": "SCALAR",
862
+ "name": "String",
863
+ "ofType": null
864
+ }
865
+ },
866
+ "isDeprecated": false,
867
+ "deprecationReason": null
868
+ },
869
+ {
870
+ "name": "networkId",
871
+ "description": null,
872
+ "args": [],
873
+ "type": {
874
+ "kind": "NON_NULL",
875
+ "name": null,
876
+ "ofType": {
877
+ "kind": "SCALAR",
878
+ "name": "Int",
879
+ "ofType": null
880
+ }
881
+ },
882
+ "isDeprecated": false,
883
+ "deprecationReason": null
884
+ },
885
+ {
886
+ "name": "networkName",
887
+ "description": null,
888
+ "args": [],
889
+ "type": {
890
+ "kind": "NON_NULL",
891
+ "name": null,
892
+ "ofType": {
893
+ "kind": "SCALAR",
894
+ "name": "String",
895
+ "ofType": null
896
+ }
897
+ },
898
+ "isDeprecated": false,
899
+ "deprecationReason": null
900
+ },
901
+ {
902
+ "name": "networkShortName",
903
+ "description": null,
904
+ "args": [],
905
+ "type": {
906
+ "kind": "NON_NULL",
907
+ "name": null,
908
+ "ofType": {
909
+ "kind": "SCALAR",
910
+ "name": "String",
911
+ "ofType": null
912
+ }
913
+ },
914
+ "isDeprecated": false,
915
+ "deprecationReason": null
916
+ },
917
+ {
918
+ "name": "newTokensEnabled",
919
+ "description": null,
920
+ "args": [],
921
+ "type": {
922
+ "kind": "SCALAR",
923
+ "name": "Boolean",
924
+ "ofType": null
925
+ },
926
+ "isDeprecated": false,
927
+ "deprecationReason": null
928
+ },
929
+ {
930
+ "name": "stableCoinAddresses",
931
+ "description": null,
932
+ "args": [],
933
+ "type": {
934
+ "kind": "LIST",
935
+ "name": null,
936
+ "ofType": {
937
+ "kind": "NON_NULL",
938
+ "name": null,
939
+ "ofType": {
940
+ "kind": "SCALAR",
941
+ "name": "String",
942
+ "ofType": null
943
+ }
944
+ }
945
+ },
946
+ "isDeprecated": false,
947
+ "deprecationReason": null
948
+ },
949
+ {
950
+ "name": "wrappedBaseTokenSymbol",
951
+ "description": null,
952
+ "args": [],
953
+ "type": {
954
+ "kind": "NON_NULL",
955
+ "name": null,
956
+ "ofType": {
957
+ "kind": "SCALAR",
958
+ "name": "String",
959
+ "ofType": null
960
+ }
961
+ },
962
+ "isDeprecated": false,
963
+ "deprecationReason": null
964
+ }
965
+ ],
966
+ "inputFields": null,
967
+ "interfaces": [],
968
+ "enumValues": null,
969
+ "possibleTypes": null
970
+ },
707
971
  {
708
972
  "kind": "OBJECT",
709
973
  "name": "Balance",
710
974
  "description": "Wallet balance of a token.",
711
975
  "isOneOf": null,
712
976
  "fields": [
977
+ {
978
+ "name": "address",
979
+ "description": "The wallet address",
980
+ "args": [],
981
+ "type": {
982
+ "kind": "NON_NULL",
983
+ "name": null,
984
+ "ofType": {
985
+ "kind": "SCALAR",
986
+ "name": "String",
987
+ "ofType": null
988
+ }
989
+ },
990
+ "isDeprecated": false,
991
+ "deprecationReason": null
992
+ },
713
993
  {
714
994
  "name": "balance",
715
995
  "description": "The balance held by the wallet.",
@@ -754,6 +1034,22 @@
754
1034
  "isDeprecated": false,
755
1035
  "deprecationReason": null
756
1036
  },
1037
+ {
1038
+ "name": "tokenAddress",
1039
+ "description": "The contract address of the token.",
1040
+ "args": [],
1041
+ "type": {
1042
+ "kind": "NON_NULL",
1043
+ "name": null,
1044
+ "ofType": {
1045
+ "kind": "SCALAR",
1046
+ "name": "String",
1047
+ "ofType": null
1048
+ }
1049
+ },
1050
+ "isDeprecated": false,
1051
+ "deprecationReason": null
1052
+ },
757
1053
  {
758
1054
  "name": "tokenId",
759
1055
  "description": "The ID of the token (`tokenAddress:networkId`).",
@@ -5071,18 +5367,6 @@
5071
5367
  "isDeprecated": false,
5072
5368
  "deprecationReason": null
5073
5369
  },
5074
- {
5075
- "name": "launchpad",
5076
- "description": "Launchpad data for the token",
5077
- "args": [],
5078
- "type": {
5079
- "kind": "OBJECT",
5080
- "name": "LaunchpadData",
5081
- "ofType": null
5082
- },
5083
- "isDeprecated": false,
5084
- "deprecationReason": null
5085
- },
5086
5370
  {
5087
5371
  "name": "mintable",
5088
5372
  "description": "Whether or not the token is mintable",
@@ -5177,6 +5461,42 @@
5177
5461
  "enumValues": null,
5178
5462
  "possibleTypes": null
5179
5463
  },
5464
+ {
5465
+ "kind": "ENUM",
5466
+ "name": "Entitlement",
5467
+ "description": null,
5468
+ "isOneOf": null,
5469
+ "fields": null,
5470
+ "inputFields": null,
5471
+ "interfaces": null,
5472
+ "enumValues": [
5473
+ {
5474
+ "name": "BalanceFeed",
5475
+ "description": null,
5476
+ "isDeprecated": false,
5477
+ "deprecationReason": null
5478
+ },
5479
+ {
5480
+ "name": "PriceFeed",
5481
+ "description": null,
5482
+ "isDeprecated": false,
5483
+ "deprecationReason": null
5484
+ },
5485
+ {
5486
+ "name": "TopTraders",
5487
+ "description": null,
5488
+ "isDeprecated": false,
5489
+ "deprecationReason": null
5490
+ },
5491
+ {
5492
+ "name": "WalletStats",
5493
+ "description": null,
5494
+ "isDeprecated": false,
5495
+ "deprecationReason": null
5496
+ }
5497
+ ],
5498
+ "possibleTypes": null
5499
+ },
5180
5500
  {
5181
5501
  "kind": "OBJECT",
5182
5502
  "name": "Event",
@@ -9989,126 +10309,6 @@
9989
10309
  "enumValues": null,
9990
10310
  "possibleTypes": null
9991
10311
  },
9992
- {
9993
- "kind": "OBJECT",
9994
- "name": "LaunchpadData",
9995
- "description": "Launchpad data for the token",
9996
- "isOneOf": null,
9997
- "fields": [
9998
- {
9999
- "name": "completed",
10000
- "description": "Indicates if the launchpad is completed.",
10001
- "args": [],
10002
- "type": {
10003
- "kind": "SCALAR",
10004
- "name": "Boolean",
10005
- "ofType": null
10006
- },
10007
- "isDeprecated": false,
10008
- "deprecationReason": null
10009
- },
10010
- {
10011
- "name": "completedAt",
10012
- "description": "The unix timestamp when the launchpad was completed.",
10013
- "args": [],
10014
- "type": {
10015
- "kind": "SCALAR",
10016
- "name": "Int",
10017
- "ofType": null
10018
- },
10019
- "isDeprecated": false,
10020
- "deprecationReason": null
10021
- },
10022
- {
10023
- "name": "completedSlot",
10024
- "description": "The slot number when the launchpad was completed.",
10025
- "args": [],
10026
- "type": {
10027
- "kind": "SCALAR",
10028
- "name": "Int",
10029
- "ofType": null
10030
- },
10031
- "isDeprecated": false,
10032
- "deprecationReason": null
10033
- },
10034
- {
10035
- "name": "graduationPercent",
10036
- "description": "The percentage of the pool that was sold to the public.",
10037
- "args": [],
10038
- "type": {
10039
- "kind": "SCALAR",
10040
- "name": "Float",
10041
- "ofType": null
10042
- },
10043
- "isDeprecated": false,
10044
- "deprecationReason": null
10045
- },
10046
- {
10047
- "name": "migrated",
10048
- "description": "Indicates if the launchpad was migrated.",
10049
- "args": [],
10050
- "type": {
10051
- "kind": "SCALAR",
10052
- "name": "Boolean",
10053
- "ofType": null
10054
- },
10055
- "isDeprecated": false,
10056
- "deprecationReason": null
10057
- },
10058
- {
10059
- "name": "migratedAt",
10060
- "description": "The unix timestamp when the launchpad was migrated.",
10061
- "args": [],
10062
- "type": {
10063
- "kind": "SCALAR",
10064
- "name": "Int",
10065
- "ofType": null
10066
- },
10067
- "isDeprecated": false,
10068
- "deprecationReason": null
10069
- },
10070
- {
10071
- "name": "migratedPoolAddress",
10072
- "description": "The pool address after the launchpad was migrated.",
10073
- "args": [],
10074
- "type": {
10075
- "kind": "SCALAR",
10076
- "name": "String",
10077
- "ofType": null
10078
- },
10079
- "isDeprecated": false,
10080
- "deprecationReason": null
10081
- },
10082
- {
10083
- "name": "migratedSlot",
10084
- "description": "The slot number when the launchpad was migrated.",
10085
- "args": [],
10086
- "type": {
10087
- "kind": "SCALAR",
10088
- "name": "Int",
10089
- "ofType": null
10090
- },
10091
- "isDeprecated": false,
10092
- "deprecationReason": null
10093
- },
10094
- {
10095
- "name": "poolAddress",
10096
- "description": "The address of the pool.",
10097
- "args": [],
10098
- "type": {
10099
- "kind": "SCALAR",
10100
- "name": "String",
10101
- "ofType": null
10102
- },
10103
- "isDeprecated": false,
10104
- "deprecationReason": null
10105
- }
10106
- ],
10107
- "inputFields": null,
10108
- "interfaces": [],
10109
- "enumValues": null,
10110
- "possibleTypes": null
10111
- },
10112
10312
  {
10113
10313
  "kind": "OBJECT",
10114
10314
  "name": "LiquidityData",
@@ -26834,42 +27034,6 @@
26834
27034
  "enumValues": null,
26835
27035
  "possibleTypes": null
26836
27036
  },
26837
- {
26838
- "kind": "INPUT_OBJECT",
26839
- "name": "OnLaunchpadTokenUpdatedInput",
26840
- "description": null,
26841
- "isOneOf": false,
26842
- "fields": null,
26843
- "inputFields": [
26844
- {
26845
- "name": "address",
26846
- "description": null,
26847
- "type": {
26848
- "kind": "SCALAR",
26849
- "name": "String",
26850
- "ofType": null
26851
- },
26852
- "defaultValue": null,
26853
- "isDeprecated": false,
26854
- "deprecationReason": null
26855
- },
26856
- {
26857
- "name": "networkId",
26858
- "description": null,
26859
- "type": {
26860
- "kind": "SCALAR",
26861
- "name": "Int",
26862
- "ofType": null
26863
- },
26864
- "defaultValue": null,
26865
- "isDeprecated": false,
26866
- "deprecationReason": null
26867
- }
26868
- ],
26869
- "interfaces": null,
26870
- "enumValues": null,
26871
- "possibleTypes": null
26872
- },
26873
27037
  {
26874
27038
  "kind": "INPUT_OBJECT",
26875
27039
  "name": "OnPricesUpdatedInput",
@@ -36721,7 +36885,7 @@
36721
36885
  },
36722
36886
  {
36723
36887
  "name": "getNetworkStats",
36724
- "description": "Returns metadata for a given network.",
36888
+ "description": "Returns metadata for a given network supported on Codex.",
36725
36889
  "args": [
36726
36890
  {
36727
36891
  "name": "exchangeAddress",
@@ -36762,7 +36926,7 @@
36762
36926
  },
36763
36927
  {
36764
36928
  "name": "getNetworkStatus",
36765
- "description": "Returns the status of a list of networks supported on Defined.",
36929
+ "description": "Returns the status of a list of networks supported on Codex.",
36766
36930
  "args": [
36767
36931
  {
36768
36932
  "name": "networkIds",
@@ -36807,7 +36971,7 @@
36807
36971
  },
36808
36972
  {
36809
36973
  "name": "getNetworks",
36810
- "description": "Returns a list of all networks supported on Defined.",
36974
+ "description": "Returns a list of all networks supported on Codex.",
36811
36975
  "args": [],
36812
36976
  "type": {
36813
36977
  "kind": "NON_NULL",
@@ -38127,7 +38291,7 @@
38127
38291
  },
38128
38292
  {
38129
38293
  "name": "getSymbol",
38130
- "description": "Returns metadata for a given pair.",
38294
+ "description": "Returns charting metadata for a given pair. Used for implementing a Trading View datafeed.",
38131
38295
  "args": [
38132
38296
  {
38133
38297
  "name": "currencyCode",