@cancore/contracts 0.2.0-rc.17 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cancore/contracts",
3
- "version": "0.2.0-rc.17",
3
+ "version": "0.2.0-rc.19",
4
4
  "type": "module",
5
5
  "description": "The Cancore EVM contracts as data: the ABIs of the Cancore EVM contracts and their custom-error selectors, the EIP-712 FeeClaim voucher and FillProof, the network registry; and the filler protocol v1: EIP-712 types and domains, hashing helpers, JSON Schemas, AsyncAPI, golden vectors.",
6
6
  "exports": {
@@ -840,8 +840,10 @@
840
840
  "party": { "type": "string", "minLength": 1, "description": "the receiver: the filler's own party" },
841
841
  "admin": { "type": "string", "minLength": 1, "description": "the registry's instrument admin, as asked" },
842
842
  "instrumentAllowances": { "type": "array", "maxItems": 10, "items": { "type": "string", "minLength": 1 }, "description": "instrument ids it is limited to; empty: every instrument of the admin" },
843
- "requestedAt": { "$ref": "#/$defs/timeS", "description": "unix s: the Daml Time (microseconds) cut to whole seconds" },
844
- "executeBefore": { "$ref": "#/$defs/timeS", "description": "unix s, cut likewise: the preapproval expires then" }
843
+ "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)" },
844
+ "executeBefore": { "oneOf": [{ "$ref": "#/$defs/timeS" }, { "type": "null" }], "description": "unix s, cut likewise: the preapproval expires then; null — it never lapses" },
845
+ "operator": { "type": "string", "minLength": 1, "description": "DA Utilities only: the registry operator the preapproval names (its observer)" },
846
+ "provider": { "type": "string", "minLength": 1, "description": "Splice (CC) only: the provider the TransferPreapprovalProposal names; it accepts the proposal and pays for the preapproval" }
845
847
  }
846
848
  }
847
849
  }
@@ -164,7 +164,10 @@
164
164
  "admin": { "type": "string", "minLength": 1 },
165
165
  "contractId": { "type": "string", "minLength": 1 },
166
166
  "instrumentAllowances": { "type": "array", "maxItems": 10, "items": { "type": "string", "minLength": 1 } },
167
- "executeBefore": { "$ref": "messages.schema.json#/$defs/timeS", "description": "unix s: the Daml Time (microseconds) cut to whole seconds; the preapproval expires then" }
167
+ "executeBefore": {
168
+ "oneOf": [{ "$ref": "messages.schema.json#/$defs/timeS" }, { "type": "null" }],
169
+ "description": "unix s: the Daml Time (microseconds) cut to whole seconds; the preapproval expires then. null: the registry's preapproval has no validity window (DA Utilities) and never lapses"
170
+ }
168
171
  }
169
172
  }
170
173
  }