common.ts defines the SDK’s shared read/write shapes and forwards a few @fairmint/canton-node-sdk types so apps avoid deep relative imports.
Key interfaces
ReadScopeParams— optionalreadAs?: string[]hint forwarded on mostget*AsOcf/readSingleContractpaths (document edge cases in source comments).GetByContractIdParams—contractId: string+ReadScopeParams.ContractResult<T>—{ readonly data: T; readonly contractId: string }for allOpenCapTable.*.getreaders.WithObjectType<T, OT>— intersection addingreadonly object_type: OTfor outputs.CommandWithDisclosedContracts(declared intypes/index.ts) —{ command: Command; disclosedContracts: DisclosedContract[] }.
Re-exports
Command, DisclosedContract, LedgerJsonApiClient, ValidatorApiClient, ClientConfig, SubmitAndWaitForTransactionTreeResponse.