@shapeshiftoss/types 1.23.1 → 1.24.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.
@@ -97,6 +97,7 @@ export declare type SubscribeTxsMessage<T extends ChainTypes> = {
97
97
  status: TxStatus;
98
98
  tradeDetails?: TradeDetails;
99
99
  transfers: Array<TxTransfer>;
100
+ data?: TxMetadata;
100
101
  };
101
102
  export declare enum TradeType {
102
103
  Trade = "trade",
@@ -107,6 +108,10 @@ export declare type TradeDetails = {
107
108
  memo?: string;
108
109
  type: TradeType;
109
110
  };
111
+ export interface TxMetadata {
112
+ method?: string;
113
+ parser: string;
114
+ }
110
115
  export declare type TxTransfer = {
111
116
  caip19: string;
112
117
  from: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "1.23.1",
3
+ "version": "1.24.0",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",