@iota/graphql-transport 0.5.2 → 0.7.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.
@@ -494,14 +494,6 @@ export type BalanceEdge = {
494
494
  /** The item at the end of the edge */
495
495
  node: Balance;
496
496
  };
497
- export type BridgeCommitteeInitTransaction = {
498
- __typename?: 'BridgeCommitteeInitTransaction';
499
- bridgeObjInitialSharedVersion: Scalars['UInt53']['output'];
500
- };
501
- export type BridgeStateCreateTransaction = {
502
- __typename?: 'BridgeStateCreateTransaction';
503
- chainId: Scalars['String']['output'];
504
- };
505
497
  /**
506
498
  * A system transaction that updates epoch information on-chain (increments the
507
499
  * current epoch). Executed by the system once per epoch, without using gas.
@@ -1317,7 +1309,7 @@ export type EndOfEpochTransactionTransactionsArgs = {
1317
1309
  first?: InputMaybe<Scalars['Int']['input']>;
1318
1310
  last?: InputMaybe<Scalars['Int']['input']>;
1319
1311
  };
1320
- export type EndOfEpochTransactionKind = AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | BridgeCommitteeInitTransaction | BridgeStateCreateTransaction | ChangeEpochTransaction | ChangeEpochTransactionV2;
1312
+ export type EndOfEpochTransactionKind = AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | ChangeEpochTransaction | ChangeEpochTransactionV2;
1321
1313
  export type EndOfEpochTransactionKindConnection = {
1322
1314
  __typename?: 'EndOfEpochTransactionKindConnection';
1323
1315
  /** A list of edges. */
@@ -5332,10 +5324,6 @@ export type GetCheckpointQuery = {
5332
5324
  __typename: 'AuthenticatorStateCreateTransaction';
5333
5325
  } | {
5334
5326
  __typename: 'AuthenticatorStateExpireTransaction';
5335
- } | {
5336
- __typename: 'BridgeCommitteeInitTransaction';
5337
- } | {
5338
- __typename: 'BridgeStateCreateTransaction';
5339
5327
  } | {
5340
5328
  __typename: 'ChangeEpochTransaction';
5341
5329
  } | {
@@ -5461,10 +5449,6 @@ export type GetCheckpointsQuery = {
5461
5449
  __typename: 'AuthenticatorStateCreateTransaction';
5462
5450
  } | {
5463
5451
  __typename: 'AuthenticatorStateExpireTransaction';
5464
- } | {
5465
- __typename: 'BridgeCommitteeInitTransaction';
5466
- } | {
5467
- __typename: 'BridgeStateCreateTransaction';
5468
5452
  } | {
5469
5453
  __typename: 'ChangeEpochTransaction';
5470
5454
  } | {
@@ -5596,10 +5580,6 @@ export type Rpc_Checkpoint_FieldsFragment = {
5596
5580
  __typename: 'AuthenticatorStateCreateTransaction';
5597
5581
  } | {
5598
5582
  __typename: 'AuthenticatorStateExpireTransaction';
5599
- } | {
5600
- __typename: 'BridgeCommitteeInitTransaction';
5601
- } | {
5602
- __typename: 'BridgeStateCreateTransaction';
5603
5583
  } | {
5604
5584
  __typename: 'ChangeEpochTransaction';
5605
5585
  } | {
@@ -7547,6 +7527,39 @@ export type GetValidatorsApyQuery = {
7547
7527
  } | null;
7548
7528
  } | null;
7549
7529
  };
7530
+ export type ResolveNameServiceAddressQueryVariables = Exact<{
7531
+ domain: Scalars['String']['input'];
7532
+ }>;
7533
+ export type ResolveNameServiceAddressQuery = {
7534
+ __typename?: 'Query';
7535
+ resolveIotaNamesAddress?: {
7536
+ __typename?: 'Address';
7537
+ address: any;
7538
+ } | null;
7539
+ };
7540
+ export type ResolveNameServiceNamesQueryVariables = Exact<{
7541
+ address: Scalars['IotaAddress']['input'];
7542
+ limit?: InputMaybe<Scalars['Int']['input']>;
7543
+ cursor?: InputMaybe<Scalars['String']['input']>;
7544
+ }>;
7545
+ export type ResolveNameServiceNamesQuery = {
7546
+ __typename?: 'Query';
7547
+ address?: {
7548
+ __typename?: 'Address';
7549
+ iotaNamesRegistrations: {
7550
+ __typename?: 'IotaNamesRegistrationConnection';
7551
+ pageInfo: {
7552
+ __typename?: 'PageInfo';
7553
+ hasNextPage: boolean;
7554
+ endCursor?: string | null;
7555
+ };
7556
+ nodes: Array<{
7557
+ __typename?: 'IotaNamesRegistration';
7558
+ domain: string;
7559
+ }>;
7560
+ };
7561
+ } | null;
7562
+ };
7550
7563
  export type GetOwnedObjectsQueryVariables = Exact<{
7551
7564
  owner: Scalars['IotaAddress']['input'];
7552
7565
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -9006,6 +9019,8 @@ export declare const GetReferenceGasPriceDocument: TypedDocumentString<GetRefere
9006
9019
  export declare const GetTotalSupplyDocument: TypedDocumentString<GetTotalSupplyQuery, GetTotalSupplyQueryVariables>;
9007
9020
  export declare const GetTotalTransactionBlocksDocument: TypedDocumentString<GetTotalTransactionBlocksQuery, GetTotalTransactionBlocksQueryVariables>;
9008
9021
  export declare const GetValidatorsApyDocument: TypedDocumentString<GetValidatorsApyQuery, GetValidatorsApyQueryVariables>;
9022
+ export declare const ResolveNameServiceAddressDocument: TypedDocumentString<ResolveNameServiceAddressQuery, ResolveNameServiceAddressQueryVariables>;
9023
+ export declare const ResolveNameServiceNamesDocument: TypedDocumentString<ResolveNameServiceNamesQuery, ResolveNameServiceNamesQueryVariables>;
9009
9024
  export declare const GetOwnedObjectsDocument: TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;
9010
9025
  export declare const GetObjectDocument: TypedDocumentString<GetObjectQuery, GetObjectQueryVariables>;
9011
9026
  export declare const TryGetPastObjectDocument: TypedDocumentString<TryGetPastObjectQuery, TryGetPastObjectQueryVariables>;
@@ -2050,6 +2050,28 @@ const GetValidatorsApyDocument = new TypedDocumentString(`
2050
2050
  }
2051
2051
  }
2052
2052
  `);
2053
+ const ResolveNameServiceAddressDocument = new TypedDocumentString(`
2054
+ query resolveNameServiceAddress($domain: String!) {
2055
+ resolveIotaNamesAddress(domain: $domain) {
2056
+ address
2057
+ }
2058
+ }
2059
+ `);
2060
+ const ResolveNameServiceNamesDocument = new TypedDocumentString(`
2061
+ query resolveNameServiceNames($address: IotaAddress!, $limit: Int, $cursor: String) {
2062
+ address(address: $address) {
2063
+ iotaNamesRegistrations(first: $limit, after: $cursor) {
2064
+ pageInfo {
2065
+ hasNextPage
2066
+ endCursor
2067
+ }
2068
+ nodes {
2069
+ domain
2070
+ }
2071
+ }
2072
+ }
2073
+ }
2074
+ `);
2053
2075
  const GetOwnedObjectsDocument = new TypedDocumentString(`
2054
2076
  query getOwnedObjects($owner: IotaAddress!, $limit: Int, $cursor: String, $showBcs: Boolean = false, $showContent: Boolean = false, $showDisplay: Boolean = false, $showType: Boolean = false, $showOwner: Boolean = false, $showPreviousTransaction: Boolean = false, $showStorageRebate: Boolean = false, $filter: ObjectFilter) {
2055
2077
  address(address: $owner) {
@@ -2928,6 +2950,8 @@ export {
2928
2950
  Paginate_Transaction_ListsFragmentDoc,
2929
2951
  QueryEventsDocument,
2930
2952
  QueryTransactionBlocksDocument,
2953
+ ResolveNameServiceAddressDocument,
2954
+ ResolveNameServiceNamesDocument,
2931
2955
  Rpc_Checkpoint_FieldsFragmentDoc,
2932
2956
  Rpc_Credential_FieldsFragmentDoc,
2933
2957
  Rpc_Events_FieldsFragmentDoc,