@iota/graphql-transport 0.2.0 → 0.2.2

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,21 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9864dcb]
8
+ - @iota/iota-sdk@0.4.0
9
+
10
+ ## 0.2.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 220fa7a: First public release.
15
+ - Updated dependencies [220fa7a]
16
+ - @iota/bcs@0.2.1
17
+ - @iota/iota-sdk@0.3.1
18
+
3
19
  ## 0.2.0
4
20
 
5
21
  ### Minor 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
 
@@ -703,13 +703,6 @@ export type Coin = IMoveObject & IObject & IOwner & {
703
703
  * under the Owner type.
704
704
  */
705
705
  dynamicObjectField?: Maybe<DynamicField>;
706
- /**
707
- * Determines whether a transaction can transfer this object, using the
708
- * TransferObjects transaction command or
709
- * `iota::transfer::public_transfer`, both of which require the object to
710
- * have the `key` and `store` abilities.
711
- */
712
- hasPublicTransfer: Scalars['Boolean']['output'];
713
706
  /** Objects owned by this object, optionally `filter`-ed. */
714
707
  objects: MoveObjectConnection;
715
708
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -909,13 +902,6 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
909
902
  * under the Owner type.
910
903
  */
911
904
  dynamicObjectField?: Maybe<DynamicField>;
912
- /**
913
- * Determines whether a transaction can transfer this object, using the
914
- * TransferObjects transaction command or
915
- * `iota::transfer::public_transfer`, both of which require the object to
916
- * have the `key` and `store` abilities.
917
- */
918
- hasPublicTransfer: Scalars['Boolean']['output'];
919
905
  iconUrl?: Maybe<Scalars['String']['output']>;
920
906
  /** Full, official name of the token. */
921
907
  name?: Maybe<Scalars['String']['output']>;
@@ -1505,6 +1491,8 @@ export type GasCostSummary = {
1505
1491
  __typename?: 'GasCostSummary';
1506
1492
  /** Gas paid for executing this transaction (in NANOS). */
1507
1493
  computationCost?: Maybe<Scalars['BigInt']['output']>;
1494
+ /** Gas burned for executing this transactions (in NANOS). */
1495
+ computationCostBurned?: Maybe<Scalars['BigInt']['output']>;
1508
1496
  /**
1509
1497
  * Part of storage cost that is not reclaimed when data created by this
1510
1498
  * transaction is cleaned up (in NANOS).
@@ -1634,8 +1622,6 @@ export type IMoveObject = {
1634
1622
  * Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type.
1635
1623
  */
1636
1624
  dynamicObjectField?: Maybe<DynamicField>;
1637
- /** Determines whether a transaction can transfer this object, using the TransferObjects transaction command or `iota::transfer::public_transfer`, both of which require the object to have the `key` and `store` abilities. */
1638
- hasPublicTransfer: Scalars['Boolean']['output'];
1639
1625
  };
1640
1626
  /**
1641
1627
  * This interface is implemented by types that represent a Move object on-chain
@@ -2220,13 +2206,6 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2220
2206
  * under the Owner type.
2221
2207
  */
2222
2208
  dynamicObjectField?: Maybe<DynamicField>;
2223
- /**
2224
- * Determines whether a transaction can transfer this object, using the
2225
- * TransferObjects transaction command or
2226
- * `iota::transfer::public_transfer`, both of which require the object to
2227
- * have the `key` and `store` abilities.
2228
- */
2229
- hasPublicTransfer: Scalars['Boolean']['output'];
2230
2209
  /** Objects owned by this object, optionally `filter`-ed. */
2231
2210
  objects: MoveObjectConnection;
2232
2211
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -4097,13 +4076,6 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4097
4076
  * This value is only available if the stake is active.
4098
4077
  */
4099
4078
  estimatedReward?: Maybe<Scalars['BigInt']['output']>;
4100
- /**
4101
- * Determines whether a transaction can transfer this object, using the
4102
- * TransferObjects transaction command or
4103
- * `iota::transfer::public_transfer`, both of which require the object to
4104
- * have the `key` and `store` abilities.
4105
- */
4106
- hasPublicTransfer: Scalars['Boolean']['output'];
4107
4079
  /** Objects owned by this object, optionally `filter`-ed. */
4108
4080
  objects: MoveObjectConnection;
4109
4081
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -4784,6 +4756,7 @@ export type GetCheckpointQuery = {
4784
4756
  rollingGasSummary?: {
4785
4757
  __typename?: 'GasCostSummary';
4786
4758
  computationCost?: any | null;
4759
+ computationCostBurned?: any | null;
4787
4760
  storageCost?: any | null;
4788
4761
  storageRebate?: any | null;
4789
4762
  nonRefundableStorageFee?: any | null;
@@ -4894,6 +4867,7 @@ export type GetCheckpointsQuery = {
4894
4867
  rollingGasSummary?: {
4895
4868
  __typename?: 'GasCostSummary';
4896
4869
  computationCost?: any | null;
4870
+ computationCostBurned?: any | null;
4897
4871
  storageCost?: any | null;
4898
4872
  storageRebate?: any | null;
4899
4873
  nonRefundableStorageFee?: any | null;
@@ -5010,6 +4984,7 @@ export type Rpc_Checkpoint_FieldsFragment = {
5010
4984
  rollingGasSummary?: {
5011
4985
  __typename?: 'GasCostSummary';
5012
4986
  computationCost?: any | null;
4987
+ computationCostBurned?: any | null;
5013
4988
  storageCost?: any | null;
5014
4989
  storageRebate?: any | null;
5015
4990
  nonRefundableStorageFee?: any | null;
@@ -5987,7 +5962,6 @@ export type GetDynamicFieldObjectQuery = {
5987
5962
  } | null;
5988
5963
  asMoveObject?: {
5989
5964
  __typename?: 'MoveObject';
5990
- hasPublicTransfer: boolean;
5991
5965
  contents?: {
5992
5966
  __typename?: 'MoveValue';
5993
5967
  data: any;
@@ -6091,6 +6065,7 @@ export type GetLatestIotaSystemStateQuery = {
6091
6065
  gasSummary?: {
6092
6066
  __typename?: 'GasCostSummary';
6093
6067
  computationCost?: any | null;
6068
+ computationCostBurned?: any | null;
6094
6069
  nonRefundableStorageFee?: any | null;
6095
6070
  storageCost?: any | null;
6096
6071
  storageRebate?: any | null;
@@ -6792,7 +6767,6 @@ export type GetOwnedObjectsQuery = {
6792
6767
  nodes: Array<{
6793
6768
  __typename?: 'MoveObject';
6794
6769
  bcs?: any | null;
6795
- hasPublicTransfer?: boolean;
6796
6770
  storageRebate?: any | null;
6797
6771
  digest?: string | null;
6798
6772
  version: any;
@@ -6867,7 +6841,6 @@ export type GetObjectQuery = {
6867
6841
  objectId: any;
6868
6842
  asMoveObject?: {
6869
6843
  __typename?: 'MoveObject';
6870
- hasPublicTransfer: boolean;
6871
6844
  contents?: {
6872
6845
  __typename?: 'MoveValue';
6873
6846
  data: any;
@@ -6943,7 +6916,6 @@ export type TryGetPastObjectQuery = {
6943
6916
  objectId: any;
6944
6917
  asMoveObject?: {
6945
6918
  __typename?: 'MoveObject';
6946
- hasPublicTransfer: boolean;
6947
6919
  contents?: {
6948
6920
  __typename?: 'MoveValue';
6949
6921
  data: any;
@@ -7022,7 +6994,6 @@ export type MultiGetObjectsQuery = {
7022
6994
  objectId: any;
7023
6995
  asMoveObject?: {
7024
6996
  __typename?: 'MoveObject';
7025
- hasPublicTransfer: boolean;
7026
6997
  contents?: {
7027
6998
  __typename?: 'MoveValue';
7028
6999
  data: any;
@@ -7081,7 +7052,6 @@ export type Rpc_Object_FieldsFragment = {
7081
7052
  objectId: any;
7082
7053
  asMoveObject?: {
7083
7054
  __typename?: 'MoveObject';
7084
- hasPublicTransfer: boolean;
7085
7055
  contents?: {
7086
7056
  __typename?: 'MoveValue';
7087
7057
  data: any;
@@ -7133,7 +7103,6 @@ export type Rpc_Object_FieldsFragment = {
7133
7103
  export type Rpc_Move_Object_FieldsFragment = {
7134
7104
  __typename?: 'MoveObject';
7135
7105
  bcs?: any | null;
7136
- hasPublicTransfer?: boolean;
7137
7106
  storageRebate?: any | null;
7138
7107
  digest?: string | null;
7139
7108
  version: any;
@@ -155,6 +155,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
155
155
  }
156
156
  rollingGasSummary {
157
157
  computationCost
158
+ computationCostBurned
158
159
  storageCost
159
160
  storageRebate
160
161
  nonRefundableStorageFee
@@ -407,7 +408,6 @@ const Rpc_Object_FieldsFragmentDoc = new TypedDocumentString(`
407
408
  }
408
409
  }
409
410
  asMoveObject @include(if: $showContent) {
410
- hasPublicTransfer
411
411
  contents {
412
412
  data
413
413
  type {
@@ -418,7 +418,6 @@ const Rpc_Object_FieldsFragmentDoc = new TypedDocumentString(`
418
418
  }
419
419
  }
420
420
  asMoveObject @include(if: $showBcs) {
421
- hasPublicTransfer
422
421
  contents {
423
422
  bcs
424
423
  type {
@@ -471,7 +470,6 @@ const Rpc_Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
471
470
  repr
472
471
  }
473
472
  }
474
- hasPublicTransfer @include(if: $showContent)
475
473
  contents @include(if: $showContent) {
476
474
  data
477
475
  type {
@@ -480,7 +478,6 @@ const Rpc_Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
480
478
  signature
481
479
  }
482
480
  }
483
- hasPublicTransfer @include(if: $showBcs)
484
481
  contents @include(if: $showBcs) {
485
482
  bcs
486
483
  type {
@@ -762,6 +759,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
762
759
  }
763
760
  rollingGasSummary {
764
761
  computationCost
762
+ computationCostBurned
765
763
  storageCost
766
764
  storageRebate
767
765
  nonRefundableStorageFee
@@ -838,6 +836,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
838
836
  }
839
837
  rollingGasSummary {
840
838
  computationCost
839
+ computationCostBurned
841
840
  storageCost
842
841
  storageRebate
843
842
  nonRefundableStorageFee
@@ -1542,7 +1541,6 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1542
1541
  layout
1543
1542
  }
1544
1543
  }
1545
- hasPublicTransfer
1546
1544
  }
1547
1545
  }
1548
1546
  }
@@ -1613,6 +1611,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1613
1611
  enabled
1614
1612
  gasSummary {
1615
1613
  computationCost
1614
+ computationCostBurned
1616
1615
  nonRefundableStorageFee
1617
1616
  storageCost
1618
1617
  storageRebate
@@ -2086,7 +2085,6 @@ const GetOwnedObjectsDocument = new TypedDocumentString(`
2086
2085
  repr
2087
2086
  }
2088
2087
  }
2089
- hasPublicTransfer @include(if: $showContent)
2090
2088
  contents @include(if: $showContent) {
2091
2089
  data
2092
2090
  type {
@@ -2095,7 +2093,6 @@ const GetOwnedObjectsDocument = new TypedDocumentString(`
2095
2093
  signature
2096
2094
  }
2097
2095
  }
2098
- hasPublicTransfer @include(if: $showBcs)
2099
2096
  contents @include(if: $showBcs) {
2100
2097
  bcs
2101
2098
  type {
@@ -2155,7 +2152,6 @@ const GetObjectDocument = new TypedDocumentString(`
2155
2152
  }
2156
2153
  }
2157
2154
  asMoveObject @include(if: $showContent) {
2158
- hasPublicTransfer
2159
2155
  contents {
2160
2156
  data
2161
2157
  type {
@@ -2166,7 +2162,6 @@ const GetObjectDocument = new TypedDocumentString(`
2166
2162
  }
2167
2163
  }
2168
2164
  asMoveObject @include(if: $showBcs) {
2169
- hasPublicTransfer
2170
2165
  contents {
2171
2166
  bcs
2172
2167
  type {
@@ -2231,7 +2226,6 @@ const TryGetPastObjectDocument = new TypedDocumentString(`
2231
2226
  }
2232
2227
  }
2233
2228
  asMoveObject @include(if: $showContent) {
2234
- hasPublicTransfer
2235
2229
  contents {
2236
2230
  data
2237
2231
  type {
@@ -2242,7 +2236,6 @@ const TryGetPastObjectDocument = new TypedDocumentString(`
2242
2236
  }
2243
2237
  }
2244
2238
  asMoveObject @include(if: $showBcs) {
2245
- hasPublicTransfer
2246
2239
  contents {
2247
2240
  bcs
2248
2241
  type {
@@ -2309,7 +2302,6 @@ const MultiGetObjectsDocument = new TypedDocumentString(`
2309
2302
  }
2310
2303
  }
2311
2304
  asMoveObject @include(if: $showContent) {
2312
- hasPublicTransfer
2313
2305
  contents {
2314
2306
  data
2315
2307
  type {
@@ -2320,7 +2312,6 @@ const MultiGetObjectsDocument = new TypedDocumentString(`
2320
2312
  }
2321
2313
  }
2322
2314
  asMoveObject @include(if: $showBcs) {
2323
- hasPublicTransfer
2324
2315
  contents {
2325
2316
  bcs
2326
2317
  type {