@fairmint/canton-fairmint-sdk 0.0.62 → 0.0.64
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/fairmintOcpClient.d.ts +16 -5
- package/dist/fairmintOcpClient.d.ts.map +1 -1
- package/dist/fairmintOcpClient.js +14 -3
- package/dist/fairmintOcpClient.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/addObserversToAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/addObserversToAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/createAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/createAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/executeAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/executeAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/joinAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/joinAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/updateAirdropConfig.js +2 -2
- package/dist/functions/CantonPayments/airdrop/updateAirdropConfig.js.map +1 -1
- package/dist/functions/CantonPayments/simpleAirdrop/archiveSimpleAirdrop.js +2 -2
- package/dist/functions/CantonPayments/simpleAirdrop/archiveSimpleAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/simpleAirdrop/createSimpleAirdrop.js +2 -2
- package/dist/functions/CantonPayments/simpleAirdrop/createSimpleAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/simpleAirdrop/executeSimpleAirdrop.js +2 -2
- package/dist/functions/CantonPayments/simpleAirdrop/executeSimpleAirdrop.js.map +1 -1
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.d.ts +14 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.js +67 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.js.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.d.ts +25 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.js +74 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.js.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.d.ts +4 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.js +20 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.js.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.d.ts +14 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.js +69 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.js.map +1 -0
- package/dist/functions/OpenCapTableReports/index.d.ts +2 -0
- package/dist/functions/OpenCapTableReports/index.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/index.js +18 -0
- package/dist/functions/OpenCapTableReports/index.js.map +1 -0
- package/dist/functions/PaymentStreams/activePaymentStream/addFunds.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/addFunds.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/cancel.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/cancel.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/changeParty.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/changeParty.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/processFreeTrial.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/processFreeTrial.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/processPayment.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/processPayment.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/proposeChanges.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/proposeChanges.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/refund.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/refund.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/withdrawFunds.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/withdrawFunds.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/approve.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/approve.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/archive.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/archive.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/approve.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/approve.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.js.map +1 -1
- package/dist/functions/PaymentStreams/utils/disclosedContracts.js +1 -1
- package/dist/functions/PaymentStreams/utils/disclosedContracts.js.map +1 -1
- package/dist/functions/PaymentStreams/utils/factoryContractId.js +1 -1
- package/dist/functions/PaymentStreams/utils/factoryContractId.js.map +1 -1
- package/package.json +6 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildEditPaymentStreamProposalCommand = buildEditPaymentStreamProposalCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
6
6
|
const paymentStreamDamlCodec_1 = require("../utils/paymentStreamDamlCodec");
|
|
7
7
|
function changesToDaml(changes) {
|
|
@@ -64,7 +64,7 @@ function buildEditPaymentStreamProposalCommand(params) {
|
|
|
64
64
|
};
|
|
65
65
|
return {
|
|
66
66
|
ExerciseCommand: {
|
|
67
|
-
templateId:
|
|
67
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
68
68
|
.templateId,
|
|
69
69
|
contractId: params.proposedPaymentStreamContractId,
|
|
70
70
|
choice: 'ProposedPaymentStream_EditPaymentStreamProposal',
|
package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editPaymentStreamProposal.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.ts"],"names":[],"mappings":";;AA8FA,sFAmBC;AAhHD
|
|
1
|
+
{"version":3,"file":"editPaymentStreamProposal.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProposedPaymentStreamStartCommand = buildProposedPaymentStreamStartCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildProposedPaymentStreamStartCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
lockFundsInput: {
|
|
@@ -16,7 +16,7 @@ function buildProposedPaymentStreamStartCommand(params) {
|
|
|
16
16
|
};
|
|
17
17
|
const command = {
|
|
18
18
|
ExerciseCommand: {
|
|
19
|
-
templateId:
|
|
19
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
20
20
|
.templateId,
|
|
21
21
|
contractId: params.proposedPaymentStreamContractId,
|
|
22
22
|
choice: 'ProposedPaymentStream_StartPaymentStream',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startPaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.ts"],"names":[],"mappings":";;AAUA,wFA4BC;AArCD
|
|
1
|
+
{"version":3,"file":"startPaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.ts"],"names":[],"mappings":";;AAUA,wFA4BC;AArCD,+CAAmD;AASnD,SAAgB,sCAAsC,CACpD,MAAwC;IAExC,MAAM,cAAc,GAAG;QACrB,cAAc,EAAE;YACd,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,YAAY;YAChD,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,YAAY;YAChD,cAAc,EAAE;gBACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,cAAc;gBACnE,kBAAkB,EAChB,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,kBAAkB;gBACzD,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,gBAAgB;aACxE;SACF;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,qBAAqB,CAAC,qBAAqB;iBACrE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,+BAA+B;YAClD,MAAM,EAAE,0CAA0C;YAClD,cAAc;SACf;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProposedPaymentStreamWithdrawCommand = buildProposedPaymentStreamWithdrawCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildProposedPaymentStreamWithdrawCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
actor: params.actor,
|
|
@@ -9,7 +9,7 @@ function buildProposedPaymentStreamWithdrawCommand(params) {
|
|
|
9
9
|
};
|
|
10
10
|
return {
|
|
11
11
|
ExerciseCommand: {
|
|
12
|
-
templateId:
|
|
12
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
13
13
|
.templateId,
|
|
14
14
|
contractId: params.proposedPaymentStreamContractId,
|
|
15
15
|
choice: 'ProposedPaymentStream_Withdraw',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/withdraw.ts"],"names":[],"mappings":";;AASA,8FAkBC;AA1BD
|
|
1
|
+
{"version":3,"file":"withdraw.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/withdraw.ts"],"names":[],"mappings":";;AASA,8FAkBC;AA1BD,+CAAmD;AAQnD,SAAgB,yCAAyC,CACvD,MAA2C;IAE3C,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,qBAAqB,CAAC,qBAAqB;iBACrE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,+BAA+B;YAClD,MAAM,EAAE,gCAAgC;YACxC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,7 +6,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.getFactoryDisclosedContracts = getFactoryDisclosedContracts;
|
|
8
8
|
exports.getProposedPaymentStreamDisclosedContracts = getProposedPaymentStreamDisclosedContracts;
|
|
9
|
-
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/
|
|
9
|
+
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/daml-js/paymentStreams-factory-contract-id.json"));
|
|
10
10
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
11
11
|
/**
|
|
12
12
|
* Get disclosed contracts for the factory contract Reads from the pre-generated factory contract data for the client's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosedContracts.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/disclosedContracts.ts"],"names":[],"mappings":";AAAA,4EAA4E;;;;;AAgB5E,oEA2BC;AAMD,gGA8BC;AA3ED
|
|
1
|
+
{"version":3,"file":"disclosedContracts.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/disclosedContracts.ts"],"names":[],"mappings":";AAAA,4EAA4E;;;;;AAgB5E,oEA2BC;AAMD,gGA8BC;AA3ED,wIAAoG;AACpG,2DAIwC;AAGxC;;;GAGG;AACH,SAAgB,4BAA4B,CAC1C,YAAiC;IAEjC,MAAM,OAAO,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;IAC1C,MAAM,WAAW,GAAG,iDAA2B,CAC7C,OAAmD,CACjB,CAAC;IAErC,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,2BAAkB,CAC1B,SAAS,EACT,gDAAgD,OAAO,KAAK;YAC1D,kEAAkE,EACpE,EAAE,IAAI,EAAE,sBAAa,CAAC,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,CAC/D,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,iBAAiB,EAAE,CAAC;QACnC,MAAM,IAAI,2BAAkB,CAC1B,2BAA2B,EAC3B,kDAAkD,OAAO,KAAK;YAC5D,yFAAyF,EAC3F,EAAE,IAAI,EAAE,sBAAa,CAAC,sBAAsB,EAAE,CAC/C,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;AACzC,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,0CAA0C,CAC9D,YAAiC,EACjC,+BAAuC,EACvC,MAAiB;IAEjB,MAAM,sBAAsB,GAAG,MAAM,YAAY,CAAC,qBAAqB,CAAC;QACtE,UAAU,EAAE,+BAA+B;QAC3C,MAAM,EAAE,MAAM,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;KAC9C,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,sBAAsB,CAAC,OAAO,EAAE,YAAY,CAAC;IAElE,IAAI,CAAC,YAAY,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,CAAC;QACrD,MAAM,IAAI,yBAAgB,CACxB,kCAAkC,+BAA+B,YAAY,EAC7E;YACE,UAAU,EAAE,+BAA+B;YAC3C,IAAI,EAAE,sBAAa,CAAC,kBAAkB;SACvC,CACF,CAAC;IACJ,CAAC;IAED,OAAO;QACL;YACE,UAAU,EAAE,YAAY,CAAC,UAAU;YACnC,UAAU,EAAE,YAAY,CAAC,UAAU;YACnC,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;YAC/C,cAAc,EAAE,sBAAsB,CAAC,OAAO,CAAC,cAAc;SAC9D;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.getFactoryContractId = getFactoryContractId;
|
|
8
|
-
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/
|
|
8
|
+
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/daml-js/paymentStreams-factory-contract-id.json"));
|
|
9
9
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
10
10
|
/**
|
|
11
11
|
* Get the paymentStream factory contract ID for a given network
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factoryContractId.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;AAwBlE,oDAiBC;AAtCD
|
|
1
|
+
{"version":3,"file":"factoryContractId.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;AAwBlE,oDAiBC;AAtCD,wIAAoG;AACpG,2DAGwC;AAUxC;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,OAAgB;IACnD,MAAM,MAAM,GACV,iDACD,CAAC,OAAO,CAAoC,CAAC;IAE9C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,2BAAkB,CAC1B,SAAS,EACT,4DAA4D,OAAO,EAAE,EACrE;YACE,IAAI,EAAE,sBAAa,CAAC,cAAc;YAClC,aAAa,EAAE,OAAO;SACvB,CACF,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/canton-fairmint-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"description": "Shared SDK utilities for Canton blockchain integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -51,14 +51,16 @@
|
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@fairmint/canton-node-sdk": "0.0.203",
|
|
54
|
-
"@fairmint/
|
|
55
|
-
"@open-captable-protocol
|
|
54
|
+
"@fairmint/daml-js": ">=0.1.1",
|
|
55
|
+
"@fairmint/open-captable-protocol-daml-js": ">=0.2.160 <0.3.0",
|
|
56
|
+
"@open-captable-protocol/canton": ">=0.5.0 <0.6.0"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"@eslint/eslintrc": "3.3.5",
|
|
59
60
|
"@fairmint/canton-node-sdk": "0.0.203",
|
|
61
|
+
"@fairmint/daml-js": "0.1.1",
|
|
60
62
|
"@fairmint/open-captable-protocol-daml-js": "0.2.161",
|
|
61
|
-
"@open-captable-protocol/canton": "0.
|
|
63
|
+
"@open-captable-protocol/canton": "0.5.3",
|
|
62
64
|
"@types/jest": "30.0.0",
|
|
63
65
|
"@types/node": "25.6.0",
|
|
64
66
|
"@types/pg": "8.20.0",
|