Skip to content

Commit 393a9cb

Browse files
fix(sdk-core): make prepared allocation ids optional
Exclude generated clientExternalId and nonce fields before redeclaring them optional on PrepareNetworkAllocationParams. WEB-000 PT-000000
1 parent 322e56c commit 393a9cb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • modules/sdk-core/src/bitgo/trading/network

modules/sdk-core/src/bitgo/trading/network/types.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ export type GetNetworkAllocationByIdResponse = {
124124
allocation: NetworkAllocation;
125125
};
126126

127-
export type PrepareNetworkAllocationParams = Omit<CreateNetworkAllocationParams, 'payload' | 'signature'> & {
127+
export type PrepareNetworkAllocationParams = Omit<
128+
CreateNetworkAllocationParams,
129+
'payload' | 'signature' | 'clientExternalId' | 'nonce'
130+
> & {
128131
walletPassphrase?: string;
129132
clientExternalId?: string;
130133
nonce?: string;

0 commit comments

Comments
 (0)