@hyperscale0/sdk 1.0.128 → 1.0.132
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/README.md +6 -0
- package/client.js +0 -8
- package/package.json +2 -2
- package/platform.d.ts +101 -107
package/README.md
CHANGED
|
@@ -64,6 +64,12 @@ Use `product.objects.list` and `product.objects.retrieve` to read stored objects
|
|
|
64
64
|
and exposed actions. All six operations also use the descriptor-backed generic
|
|
65
65
|
operation transport in `client.call`. Names and types match the operation descriptors.
|
|
66
66
|
|
|
67
|
+
To take a customer's step, such as a buyer paying into escrow, add
|
|
68
|
+
`onBehalfOf: "<customer id>"` to `product.objects.create`, `actions`, `execute`
|
|
69
|
+
or `preview`. The call runs with that customer's accounts, the Product key keeps
|
|
70
|
+
its view of every record, and the agreement records both the key and the
|
|
71
|
+
customer. A create with `onBehalfOf` makes that customer the owner.
|
|
72
|
+
|
|
67
73
|
Copy the whole target, including `instanceId` when present. Refresh availability
|
|
68
74
|
after a revision or Build conflict. Reuse the same key and body for an uncertain
|
|
69
75
|
request. The client never retries a mutation automatically.
|
package/client.js
CHANGED
|
@@ -300,14 +300,6 @@ const routes = {
|
|
|
300
300
|
],
|
|
301
301
|
"idempotency": "not_required"
|
|
302
302
|
},
|
|
303
|
-
"product.balance_sheet.retrieve": {
|
|
304
|
-
"method": "GET",
|
|
305
|
-
"path": "/v1/products/{productId}/balance-sheet",
|
|
306
|
-
"pathParams": [
|
|
307
|
-
"productId"
|
|
308
|
-
],
|
|
309
|
-
"idempotency": "not_required"
|
|
310
|
-
},
|
|
311
303
|
"product.blocks.summary": {
|
|
312
304
|
"method": "GET",
|
|
313
305
|
"path": "/v1/products/{productId}/blocks/summary",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscale0/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.132",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "LicenseRef-Hyperscale-Proprietary",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "3449c1fe1ea4ee1ae40edc3775ab7bebf890e91b"
|
|
26
26
|
}
|