@fairmint/canton-fairmint-sdk 0.0.66 → 0.0.67

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.
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Ledger JSON exercise for choice `Allocation_ExecuteTransfer` on the CIP-0056 Splice allocation interface
3
+ * `Splice.Api.Token.AllocationV1.Allocation` (package name prefix `splice-api-token-allocation-v1`).
4
+ * Fairmint equity allocations implement this interface; this flow is not the legacy `EquitySettlement`
5
+ * DAML package.
6
+ */
1
7
  import type { Command } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
2
8
  export interface AllocationExecuteTransferParams {
3
9
  allocationContractId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"buildAllocationExecuteTransferCommand.d.ts","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/buildAllocationExecuteTransferCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAIhH,MAAM,WAAW,+BAA+B;IAC9C,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAkBT"}
1
+ {"version":3,"file":"buildAllocationExecuteTransferCommand.d.ts","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/buildAllocationExecuteTransferCommand.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAMhH,MAAM,WAAW,+BAA+B;IAC9C,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAkBT"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildAllocationExecuteTransferCommand = buildAllocationExecuteTransferCommand;
4
+ const module_1 = require("@fairmint/daml-js/lib/Splice/Api/Token/AllocationV1/module");
4
5
  const templates_1 = require("./templates");
5
6
  function buildAllocationExecuteTransferCommand(params) {
6
7
  const metaValues = {};
@@ -11,7 +12,7 @@ function buildAllocationExecuteTransferCommand(params) {
11
12
  ExerciseCommand: {
12
13
  templateId: templates_1.ALLOCATION_INTERFACE_ID,
13
14
  contractId: params.allocationContractId,
14
- choice: 'Allocation_ExecuteTransfer',
15
+ choice: module_1.Allocation.Allocation_ExecuteTransfer.choiceName,
15
16
  choiceArgument: {
16
17
  extraArgs: {
17
18
  context: { values: {} },
@@ -1 +1 @@
1
- {"version":3,"file":"buildAllocationExecuteTransferCommand.js","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/buildAllocationExecuteTransferCommand.ts"],"names":[],"mappings":";;AAUA,sFAoBC;AA5BD,2CAAsD;AAQtD,SAAgB,qCAAqC,CACnD,MAAuC;IAEvC,MAAM,UAAU,GAA2B,EAAE,CAAC;IAC9C,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;QAC5B,UAAU,CAAC,gCAAgC,CAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC;IACzE,CAAC;IACD,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,mCAAuB;YACnC,UAAU,EAAE,MAAM,CAAC,oBAAoB;YACvC,MAAM,EAAE,4BAA4B;YACpC,cAAc,EAAE;gBACd,SAAS,EAAE;oBACT,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;oBACvB,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC7B;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"buildAllocationExecuteTransferCommand.js","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/buildAllocationExecuteTransferCommand.ts"],"names":[],"mappings":";;AAkBA,sFAoBC;AA9BD,uFAAwF;AAExF,2CAAsD;AAQtD,SAAgB,qCAAqC,CACnD,MAAuC;IAEvC,MAAM,UAAU,GAA2B,EAAE,CAAC;IAC9C,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;QAC5B,UAAU,CAAC,gCAAgC,CAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC;IACzE,CAAC;IACD,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,mCAAuB;YACnC,UAAU,EAAE,MAAM,CAAC,oBAAoB;YACvC,MAAM,EAAE,mBAAU,CAAC,0BAA0B,CAAC,UAAU;YACxD,cAAc,EAAE;gBACd,SAAS,EAAE;oBACT,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;oBACvB,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC7B;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/canton-fairmint-sdk",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "Shared SDK utilities for Canton blockchain integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",