@totalis/hip4-client 0.112.0 → 0.113.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
`@totalis/hip4-client` follows [semantic versioning](https://semver.org).
|
|
4
4
|
The contract version the generated types come from is `sdkVersion` in `./version`.
|
|
5
5
|
|
|
6
|
+
## 0.113.0
|
|
7
|
+
|
|
8
|
+
### Deprecated
|
|
9
|
+
|
|
10
|
+
- `getMarketHistory`, `getMarketReferenceCloses` and `getPerpMarks`: the chart
|
|
11
|
+
read `GET /v1/charts/{series}` will replace them. They keep working until
|
|
12
|
+
then; their removal gets a dated notice first.
|
|
13
|
+
|
|
6
14
|
## 0.112.0
|
|
7
15
|
|
|
8
16
|
### Added
|
|
@@ -2293,7 +2293,8 @@ export type paths = {
|
|
|
2293
2293
|
};
|
|
2294
2294
|
/**
|
|
2295
2295
|
* Get market history
|
|
2296
|
-
* @
|
|
2296
|
+
* @deprecated
|
|
2297
|
+
* @description Get up to 24 hours of one-minute price history for one side of a market; deprecated, as the chart read `GET /v1/charts/{series}` will replace it.
|
|
2297
2298
|
*/
|
|
2298
2299
|
readonly get: operations["getMarketHistory"];
|
|
2299
2300
|
readonly put?: never;
|
|
@@ -2319,8 +2320,11 @@ export type paths = {
|
|
|
2319
2320
|
};
|
|
2320
2321
|
/**
|
|
2321
2322
|
* Get market reference closes
|
|
2323
|
+
* @deprecated
|
|
2322
2324
|
* @description Anyone: get the one-minute or one-hour closes of a market side's reference price history, compressed for a line chart.
|
|
2323
2325
|
*
|
|
2326
|
+
* Deprecated: the chart read `GET /v1/charts/{series}` will replace it. It keeps working until then; its removal gets a dated notice first.
|
|
2327
|
+
*
|
|
2324
2328
|
* With `bucket=MINUTE`, the default, this is `series=REFERENCE_PRICE_OHLC` history with only each minute's close: the same source, window, anchor, scale, `closed_before`, `limit` and cursor. With `bucket=HOUR` each UTC hour carries the close of its last observed minute over a window of up to 90 days, for charts longer than a day. Each run `[bucket, close, buckets]` covers `buckets` consecutive observed buckets of `bucket_seconds` from `bucket` (Unix seconds) that closed at `close`; a missing bucket or a new close starts a new run. Expanding minute runs gives exactly the minutes and closes of the matching history page. Reference minutes record the chance the market showed, whatever its `chance_basis`, so a minute without a known chance is absent; minutes before TT-2366 hold only midpoint chances. Never fill a bucket between runs.
|
|
2325
2329
|
*/
|
|
2326
2330
|
readonly get: operations["getMarketReferenceCloses"];
|
|
@@ -2617,8 +2621,11 @@ export type paths = {
|
|
|
2617
2621
|
};
|
|
2618
2622
|
/**
|
|
2619
2623
|
* Get perp marks
|
|
2624
|
+
* @deprecated
|
|
2620
2625
|
* @description Anyone: get a perp's mark price on a fixed step, for a price chart.
|
|
2621
2626
|
*
|
|
2627
|
+
* Deprecated: the chart read `GET /v1/charts/{series}` will replace it. It keeps working until then; its removal gets a dated notice first.
|
|
2628
|
+
*
|
|
2622
2629
|
* Totalis records the mark of every perp a listed price market charts from its own Hyperliquid node about once a second and keeps four days of it. Each step closes at the mark at its end; steps group into runs `[step, mark, steps]` of `step_seconds` from `step` (Unix seconds). A step the record cannot prove, because no read of the node came within 2.5 seconds around its end, is absent: never fill it. `through` is the end of the last step the record reaches; everything up to it is final, so a client reads only what came after it next time and takes the newest price from its live feed. A perp no listed market has charted in the last four days is 404 NOT_FOUND.
|
|
2623
2630
|
*/
|
|
2624
2631
|
readonly get: operations["getPerpMarks"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const sdkVersion = "247.0.0-result-notifications";
|
|
2
|
-
export declare const openapiSha256 = "
|
|
2
|
+
export declare const openapiSha256 = "ead4c5ea9d3de5a6dd887e2cd342e08d3aac2c42d7931d7d854725daaa327854";
|
|
3
3
|
export declare const realtimeSha256 = "cf0bafff0b355ea9fb642d4a3402dcc2a4e5fc7569a2b448184beb4043d154ef";
|
|
4
4
|
export declare const jsonSchemaSha256: {
|
|
5
5
|
readonly "account.schema.json": "e6cd5a75429d074f23bd7f6ffd370fa59d0e3f7dbd6aef6433e5ba0d21b5baeb";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by scripts/generate.mjs; do not edit.
|
|
2
2
|
export const sdkVersion = "247.0.0-result-notifications";
|
|
3
|
-
export const openapiSha256 = "
|
|
3
|
+
export const openapiSha256 = "ead4c5ea9d3de5a6dd887e2cd342e08d3aac2c42d7931d7d854725daaa327854";
|
|
4
4
|
export const realtimeSha256 = "cf0bafff0b355ea9fb642d4a3402dcc2a4e5fc7569a2b448184beb4043d154ef";
|
|
5
5
|
export const jsonSchemaSha256 = {
|
|
6
6
|
"account.schema.json": "e6cd5a75429d074f23bd7f6ffd370fa59d0e3f7dbd6aef6433e5ba0d21b5baeb",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalis/hip4-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.113.0",
|
|
4
4
|
"description": "Totalis HIP-4 SDK: typed HTTP clients, signer-agnostic typed data, a retrying request layer, pagination, a realtime stream and taker/maker flows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|