@iota/graphql-transport 0.5.2 → 0.6.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.
@@ -7547,6 +7547,39 @@ export type GetValidatorsApyQuery = {
7547
7547
  } | null;
7548
7548
  } | null;
7549
7549
  };
7550
+ export type ResolveNameServiceAddressQueryVariables = Exact<{
7551
+ domain: Scalars['String']['input'];
7552
+ }>;
7553
+ export type ResolveNameServiceAddressQuery = {
7554
+ __typename?: 'Query';
7555
+ resolveIotaNamesAddress?: {
7556
+ __typename?: 'Address';
7557
+ address: any;
7558
+ } | null;
7559
+ };
7560
+ export type ResolveNameServiceNamesQueryVariables = Exact<{
7561
+ address: Scalars['IotaAddress']['input'];
7562
+ limit?: InputMaybe<Scalars['Int']['input']>;
7563
+ cursor?: InputMaybe<Scalars['String']['input']>;
7564
+ }>;
7565
+ export type ResolveNameServiceNamesQuery = {
7566
+ __typename?: 'Query';
7567
+ address?: {
7568
+ __typename?: 'Address';
7569
+ iotaNamesRegistrations: {
7570
+ __typename?: 'IotaNamesRegistrationConnection';
7571
+ pageInfo: {
7572
+ __typename?: 'PageInfo';
7573
+ hasNextPage: boolean;
7574
+ endCursor?: string | null;
7575
+ };
7576
+ nodes: Array<{
7577
+ __typename?: 'IotaNamesRegistration';
7578
+ domain: string;
7579
+ }>;
7580
+ };
7581
+ } | null;
7582
+ };
7550
7583
  export type GetOwnedObjectsQueryVariables = Exact<{
7551
7584
  owner: Scalars['IotaAddress']['input'];
7552
7585
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -9006,6 +9039,8 @@ export declare const GetReferenceGasPriceDocument: TypedDocumentString<GetRefere
9006
9039
  export declare const GetTotalSupplyDocument: TypedDocumentString<GetTotalSupplyQuery, GetTotalSupplyQueryVariables>;
9007
9040
  export declare const GetTotalTransactionBlocksDocument: TypedDocumentString<GetTotalTransactionBlocksQuery, GetTotalTransactionBlocksQueryVariables>;
9008
9041
  export declare const GetValidatorsApyDocument: TypedDocumentString<GetValidatorsApyQuery, GetValidatorsApyQueryVariables>;
9042
+ export declare const ResolveNameServiceAddressDocument: TypedDocumentString<ResolveNameServiceAddressQuery, ResolveNameServiceAddressQueryVariables>;
9043
+ export declare const ResolveNameServiceNamesDocument: TypedDocumentString<ResolveNameServiceNamesQuery, ResolveNameServiceNamesQueryVariables>;
9009
9044
  export declare const GetOwnedObjectsDocument: TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;
9010
9045
  export declare const GetObjectDocument: TypedDocumentString<GetObjectQuery, GetObjectQueryVariables>;
9011
9046
  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,