coinbase-api 1.0.8 → 1.0.9
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.
|
@@ -67,18 +67,36 @@ interface TransactionNetwork {
|
|
|
67
67
|
status: string;
|
|
68
68
|
name: string;
|
|
69
69
|
hash?: string;
|
|
70
|
+
transaction_fee?: TransactionAmount;
|
|
71
|
+
transaction_amount?: TransactionAmount;
|
|
72
|
+
network_name?: string;
|
|
73
|
+
status_description?: string | null;
|
|
70
74
|
}
|
|
71
75
|
interface TransactionFrom {
|
|
72
76
|
id: string;
|
|
73
77
|
resource: string;
|
|
78
|
+
resource_path?: string;
|
|
74
79
|
}
|
|
75
80
|
interface TransactionTo {
|
|
76
81
|
resource: string;
|
|
77
|
-
address
|
|
82
|
+
address?: string;
|
|
83
|
+
email?: string;
|
|
84
|
+
id?: string;
|
|
85
|
+
resource_path?: string;
|
|
78
86
|
}
|
|
79
87
|
interface TransactionDetails {
|
|
80
88
|
title: string;
|
|
81
89
|
subtitle: string;
|
|
90
|
+
header?: string;
|
|
91
|
+
health?: string;
|
|
92
|
+
subsidebar_label?: string | null;
|
|
93
|
+
}
|
|
94
|
+
interface AdvancedTradeFill {
|
|
95
|
+
fill_price: string;
|
|
96
|
+
product_id: string;
|
|
97
|
+
order_id: string;
|
|
98
|
+
commission: string;
|
|
99
|
+
order_side: 'BUY' | 'SELL';
|
|
82
100
|
}
|
|
83
101
|
export interface CBAppTransaction {
|
|
84
102
|
id: string;
|
|
@@ -91,10 +109,14 @@ export interface CBAppTransaction {
|
|
|
91
109
|
updated_at: string;
|
|
92
110
|
resource: string;
|
|
93
111
|
resource_path: string;
|
|
94
|
-
network
|
|
112
|
+
network?: TransactionNetwork;
|
|
95
113
|
from?: TransactionFrom;
|
|
96
114
|
to?: TransactionTo;
|
|
97
115
|
details?: TransactionDetails;
|
|
116
|
+
instant_exchange?: boolean;
|
|
117
|
+
advanced_trade_fill?: AdvancedTradeFill;
|
|
118
|
+
cancelable?: boolean;
|
|
119
|
+
idem?: string;
|
|
98
120
|
}
|
|
99
121
|
/**
|
|
100
122
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbase-app-client.js","sourceRoot":"","sources":["../../../../src/types/response/coinbase-app-client.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"coinbase-app-client.js","sourceRoot":"","sources":["../../../../src/types/response/coinbase-app-client.ts"],"names":[],"mappings":";;AAqMA;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;GAIG"}
|
|
@@ -67,18 +67,36 @@ interface TransactionNetwork {
|
|
|
67
67
|
status: string;
|
|
68
68
|
name: string;
|
|
69
69
|
hash?: string;
|
|
70
|
+
transaction_fee?: TransactionAmount;
|
|
71
|
+
transaction_amount?: TransactionAmount;
|
|
72
|
+
network_name?: string;
|
|
73
|
+
status_description?: string | null;
|
|
70
74
|
}
|
|
71
75
|
interface TransactionFrom {
|
|
72
76
|
id: string;
|
|
73
77
|
resource: string;
|
|
78
|
+
resource_path?: string;
|
|
74
79
|
}
|
|
75
80
|
interface TransactionTo {
|
|
76
81
|
resource: string;
|
|
77
|
-
address
|
|
82
|
+
address?: string;
|
|
83
|
+
email?: string;
|
|
84
|
+
id?: string;
|
|
85
|
+
resource_path?: string;
|
|
78
86
|
}
|
|
79
87
|
interface TransactionDetails {
|
|
80
88
|
title: string;
|
|
81
89
|
subtitle: string;
|
|
90
|
+
header?: string;
|
|
91
|
+
health?: string;
|
|
92
|
+
subsidebar_label?: string | null;
|
|
93
|
+
}
|
|
94
|
+
interface AdvancedTradeFill {
|
|
95
|
+
fill_price: string;
|
|
96
|
+
product_id: string;
|
|
97
|
+
order_id: string;
|
|
98
|
+
commission: string;
|
|
99
|
+
order_side: 'BUY' | 'SELL';
|
|
82
100
|
}
|
|
83
101
|
export interface CBAppTransaction {
|
|
84
102
|
id: string;
|
|
@@ -91,10 +109,14 @@ export interface CBAppTransaction {
|
|
|
91
109
|
updated_at: string;
|
|
92
110
|
resource: string;
|
|
93
111
|
resource_path: string;
|
|
94
|
-
network
|
|
112
|
+
network?: TransactionNetwork;
|
|
95
113
|
from?: TransactionFrom;
|
|
96
114
|
to?: TransactionTo;
|
|
97
115
|
details?: TransactionDetails;
|
|
116
|
+
instant_exchange?: boolean;
|
|
117
|
+
advanced_trade_fill?: AdvancedTradeFill;
|
|
118
|
+
cancelable?: boolean;
|
|
119
|
+
idem?: string;
|
|
98
120
|
}
|
|
99
121
|
/**
|
|
100
122
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coinbase-app-client.js","sourceRoot":"","sources":["../../../../src/types/response/coinbase-app-client.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"coinbase-app-client.js","sourceRoot":"","sources":["../../../../src/types/response/coinbase-app-client.ts"],"names":[],"mappings":";AAqMA;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;GAIG"}
|