@totalis/hip4-client 0.101.0 → 0.102.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,16 @@
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.102.0
7
+
8
+ ### Added
9
+
10
+ - Partner on maker positions (TT-2811, contract `239.0.0-maker-opened-via`,
11
+ major 235, additive). A maker's position reads
12
+ (`listMakerPositions`, `getMakerPosition`) answer `opened_via`: the display
13
+ name of the partner whose builder code opened the position, or null when it
14
+ was opened without one. Always null on a personal read.
15
+
6
16
  ## 0.101.0
7
17
 
8
18
  ### Added
@@ -539,6 +539,8 @@ export type components = {
539
539
  readonly owner: components["schemas"]["LowercaseNonZeroAddress"];
540
540
  /** @description On a maker's read, the owner's username when the owner wallet is the account wallet of a participant whose public trader profile is on, the pair GET /v1/traders/{username} shows; otherwise null, as for a participant's other linked wallets, and always null on a personal read. */
541
541
  readonly owner_username: components["schemas"]["Username"] | null;
542
+ /** @description On a maker's read, the display name of the partner whose builder code opened the position; null when it was opened without one, and always null on a personal read. */
543
+ readonly opened_via: string | null;
542
544
  /**
543
545
  * @description OPEN: not yet known eligible for settlement; AWAITING_SETTLEMENT: every leg resolved, or the payout with every unresolved leg counted as a win already rounds down to zero, but no settlement observed; SETTLED_UNCLAIMED: settled with profit still unclaimed; CLOSED: closed by zero-profit settlement, final claim or sell-back.
544
546
  * @enum {string}
@@ -4026,6 +4026,8 @@ export type components = {
4026
4026
  readonly owner: components["schemas"]["LowercaseNonZeroAddress"];
4027
4027
  /** @description On a maker's read, the owner's username when the owner wallet is the account wallet of a participant whose public trader profile is on, the pair GET /v1/traders/{username} shows; otherwise null, as for a participant's other linked wallets, and always null on a personal read. */
4028
4028
  readonly owner_username: components["schemas"]["Username"] | null;
4029
+ /** @description On a maker's read, the display name of the partner whose builder code opened the position; null when it was opened without one, and always null on a personal read. */
4030
+ readonly opened_via: string | null;
4029
4031
  /**
4030
4032
  * @description OPEN: not yet known eligible for settlement; AWAITING_SETTLEMENT: every leg resolved, or the payout with every unresolved leg counted as a win already rounds down to zero, but no settlement observed; SETTLED_UNCLAIMED: settled with profit still unclaimed; CLOSED: closed by zero-profit settlement, final claim or sell-back.
4031
4033
  * @enum {string}
@@ -1,5 +1,5 @@
1
- export declare const sdkVersion = "238.0.0-feed-display";
2
- export declare const openapiSha256 = "308e6b794a5c15a398ac1e6152ef5ae037a3f104ad1bbec61f0c76b516d0e890";
1
+ export declare const sdkVersion = "239.0.0-maker-opened-via";
2
+ export declare const openapiSha256 = "ae8b89d15af59bed3e0231d2f18d11c5942336e193d72475124c24d239f69aa4";
3
3
  export declare const realtimeSha256 = "bfea15f8334b302a98e58ca5a71f1c9b259e15b5f2c9239620f127270e5b4c7f";
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 = "238.0.0-feed-display";
3
- export const openapiSha256 = "308e6b794a5c15a398ac1e6152ef5ae037a3f104ad1bbec61f0c76b516d0e890";
2
+ export const sdkVersion = "239.0.0-maker-opened-via";
3
+ export const openapiSha256 = "ae8b89d15af59bed3e0231d2f18d11c5942336e193d72475124c24d239f69aa4";
4
4
  export const realtimeSha256 = "bfea15f8334b302a98e58ca5a71f1c9b259e15b5f2c9239620f127270e5b4c7f";
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.101.0",
3
+ "version": "0.102.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": [