@iota/graphql-transport 0.2.4 → 0.5.0

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.
@@ -128,7 +128,12 @@ var StakeStatus = /* @__PURE__ */ ((StakeStatus2) => {
128
128
  return StakeStatus2;
129
129
  })(StakeStatus || {});
130
130
  var TransactionBlockKindInput = /* @__PURE__ */ ((TransactionBlockKindInput2) => {
131
+ TransactionBlockKindInput2["AuthenticatorStateUpdateV1"] = "AUTHENTICATOR_STATE_UPDATE_V1";
132
+ TransactionBlockKindInput2["ConsensusCommitPrologueV1"] = "CONSENSUS_COMMIT_PROLOGUE_V1";
133
+ TransactionBlockKindInput2["EndOfEpochTx"] = "END_OF_EPOCH_TX";
134
+ TransactionBlockKindInput2["Genesis"] = "GENESIS";
131
135
  TransactionBlockKindInput2["ProgrammableTx"] = "PROGRAMMABLE_TX";
136
+ TransactionBlockKindInput2["RandomnessStateUpdate"] = "RANDOMNESS_STATE_UPDATE";
132
137
  TransactionBlockKindInput2["SystemTx"] = "SYSTEM_TX";
133
138
  return TransactionBlockKindInput2;
134
139
  })(TransactionBlockKindInput || {});
@@ -174,7 +179,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
174
179
  digest
175
180
  }
176
181
  }
177
- endOfEpoch: transactionBlocks(last: 1, filter: {kind: SYSTEM_TX}) {
182
+ endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
178
183
  nodes {
179
184
  kind {
180
185
  __typename
@@ -182,7 +187,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
182
187
  transactions(last: 1) {
183
188
  nodes {
184
189
  __typename
185
- ... on ChangeEpochTransaction {
190
+ ... on ChangeEpochTransactionV2 {
186
191
  epoch {
187
192
  validatorSet {
188
193
  activeValidators {
@@ -192,7 +197,19 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
192
197
  }
193
198
  nodes {
194
199
  credentials {
195
- protocolPubKey
200
+ authorityPubKey
201
+ }
202
+ votingPower
203
+ }
204
+ }
205
+ committeeMembers {
206
+ pageInfo {
207
+ hasNextPage
208
+ endCursor
209
+ }
210
+ nodes {
211
+ credentials {
212
+ authorityPubKey
196
213
  }
197
214
  votingPower
198
215
  }
@@ -778,7 +795,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
778
795
  digest
779
796
  }
780
797
  }
781
- endOfEpoch: transactionBlocks(last: 1, filter: {kind: SYSTEM_TX}) {
798
+ endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
782
799
  nodes {
783
800
  kind {
784
801
  __typename
@@ -786,7 +803,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
786
803
  transactions(last: 1) {
787
804
  nodes {
788
805
  __typename
789
- ... on ChangeEpochTransaction {
806
+ ... on ChangeEpochTransactionV2 {
790
807
  epoch {
791
808
  validatorSet {
792
809
  activeValidators {
@@ -796,7 +813,19 @@ const GetCheckpointDocument = new TypedDocumentString(`
796
813
  }
797
814
  nodes {
798
815
  credentials {
799
- protocolPubKey
816
+ authorityPubKey
817
+ }
818
+ votingPower
819
+ }
820
+ }
821
+ committeeMembers {
822
+ pageInfo {
823
+ hasNextPage
824
+ endCursor
825
+ }
826
+ nodes {
827
+ credentials {
828
+ authorityPubKey
800
829
  }
801
830
  votingPower
802
831
  }
@@ -855,7 +884,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
855
884
  digest
856
885
  }
857
886
  }
858
- endOfEpoch: transactionBlocks(last: 1, filter: {kind: SYSTEM_TX}) {
887
+ endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
859
888
  nodes {
860
889
  kind {
861
890
  __typename
@@ -863,7 +892,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
863
892
  transactions(last: 1) {
864
893
  nodes {
865
894
  __typename
866
- ... on ChangeEpochTransaction {
895
+ ... on ChangeEpochTransactionV2 {
867
896
  epoch {
868
897
  validatorSet {
869
898
  activeValidators {
@@ -873,7 +902,19 @@ const GetCheckpointsDocument = new TypedDocumentString(`
873
902
  }
874
903
  nodes {
875
904
  credentials {
876
- protocolPubKey
905
+ authorityPubKey
906
+ }
907
+ votingPower
908
+ }
909
+ }
910
+ committeeMembers {
911
+ pageInfo {
912
+ hasNextPage
913
+ endCursor
914
+ }
915
+ nodes {
916
+ credentials {
917
+ authorityPubKey
877
918
  }
878
919
  votingPower
879
920
  }
@@ -1338,7 +1379,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
1338
1379
  epoch(id: $epochId) {
1339
1380
  epochId
1340
1381
  validatorSet {
1341
- activeValidators(after: $after) {
1382
+ committeeMembers(after: $after) {
1342
1383
  pageInfo {
1343
1384
  hasNextPage
1344
1385
  endCursor
@@ -1368,6 +1409,15 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
1368
1409
  ...RPC_VALIDATOR_FIELDS
1369
1410
  }
1370
1411
  }
1412
+ committeeMembers {
1413
+ pageInfo {
1414
+ hasNextPage
1415
+ endCursor
1416
+ }
1417
+ nodes {
1418
+ ...RPC_VALIDATOR_FIELDS
1419
+ }
1420
+ }
1371
1421
  }
1372
1422
  totalTransactions
1373
1423
  firstCheckpoint: checkpoints(first: 1) {
@@ -1445,6 +1495,15 @@ const PaginateEpochValidatorsDocument = new TypedDocumentString(`
1445
1495
  ...RPC_VALIDATOR_FIELDS
1446
1496
  }
1447
1497
  }
1498
+ committeeMembers(after: $after) {
1499
+ pageInfo {
1500
+ hasNextPage
1501
+ endCursor
1502
+ }
1503
+ nodes {
1504
+ ...RPC_VALIDATOR_FIELDS
1505
+ }
1506
+ }
1448
1507
  }
1449
1508
  }
1450
1509
  }
@@ -1646,6 +1705,15 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1646
1705
  ...RPC_VALIDATOR_FIELDS
1647
1706
  }
1648
1707
  }
1708
+ committeeMembers {
1709
+ pageInfo {
1710
+ hasNextPage
1711
+ endCursor
1712
+ }
1713
+ nodes {
1714
+ ...RPC_VALIDATOR_FIELDS
1715
+ }
1716
+ }
1649
1717
  inactivePoolsSize
1650
1718
  pendingActiveValidatorsSize
1651
1719
  stakingPoolMappingsSize