@odatano/core 2.0.0-rc.51 → 2.0.0-rc.52

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": "@odatano/core",
3
- "version": "2.0.0-rc.51",
3
+ "version": "2.0.0-rc.52",
4
4
  "description": "SAP CAP plugin for Cardano blockchain OData V4 integration",
5
5
  "imports": {
6
6
  "#cds-models/*": "./@cds-models/*/index.js"
@@ -132,14 +132,14 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
132
132
  @description: 'Optional Plutus V3 validator CBOR hex to attach as referenceScript on the primary recipient output (CIP-33 reference script deploy). Significantly increases the output min-ADA; lovelaceAmount must cover the inflated requirement.'
133
133
  referenceScriptHex: String,
134
134
  @title: 'Validity Start (Posix ms)'
135
- @description: 'Optional. Validity-interval start in Posix milliseconds. Passed through to the builder only; for non-script transfers the builder leaves bounds unset unless provided.'
135
+ @description: 'Optional. Validity-interval start in Posix milliseconds. No start is set when omitted.'
136
136
  validityStartMs: String,
137
137
  @title: 'Validity End (Posix ms)'
138
- @description: 'Optional. Validity-interval end in Posix milliseconds. Passed through to the builder only; for non-script transfers the builder leaves bounds unset unless provided.'
138
+ @description: 'Optional. Validity-interval end in Posix milliseconds. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
139
139
  validityEndMs: String) returns TransactionBuilds;
140
140
 
141
141
  @title : 'Build Transaction with Metadata'
142
- @description: 'Build a transaction with custom metadata from sender to recipient with specified amount and change address'
142
+ @description: 'Build a transaction with custom metadata from sender to recipient with specified amount and change address. The transaction expires one hour after the build.'
143
143
  @odatano.agent: 'grant'
144
144
  action BuildTransactionWithMetadata(
145
145
  @title: 'Sender Address'
@@ -190,10 +190,10 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
190
190
  @description: 'Optional Plutus V3 validator CBOR hex to attach as referenceScript on the primary recipient output (CIP-33 reference script deploy). Significantly increases the output min-ADA; lovelaceAmount must cover the inflated requirement.'
191
191
  referenceScriptHex: String,
192
192
  @title: 'Validity Start (Posix ms)'
193
- @description: 'Optional. Validity-interval start in Posix milliseconds. Passed through to the builder only; for non-script transfers the builder leaves bounds unset unless provided.'
193
+ @description: 'Optional. Validity-interval start in Posix milliseconds. No start is set when omitted.'
194
194
  validityStartMs: String,
195
195
  @title: 'Validity End (Posix ms)'
196
- @description: 'Optional. Validity-interval end in Posix milliseconds. Passed through to the builder only; for non-script transfers the builder leaves bounds unset unless provided.'
196
+ @description: 'Optional. Validity-interval end in Posix milliseconds. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
197
197
  validityEndMs: String) returns TransactionBuilds;
198
198
 
199
199
  @title : 'Build Minting Transaction'
@@ -255,7 +255,7 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
255
255
  @description: 'Optional. Sets the transaction validity-interval start in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(lower) on tx.validity_range.lower_bound. Defaults to now − 120 000 ms when omitted.'
256
256
  validityStartMs: String,
257
257
  @title: 'Validity End (Posix ms)'
258
- @description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms when omitted.'
258
+ @description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
259
259
  validityEndMs: String) returns TransactionBuilds;
260
260
 
261
261
  @title : 'Get Build Details'
@@ -360,7 +360,7 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
360
360
  @description: 'Optional. Sets the transaction validity-interval start in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(lower) on tx.validity_range.lower_bound. Defaults to now − 120 000 ms when omitted.'
361
361
  validityStartMs: String,
362
362
  @title: 'Validity End (Posix ms)'
363
- @description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms when omitted.'
363
+ @description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
364
364
  validityEndMs: String) returns TransactionBuilds;
365
365
 
366
366
  @title : 'Build Plutus Transaction'
@@ -404,7 +404,7 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
404
404
  @description: 'Optional validity-interval start in Posix milliseconds; defaults to now - 120 000 ms.'
405
405
  validityStartMs: String,
406
406
  @title: 'Validity End (Posix ms)'
407
- @description: 'Optional validity-interval end in Posix milliseconds; defaults to now + 3 600 000 ms.'
407
+ @description: 'Optional validity-interval end in Posix milliseconds; defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
408
408
  validityEndMs: String) returns TransactionBuilds;
409
409
 
410
410
  @title : 'Set Collateral'
@@ -426,7 +426,7 @@ export type TxBuildRequest = {
426
426
  referenceScript?: string;
427
427
  /** Validity start in Posix ms (`invalidBefore`); builder default `now - 120_000` for script builds. */
428
428
  validityStartMs?: string;
429
- /** Validity end in Posix ms (`invalidAfter`, ledger TTL); builder default `now + 3_600_000` for script builds. */
429
+ /** Validity end in Posix ms (`invalidAfter`, ledger TTL); builder default `now + 3_600_000`, at most 24 h ahead. */
430
430
  validityEndMs?: string;
431
431
  };
432
432
  /** Mint/burn build request: mintActions and mintingPolicyScript required */