@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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c837b79: Removed support for iota-bridge
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [6051799]
12
+ - Updated dependencies [5db9797]
13
+ - Updated dependencies [c4c6d9a]
14
+ - Updated dependencies [c837b79]
15
+ - @iota/iota-sdk@1.3.0
16
+
17
+ ## 0.6.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 53d5058: Added iota names rpc methods to IotaClient and also GraphQL queries.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [53d5058]
26
+ - @iota/iota-sdk@1.2.0
27
+
3
28
  ## 0.5.2
4
29
 
5
30
  ### Patch Changes
@@ -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>;
@@ -66,6 +66,8 @@ __export(queries_exports, {
66
66
  Paginate_Transaction_ListsFragmentDoc: () => Paginate_Transaction_ListsFragmentDoc,
67
67
  QueryEventsDocument: () => QueryEventsDocument,
68
68
  QueryTransactionBlocksDocument: () => QueryTransactionBlocksDocument,
69
+ ResolveNameServiceAddressDocument: () => ResolveNameServiceAddressDocument,
70
+ ResolveNameServiceNamesDocument: () => ResolveNameServiceNamesDocument,
69
71
  Rpc_Checkpoint_FieldsFragmentDoc: () => Rpc_Checkpoint_FieldsFragmentDoc,
70
72
  Rpc_Credential_FieldsFragmentDoc: () => Rpc_Credential_FieldsFragmentDoc,
71
73
  Rpc_Events_FieldsFragmentDoc: () => Rpc_Events_FieldsFragmentDoc,
@@ -2137,6 +2139,28 @@ const GetValidatorsApyDocument = new TypedDocumentString(`
2137
2139
  }
2138
2140
  }
2139
2141
  `);
2142
+ const ResolveNameServiceAddressDocument = new TypedDocumentString(`
2143
+ query resolveNameServiceAddress($domain: String!) {
2144
+ resolveIotaNamesAddress(domain: $domain) {
2145
+ address
2146
+ }
2147
+ }
2148
+ `);
2149
+ const ResolveNameServiceNamesDocument = new TypedDocumentString(`
2150
+ query resolveNameServiceNames($address: IotaAddress!, $limit: Int, $cursor: String) {
2151
+ address(address: $address) {
2152
+ iotaNamesRegistrations(first: $limit, after: $cursor) {
2153
+ pageInfo {
2154
+ hasNextPage
2155
+ endCursor
2156
+ }
2157
+ nodes {
2158
+ domain
2159
+ }
2160
+ }
2161
+ }
2162
+ }
2163
+ `);
2140
2164
  const GetOwnedObjectsDocument = new TypedDocumentString(`
2141
2165
  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) {
2142
2166
  address(address: $owner) {