@settlemint/dalp-sdk 3.1.7-main.33073793879 → 3.1.7-main.33074453909

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/dist/auth.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  SDK_USER_AGENT,
3
3
  createCookieStoreFetch,
4
4
  makeCookieStore
5
- } from "./chunk-0znr48mz.js";
5
+ } from "./chunk-0wrbktzw.js";
6
6
  import {
7
7
  normalizeDalpBaseUrl,
8
8
  secret,
@@ -102,7 +102,7 @@ function createCookieStoreFetch(cookieStore, fetchImpl = globalThis.fetch) {
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@settlemint/dalp-sdk",
105
- version: "3.1.7-main.33073793879",
105
+ version: "3.1.7-main.33074453909",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
@@ -3191,9 +3191,9 @@ export declare const v2WalletsAllocationsReadOptions: (options: Options<V2Wallet
3191
3191
  };
3192
3192
  };
3193
3193
  /**
3194
- * Submit a DAML command
3194
+ * Submit a DAML command (escape hatch)
3195
3195
  *
3196
- * Submits a DAML command for a custody-held Canton party wallet through interactive submission. When approval is required, the platform authorizes the command intent and re-prepares a fresh hash after approval. A settled command returns 200. When the platform accepts the work and finishes it in the background, the response is 202 with a status URL. Repeating the same Idempotency-Key returns the original submission.
3196
+ * Submits a hand-built DAML command for a custody-held Canton party wallet through interactive submission. This is the escape hatch, not the ordinary write path: the caller supplies the template id, the choice name and the argument record itself, so a command that names them wrongly is refused by the ledger rather than by this platform. Reach for it only for a choice the platform does not yet model as a typed operation. For token issuance, burning, transfer, transfer acceptance and holding unlock, use the typed Canton token lifecycle routes under /api/v2/canton/holdings and /api/v2/canton/transfers, which state the operation in business terms and build the Daml themselves; for delivery-versus-payment use /api/v2/canton/settlements. When approval is required, the platform authorizes the command intent and re-prepares a fresh hash after approval. A settled command returns 200. When the platform accepts the work and finishes it in the background, the response is 202 with a status URL. Repeating the same Idempotency-Key returns the original submission.
3197
3197
  */
3198
3198
  export declare const v2WalletsSubmissionsCreateMutation: (options?: Partial<Options<V2WalletsSubmissionsCreateData>>) => UseMutationOptions<V2WalletsSubmissionsCreateResponse, V2WalletsSubmissionsCreateError, Options<V2WalletsSubmissionsCreateData>>;
3199
3199
  /**
@@ -824,9 +824,9 @@ export declare const v2WalletsRead: <ThrowOnError extends boolean = false>(optio
824
824
  */
825
825
  export declare const v2WalletsAllocationsRead: <ThrowOnError extends boolean = false>(options: Options<V2WalletsAllocationsReadData, ThrowOnError>) => RequestResult<V2WalletsAllocationsReadResponses, V2WalletsAllocationsReadErrors, ThrowOnError>;
826
826
  /**
827
- * Submit a DAML command
827
+ * Submit a DAML command (escape hatch)
828
828
  *
829
- * Submits a DAML command for a custody-held Canton party wallet through interactive submission. When approval is required, the platform authorizes the command intent and re-prepares a fresh hash after approval. A settled command returns 200. When the platform accepts the work and finishes it in the background, the response is 202 with a status URL. Repeating the same Idempotency-Key returns the original submission.
829
+ * Submits a hand-built DAML command for a custody-held Canton party wallet through interactive submission. This is the escape hatch, not the ordinary write path: the caller supplies the template id, the choice name and the argument record itself, so a command that names them wrongly is refused by the ledger rather than by this platform. Reach for it only for a choice the platform does not yet model as a typed operation. For token issuance, burning, transfer, transfer acceptance and holding unlock, use the typed Canton token lifecycle routes under /api/v2/canton/holdings and /api/v2/canton/transfers, which state the operation in business terms and build the Daml themselves; for delivery-versus-payment use /api/v2/canton/settlements. When approval is required, the platform authorizes the command intent and re-prepares a fresh hash after approval. A settled command returns 200. When the platform accepts the work and finishes it in the background, the response is 202 with a status URL. Repeating the same Idempotency-Key returns the original submission.
830
830
  */
831
831
  export declare const v2WalletsSubmissionsCreate: <ThrowOnError extends boolean = false>(options: Options<V2WalletsSubmissionsCreateData, ThrowOnError>) => RequestResult<V2WalletsSubmissionsCreateResponses, V2WalletsSubmissionsCreateErrors, ThrowOnError>;
832
832
  /**
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SDK_VERSION,
4
4
  createCookieStoreFetch,
5
5
  makeCookieStore
6
- } from "./chunk-0znr48mz.js";
6
+ } from "./chunk-0wrbktzw.js";
7
7
  import {
8
8
  clearConditionalRequestStore,
9
9
  createDalpClient,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-sdk",
3
- "version": "3.1.7-main.33073793879",
3
+ "version": "3.1.7-main.33074453909",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",