@capxul/sdk 4.20.0-beta.28 → 4.20.0-beta.29

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.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as CurrentUserMethods, $i as CheckoutReceipt, $n as TOKENS, $o as toCurrencyCode, $r as ActivitySummaryTotal, $t as DestinationKind, A as assetSymbolFor, Aa as AuthorityRef, Ai as PaymentDocumentOptionsSchema, An as OrganizationPaymentBatchInput, Ao as toPermissionAssignmentId, Ar as isSettingUpLifecycle, At as PermissionPolicyChange, B as CreateCapxulClientInput, Ba as InvitationView, Bi as fingerprintPaymentIntent, Bn as FinancialOpsMethods, Bo as PartyId, Br as ActivityAnnotation, Bt as InvitationSubscriptionOptions, C as OpenfortBrowserAuth, Ca as InvocationControls, Ci as PaymentSubscriptionOptions, Cn as PayRequestRegisteredInput, Co as PayrollGroupId, Cr as PayrollRunSnapshot, Ct as decodePermissionIntent, D as createOpenfortBrowserSigner, Da as OrganizationSetupSnapshot, Di as PaymentsPayOptions, Dn as ResolvedTarget, Do as PermissionId, Dr as Approval, Dt as PermissionCreateInput, Ea as OrganizationSetupPageInput, Ei as PaymentsPayInput, En as Ref, Eo as BudgetId, Er as PayrollRunDetail, Et as PermissionChangeInput, F as MoneyParseError, Fa as InvitationPage, Fi as PaymentDocumentRender, Fn as OfframpMethods, Fo as CountryCode, Fr as MeProfile, Ft as PermissionCommandSnapshot, G as UploadImageResult, Ga as SpendingScope, Gi as SignerStatusStore, Gn as CurrentHoldings, Go as Address, Gr as ActivityKind, Gt as OrgInvitations, H as IdentityRuntime, Ha as InviteInput, Hi as CapxulSigner, Hn as SmartAccountMethods, Ho as toPartyId, Hr as ActivityDetail, Ht as InviteOptions, I as MoneyParseErrorReason, Ia as InvitationPageInput, Ii as PaymentDocumentVerification, In as OfframpQuote, Io as TesterKind, Ir as ActivityPhase, It as PermissionCommandView, J as Destination$1, Ja as CurrentPolicy, Ji as AccountProviderSource, Jn as RateSource, Jo as Errors, Jr as ActivityPage, Jt as OrgMe, K as SystemHealth, Ka as PermissionReplacementPreview, Ki as injectedWalletSigner, Kn as AccountsMethods, Ko as EVM_ADDRESS_RE, Kr as ActivityListParams, Kt as OwnInvitationsMethod, L as isMoneyParseError, La as InvitationPhase, Li as PAYMENT_DIRECTIONS, Ln as OfframpQuoteInput, Lo as toCountryCode, Lr as inboxPhase, Lt as SubmittedPermissionExecution, M as parseAssetAmount, Ma as GranteeRef, Mi as SupportingReceiptInput, Mn as OrganizationPaymentItemInput, Mo as Account, Mr as DepositInstructions, Mt as PermissionReadResult, N as requireAsset, Na as InvitationAcceptInput, Ni as PaymentDocumentDownload, Nn as OrganizationPaymentRetryPreview, No as AccountId, Nr as Home, Nt as PermissionReplaceInput, O as CAPXUL_PAYMENTS_V2_ADDRESS, Oa as SetupIssue, Oi as InvoiceDraft, On as TargetReference, Oo as RoleKey, Or as AccountLifecycle, Ot as PermissionMethods, P as toRaw, Pa as InvitationId, Pi as PaymentDocumentReadRef, Pn as OrganizationPaymentsMethods, Po as toAccountId, Pr as MeMethods, Pt as PermissionRevokeInput, Q as CurrentUserContext, Qi as localPrivateKeyAccountProvider, Qn as AssetMetadata, Qo as toAssetId, Qr as ActivitySummaryParams, Qt as DestinationAddInput, R as parseMoney, Ra as InvitationRecovery, Ri as PAYMENT_STATUSES, Rn as OfframpStatus, Ro as HANDLE_RE, Rr as paymentPhase, Rt as PermissionIntent, S as devPrivateKeySigner, Sa as RequestPaymentTerms, Si as PaymentStatus, Sn as PayInvoiceRegisteredInput, So as toOrgId, Sr as PayrollTermsUnit, St as RoleView, T as OpenfortBrowserSignerBootstrap, Ta as OrganizationSetupPage, Ti as PaymentType, Tn as RecipientResolution, To as toPayrollGroupId, Tr as PayrollGroupInputSchema, Tt as PermissionAssignmentEffect, U as IdentityRuntimeSendResult, Ua as InvitePreview, Ui as Eip1193RequestProvider, Un as positionPeg, Uo as AuthSession, Ur as ActivityFilter, Ut as InvitePrepared, V as IdentityProfileDetails, Va as InviteGrant, Vi as CapxulDigestSigner, Vn as SmartAccount, Vo as toHandle, Vr as ActivityAnnotationInput, Vt as InviteMethod, W as MediaMethods, Wa as OfferedAuthority, Wi as SignerStatus, Wn as HoldingsMethods, Wo as AuthUserId, Wr as ActivityItem, Wt as InvitePreviewInput, X as isClaimed, Xi as Eip1193Provider, Xn as valueActivitySummary, Xo as AssetId, Xr as ActivityReference, Xt as OrgMeOptions, Y as destination, Ya as Permission, Yi as AccountRequirement, Yn as Valuation, Yo as AssetAmount, Yr as ActivityRange, Yt as OrgMeMethod, Z as isRestoring, Zi as eip1193AccountProvider, Zn as valueIn, Zo as Money, Zr as ActivitySummary, Zt as Destination, _ as OpenfortEmbeddedWalletApi, _a as RequestCheckoutPreparation, _i as PaymentDocumentKind, _n as InboxFulfillOptions, _o as CapxulResult, _r as PayrollOptions, _t as OrgView, a as captureException, aa as OfferCheckout, ai as OrganizationOnboarding, an as ActorProfile, ao as normalizeCapxulOperation, ar as PayrollRunApprovalInput, as as ChainUpstream, at as IdentityEvent, b as DevPrivateKeySignerInput, ba as RequestCheckoutSummary, bi as PaymentPrepared, bn as CheckoutsMethods, bo as ORGANIZATION_SETUP_REASONS, br as PayrollRunStatus, bt as OrganizationAuditLogItem, c as createCapxulClient, ca as PreparedOfferCheckoutExecution, ci as PersonOnboarding, cn as AddressBookAddInput, co as ObservationAdapter, cr as decodePayrollRunInput, cs as FailureMode, ct as OrgLane, d as PostHogObservabilityClient, da as InvoiceCheckoutState, di as CompleteProfileInput, dn as AddressBookMethods, do as SdkFailureObservation, dr as PayrollEngagementTerms, ds as EXPECTED_OPERATION_OUTCOMES, dt as AssignmentProjection, ea as CheckoutReconciliation, ei as MovementActivityEvidence, en as DestinationListInput, eo as TelemetryPort, er as ApprovalInput, es as CapxulError, et as AuthMethods, f as PostHogObservabilityOptions, fa as InvoiceCheckoutSummary, fi as IdentityMethods, fn as ActorRequest, fr as PayrollGroup, ft as MemberIdentityProjection, g as openfortEmbeddedSignerFromWallet, ga as PreparedRequestCheckoutExecution, gi as PaymentDirection, gn as InboxApproveInput, go as ActorReference, gr as PayrollMethods, gt as OrgScopedMethods, h as embeddedSigner, ha as PreparedInvoiceCheckoutExecution, hi as Payment, hn as OffersMethods, hr as PayrollGroupsMethods, ht as OrgMethods, i as HandledErrorReportContext, ia as FixedOfferDraftSchema, ii as OnboardingMethods, in as DestinationsMethods, io as isCapxulOperation, ir as OrganizationApprovalInput, is as ChainCause, it as ClientRequestView, j as formatAssetAmount, ja as EndingReason, ji as PaymentInstructionInput, jn as OrganizationPaymentInput, jo as toPermissionId, jr as AccountMethods, jt as PermissionPrepared, k as formatMoney, ka as Unsubscribe, ki as PaymentDocumentOptions, kn as TargetsMethods, ko as toBudgetId, kr as AccountSetupStep, kt as PermissionOptions, l as CapxulClientInput, la as InvoiceCheckoutPreparation, li as PersonOnboardingInput, ln as AddressBookEntry, lo as ObservationContext, lr as AuthorizeRunInput, ls as CAPXUL_ERROR_CODES, lt as Readiness, m as OpenfortEmbeddedSignerInput, ma as PrepareRequestCheckoutExecutionInput, mi as PayoutAddress, mn as ActorRequestsMethods, mr as PayrollGroupMember, mt as MemberView, n as checkoutUrl, na as FixedOffer, ni as PaymentDocumentsMethods, nn as DestinationRail, no as CapxulOperation, nr as ApprovalWaitOptions, ns as isCapxulError, nt as AccountSetupPolicy, o as captureExceptionSync, oa as OfferCheckoutPreparation, oi as OrganizationOnboardingInput, on as ActorProfileMethods, or as RequestApprovalInput, os as RevertSummary, ot as IdentityTransition, p as postHogObservability, pa as PrepareInvoiceCheckoutExecutionInput, pi as Profile, pn as ActorRequestIssueInput, pr as PayrollGroupInput, pt as MemberStatus, q as SystemMethods, qa as BudgetIntent, qi as AccountProvider, qn as Rate, qo as toAddress, qr as ActivityMethods, qt as Budget, r as LineItemV3, ra as FixedOfferDraft, ri as CompletedPersonProfile, rn as DestinationRemoveInput, ro as NormalizedCapxulOperation, rr as ApprovalsMethods, rs as CHAIN_UPSTREAMS, rt as ClientRequests, s as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, sa as PrepareOfferCheckoutExecutionInput, si as OrganizationOnboardingOptions, sn as ActorRelationshipMethods, sr as RetryApprovalInput, ss as FAILURE_MODES, st as IdentityState, t as CheckoutLinkReference, ta as CheckoutState, ti as PaymentActivityEvidence, tn as DestinationPayload, to as CAPXUL_OPERATIONS, tr as ApprovalOutcome, ts as CapxulErrorDetails, tt as Session, u as HostObservability, ua as InvoiceCheckoutReconciliation, ui as ReadyAccountLifecycle, un as AddressBookLabelInput, uo as ObservationDelivery, ur as AuthorizeRunOptions, us as CapxulErrorCode, ut as StateLabel, v as OpenfortEmbeddedWalletPort, va as RequestCheckoutReconciliation, vi as PaymentDocumentRef, vn as InboxItem, vo as OperationResult, vr as PayrollRun, vt as OrganizationAccess, w as OpenfortBrowserSigner, wa as OrganizationSetup, wi as PaymentTiming, wn as isCheckoutSettlementConsumed, wo as PayrollRunId, wr as PayrollGroupIdSchema, wt as PermissionAssignInput, x as deriveDevPrivateKey, xa as RequestPaymentConfirmation, xi as PaymentSnapshot, xn as CreateOfferCheckoutInput, xo as OrgId, xr as PayrollRuns, xt as RoleDefinition, y as openfortEmbeddedWalletPort, ya as RequestCheckoutState, yi as PaymentMoney, yn as InboxMethods, yo as Page, yr as PayrollRunItemInput, yt as OrganizationAccount, z as CapxulClient, za as InvitationTarget, zi as ActorRef, zn as PaymentsMethods, zo as Handle, zr as requestPhase, zt as InvitationSnapshot } from "./index-V6HIBbMr.mjs";
2
- export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupPolicy, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type Approval, type ApprovalInput, type ApprovalOutcome, type ApprovalWaitOptions, type ApprovalsMethods, type AssetAmount, type AssetId, type AssetMetadata, type AssignmentProjection, type AuthMethods, type AuthSession, type AuthUserId, type AuthorityRef, type AuthorizeRunInput, type AuthorizeRunOptions, type Budget, type BudgetId, type BudgetIntent, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CheckoutLinkReference, type CheckoutReceipt, type CheckoutReconciliation, type CheckoutState, type CheckoutsMethods, type ClientRequestView, type ClientRequests, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOfferCheckoutInput, type CurrentHoldings, type CurrentPolicy, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, type Eip1193Provider, type Eip1193RequestProvider, type EndingReason, Errors, FAILURE_MODES, type FailureMode, type FinancialOpsMethods, type FixedOffer, type FixedOfferDraft, FixedOfferDraftSchema, type GranteeRef, HANDLE_RE, type Handle, type HandledErrorReportContext, type HoldingsMethods, type Home, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxFulfillOptions, type InboxItem, type InboxMethods, type InvitationAcceptInput, type InvitationId, type InvitationPage, type InvitationPageInput, type InvitationPhase, type InvitationRecovery, type InvitationSnapshot, type InvitationSubscriptionOptions, type InvitationTarget, type InvitationView, type InviteGrant, type InviteInput, type InviteMethod, type InviteOptions, type InvitePrepared, type InvitePreview, type InvitePreviewInput, type InvocationControls, type InvoiceCheckoutPreparation, type InvoiceCheckoutReconciliation, type InvoiceCheckoutState, type InvoiceCheckoutSummary, type InvoiceDraft, type LineItemV3, type MeMethods, type MeProfile, type MediaMethods, type MemberIdentityProjection, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, ORGANIZATION_SETUP_REASONS, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfferCheckout, type OfferCheckoutPreparation, type OfferedAuthority, type OffersMethods, type OfframpMethods, type OfframpQuote, type OfframpQuoteInput, type OfframpStatus, type OnboardingMethods, type OpenfortBrowserAuth, type OpenfortBrowserSigner, type OpenfortBrowserSignerBootstrap, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OperationResult, type OrgId, type OrgInvitations, type OrgLane, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgView, type OrganizationAccess, type OrganizationAccount, type OrganizationApprovalInput, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationOnboardingOptions, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentRetryPreview, type OrganizationPaymentsMethods, type OrganizationSetup, type OrganizationSetupPage, type OrganizationSetupPageInput, type OrganizationSetupSnapshot, type OwnInvitationsMethod, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, type Page, type PartyId, type PayInvoiceRegisteredInput, type PayRequestRegisteredInput, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentDownload, type PaymentDocumentKind, type PaymentDocumentOptions, PaymentDocumentOptionsSchema, type PaymentDocumentReadRef, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentInstructionInput, type PaymentMoney, type PaymentPrepared, type PaymentSnapshot, type PaymentStatus, type PaymentSubscriptionOptions, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PaymentsPayOptions, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, PayrollGroupIdSchema, type PayrollGroupInput, PayrollGroupInputSchema, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunApprovalInput, type PayrollRunDetail, type PayrollRunId, type PayrollRunItemInput, type PayrollRunSnapshot, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionAssignInput, type PermissionAssignmentEffect, type PermissionChangeInput, type PermissionCommandSnapshot, type PermissionCommandView, type PermissionCreateInput, type PermissionId, type PermissionIntent, type PermissionMethods, type PermissionOptions, type PermissionPolicyChange, type PermissionPrepared, type PermissionReadResult, type PermissionReplaceInput, type PermissionReplacementPreview, type PermissionRevokeInput, type PersonOnboarding, type PersonOnboardingInput, type PostHogObservabilityClient, type PostHogObservabilityOptions, type PrepareInvoiceCheckoutExecutionInput, type PrepareOfferCheckoutExecutionInput, type PrepareRequestCheckoutExecutionInput, type PreparedInvoiceCheckoutExecution, type PreparedOfferCheckoutExecution, type PreparedRequestCheckoutExecution, type Profile, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type Ref, type RequestApprovalInput, type RequestCheckoutPreparation, type RequestCheckoutReconciliation, type RequestCheckoutState, type RequestCheckoutSummary, type RequestPaymentConfirmation, type RequestPaymentTerms, type ResolvedTarget, type RetryApprovalInput, type RevertSummary, type RoleDefinition, type RoleKey, type RoleView, type SdkFailureObservation, type Session, type SetupIssue, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type SpendingScope, type StateLabel, type SubmittedPermissionExecution, type SupportingReceiptInput, type SystemHealth, type SystemMethods, TOKENS, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Unsubscribe, type UploadImageResult, type Valuation, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn };
1
+ import { $ as CurrentUserMethods, $a as BudgetIntent, $i as AccountProvider, $n as PermissionPolicyChange, $o as toAddress, $r as ActivityMethods, $t as OffersMethods, A as assetSymbolFor, Aa as OrganizationSetup, Ai as PaymentTiming, An as AccountsMethods, Ao as PayrollRunId, Ar as PayrollGroupIdSchema, At as OwnInvitationsMethod, B as CreateCapxulClientInput, Ba as InvitationId, Bi as PaymentDocumentReadRef, Bn as ApprovalWaitOptions, Bo as toAccountId, Br as MeMethods, Bt as DestinationRail, C as OpenfortBrowserAuth, Ca as RequestCheckoutPreparation, Ci as PaymentDocumentKind, Cn as PaymentsMethods, Co as CapxulResult, Cr as PayrollOptions, Ct as InvitationSnapshot, D as createOpenfortBrowserSigner, Da as RequestPaymentConfirmation, Di as PaymentSnapshot, Dn as positionPeg, Do as OrgId, Dr as PayrollRuns, Dt as InvitePrepared, Ea as RequestCheckoutSummary, Ei as PaymentPrepared, En as SmartAccountMethods, Eo as ORGANIZATION_SETUP_REASONS, Er as PayrollRunStatus, Et as InviteOptions, F as MoneyParseError, Fa as Unsubscribe, Fi as PaymentDocumentOptions, Fn as valueIn, Fo as toBudgetId, Fr as AccountSetupStep, Ft as Destination, G as UploadImageResult, Ga as InvitationTarget, Gi as ActorRef, Gn as decodePermissionIntent, Go as Handle, Gr as requestPhase, Gt as ActorRelationshipMethods, H as IdentityRuntime, Ha as InvitationPageInput, Hi as PaymentDocumentVerification, Hn as InvitationApprovalInput, Ho as TesterKind, Hr as ActivityPhase, Ht as DestinationsMethods, I as MoneyParseErrorReason, Ia as AuthorityRef, Ii as PaymentDocumentOptionsSchema, In as AssetMetadata, Io as toPermissionAssignmentId, Ir as isSettingUpLifecycle, It as DestinationAddInput, J as Destination$1, Ja as InviteInput, Ji as CapxulSigner, Jn as PermissionAssignmentEffect, Jo as toPartyId, Jr as ActivityDetail, Jt as AddressBookLabelInput, K as SystemHealth, Ka as InvitationView, Ki as fingerprintPaymentIntent, Kn as BudgetLeft, Ko as PartyId, Kr as ActivityAnnotation, Kt as AddressBookAddInput, L as isMoneyParseError, La as EndingReason, Li as PaymentInstructionInput, Ln as TOKENS, Lo as toPermissionId, Lr as AccountMethods, Lt as DestinationKind, M as parseAssetAmount, Ma as OrganizationSetupPageInput, Mi as PaymentsPayInput, Mn as RateSource, Mo as BudgetId, Mr as PayrollRunDetail, Mt as OrgMe, N as requireAsset, Na as OrganizationSetupSnapshot, Ni as PaymentsPayOptions, Nn as Valuation, No as PermissionId, Nr as Approval, Nt as OrgMeMethod, O as CAPXUL_PAYMENTS_V2_ADDRESS, Oa as RequestPaymentTerms, Oi as PaymentStatus, On as HoldingsMethods, Oo as toOrgId, Or as PayrollTermsUnit, Ot as InvitePreviewInput, P as toRaw, Pa as SetupIssue, Pi as InvoiceDraft, Pn as valueActivitySummary, Po as RoleKey, Pr as AccountLifecycle, Pt as OrgMeOptions, Q as CurrentUserContext, Qa as PermissionReplacementPreview, Qi as injectedWalletSigner, Qn as PermissionOptions, Qo as EVM_ADDRESS_RE, Qr as ActivityListParams, Qt as ActorRequestsMethods, R as parseMoney, Ra as GranteeRef, Ri as SupportingReceiptInput, Rn as ApprovalInput, Ro as Account, Rr as DepositInstructions, Rt as DestinationListInput, S as devPrivateKeySigner, Sa as PreparedRequestCheckoutExecution, Si as PaymentDirection, Sn as OfframpStatus, So as ActorReference, Sr as PayrollMethods, St as RoleView, T as OpenfortBrowserSignerBootstrap, Ta as RequestCheckoutState, Ti as PaymentMoney, Tn as SmartAccount, To as Page, Tr as PayrollRunItemInput, Tt as InviteMethod, U as IdentityRuntimeSendResult, Ua as InvitationPhase, Ui as PAYMENT_DIRECTIONS, Un as PermissionApprovalInput, Uo as toCountryCode, Ur as inboxPhase, Ut as ActorProfile, V as IdentityProfileDetails, Va as InvitationPage, Vi as PaymentDocumentRender, Vn as ApprovalsMethods, Vo as CountryCode, Vr as MeProfile, Vt as DestinationRemoveInput, W as MediaMethods, Wa as InvitationRecovery, Wi as PAYMENT_STATUSES, Wn as PermissionWrite, Wo as HANDLE_RE, Wr as paymentPhase, Wt as ActorProfileMethods, X as isClaimed, Xa as OfferedAuthority, Xi as SignerStatus, Xn as PermissionCreateInput, Xo as AuthUserId, Xr as ActivityItem, Xt as ActorRequest, Y as destination, Ya as InvitePreview, Yi as Eip1193RequestProvider, Yn as PermissionChangeInput, Yo as AuthSession, Yr as ActivityFilter, Yt as AddressBookMethods, Z as isRestoring, Za as SpendingScope, Zi as SignerStatusStore, Zn as PermissionMethods, Zo as Address, Zr as ActivityKind, Zt as ActorRequestIssueInput, _ as OpenfortEmbeddedWalletApi, _a as InvoiceCheckoutState, _i as CompleteProfileInput, _n as OrganizationPaymentRetryPreview, _o as SdkFailureObservation, _r as PayrollEngagementTerms, _s as EXPECTED_OPERATION_OUTCOMES, _t as OrgView, a as captureException, aa as CheckoutReceipt, ai as ActivitySummaryTotal, an as CreateOfferCheckoutInput, ar as PermissionCommandView, as as toCurrencyCode, at as IdentityEvent, b as DevPrivateKeySignerInput, ba as PrepareRequestCheckoutExecutionInput, bi as PayoutAddress, bn as OfframpQuote, br as PayrollGroupMember, bt as OrganizationAuditLogItem, c as createCapxulClient, ca as FixedOffer, ci as PaymentDocumentsMethods, cn as isCheckoutSettlementConsumed, co as CapxulOperation, cr as OrganizationApprovalInput, cs as isCapxulError, ct as OrgLane, d as PostHogObservabilityClient, da as OfferCheckout, di as OrganizationOnboarding, dn as ResolvedTarget, do as normalizeCapxulOperation, dr as RedirectApprovalInput, ds as ChainUpstream, dt as AssignmentProjection, ea as AccountProviderSource, ei as ActivityPage, en as InboxApproveInput, eo as CurrentPolicy, er as PermissionPrepared, es as Errors, et as AuthMethods, f as PostHogObservabilityOptions, fa as OfferCheckoutPreparation, fi as OrganizationOnboardingInput, fn as TargetReference, fr as RequestApprovalInput, fs as RevertSummary, ft as MemberIdentityProjection, g as openfortEmbeddedSignerFromWallet, ga as InvoiceCheckoutReconciliation, gi as ReadyAccountLifecycle, gn as OrganizationPaymentItemInput, go as ObservationDelivery, gr as AuthorizeRunOptions, gs as CapxulErrorCode, gt as OrgScopedMethods, h as embeddedSigner, ha as InvoiceCheckoutPreparation, hi as PersonOnboardingInput, hn as OrganizationPaymentInput, ho as ObservationContext, hr as AuthorizeRunInput, hs as CAPXUL_ERROR_CODES, ht as OrgMethods, i as HandledErrorReportContext, ia as localPrivateKeyAccountProvider, ii as ActivitySummaryParams, in as CheckoutsMethods, ir as PermissionCommandSnapshot, is as toAssetId, it as ClientRequestView, j as formatAssetAmount, ja as OrganizationSetupPage, ji as PaymentType, jn as Rate, jo as toPayrollGroupId, jr as PayrollGroupInputSchema, jt as Budget, k as formatMoney, ka as InvocationControls, ki as PaymentSubscriptionOptions, kn as CurrentHoldings, ko as PayrollGroupId, kr as PayrollRunSnapshot, kt as OrgInvitations, l as CapxulClientInput, la as FixedOfferDraft, li as CompletedPersonProfile, ln as RecipientResolution, lo as NormalizedCapxulOperation, lr as CancelApprovalInput, ls as CHAIN_UPSTREAMS, lt as Readiness, m as OpenfortEmbeddedSignerInput, ma as PreparedOfferCheckoutExecution, mi as PersonOnboarding, mn as OrganizationPaymentBatchInput, mo as ObservationAdapter, mr as decodePayrollRunInput, ms as FailureMode, mt as MemberView, n as checkoutUrl, na as Eip1193Provider, ni as ActivityReference, nn as InboxItem, nr as PermissionReplaceInput, ns as AssetId, nt as AccountSetupPolicy, o as captureExceptionSync, oa as CheckoutReconciliation, oi as MovementActivityEvidence, on as PayInvoiceRegisteredInput, oo as TelemetryPort, or as SubmittedPermissionExecution, os as CapxulError, ot as IdentityTransition, p as postHogObservability, pa as PrepareOfferCheckoutExecutionInput, pi as OrganizationOnboardingOptions, pn as TargetsMethods, pr as RetryApprovalInput, ps as FAILURE_MODES, pt as MemberStatus, q as SystemMethods, qa as InviteGrant, qi as CapxulDigestSigner, qn as PermissionAssignInput, qo as toHandle, qr as ActivityAnnotationInput, qt as AddressBookEntry, r as LineItemV3, ra as eip1193AccountProvider, ri as ActivitySummary, rn as InboxMethods, rr as PermissionRevokeInput, rs as Money, rt as ClientRequests, s as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, sa as CheckoutState, si as PaymentActivityEvidence, sn as PayRequestRegisteredInput, so as CAPXUL_OPERATIONS, sr as PermissionIntent, ss as CapxulErrorDetails, st as IdentityState, t as CheckoutLinkReference, ta as AccountRequirement, ti as ActivityRange, tn as InboxFulfillOptions, to as Permission, tr as PermissionReadResult, ts as AssetAmount, tt as Session, u as HostObservability, ua as FixedOfferDraftSchema, ui as OnboardingMethods, un as Ref, uo as isCapxulOperation, ur as PayrollRunApprovalInput, us as ChainCause, ut as StateLabel, v as OpenfortEmbeddedWalletPort, va as InvoiceCheckoutSummary, vi as IdentityMethods, vn as OrganizationPaymentsMethods, vr as PayrollGroup, vt as OrganizationAccess, w as OpenfortBrowserSigner, wa as RequestCheckoutReconciliation, wi as PaymentDocumentRef, wn as FinancialOpsMethods, wo as OperationResult, wr as PayrollRun, wt as InvitationSubscriptionOptions, x as deriveDevPrivateKey, xa as PreparedInvoiceCheckoutExecution, xi as Payment, xn as OfframpQuoteInput, xr as PayrollGroupsMethods, xt as RoleDefinition, y as openfortEmbeddedWalletPort, ya as PrepareInvoiceCheckoutExecutionInput, yi as Profile, yn as OfframpMethods, yr as PayrollGroupInput, yt as OrganizationAccount, z as CapxulClient, za as InvitationAcceptInput, zi as PaymentDocumentDownload, zn as ApprovalOutcome, zo as AccountId, zr as Home, zt as DestinationPayload } from "./index-plOHwp7D.mjs";
2
+ export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupPolicy, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type Approval, type ApprovalInput, type ApprovalOutcome, type ApprovalWaitOptions, type ApprovalsMethods, type AssetAmount, type AssetId, type AssetMetadata, type AssignmentProjection, type AuthMethods, type AuthSession, type AuthUserId, type AuthorityRef, type AuthorizeRunInput, type AuthorizeRunOptions, type Budget, type BudgetId, type BudgetIntent, type BudgetLeft, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CancelApprovalInput, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CheckoutLinkReference, type CheckoutReceipt, type CheckoutReconciliation, type CheckoutState, type CheckoutsMethods, type ClientRequestView, type ClientRequests, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOfferCheckoutInput, type CurrentHoldings, type CurrentPolicy, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, type Eip1193Provider, type Eip1193RequestProvider, type EndingReason, Errors, FAILURE_MODES, type FailureMode, type FinancialOpsMethods, type FixedOffer, type FixedOfferDraft, FixedOfferDraftSchema, type GranteeRef, HANDLE_RE, type Handle, type HandledErrorReportContext, type HoldingsMethods, type Home, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxFulfillOptions, type InboxItem, type InboxMethods, type InvitationAcceptInput, type InvitationApprovalInput, type InvitationId, type InvitationPage, type InvitationPageInput, type InvitationPhase, type InvitationRecovery, type InvitationSnapshot, type InvitationSubscriptionOptions, type InvitationTarget, type InvitationView, type InviteGrant, type InviteInput, type InviteMethod, type InviteOptions, type InvitePrepared, type InvitePreview, type InvitePreviewInput, type InvocationControls, type InvoiceCheckoutPreparation, type InvoiceCheckoutReconciliation, type InvoiceCheckoutState, type InvoiceCheckoutSummary, type InvoiceDraft, type LineItemV3, type MeMethods, type MeProfile, type MediaMethods, type MemberIdentityProjection, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, ORGANIZATION_SETUP_REASONS, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfferCheckout, type OfferCheckoutPreparation, type OfferedAuthority, type OffersMethods, type OfframpMethods, type OfframpQuote, type OfframpQuoteInput, type OfframpStatus, type OnboardingMethods, type OpenfortBrowserAuth, type OpenfortBrowserSigner, type OpenfortBrowserSignerBootstrap, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OperationResult, type OrgId, type OrgInvitations, type OrgLane, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgView, type OrganizationAccess, type OrganizationAccount, type OrganizationApprovalInput, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationOnboardingOptions, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentRetryPreview, type OrganizationPaymentsMethods, type OrganizationSetup, type OrganizationSetupPage, type OrganizationSetupPageInput, type OrganizationSetupSnapshot, type OwnInvitationsMethod, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, type Page, type PartyId, type PayInvoiceRegisteredInput, type PayRequestRegisteredInput, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentDownload, type PaymentDocumentKind, type PaymentDocumentOptions, PaymentDocumentOptionsSchema, type PaymentDocumentReadRef, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentInstructionInput, type PaymentMoney, type PaymentPrepared, type PaymentSnapshot, type PaymentStatus, type PaymentSubscriptionOptions, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PaymentsPayOptions, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, PayrollGroupIdSchema, type PayrollGroupInput, PayrollGroupInputSchema, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunApprovalInput, type PayrollRunDetail, type PayrollRunId, type PayrollRunItemInput, type PayrollRunSnapshot, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionApprovalInput, type PermissionAssignInput, type PermissionAssignmentEffect, type PermissionChangeInput, type PermissionCommandSnapshot, type PermissionCommandView, type PermissionCreateInput, type PermissionId, type PermissionIntent, type PermissionMethods, type PermissionOptions, type PermissionPolicyChange, type PermissionPrepared, type PermissionReadResult, type PermissionReplaceInput, type PermissionReplacementPreview, type PermissionRevokeInput, type PermissionWrite, type PersonOnboarding, type PersonOnboardingInput, type PostHogObservabilityClient, type PostHogObservabilityOptions, type PrepareInvoiceCheckoutExecutionInput, type PrepareOfferCheckoutExecutionInput, type PrepareRequestCheckoutExecutionInput, type PreparedInvoiceCheckoutExecution, type PreparedOfferCheckoutExecution, type PreparedRequestCheckoutExecution, type Profile, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type RedirectApprovalInput, type Ref, type RequestApprovalInput, type RequestCheckoutPreparation, type RequestCheckoutReconciliation, type RequestCheckoutState, type RequestCheckoutSummary, type RequestPaymentConfirmation, type RequestPaymentTerms, type ResolvedTarget, type RetryApprovalInput, type RevertSummary, type RoleDefinition, type RoleKey, type RoleView, type SdkFailureObservation, type Session, type SetupIssue, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type SpendingScope, type StateLabel, type SubmittedPermissionExecution, type SupportingReceiptInput, type SystemHealth, type SystemMethods, TOKENS, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Unsubscribe, type UploadImageResult, type Valuation, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn };
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import { d as devPrivateKeySigner, f as createOpenfortBrowserSigner, g as decodePermissionIntent, h as openfortEmbeddedWalletPort, i as postHogObservability, m as openfortEmbeddedSignerFromWallet, p as embeddedSigner, t as createCapxulClient$1, u as deriveDevPrivateKey } from "./production-CoxgepCr.mjs";
2
- import { $ as parseAssetAmount, $t as isSettingUpLifecycle, Bt as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, Cn as EXCEPTION_EVENT_NAME, Dn as normalizeCapxulOperation, Dr as toCurrencyCode, En as isCapxulOperation, Er as toAssetId, Et as TOKENS, F as decodePayrollRunInput, Fi as Errors, I as toPayrollGroupId, Ii as CapxulError, Jt as normalizeExceptionErrorKind, Kt as EXCEPTION_MESSAGE, Li as isCapxulError, Ln as PayrollGroupIdSchema, Q as formatAssetAmount, Ri as FAILURE_MODES, Rn as PayrollGroupInputSchema, Rt as failureDetail, S as valueIn, Sr as toPermissionId, Tn as CAPXUL_OPERATIONS, Tr as currencySymbolFor, Xr as CAPXUL_ERROR_CODES, Xt as projectSdkException, Yn as CHAIN_UPSTREAMS, Yt as normalizeExceptionOperation, Z as assetSymbolFor, Zn as toOrgId, Zr as EXPECTED_OPERATION_OUTCOMES, Zt as safeExceptionLabel, _r as PAYMENT_STATUSES, a as paymentPhase, at as fingerprintPaymentIntent, br as toBudgetId, cn as resolveFailureMode, dn as toCountryCode, et as requireAsset, gn as toPartyId, gr as PAYMENT_DIRECTIONS, hn as toHandle, i as inboxPhase, jr as toAddress, kr as EVM_ADDRESS_RE, lr as toAccountId, mn as HANDLE_RE, nn as injectedWalletSigner, nt as isMoneyParseError, o as requestPhase, q as isCheckoutSettlementConsumed, qn as ORGANIZATION_SETUP_REASONS, qt as SDK_VERSION, rt as parseMoney, sn as signerFailure, tt as toRaw, ur as PaymentDocumentOptionsSchema, wt as CAPXUL_PAYMENTS_V2_ADDRESS, x as valueActivitySummary, xr as toPermissionAssignmentId, y as positionPeg, zn as FixedOfferDraftSchema } from "./access-SP-ur4Ku.mjs";
1
+ import { p as decodePermissionIntent } from "./organizations-DD_-B2Ed.mjs";
2
+ import { $ as formatAssetAmount, Ar as EVM_ADDRESS_RE, Bn as FixedOfferDraftSchema, Cr as toPermissionId, Dn as isCapxulOperation, Dr as toAssetId, Dt as TOKENS, En as CAPXUL_OPERATIONS, Er as currencySymbolFor, F as decodePayrollRunInput, I as toPayrollGroupId, Ii as Errors, Jn as ORGANIZATION_SETUP_REASONS, Jt as SDK_VERSION, Li as CapxulError, Mr as toAddress, On as normalizeCapxulOperation, Or as toCurrencyCode, Q as assetSymbolFor, Qn as toOrgId, Qr as EXPECTED_OPERATION_OUTCOMES, Qt as safeExceptionLabel, Ri as isCapxulError, Rn as PayrollGroupIdSchema, S as valueIn, Sr as toPermissionAssignmentId, Tt as CAPXUL_PAYMENTS_V2_ADDRESS, Vt as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, Xn as CHAIN_UPSTREAMS, Xt as normalizeExceptionOperation, Yt as normalizeExceptionErrorKind, Zr as CAPXUL_ERROR_CODES, Zt as projectSdkException, _n as toPartyId, _r as PAYMENT_DIRECTIONS, a as paymentPhase, cn as signerFailure, dr as PaymentDocumentOptionsSchema, en as isSettingUpLifecycle, et as parseAssetAmount, fn as toCountryCode, gn as toHandle, hn as HANDLE_RE, i as inboxPhase, it as parseMoney, ln as resolveFailureMode, nt as toRaw, o as requestPhase, ot as fingerprintPaymentIntent, q as isCheckoutSettlementConsumed, qt as EXCEPTION_MESSAGE, rn as injectedWalletSigner, rt as isMoneyParseError, tt as requireAsset, ur as toAccountId, vr as PAYMENT_STATUSES, wn as EXCEPTION_EVENT_NAME, x as valueActivitySummary, xr as toBudgetId, y as positionPeg, zi as FAILURE_MODES, zn as PayrollGroupInputSchema, zt as failureDetail } from "./access-wvksqkgT.mjs";
3
+ import { d as devPrivateKeySigner, f as createOpenfortBrowserSigner, h as openfortEmbeddedWalletPort, i as postHogObservability, m as openfortEmbeddedSignerFromWallet, p as embeddedSigner, t as createCapxulClient$1, u as deriveDevPrivateKey } from "./production-CmLh00HY.mjs";
3
4
  import { Effect } from "effect";
4
5
  import { privateKeyToAccount } from "viem/accounts";
5
6
  //#region src/access/identity/selectors.ts
@@ -1,4 +1,4 @@
1
- import { Hi as CapxulSigner, Uo as AuthSession, fo as AuthCacheError, ho as CachedJwt, mo as AuthCachePortTag, oo as OAuthBearerAuthClientInput, po as AuthCachePort, so as oauthBearerAuthClient } from "../index-V6HIBbMr.mjs";
1
+ import { Ji as CapxulSigner, Yo as AuthSession, bo as AuthCachePortTag, fo as OAuthBearerAuthClientInput, po as oauthBearerAuthClient, vo as AuthCacheError, xo as CachedJwt, yo as AuthCachePort } from "../index-plOHwp7D.mjs";
2
2
  import { Effect, FileSystem, Layer, Path } from "effect";
3
3
  import { Hex } from "viem";
4
4
  //#region src/access/auth-cache/file-system.d.ts
@@ -1,4 +1,4 @@
1
- import { Bi as isRecord, Ci as globalLocalStorage, Di as parseCachedJwt, Ei as parseAuthSession, Hi as AuthCacheError, Ti as BrowserAuthCacheAdapter, Ui as AuthCachePortTag, jr as toAddress, ti as oauthBearerAuthClient, wi as InMemoryAuthCacheAdapter } from "../access-SP-ur4Ku.mjs";
1
+ import { Di as parseAuthSession, Ei as BrowserAuthCacheAdapter, Mr as toAddress, Oi as parseCachedJwt, Ti as InMemoryAuthCacheAdapter, Ui as AuthCacheError, Vi as isRecord, Wi as AuthCachePortTag, ni as oauthBearerAuthClient, wi as globalLocalStorage } from "../access-wvksqkgT.mjs";
2
2
  import { Effect, FileSystem, Layer, Option, Path } from "effect";
3
3
  import { privateKeyToAccount } from "viem/accounts";
4
4
  import * as os from "node:os";