@super-protocol/sdk-js 2.1.1-beta.4 → 2.1.1-beta.5
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.
|
@@ -144,7 +144,7 @@ declare class Orders implements StaticModel {
|
|
|
144
144
|
}
|
|
145
145
|
export type onOrderStartedCallback = (orderId: BlockchainId, consumer: string, block?: BlockInfo) => void;
|
|
146
146
|
export type onOrdersStatusUpdatedCallback = (orderId: BlockchainId, status: OrderStatus, block?: BlockInfo) => void;
|
|
147
|
-
export type onOrderCreatedCallback = (consumer: string, externalId: string, offerId: BlockchainId, parentOrderId: BlockchainId, orderId: BlockchainId, deposit: TokenAmount,
|
|
147
|
+
export type onOrderCreatedCallback = (consumer: string, externalId: string, offerId: BlockchainId, parentOrderId: BlockchainId, orderId: BlockchainId, deposit: TokenAmount, orderStatus: OrderStatus, block?: BlockInfo) => void;
|
|
148
148
|
export type onOrderDepositRefilledCallback = (orderId: BlockchainId, consumer: string, amount: TokenAmount, block?: BlockInfo) => void;
|
|
149
149
|
export type onOrderChangeWithdrawnCallback = (orderId: BlockchainId, consumer: string, change: TokenAmount, block?: BlockInfo) => void;
|
|
150
150
|
export type onOrderProfitWithdrawnCallback = (orderId: BlockchainId, tokenReceiver: string, profit: TokenAmount, block?: BlockInfo) => void;
|
package/build/types/Events.d.ts
CHANGED