@thecorporation/cli 26.3.6 → 26.3.7
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/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1628,10 +1628,12 @@ async function transferSharesCommand(opts) {
|
|
|
1628
1628
|
if (!intentId) {
|
|
1629
1629
|
const intent = await client.createExecutionIntent({
|
|
1630
1630
|
entity_id: eid,
|
|
1631
|
-
intent_type: "
|
|
1631
|
+
intent_type: "equity.transfer.prepare",
|
|
1632
1632
|
description: `Transfer ${opts.shares} shares from ${opts.from} to ${opts.to}`
|
|
1633
1633
|
});
|
|
1634
1634
|
intentId = intent.intent_id ?? intent.id;
|
|
1635
|
+
await client.evaluateIntent(intentId, eid);
|
|
1636
|
+
await client.authorizeIntent(intentId, eid);
|
|
1635
1637
|
}
|
|
1636
1638
|
const body = {
|
|
1637
1639
|
entity_id: eid,
|
|
@@ -3233,7 +3235,7 @@ capTableCmd.command("issue-safe").requiredOption("--investor <name>", "Investor
|
|
|
3233
3235
|
const { issueSafeCommand: issueSafeCommand2 } = await Promise.resolve().then(() => (init_cap_table(), cap_table_exports));
|
|
3234
3236
|
await issueSafeCommand2({ ...opts, entityId: parent.entityId });
|
|
3235
3237
|
});
|
|
3236
|
-
capTableCmd.command("transfer").requiredOption("--from <id>", "Source contact ID (from_contact_id)").requiredOption("--to <id>", "Destination contact ID (to_contact_id)").requiredOption("--shares <n>", "Number of shares to transfer", parseInt).requiredOption("--share-class-id <id>", "Share class ID").requiredOption("--governing-doc-type <type>", "Governing
|
|
3238
|
+
capTableCmd.command("transfer").requiredOption("--from <id>", "Source contact ID (from_contact_id)").requiredOption("--to <id>", "Destination contact ID (to_contact_id)").requiredOption("--shares <n>", "Number of shares to transfer", parseInt).requiredOption("--share-class-id <id>", "Share class ID").requiredOption("--governing-doc-type <type>", "Governing doc type (bylaws, operating_agreement, shareholder_agreement, other)").requiredOption("--transferee-rights <rights>", "Transferee rights (full_member, economic_only, limited)").option("--prepare-intent-id <id>", "Prepare intent ID (auto-created if omitted)").option("--type <type>", "Transfer type (gift, trust_transfer, secondary_sale, estate, other)", "secondary_sale").option("--price-per-share-cents <n>", "Price per share in cents", parseInt).option("--relationship <rel>", "Relationship to holder").description("Create a share transfer workflow").action(async (opts, cmd) => {
|
|
3237
3239
|
const parent = cmd.parent.opts();
|
|
3238
3240
|
const { transferSharesCommand: transferSharesCommand2 } = await Promise.resolve().then(() => (init_cap_table(), cap_table_exports));
|
|
3239
3241
|
await transferSharesCommand2({ ...opts, entityId: parent.entityId });
|