@taphubhq/sdk-core 0.16.1 → 0.16.2
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.
- package/dist/index.cjs +2 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -143,6 +143,7 @@ function normaliseAgencyPairs(rows) {
|
|
|
143
143
|
pair: row.pair,
|
|
144
144
|
thumb: row.thumb,
|
|
145
145
|
ordering: Number(row.ordering),
|
|
146
|
+
status: row.status,
|
|
146
147
|
maxCoef: Number(row.maxCoef),
|
|
147
148
|
currentPrice: Number(row.currentPrice),
|
|
148
149
|
currentVol24h: Number(row.currentVol24h)
|
|
@@ -152,7 +153,7 @@ function normaliseAgencyPairs(rows) {
|
|
|
152
153
|
// src/modules/agencyPair/queries.ts
|
|
153
154
|
var FETCH_AGENCY_PAIRS_QUERY = `query FetchAgencyPairs($filter: AgencyPairFilter) {
|
|
154
155
|
fetchAgencyPairs(filter: $filter) {
|
|
155
|
-
gamePairId pair thumb ordering maxCoef currentPrice currentVol24h
|
|
156
|
+
gamePairId pair thumb ordering status maxCoef currentPrice currentVol24h
|
|
156
157
|
}
|
|
157
158
|
}`;
|
|
158
159
|
|
package/dist/index.d.mts
CHANGED
|
@@ -79,6 +79,8 @@ interface AgencyPairStats {
|
|
|
79
79
|
thumb: string;
|
|
80
80
|
/** Lower = earlier in the displayed list. */
|
|
81
81
|
ordering: number;
|
|
82
|
+
/** Agency pair lifecycle status: "active" | "paused" | "ended". */
|
|
83
|
+
status: AgencyPairStatus;
|
|
82
84
|
/** config.constraints.maxCoef. */
|
|
83
85
|
maxCoef: number;
|
|
84
86
|
/** Latest candle close price; 0 when no candle exists. */
|
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ interface AgencyPairStats {
|
|
|
79
79
|
thumb: string;
|
|
80
80
|
/** Lower = earlier in the displayed list. */
|
|
81
81
|
ordering: number;
|
|
82
|
+
/** Agency pair lifecycle status: "active" | "paused" | "ended". */
|
|
83
|
+
status: AgencyPairStatus;
|
|
82
84
|
/** config.constraints.maxCoef. */
|
|
83
85
|
maxCoef: number;
|
|
84
86
|
/** Latest candle close price; 0 when no candle exists. */
|
package/dist/index.js
CHANGED
|
@@ -78,6 +78,7 @@ function normaliseAgencyPairs(rows) {
|
|
|
78
78
|
pair: row.pair,
|
|
79
79
|
thumb: row.thumb,
|
|
80
80
|
ordering: Number(row.ordering),
|
|
81
|
+
status: row.status,
|
|
81
82
|
maxCoef: Number(row.maxCoef),
|
|
82
83
|
currentPrice: Number(row.currentPrice),
|
|
83
84
|
currentVol24h: Number(row.currentVol24h)
|
|
@@ -87,7 +88,7 @@ function normaliseAgencyPairs(rows) {
|
|
|
87
88
|
// src/modules/agencyPair/queries.ts
|
|
88
89
|
var FETCH_AGENCY_PAIRS_QUERY = `query FetchAgencyPairs($filter: AgencyPairFilter) {
|
|
89
90
|
fetchAgencyPairs(filter: $filter) {
|
|
90
|
-
gamePairId pair thumb ordering maxCoef currentPrice currentVol24h
|
|
91
|
+
gamePairId pair thumb ordering status maxCoef currentPrice currentVol24h
|
|
91
92
|
}
|
|
92
93
|
}`;
|
|
93
94
|
|