@totalis/hip4-client 0.88.0 → 0.88.1

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,18 @@
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.88.1
7
+
8
+ ### Changed
9
+
10
+ - `requestComboCopyAgent`'s description says a Combo copy agent signs only
11
+ `TakerAccept` and `SellBack`; its Privy policy no longer allows
12
+ `CashoutTransfer` (TT-2700). No shape change.
13
+ - `GET /v1/rfqs/{rfq_id}` returns an open cash-out only to its owner or with
14
+ its backing maker's credential; anyone else gets 404 `NOT_FOUND`, as
15
+ `GET /v1/rfqs` already lists cash-outs only to their backing maker
16
+ (TT-2700). Open entry RFQs stay public. No shape change.
17
+
6
18
  ## 0.88.0
7
19
 
8
20
  ### Removed
@@ -1178,7 +1178,7 @@ export type paths = {
1178
1178
  readonly put?: never;
1179
1179
  /**
1180
1180
  * Make a Combo copy agent to grant
1181
- * @description Makes the key Combo auto-copy will sign with, a Privy server wallet that only Totalis's copy signer can use and that can sign only the vault's TakerAccept, SellBack and CashoutTransfer, never a grant, transfer or withdrawal. The account then signs the AgentGrant in grant, in the vault's EIP-712 domain (name TotalisParlay, version 1), relays it with grantComboCopyAgent and confirms once it is on chain. While a key made for this account waits for its grant, it is returned again, and every answer is recorded under its Idempotency-Key: a request repeated under it returns that answer and makes nothing. A key that answered another copy agent command is 409 IDEMPOTENCY_KEY_REUSED. A key not confirmed within an hour is switched off and the next request makes a new one. Renewing works the same way: the active key keeps copying until the new one is confirmed. While a key is active on another account this is 409 STATE_CONFLICT, until it is switched off. A key is never reused.
1181
+ * @description Makes the key Combo auto-copy will sign with, a Privy server wallet that only Totalis's copy signer can use and that can sign only the vault's TakerAccept and SellBack, never a grant, transfer or withdrawal. The account then signs the AgentGrant in grant, in the vault's EIP-712 domain (name TotalisParlay, version 1), relays it with grantComboCopyAgent and confirms once it is on chain. While a key made for this account waits for its grant, it is returned again, and every answer is recorded under its Idempotency-Key: a request repeated under it returns that answer and makes nothing. A key that answered another copy agent command is 409 IDEMPOTENCY_KEY_REUSED. A key not confirmed within an hour is switched off and the next request makes a new one. Renewing works the same way: the active key keeps copying until the new one is confirmed. While a key is active on another account this is 409 STATE_CONFLICT, until it is switched off. A key is never reused.
1182
1182
  */
1183
1183
  readonly post: operations["requestComboCopyAgent"];
1184
1184
  /**
@@ -10944,7 +10944,7 @@ export interface operations {
10944
10944
  };
10945
10945
  readonly requestBody?: never;
10946
10946
  readonly responses: {
10947
- /** @description The RFQ as it stands now. Anyone can read an open RFQ; its owner can also read it after it ends, to see how it ended. */
10947
+ /** @description The RFQ as it stands now. Anyone can read an open entry RFQ; an open cash-out is read only by its owner or with its backing maker's credential. Its owner can also read it after it ends, to see how it ended. */
10948
10948
  readonly 200: {
10949
10949
  headers: {
10950
10950
  readonly [name: string]: unknown;
@@ -1,5 +1,5 @@
1
1
  export declare const sdkVersion = "215.0.0-no-transfer-bids";
2
- export declare const openapiSha256 = "997b89a2fb217df2863da685026667a9d5b4db05a57f309392f878ac128cfebb";
2
+ export declare const openapiSha256 = "c09cad365cba594175eb021b318f9a45b1f9b080eb66e5b2cfd7d270e7ffb90c";
3
3
  export declare const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
4
4
  export declare const jsonSchemaSha256: {
5
5
  readonly "account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a";
@@ -1,6 +1,6 @@
1
1
  // Generated by scripts/generate.mjs; do not edit.
2
2
  export const sdkVersion = "215.0.0-no-transfer-bids";
3
- export const openapiSha256 = "997b89a2fb217df2863da685026667a9d5b4db05a57f309392f878ac128cfebb";
3
+ export const openapiSha256 = "c09cad365cba594175eb021b318f9a45b1f9b080eb66e5b2cfd7d270e7ffb90c";
4
4
  export const realtimeSha256 = "32e56c8bb642401f5b03e9c38274087c09bebb73ffe60c0d34432c2e78ce1e15";
5
5
  export const jsonSchemaSha256 = {
6
6
  "account.schema.json": "c11a94438d5f7b54e08d3b559098ce2671f4c9aad3a79feb684b7a81f77d809a",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@totalis/hip4-client",
3
- "version": "0.88.0",
3
+ "version": "0.88.1",
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": [