@thecorporation/corp-tools 26.3.46 → 26.3.47

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/browser.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ type CapTableInstrument = {
2
+ instrument_id: string;
3
+ kind: string;
4
+ symbol: string;
5
+ status?: string;
6
+ };
1
7
  /** @deprecated Use specific generated types from api-schemas.ts instead */
2
8
  type ApiRecord = Record<string, unknown>;
3
9
  interface CreateEquityRoundRequest {
@@ -3448,13 +3454,6 @@ interface WrittenConsentArgs {
3448
3454
  }
3449
3455
  declare function writtenConsent(client: CorpAPIClient, args: WrittenConsentArgs): Promise<WorkflowResult>;
3450
3456
 
3451
- type CapTableInstrument = {
3452
- instrument_id: string;
3453
- kind: string;
3454
- symbol: string;
3455
- status?: string;
3456
- };
3457
-
3458
3457
  declare function normalizedGrantType(grantType: string): string;
3459
3458
  declare function expectedInstrumentKinds(grantType: string): string[];
3460
3459
  declare function grantRequiresCurrent409a(grantType: string, instrumentKind?: string): boolean;
package/dist/browser.js CHANGED
@@ -1166,6 +1166,11 @@ function expectedInstrumentKinds(grantType) {
1166
1166
  return ["option_grant"];
1167
1167
  case "rsa":
1168
1168
  return ["common_equity", "preferred_equity"];
1169
+ case "safe":
1170
+ case "post_money":
1171
+ case "pre_money":
1172
+ case "mfn":
1173
+ return ["safe"];
1169
1174
  default:
1170
1175
  return [];
1171
1176
  }