@cancore/contracts 0.2.0-rc.18 → 0.2.0-rc.19
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 +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/spec/protocol/messages.schema.json +2 -1
package/README.md
CHANGED
|
@@ -465,6 +465,9 @@ Full documentation: <https://docs.cancore.io/sdk/contracts>
|
|
|
465
465
|
|
|
466
466
|
## Changes
|
|
467
467
|
|
|
468
|
+
- `0.2.0-rc.19` — `preapproval.create` (CAN-2931): optional `summary.provider` for a Splice (CC)
|
|
469
|
+
registry, whose party signs a `TransferPreapprovalProposal` its provider accepts and pays for;
|
|
470
|
+
such a summary states `requestedAt` and `executeBefore` null and no allowances. Additive.
|
|
468
471
|
- `0.2.0-rc.17` — Canton op `preapproval.create` (CAN-2904): `params {admin}`, `summary {party,
|
|
469
472
|
admin, instrumentAllowances, requestedAt, executeBefore}`, `result {preapprovalCid}` — the filler's
|
|
470
473
|
external party signs its own transfer preapproval with a registry, the one way it can be credited
|
package/dist/index.d.ts
CHANGED
|
@@ -1336,6 +1336,8 @@ interface CantonOpSummary {
|
|
|
1336
1336
|
executeBefore: DecString | null;
|
|
1337
1337
|
/** DA Utilities only: the registry operator the preapproval names. */
|
|
1338
1338
|
operator?: string;
|
|
1339
|
+
/** Splice (CC) only: the provider the proposal names; it accepts the proposal into the preapproval and pays for it. */
|
|
1340
|
+
provider?: string;
|
|
1339
1341
|
};
|
|
1340
1342
|
}
|
|
1341
1343
|
/** What the committed operation created, by op. */
|
package/dist/index.js
CHANGED
|
@@ -3304,7 +3304,8 @@ var messages_schema_default = {
|
|
|
3304
3304
|
instrumentAllowances: { type: "array", maxItems: 10, items: { type: "string", minLength: 1 }, description: "instrument ids it is limited to; empty: every instrument of the admin" },
|
|
3305
3305
|
requestedAt: { oneOf: [{ $ref: "#/$defs/timeS" }, { type: "null" }], description: "unix s: the Daml Time (microseconds) cut to whole seconds; null for a registry whose preapproval has no validity window (DA Utilities)" },
|
|
3306
3306
|
executeBefore: { oneOf: [{ $ref: "#/$defs/timeS" }, { type: "null" }], description: "unix s, cut likewise: the preapproval expires then; null \u2014 it never lapses" },
|
|
3307
|
-
operator: { type: "string", minLength: 1, description: "DA Utilities only: the registry operator the preapproval names (its observer)" }
|
|
3307
|
+
operator: { type: "string", minLength: 1, description: "DA Utilities only: the registry operator the preapproval names (its observer)" },
|
|
3308
|
+
provider: { type: "string", minLength: 1, description: "Splice (CC) only: the provider the TransferPreapprovalProposal names; it accepts the proposal and pays for the preapproval" }
|
|
3308
3309
|
}
|
|
3309
3310
|
}
|
|
3310
3311
|
}
|