Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/gorgeous-berries-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@iota/graphql-transport': minor
'@iota/iota-sdk': minor
---

Deprecate `AddressTransactionBlockRelationship.Sign`
31 changes: 24 additions & 7 deletions sdk/graphql-transport/src/generated/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export type Address = IOwner & {
/**
* Similar behavior to the `transactionBlocks` in Query but supporting the
* additional `AddressTransactionBlockRelationship` filter, which
* defaults to `SIGN`.
* defaults to `SENT`.
*
* `scanLimit` restricts the number of candidate transactions scanned when
* gathering a page of results. It is required for queries that apply
Expand Down Expand Up @@ -353,14 +353,21 @@ export type AddressOwner = {
owner?: Maybe<Owner>;
};

/**
* The possible relationship types for a transaction block: sign, sent,
* received, or paid.
*/
/** The possible relationship types for a transaction block: sent or received. */
export enum AddressTransactionBlockRelationship {
/** Transactions that sent objects to this address. */
Recv = 'RECV',
/** Transactions this address has signed either as a sender or as a sponsor. */
/** Transactions this address has sent. */
Sent = 'SENT',
/**
* Transactions this address has sent. NOTE: this input filter has been
* deprecated in favor of `SENT` which behaves identically but is named
* more clearly. Both filters restrict transactions by their sender,
* only, not signers in general.
*
* This filter will be removed after 6 months with the 1.24.0 release.
* @deprecated Misleading semantics. Use `SENT` instead. This will be removed with the 1.24.0 release.
*/
Sign = 'SIGN'
}

Expand Down Expand Up @@ -5455,7 +5462,17 @@ export type TransactionBlockFilter = {
kind?: InputMaybe<TransactionBlockKindInput>;
/** Limit to transactions that sent an object to the given address. */
recvAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
/** Limit to transactions that were signed by the given address. */
/** Limit to transactions that were sent by the given address. */
sentAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
/**
* Limit to transactions that were sent by the given address. NOTE: this
* input filter has been deprecated in favor of `sentAddress` which has
* clearer semantics. Both filters restrict transactions by their sender,
* only, not signers in general.
*
* This filter will be removed after 6 months with the 1.24.0 release.
* @deprecated Misleading semantics. Use `sentAddress` instead. This will be removed with the 1.24.0 release.
*/
signAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
/** Select transactions by their digest. */
transactionIds?: InputMaybe<Array<Scalars['String']['input']>>;
Expand Down
31 changes: 24 additions & 7 deletions sdk/typescript/src/graphql/generated/2025.2/schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/typescript/src/graphql/generated/2025.2/tada-env.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading