@totalis/hip4-client 0.129.0 → 0.130.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,17 @@
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.130.0
7
+
8
+ ### Removed
9
+
10
+ Contract `285.0.0-no-mark-runs`, live lane:
11
+
12
+ - `markSnapshot` no longer carries `sealed_through`, `runs_from` or `runs`.
13
+ They have been null and empty since recorded mark runs stopped; read a
14
+ perp's mark history from `GET /v1/charts/mark:{coin}`.
15
+ - The `markSealed` frame is removed. It was no longer sent.
16
+
6
17
  ## 0.129.0
7
18
 
8
19
  ### Added
@@ -850,12 +850,6 @@ export type components = {
850
850
  readonly from: components["schemas"]["Timestamp"] | null;
851
851
  /** @description End of the latest read's node-time window. Null with from. */
852
852
  readonly to: components["schemas"]["Timestamp"] | null;
853
- /** @description Deprecated: always null. Totalis no longer records runs on the live lane; read the chart history (`GET /v1/charts/mark:{coin}`). Was how far the perp's recorded history reaches. */
854
- readonly sealed_through: components["schemas"]["Timestamp"] | null;
855
- /** @description Deprecated: always null, with sealed_through. */
856
- readonly runs_from: components["schemas"]["Timestamp"] | null;
857
- /** @description Deprecated: always empty. */
858
- readonly runs: readonly components["schemas"]["MarketMarkRun"][];
859
853
  };
860
854
  };
861
855
  readonly MarketMarkFrame: {
@@ -876,30 +870,6 @@ export type components = {
876
870
  readonly to: components["schemas"]["Timestamp"];
877
871
  };
878
872
  };
879
- readonly MarketMarkSealedFrame: {
880
- /**
881
- * @description Frame discriminator, always markSealed.
882
- * @constant
883
- */
884
- readonly channel: "markSealed";
885
- /** @description Deprecated: no longer sent. Totalis no longer records runs on the live lane; a chart reads its history from `GET /v1/charts/mark:{coin}`. Was: marks just recorded for good. */
886
- readonly data: {
887
- /** @description The perp. */
888
- readonly coin: components["schemas"]["MarketPerpCoin"];
889
- /** @description How far the recorded history reached before these runs: always the previous markSealed through or the markSnapshot sealed_through on this socket (a socket that falls behind gets a markSnapshot instead); null when nothing was recorded. */
890
- readonly from: components["schemas"]["Timestamp"] | null;
891
- /** @description How far the recorded history now reaches; marks up to here are final. */
892
- readonly through: components["schemas"]["Timestamp"];
893
- /** @description Every recorded run that covers an instant in (from, through], by start. The mark at an instant in that span is the px of the run with the latest start at or before it, if that run ends at or after it; otherwise it is unknown for good. A long backlog arrives as several frames that chain by from and through. */
894
- readonly runs: readonly components["schemas"]["MarketMarkRun"][];
895
- };
896
- };
897
- /** @description [start, end, px]: the mark held from start to end, both included. The perp marks read closes step boundary b at the px of the run with the latest start at or before b, when that run ends at or after b; this is the same record. */
898
- readonly MarketMarkRun: readonly [
899
- components["schemas"]["Timestamp"],
900
- components["schemas"]["Timestamp"],
901
- string
902
- ];
903
873
  readonly MarketMarkTicksFrame: {
904
874
  /**
905
875
  * @description Frame discriminator, always markTicks.
@@ -1,6 +1,6 @@
1
- export declare const sdkVersion = "284.0.0-light-renditions";
2
- export declare const openapiSha256 = "f08bae94317903c430043ca6d1ef27542d35742b3e0494c25d0f8a6bcfdca70b";
3
- export declare const realtimeSha256 = "7e4b6e595b53e601e0ef2e05a6e52dd2d53ada0edeef5f16653914714b56728f";
1
+ export declare const sdkVersion = "285.0.0-no-mark-runs";
2
+ export declare const openapiSha256 = "5d3ddc0c3bf35b80bdc38933b3ac9ceac14a927065a2e89d1224a0c2f4d8c2d3";
3
+ export declare const realtimeSha256 = "02c6dff24166c102d9dc8d0441bc6ed0268850d126d5ac184efa0101d22099f8";
4
4
  export declare const jsonSchemaSha256: {
5
5
  readonly "account.schema.json": "3120357249f55f8481d5afb7a99112f803c22c6a1cbe3adadca478bb313f8160";
6
6
  readonly "comments.schema.json": "5773471b4442ba9d8af0dc012d71561baaf50d0e1c2571039241780848edb4a4";
@@ -15,7 +15,7 @@ export declare const jsonSchemaSha256: {
15
15
  readonly "market-data.schema.json": "ffb916d3e448a44567687c6ca75ce64742569de5919f3903f07c529070a80aea";
16
16
  readonly "product-metadata.schema.json": "7c8ffbde878a0aedaed16814fcfd2e80038054b140886cc8736bb7b508042631";
17
17
  readonly "quote.schema.json": "5c16a54c428656a4e8c1042b2057ce8290e6eebcc02b237f5dce7e4c13b7ded0";
18
- readonly "realtime.schema.json": "7e4b6e595b53e601e0ef2e05a6e52dd2d53ada0edeef5f16653914714b56728f";
18
+ readonly "realtime.schema.json": "02c6dff24166c102d9dc8d0441bc6ed0268850d126d5ac184efa0101d22099f8";
19
19
  readonly "social.schema.json": "98e5c2a3159e5833e9af5e776231875bc42133144476e771e73575cec3f36380";
20
20
  };
21
21
  export declare const operations: {
@@ -1,7 +1,7 @@
1
1
  // Generated by scripts/generate.mjs; do not edit.
2
- export const sdkVersion = "284.0.0-light-renditions";
3
- export const openapiSha256 = "f08bae94317903c430043ca6d1ef27542d35742b3e0494c25d0f8a6bcfdca70b";
4
- export const realtimeSha256 = "7e4b6e595b53e601e0ef2e05a6e52dd2d53ada0edeef5f16653914714b56728f";
2
+ export const sdkVersion = "285.0.0-no-mark-runs";
3
+ export const openapiSha256 = "5d3ddc0c3bf35b80bdc38933b3ac9ceac14a927065a2e89d1224a0c2f4d8c2d3";
4
+ export const realtimeSha256 = "02c6dff24166c102d9dc8d0441bc6ed0268850d126d5ac184efa0101d22099f8";
5
5
  export const jsonSchemaSha256 = {
6
6
  "account.schema.json": "3120357249f55f8481d5afb7a99112f803c22c6a1cbe3adadca478bb313f8160",
7
7
  "comments.schema.json": "5773471b4442ba9d8af0dc012d71561baaf50d0e1c2571039241780848edb4a4",
@@ -16,7 +16,7 @@ export const jsonSchemaSha256 = {
16
16
  "market-data.schema.json": "ffb916d3e448a44567687c6ca75ce64742569de5919f3903f07c529070a80aea",
17
17
  "product-metadata.schema.json": "7c8ffbde878a0aedaed16814fcfd2e80038054b140886cc8736bb7b508042631",
18
18
  "quote.schema.json": "5c16a54c428656a4e8c1042b2057ce8290e6eebcc02b237f5dce7e4c13b7ded0",
19
- "realtime.schema.json": "7e4b6e595b53e601e0ef2e05a6e52dd2d53ada0edeef5f16653914714b56728f",
19
+ "realtime.schema.json": "02c6dff24166c102d9dc8d0441bc6ed0268850d126d5ac184efa0101d22099f8",
20
20
  "social.schema.json": "98e5c2a3159e5833e9af5e776231875bc42133144476e771e73575cec3f36380"
21
21
  };
22
22
  export const operations = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@totalis/hip4-client",
3
- "version": "0.129.0",
3
+ "version": "0.130.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": [