@iota/graphql-transport 0.2.1 → 0.2.3
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 +14 -0
- package/README.md +4 -0
- package/dist/cjs/generated/queries.d.ts +18 -18
- package/dist/cjs/generated/queries.js.map +1 -1
- package/dist/esm/generated/queries.d.ts +18 -18
- package/dist/esm/generated/queries.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @iota/graphql-transport
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [5214d28]
|
|
8
|
+
- @iota/iota-sdk@0.4.1
|
|
9
|
+
|
|
10
|
+
## 0.2.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [9864dcb]
|
|
15
|
+
- @iota/iota-sdk@0.4.0
|
|
16
|
+
|
|
3
17
|
## 0.2.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# `@iota/graphql-transport`
|
|
2
2
|
|
|
3
|
+
`@iota/graphql-transport` is part of the **IOTA Rebased SDK**, designed specifically for interacting with the IOTA Rebased protocol.
|
|
4
|
+
|
|
5
|
+
> **Note**: This package is currently supported **only in Testnet and Devnet**, it is **not yet supported in Mainnet**.
|
|
6
|
+
|
|
3
7
|
This package provides a `IotaTransport` that enables `IotaClient` to make requests using the RPC 2.0
|
|
4
8
|
(GraphQL) API instead of the JSON RPC API.
|
|
5
9
|
|
|
@@ -1112,7 +1112,7 @@ export type DryRunReturn = {
|
|
|
1112
1112
|
* an object stored in this kind of field will be considered wrapped and
|
|
1113
1113
|
* will not be accessible directly via its ID by external tools (explorers,
|
|
1114
1114
|
* wallets, etc) accessing storage.
|
|
1115
|
-
* 2) Dynamic Object Fields values must be
|
|
1115
|
+
* 2) Dynamic Object Fields values must be IOTA objects (have the `key` and
|
|
1116
1116
|
* `store` abilities, and id: UID as the first field), but will still be
|
|
1117
1117
|
* directly accessible off-chain via their object ID after being attached.
|
|
1118
1118
|
*/
|
|
@@ -1205,7 +1205,7 @@ export type EndOfEpochTransactionKindEdge = {
|
|
|
1205
1205
|
node: EndOfEpochTransactionKind;
|
|
1206
1206
|
};
|
|
1207
1207
|
/**
|
|
1208
|
-
* Operation of the
|
|
1208
|
+
* Operation of the IOTA network is temporally partitioned into non-overlapping
|
|
1209
1209
|
* epochs, and the network aims to keep epochs roughly the same duration as
|
|
1210
1210
|
* each other. During a particular epoch the following data is fixed:
|
|
1211
1211
|
*
|
|
@@ -1321,7 +1321,7 @@ export type Epoch = {
|
|
|
1321
1321
|
validatorSet?: Maybe<ValidatorSet>;
|
|
1322
1322
|
};
|
|
1323
1323
|
/**
|
|
1324
|
-
* Operation of the
|
|
1324
|
+
* Operation of the IOTA network is temporally partitioned into non-overlapping
|
|
1325
1325
|
* epochs, and the network aims to keep epochs roughly the same duration as
|
|
1326
1326
|
* each other. During a particular epoch the following data is fixed:
|
|
1327
1327
|
*
|
|
@@ -1336,7 +1336,7 @@ export type EpochCheckpointsArgs = {
|
|
|
1336
1336
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1337
1337
|
};
|
|
1338
1338
|
/**
|
|
1339
|
-
* Operation of the
|
|
1339
|
+
* Operation of the IOTA network is temporally partitioned into non-overlapping
|
|
1340
1340
|
* epochs, and the network aims to keep epochs roughly the same duration as
|
|
1341
1341
|
* each other. During a particular epoch the following data is fixed:
|
|
1342
1342
|
*
|
|
@@ -1823,7 +1823,7 @@ export type MergeCoinsTransaction = {
|
|
|
1823
1823
|
coins: Array<TransactionArgument>;
|
|
1824
1824
|
};
|
|
1825
1825
|
/**
|
|
1826
|
-
* Abilities are keywords in
|
|
1826
|
+
* Abilities are keywords in IOTA Move that define how types behave at the
|
|
1827
1827
|
* compiler level.
|
|
1828
1828
|
*/
|
|
1829
1829
|
export declare enum MoveAbility {
|
|
@@ -2772,7 +2772,7 @@ export declare enum MoveVisibility {
|
|
|
2772
2772
|
/** A public member can be accessed by any module. */
|
|
2773
2773
|
Public = "PUBLIC"
|
|
2774
2774
|
}
|
|
2775
|
-
/** Mutations are used to write to the
|
|
2775
|
+
/** Mutations are used to write to the IOTA network. */
|
|
2776
2776
|
export type Mutation = {
|
|
2777
2777
|
__typename?: 'Mutation';
|
|
2778
2778
|
/**
|
|
@@ -2798,13 +2798,13 @@ export type Mutation = {
|
|
|
2798
2798
|
*/
|
|
2799
2799
|
executeTransactionBlock: ExecutionResult;
|
|
2800
2800
|
};
|
|
2801
|
-
/** Mutations are used to write to the
|
|
2801
|
+
/** Mutations are used to write to the IOTA network. */
|
|
2802
2802
|
export type MutationExecuteTransactionBlockArgs = {
|
|
2803
2803
|
signatures: Array<Scalars['String']['input']>;
|
|
2804
2804
|
txBytes: Scalars['String']['input'];
|
|
2805
2805
|
};
|
|
2806
2806
|
/**
|
|
2807
|
-
* An object in
|
|
2807
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2808
2808
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2809
2809
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2810
2810
|
* be accessed.
|
|
@@ -2930,7 +2930,7 @@ export type Object = IObject & IOwner & {
|
|
|
2930
2930
|
version: Scalars['UInt53']['output'];
|
|
2931
2931
|
};
|
|
2932
2932
|
/**
|
|
2933
|
-
* An object in
|
|
2933
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2934
2934
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2935
2935
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2936
2936
|
* be accessed.
|
|
@@ -2939,7 +2939,7 @@ export type ObjectBalanceArgs = {
|
|
|
2939
2939
|
type?: InputMaybe<Scalars['String']['input']>;
|
|
2940
2940
|
};
|
|
2941
2941
|
/**
|
|
2942
|
-
* An object in
|
|
2942
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2943
2943
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2944
2944
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2945
2945
|
* be accessed.
|
|
@@ -2951,7 +2951,7 @@ export type ObjectBalancesArgs = {
|
|
|
2951
2951
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
2952
2952
|
};
|
|
2953
2953
|
/**
|
|
2954
|
-
* An object in
|
|
2954
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2955
2955
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2956
2956
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2957
2957
|
* be accessed.
|
|
@@ -2964,7 +2964,7 @@ export type ObjectCoinsArgs = {
|
|
|
2964
2964
|
type?: InputMaybe<Scalars['String']['input']>;
|
|
2965
2965
|
};
|
|
2966
2966
|
/**
|
|
2967
|
-
* An object in
|
|
2967
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2968
2968
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2969
2969
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2970
2970
|
* be accessed.
|
|
@@ -2973,7 +2973,7 @@ export type ObjectDynamicFieldArgs = {
|
|
|
2973
2973
|
name: DynamicFieldName;
|
|
2974
2974
|
};
|
|
2975
2975
|
/**
|
|
2976
|
-
* An object in
|
|
2976
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2977
2977
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2978
2978
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2979
2979
|
* be accessed.
|
|
@@ -2985,7 +2985,7 @@ export type ObjectDynamicFieldsArgs = {
|
|
|
2985
2985
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
2986
2986
|
};
|
|
2987
2987
|
/**
|
|
2988
|
-
* An object in
|
|
2988
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2989
2989
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2990
2990
|
* id, version, transaction digest, owner field indicating how this object can
|
|
2991
2991
|
* be accessed.
|
|
@@ -2994,7 +2994,7 @@ export type ObjectDynamicObjectFieldArgs = {
|
|
|
2994
2994
|
name: DynamicFieldName;
|
|
2995
2995
|
};
|
|
2996
2996
|
/**
|
|
2997
|
-
* An object in
|
|
2997
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
2998
2998
|
* (typed data structure with fields) with additional metadata detailing its
|
|
2999
2999
|
* id, version, transaction digest, owner field indicating how this object can
|
|
3000
3000
|
* be accessed.
|
|
@@ -3007,7 +3007,7 @@ export type ObjectObjectsArgs = {
|
|
|
3007
3007
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3008
3008
|
};
|
|
3009
3009
|
/**
|
|
3010
|
-
* An object in
|
|
3010
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
3011
3011
|
* (typed data structure with fields) with additional metadata detailing its
|
|
3012
3012
|
* id, version, transaction digest, owner field indicating how this object can
|
|
3013
3013
|
* be accessed.
|
|
@@ -3021,7 +3021,7 @@ export type ObjectReceivedTransactionBlocksArgs = {
|
|
|
3021
3021
|
scanLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
3022
3022
|
};
|
|
3023
3023
|
/**
|
|
3024
|
-
* An object in
|
|
3024
|
+
* An object in IOTA is a package (set of Move bytecode modules) or object
|
|
3025
3025
|
* (typed data structure with fields) with additional metadata detailing its
|
|
3026
3026
|
* id, version, transaction digest, owner field indicating how this object can
|
|
3027
3027
|
* be accessed.
|
|
@@ -3561,7 +3561,7 @@ export type Query = {
|
|
|
3561
3561
|
* field when its parent was at `rootVersion`.
|
|
3562
3562
|
*
|
|
3563
3563
|
* If `rootVersion` is omitted, dynamic fields will be from a consistent
|
|
3564
|
-
* snapshot of the
|
|
3564
|
+
* snapshot of the IOTA state at the latest checkpoint known to the
|
|
3565
3565
|
* GraphQL RPC. Similarly, `Owner.asObject` will return the object's
|
|
3566
3566
|
* version at the latest checkpoint.
|
|
3567
3567
|
*/
|