@iota/graphql-transport 0.15.0 → 0.16.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 +15 -0
- package/dist/cjs/generated/queries.d.ts +15 -1
- package/dist/cjs/generated/queries.d.ts.map +1 -1
- package/dist/cjs/generated/queries.js +4 -0
- package/dist/cjs/generated/queries.js.map +2 -2
- package/dist/cjs/mappers/transaction-block.d.ts.map +1 -1
- package/dist/cjs/mappers/transaction-block.js +16 -1
- package/dist/cjs/mappers/transaction-block.js.map +2 -2
- package/dist/cjs/mappers/validator.d.ts.map +1 -1
- package/dist/cjs/mappers/validator.js +1 -0
- package/dist/cjs/mappers/validator.js.map +2 -2
- package/dist/esm/generated/queries.d.ts +15 -1
- package/dist/esm/generated/queries.d.ts.map +1 -1
- package/dist/esm/generated/queries.js +4 -0
- package/dist/esm/generated/queries.js.map +2 -2
- package/dist/esm/mappers/transaction-block.d.ts.map +1 -1
- package/dist/esm/mappers/transaction-block.js +16 -1
- package/dist/esm/mappers/transaction-block.js.map +2 -2
- package/dist/esm/mappers/validator.d.ts.map +1 -1
- package/dist/esm/mappers/validator.js +1 -0
- package/dist/esm/mappers/validator.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @iota/graphql-transport
|
|
2
2
|
|
|
3
|
+
## 0.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b933a08: Add support for unwrapped objects
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 22e7eb8: Add support for effective commission rate in validator queries and types (IIP8).
|
|
12
|
+
- Updated dependencies [c6ec123]
|
|
13
|
+
- Updated dependencies [b933a08]
|
|
14
|
+
- Updated dependencies [f15c61d]
|
|
15
|
+
- Updated dependencies [22e7eb8]
|
|
16
|
+
- @iota/iota-sdk@1.13.0
|
|
17
|
+
|
|
3
18
|
## 0.15.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -5296,7 +5296,7 @@ export type Validator = {
|
|
|
5296
5296
|
* low stake threshold.
|
|
5297
5297
|
*/
|
|
5298
5298
|
atRisk?: Maybe<Scalars['UInt53']['output']>;
|
|
5299
|
-
/** The fee
|
|
5299
|
+
/** The fee set by the validator for providing staking services. */
|
|
5300
5300
|
commissionRate?: Maybe<Scalars['Int']['output']>;
|
|
5301
5301
|
/**
|
|
5302
5302
|
* Validator's set of credentials such as public keys, network addresses
|
|
@@ -5305,6 +5305,13 @@ export type Validator = {
|
|
|
5305
5305
|
credentials?: Maybe<ValidatorCredentials>;
|
|
5306
5306
|
/** Validator's description. */
|
|
5307
5307
|
description?: Maybe<Scalars['String']['output']>;
|
|
5308
|
+
/**
|
|
5309
|
+
* The effective fee charged by the validator for staking services.
|
|
5310
|
+
*
|
|
5311
|
+
* This is evaluated according to [IIP8](https://github.com/iotaledger/IIPs/blob/main/iips/IIP-0008/IIP-0008.md)
|
|
5312
|
+
* for epochs with protocol version >= 20.
|
|
5313
|
+
*/
|
|
5314
|
+
effectiveCommissionRate?: Maybe<Scalars['Int']['output']>;
|
|
5308
5315
|
/**
|
|
5309
5316
|
* The validator's current exchange object. The exchange rate is used to
|
|
5310
5317
|
* determine the amount of IOTA tokens that each past IOTA staker can
|
|
@@ -6485,6 +6492,7 @@ export type GetCurrentEpochQuery = {
|
|
|
6485
6492
|
__typename?: 'Validator';
|
|
6486
6493
|
atRisk?: any | null;
|
|
6487
6494
|
commissionRate?: number | null;
|
|
6495
|
+
effectiveCommissionRate?: number | null;
|
|
6488
6496
|
exchangeRatesSize?: any | null;
|
|
6489
6497
|
description?: string | null;
|
|
6490
6498
|
gasPrice?: any | null;
|
|
@@ -6548,6 +6556,7 @@ export type GetCurrentEpochQuery = {
|
|
|
6548
6556
|
__typename?: 'Validator';
|
|
6549
6557
|
atRisk?: any | null;
|
|
6550
6558
|
commissionRate?: number | null;
|
|
6559
|
+
effectiveCommissionRate?: number | null;
|
|
6551
6560
|
exchangeRatesSize?: any | null;
|
|
6552
6561
|
description?: string | null;
|
|
6553
6562
|
gasPrice?: any | null;
|
|
@@ -6631,6 +6640,7 @@ export type PaginateEpochValidatorsQuery = {
|
|
|
6631
6640
|
__typename?: 'Validator';
|
|
6632
6641
|
atRisk?: any | null;
|
|
6633
6642
|
commissionRate?: number | null;
|
|
6643
|
+
effectiveCommissionRate?: number | null;
|
|
6634
6644
|
exchangeRatesSize?: any | null;
|
|
6635
6645
|
description?: string | null;
|
|
6636
6646
|
gasPrice?: any | null;
|
|
@@ -6694,6 +6704,7 @@ export type PaginateEpochValidatorsQuery = {
|
|
|
6694
6704
|
__typename?: 'Validator';
|
|
6695
6705
|
atRisk?: any | null;
|
|
6696
6706
|
commissionRate?: number | null;
|
|
6707
|
+
effectiveCommissionRate?: number | null;
|
|
6697
6708
|
exchangeRatesSize?: any | null;
|
|
6698
6709
|
description?: string | null;
|
|
6699
6710
|
gasPrice?: any | null;
|
|
@@ -6753,6 +6764,7 @@ export type Rpc_Validator_FieldsFragment = {
|
|
|
6753
6764
|
__typename?: 'Validator';
|
|
6754
6765
|
atRisk?: any | null;
|
|
6755
6766
|
commissionRate?: number | null;
|
|
6767
|
+
effectiveCommissionRate?: number | null;
|
|
6756
6768
|
exchangeRatesSize?: any | null;
|
|
6757
6769
|
description?: string | null;
|
|
6758
6770
|
gasPrice?: any | null;
|
|
@@ -7032,6 +7044,7 @@ export type GetLatestIotaSystemStateQuery = {
|
|
|
7032
7044
|
__typename?: 'Validator';
|
|
7033
7045
|
atRisk?: any | null;
|
|
7034
7046
|
commissionRate?: number | null;
|
|
7047
|
+
effectiveCommissionRate?: number | null;
|
|
7035
7048
|
exchangeRatesSize?: any | null;
|
|
7036
7049
|
description?: string | null;
|
|
7037
7050
|
gasPrice?: any | null;
|
|
@@ -7095,6 +7108,7 @@ export type GetLatestIotaSystemStateQuery = {
|
|
|
7095
7108
|
__typename?: 'Validator';
|
|
7096
7109
|
atRisk?: any | null;
|
|
7097
7110
|
commissionRate?: number | null;
|
|
7111
|
+
effectiveCommissionRate?: number | null;
|
|
7098
7112
|
exchangeRatesSize?: any | null;
|
|
7099
7113
|
description?: string | null;
|
|
7100
7114
|
gasPrice?: any | null;
|