@iota/graphql-transport 0.17.0 → 0.18.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,24 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2520592: Deprecate `WRAPPED_OR_DELETED`
8
+
9
+ ### Patch Changes
10
+
11
+ - 55acfff: Deprecate ObjectKind.WrappedOrDeleted
12
+ - 55acfff: Remove deprecated signAddress and SIGN signer filters from GraphQL schema, replaced by
13
+ sentAddress and SENT
14
+ - Updated dependencies [55acfff]
15
+ - Updated dependencies [2520592]
16
+ - Updated dependencies [55acfff]
17
+ - Updated dependencies [c41898c]
18
+ - Updated dependencies [0615535]
19
+ - Updated dependencies [e92cc33]
20
+ - @iota/iota-sdk@1.15.0
21
+
3
22
  ## 0.17.0
4
23
 
5
24
  ### Minor Changes
package/README.md CHANGED
@@ -15,13 +15,13 @@ npm install --save @iota/graphql-transport
15
15
 
16
16
  ```ts
17
17
  import { IotaClientGraphQLTransport } from '@iota/graphql-transport';
18
- import { getFullnodeUrl, getGraphQLUrl, IotaClient } from '@iota/iota-sdk/client';
18
+ import { getRpcUrl, getGraphQLUrl, IotaClient } from '@iota/iota-sdk/client';
19
19
 
20
20
  const client = new IotaClient({
21
21
  transport: new IotaClientGraphQLTransport({
22
22
  url: getGraphQLUrl('testnet'),
23
23
  // When specified, the transport will fallback to JSON RPC for unsupported method and parameters
24
- fallbackFullNodeUrl: getFullnodeUrl('testnet'),
24
+ fallbackFullNodeUrl: getRpcUrl('testnet'),
25
25
  }),
26
26
  });
27
27
  ```
@@ -351,17 +351,7 @@ export declare enum AddressTransactionBlockRelationship {
351
351
  /** Transactions that sent objects to this address. */
352
352
  Recv = "RECV",
353
353
  /** Transactions this address has sent. */
354
- Sent = "SENT",
355
- /**
356
- * Transactions this address has sent. NOTE: this input filter has been
357
- * deprecated in favor of `SENT` which behaves identically but is named
358
- * more clearly. Both filters restrict transactions by their sender,
359
- * only, not signers in general.
360
- *
361
- * This filter will be removed after 6 months with the 1.24.0 release.
362
- * @deprecated Misleading semantics. Use `SENT` instead. This will be removed with the 1.24.0 release.
363
- */
364
- Sign = "SIGN"
354
+ Sent = "SENT"
365
355
  }
366
356
  /**
367
357
  * Range of checkpoints that the RPC is guaranteed to produce a consistent
@@ -778,8 +768,6 @@ export type Coin = IMoveObject & IObject & IOwner & {
778
768
  * contents of a genesis or system package upgrade transaction.
779
769
  * - INDEXED: The object is retrieved from the off-chain index and
780
770
  * represents the most recent or historical state of the object.
781
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
782
- * information can be loaded.
783
771
  */
784
772
  status: ObjectKind;
785
773
  /**
@@ -1000,8 +988,6 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
1000
988
  * contents of a genesis or system package upgrade transaction.
1001
989
  * - INDEXED: The object is retrieved from the off-chain index and
1002
990
  * represents the most recent or historical state of the object.
1003
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
1004
- * information can be loaded.
1005
991
  */
1006
992
  status: ObjectKind;
1007
993
  /**
@@ -1763,8 +1749,6 @@ export type IObject = {
1763
1749
  * contents of a genesis or system package upgrade transaction.
1764
1750
  * - INDEXED: The object is retrieved from the off-chain index and
1765
1751
  * represents the most recent or historical state of the object.
1766
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
1767
- * information can be loaded.
1768
1752
  */
1769
1753
  status: ObjectKind;
1770
1754
  storageRebate?: Maybe<Scalars['BigInt']['output']>;
@@ -2396,8 +2380,6 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2396
2380
  * contents of a genesis or system package upgrade transaction.
2397
2381
  * - INDEXED: The object is retrieved from the off-chain index and
2398
2382
  * represents the most recent or historical state of the object.
2399
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
2400
- * information can be loaded.
2401
2383
  */
2402
2384
  status: ObjectKind;
2403
2385
  /**
@@ -2682,8 +2664,6 @@ export type MovePackage = IObject & IOwner & {
2682
2664
  * contents of a genesis or system package upgrade transaction.
2683
2665
  * - INDEXED: The object is retrieved from the off-chain index and
2684
2666
  * represents the most recent or historical state of the object.
2685
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
2686
- * information can be loaded.
2687
2667
  */
2688
2668
  status: ObjectKind;
2689
2669
  /**
@@ -3152,8 +3132,6 @@ export type NameRegistration = IMoveObject & IOwner & {
3152
3132
  * contents of a genesis or system package upgrade transaction.
3153
3133
  * - INDEXED: The object is retrieved from the off-chain index and
3154
3134
  * represents the most recent or historical state of the object.
3155
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
3156
- * information can be loaded.
3157
3135
  */
3158
3136
  status: ObjectKind;
3159
3137
  /**
@@ -3362,8 +3340,6 @@ export type Object = IObject & IOwner & {
3362
3340
  * contents of a genesis or system package upgrade transaction.
3363
3341
  * - INDEXED: The object is retrieved from the off-chain index and
3364
3342
  * represents the most recent or historical state of the object.
3365
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
3366
- * information can be loaded.
3367
3343
  */
3368
3344
  status: ObjectKind;
3369
3345
  /**
@@ -3586,12 +3562,7 @@ export declare enum ObjectKind {
3586
3562
  * The object is loaded from serialized data, such as the contents of a
3587
3563
  * transaction that hasn't been indexed yet.
3588
3564
  */
3589
- NotIndexed = "NOT_INDEXED",
3590
- /**
3591
- * The object is deleted or wrapped and only partial information can be
3592
- * loaded from the indexer.
3593
- */
3594
- WrappedOrDeleted = "WRAPPED_OR_DELETED"
3565
+ NotIndexed = "NOT_INDEXED"
3595
3566
  }
3596
3567
  /** The object's owner type: Immutable, Shared, Parent, or Address. */
3597
3568
  export type ObjectOwner = AddressOwner | Immutable | Parent | Shared;
@@ -4653,8 +4624,6 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4653
4624
  * contents of a genesis or system package upgrade transaction.
4654
4625
  * - INDEXED: The object is retrieved from the off-chain index and
4655
4626
  * represents the most recent or historical state of the object.
4656
- * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
4657
- * information can be loaded.
4658
4627
  */
4659
4628
  status: ObjectKind;
4660
4629
  /**
@@ -5077,16 +5046,6 @@ export type TransactionBlockFilter = {
5077
5046
  recvAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
5078
5047
  /** Limit to transactions that were sent by the given address. */
5079
5048
  sentAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
5080
- /**
5081
- * Limit to transactions that were sent by the given address. NOTE: this
5082
- * input filter has been deprecated in favor of `sentAddress` which has
5083
- * clearer semantics. Both filters restrict transactions by their sender,
5084
- * only, not signers in general.
5085
- *
5086
- * This filter will be removed after 6 months with the 1.24.0 release.
5087
- * @deprecated Misleading semantics. Use `sentAddress` instead. This will be removed with the 1.24.0 release.
5088
- */
5089
- signAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
5090
5049
  /** Select transactions by their digest. */
5091
5050
  transactionIds?: InputMaybe<Array<Scalars['String']['input']>>;
5092
5051
  /** Limit to transactions that wrapped or deleted the given object. */