@totalis/hip4-client 0.106.0 → 0.107.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,19 @@
|
|
|
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.107.0
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Activity lists take `order` (contract `242.0.0-activity-occurrence-order`).
|
|
11
|
+
`listAccountActivity` and `listMakerActivity` keep the publication order by
|
|
12
|
+
default (`PUBLISHED`); `OCCURRED` lists the newest occurrence first, an
|
|
13
|
+
activity of unknown occurrence at its recording time, so a feed can page
|
|
14
|
+
newest first without reading by time window. Contract
|
|
15
|
+
`243.0.0-activity-occurrence-groups` lists what reads as one together at
|
|
16
|
+
its latest occurrence: an order's fills, an outcome side's settlement
|
|
17
|
+
credits, a ticket's settlement and claims.
|
|
18
|
+
|
|
6
19
|
## 0.106.0
|
|
7
20
|
|
|
8
21
|
### Added
|
|
@@ -1117,6 +1117,11 @@ export type components = {
|
|
|
1117
1117
|
* @example DEPOSIT
|
|
1118
1118
|
*/
|
|
1119
1119
|
readonly ActivityKindQueryOptional: components["schemas"]["ActivityKind"];
|
|
1120
|
+
/**
|
|
1121
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
1122
|
+
* @example OCCURRED
|
|
1123
|
+
*/
|
|
1124
|
+
readonly ActivityOrderQueryOptional: "PUBLISHED" | "OCCURRED";
|
|
1120
1125
|
/**
|
|
1121
1126
|
* @description Return only activities with this status. A status-filtered page is a display view, never a balance or P&L basis.
|
|
1122
1127
|
* @example COMMITTED
|
|
@@ -1412,6 +1417,11 @@ export interface operations {
|
|
|
1412
1417
|
* @example HYPEREVM
|
|
1413
1418
|
*/
|
|
1414
1419
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
1420
|
+
/**
|
|
1421
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
1422
|
+
* @example OCCURRED
|
|
1423
|
+
*/
|
|
1424
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
1415
1425
|
};
|
|
1416
1426
|
readonly header?: {
|
|
1417
1427
|
/** @description Required for browser sessions; API keys do not require an Origin. */
|
|
@@ -1561,6 +1571,11 @@ export interface operations {
|
|
|
1561
1571
|
* @example HYPEREVM
|
|
1562
1572
|
*/
|
|
1563
1573
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
1574
|
+
/**
|
|
1575
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
1576
|
+
* @example OCCURRED
|
|
1577
|
+
*/
|
|
1578
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
1564
1579
|
};
|
|
1565
1580
|
readonly header?: {
|
|
1566
1581
|
/** @description Required for browser sessions; API keys do not require an Origin. */
|
|
@@ -7687,6 +7687,11 @@ export type components = {
|
|
|
7687
7687
|
* @example HYPEREVM
|
|
7688
7688
|
*/
|
|
7689
7689
|
readonly ActivityVenueQueryOptional: "HYPEREVM" | "HYPERCORE" | "VENUE";
|
|
7690
|
+
/**
|
|
7691
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
7692
|
+
* @example OCCURRED
|
|
7693
|
+
*/
|
|
7694
|
+
readonly ActivityOrderQueryOptional: "PUBLISHED" | "OCCURRED";
|
|
7690
7695
|
/**
|
|
7691
7696
|
* @description Activity ID from a list item's activity_id (64 lowercase hex characters).
|
|
7692
7697
|
* @example 9d4c2b1a0f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e
|
|
@@ -8226,6 +8231,11 @@ export interface operations {
|
|
|
8226
8231
|
* @example HYPEREVM
|
|
8227
8232
|
*/
|
|
8228
8233
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
8234
|
+
/**
|
|
8235
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
8236
|
+
* @example OCCURRED
|
|
8237
|
+
*/
|
|
8238
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
8229
8239
|
};
|
|
8230
8240
|
readonly header?: {
|
|
8231
8241
|
/**
|
|
@@ -8343,6 +8353,11 @@ export interface operations {
|
|
|
8343
8353
|
* @example HYPEREVM
|
|
8344
8354
|
*/
|
|
8345
8355
|
readonly venue?: components["parameters"]["ActivityVenueQueryOptional"];
|
|
8356
|
+
/**
|
|
8357
|
+
* @description PUBLISHED (default): newest published first, so a backfilled activity appears on a fresh first page. OCCURRED: newest occurrence first, an activity of unknown occurrence at its recording time, then by activity ID. What reads as one lists together at its latest occurrence (an order's fills, one outcome side's settlement credits, one ticket's settlement and claims), one group after another within a moment.
|
|
8358
|
+
* @example OCCURRED
|
|
8359
|
+
*/
|
|
8360
|
+
readonly order?: components["parameters"]["ActivityOrderQueryOptional"];
|
|
8346
8361
|
};
|
|
8347
8362
|
readonly header?: {
|
|
8348
8363
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const sdkVersion = "
|
|
2
|
-
export declare const openapiSha256 = "
|
|
1
|
+
export declare const sdkVersion = "243.0.0-activity-occurrence-groups";
|
|
2
|
+
export declare const openapiSha256 = "3a41749829233215987169e2dc84d40cae9343a5d77b6ea9fce62fe559e5a8cb";
|
|
3
3
|
export declare const realtimeSha256 = "bea4893352a7110f2659560f3338d9fb5eb441269652a989a7aa9d42a5394554";
|
|
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
|
-
export const sdkVersion = "
|
|
3
|
-
export const openapiSha256 = "
|
|
2
|
+
export const sdkVersion = "243.0.0-activity-occurrence-groups";
|
|
3
|
+
export const openapiSha256 = "3a41749829233215987169e2dc84d40cae9343a5d77b6ea9fce62fe559e5a8cb";
|
|
4
4
|
export const realtimeSha256 = "bea4893352a7110f2659560f3338d9fb5eb441269652a989a7aa9d42a5394554";
|
|
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.107.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": [
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"generate": "node scripts/generate.mjs",
|
|
65
65
|
"check": "node scripts/generate.mjs --check && node scripts/compatibility.mjs && tsc --noEmit -p tsconfig.test.json",
|
|
66
66
|
"build": "npm run generate && tsc",
|
|
67
|
-
"test": "npm run build && node --test test/*.test.mjs && node --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
68
|
-
"test:react-native": "npm run build && node --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
67
|
+
"test": "node scripts/check-test-clock.mjs && npm run build && node --import ./test/setup.mjs --test test/*.test.mjs && node --import ./test/setup.mjs --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
68
|
+
"test:react-native": "npm run build && node --import ./test/setup.mjs --import ./test/runtimes/react-native.mjs --test test/*.test.mjs",
|
|
69
69
|
"test:staging-read": "npm run build && node test/staging-read-smoke.mjs",
|
|
70
70
|
"test:production-read": "npm run build && node test/staging-read-smoke.mjs production",
|
|
71
71
|
"test:staging-smoke": "npm run build && node test/staging-smoke.mjs",
|