@fairmint/canton-fairmint-sdk 0.0.68 → 0.0.70
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/functions/EquitySettlement/buildAllocationExecuteTransferCommand.js +2 -2
- package/dist/functions/EquitySettlement/buildAllocationExecuteTransferCommand.js.map +1 -1
- package/dist/functions/EquitySettlement/templates.d.ts.map +1 -1
- package/dist/functions/EquitySettlement/templates.js +18 -14
- package/dist/functions/EquitySettlement/templates.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildAllocationExecuteTransferCommand = buildAllocationExecuteTransferCommand;
|
|
4
|
-
const
|
|
4
|
+
const module_js_1 = require("@fairmint/daml-js/lib/Splice/Api/Token/AllocationV1/module.js");
|
|
5
5
|
const templates_1 = require("./templates");
|
|
6
6
|
function buildAllocationExecuteTransferCommand(params) {
|
|
7
7
|
const metaValues = {};
|
|
@@ -12,7 +12,7 @@ function buildAllocationExecuteTransferCommand(params) {
|
|
|
12
12
|
ExerciseCommand: {
|
|
13
13
|
templateId: templates_1.ALLOCATION_INTERFACE_ID,
|
|
14
14
|
contractId: params.allocationContractId,
|
|
15
|
-
choice:
|
|
15
|
+
choice: module_js_1.Allocation.Allocation_ExecuteTransfer.choiceName,
|
|
16
16
|
choiceArgument: {
|
|
17
17
|
extraArgs: {
|
|
18
18
|
context: { values: {} },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildAllocationExecuteTransferCommand.js","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/buildAllocationExecuteTransferCommand.ts"],"names":[],"mappings":";;AAkBA,sFAoBC;AA9BD,
|
|
1
|
+
{"version":3,"file":"buildAllocationExecuteTransferCommand.js","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/buildAllocationExecuteTransferCommand.ts"],"names":[],"mappings":";;AAkBA,sFAoBC;AA9BD,6FAA2F;AAE3F,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,sBAAU,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/templates.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,0BAA0B,mEAA2B,CAAC;AAEnE,eAAO,MAAM,mCAAmC,mFACd,CAAC;AAEnC,eAAO,MAAM,qCAAqC,uFACd,CAAC;AAErC,eAAO,MAAM,6BAA6B,yEAA8B,CAAC;AAEzE,0GAA0G;AAC1G,eAAO,MAAM,6BAA6B,oGAA6B,CAAC;AAExE,8GAA8G;AAC9G,eAAO,MAAM,+BAA+B,0GAA+B,CAAC;AAE5E,yGAAyG;AACzG,eAAO,MAAM,uBAAuB,4EAAwB,CAAC"}
|
|
@@ -6,21 +6,25 @@ exports.ALLOCATION_INTERFACE_ID = exports.ALLOCATION_FACTORY_INTERFACE_ID = expo
|
|
|
6
6
|
*
|
|
7
7
|
* Imported from generated `@fairmint/daml-js` modules so IDs stay aligned with bindings typings.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
// Use explicit `.js` extensions so consumers whose loaders respect the
|
|
10
|
+
// `@fairmint/daml-js` package `exports` field strictly (Bun, Node ESM under
|
|
11
|
+
// `"./lib/*": "./lib/*"`) can resolve these subpath modules without a
|
|
12
|
+
// postinstall patch step.
|
|
13
|
+
const module_js_1 = require("@fairmint/daml-js/lib/Fairmint/EquityTokens/EquityAllocation/module.js");
|
|
14
|
+
const module_js_2 = require("@fairmint/daml-js/lib/Fairmint/EquityTokens/EquityAllocationFactory/module.js");
|
|
15
|
+
const module_js_3 = require("@fairmint/daml-js/lib/Fairmint/EquityTokens/EquityHolding/module.js");
|
|
16
|
+
const module_js_4 = require("@fairmint/daml-js/lib/Fairmint/EquityTokens/EquityTransferFactory/module.js");
|
|
17
|
+
const module_js_5 = require("@fairmint/daml-js/lib/Splice/Api/Token/AllocationV1/module.js");
|
|
18
|
+
const module_js_6 = require("@fairmint/daml-js/lib/Splice/Api/Token/AllocationInstructionV1/module.js");
|
|
19
|
+
const module_js_7 = require("@fairmint/daml-js/lib/Splice/Api/Token/TransferInstructionV1/module.js");
|
|
20
|
+
exports.EQUITY_HOLDING_TEMPLATE_ID = module_js_3.EquityHolding.templateId;
|
|
21
|
+
exports.EQUITY_TRANSFER_FACTORY_TEMPLATE_ID = module_js_4.EquityTransferFactory.templateId;
|
|
22
|
+
exports.EQUITY_ALLOCATION_FACTORY_TEMPLATE_ID = module_js_2.EquityAllocationFactory.templateId;
|
|
23
|
+
exports.EQUITY_ALLOCATION_TEMPLATE_ID = module_js_1.EquityAllocation.templateId;
|
|
20
24
|
/** Exercise TransferFactory_Transfer against this interface ID (implemented by EquityTransferFactory). */
|
|
21
|
-
exports.TRANSFER_FACTORY_INTERFACE_ID =
|
|
25
|
+
exports.TRANSFER_FACTORY_INTERFACE_ID = module_js_7.TransferFactory.templateId;
|
|
22
26
|
/** Exercise AllocationFactory_Allocate against this interface ID (implemented by EquityAllocationFactory). */
|
|
23
|
-
exports.ALLOCATION_FACTORY_INTERFACE_ID =
|
|
27
|
+
exports.ALLOCATION_FACTORY_INTERFACE_ID = module_js_6.AllocationFactory.templateId;
|
|
24
28
|
/** Exercise allocation lifecycle choices against this interface ID (implemented by EquityAllocation). */
|
|
25
|
-
exports.ALLOCATION_INTERFACE_ID =
|
|
29
|
+
exports.ALLOCATION_INTERFACE_ID = module_js_5.Allocation.templateId;
|
|
26
30
|
//# sourceMappingURL=templates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/templates.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/functions/EquitySettlement/templates.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,uEAAuE;AACvE,4EAA4E;AAC5E,sEAAsE;AACtE,0BAA0B;AAC1B,sGAA0G;AAC1G,6GAAwH;AACxH,mGAAoG;AACpG,2GAAoH;AACpH,6FAA2F;AAC3F,wGAA6G;AAC7G,sGAAyG;AAE5F,QAAA,0BAA0B,GAAG,yBAAa,CAAC,UAAU,CAAC;AAEtD,QAAA,mCAAmC,GAC9C,iCAAqB,CAAC,UAAU,CAAC;AAEtB,QAAA,qCAAqC,GAChD,mCAAuB,CAAC,UAAU,CAAC;AAExB,QAAA,6BAA6B,GAAG,4BAAgB,CAAC,UAAU,CAAC;AAEzE,0GAA0G;AAC7F,QAAA,6BAA6B,GAAG,2BAAe,CAAC,UAAU,CAAC;AAExE,8GAA8G;AACjG,QAAA,+BAA+B,GAAG,6BAAiB,CAAC,UAAU,CAAC;AAE5E,yGAAyG;AAC5F,QAAA,uBAAuB,GAAG,sBAAU,CAAC,UAAU,CAAC"}
|