Skip to content
Open
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yieldxyz/shield",
"version": "1.4.1",
"version": "1.5.0",
"description": "Zero-trust transaction validation library for Yield.xyz integrations.",
"packageManager": "pnpm@10.33.1",
"engines": {
Expand Down Expand Up @@ -81,4 +81,4 @@
"esbuild"
]
}
}
}
5 changes: 5 additions & 0 deletions src/json/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ export const requestSchema = {
items: { type: 'string', maxLength: 256 },
maxItems: 100,
},
stakeAccounts: {
type: 'array',
items: { type: 'string', maxLength: 128 },
maxItems: 100,
},
},
},
context: {
Expand Down
5 changes: 5 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ export type ActionArguments = {
nominatorAddress?: string;
receiverAddress?: string;
nftIds?: string[];
/**
* Solana MERGE (optional): signer-controlled stake account pubkeys.
* When provided, destination and source of every merge instruction must be in this list.
*/
stakeAccounts?: string[];
};

export interface FeeConfiguration {
Expand Down
Loading
Loading