@capxul/sdk-react 0.1.0-alpha.0 → 0.1.0-alpha.10
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/CHANGELOG.md +160 -0
- package/README.md +21 -1
- package/dist/index.cjs +288 -137
- package/dist/index.d.cts +207 -42
- package/dist/index.d.ts +207 -42
- package/dist/index.js +288 -140
- package/dist/proof/index.cjs +12777 -0
- package/dist/proof/index.d.cts +753 -0
- package/dist/proof/index.d.ts +753 -0
- package/dist/proof/index.js +12750 -0
- package/package.json +13 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import * as _capxul_sdk from '@capxul/sdk';
|
|
3
|
+
import { HttpTransport, TransportState, BrowserCapxulConfig, AuthSessionStore, AccountId, OrganizationId, ApiKeyId, BalanceLedgerEntryId, ExternalAccountId, MemberId, Account, ApiKey, BalanceLedgerEntry, DocumentId, Document, ExternalAccount, KybProfile, KycProfile, CapxulError as CapxulError$1, Member, OperationId, Operation, Organization, PaymentId, Payment, SafeId, Safe, SubAccountId, SubAccount, TokenTransfer, TransferId, Transfer, Treasury, VirtualAccountId, VirtualAccount, VirtualCardId, VirtualCard, WebhookEndpointId, WebhookEndpoint, WebhookEventId, WebhookEvent, WithdrawalId, Withdrawal, List, TokenTransfersListInput, TokenTransfersListPage, LocalPrivateKeySignerProvider } from '@capxul/sdk';
|
|
4
|
+
export { AuthBootstrapFlowContext, AuthBootstrapFlowEvent, AuthFlowContext, AuthFlowEvent, BrowserCapxulConfig, OnboardingFlowContext, OnboardingFlowEvent, ProvisioningFlowContext, ProvisioningFlowEvent } from '@capxul/sdk';
|
|
4
5
|
import { QueryClient, UseQueryResult } from '@tanstack/react-query';
|
|
5
6
|
import { CapxulClient } from '@capxul/sdk/client';
|
|
6
7
|
import { CapxulError } from '@capxul/sdk/errors';
|
|
@@ -55,55 +56,64 @@ declare function CapxulTransportProvider({ transport, children, }: CapxulTranspo
|
|
|
55
56
|
declare function useCapxulStatus(): TransportState;
|
|
56
57
|
|
|
57
58
|
/**
|
|
58
|
-
* `CapxulProvider` — React
|
|
59
|
-
* `@capxul/sdk` client AND a TanStack Query `QueryClient` for the
|
|
60
|
-
* subtree.
|
|
59
|
+
* `CapxulProvider` — public React provider for `@capxul/sdk-react`.
|
|
61
60
|
*
|
|
62
|
-
*
|
|
61
|
+
* Single-input contract: accepts ONLY `{ config: BrowserCapxulConfig,
|
|
62
|
+
* sessionStore?, queryClient?, children }`. The browser config is the
|
|
63
|
+
* secret-safe discriminated union from `@capxul/sdk` — `apiKey`,
|
|
64
|
+
* `data`, `signer`, and other server-only fields are rejected at
|
|
65
|
+
* compile-time AND at runtime via `createCapxulConfig`'s allow-list
|
|
66
|
+
* validator.
|
|
63
67
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
68
|
+
* The provider builds an `HttpTransport` synchronously and injects it
|
|
69
|
+
* into `createCapxulClient` via the internal `_transport` slot. The
|
|
70
|
+
* transport is exposed through `CapxulTransportContext` so
|
|
71
|
+
* `useCapxulStatus()` can subscribe to its lifecycle state machine.
|
|
67
72
|
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
73
|
+
* The provider also builds a `ConvexReactClient`-backed data client
|
|
74
|
+
* for the `build-time-urls` arm and feeds it as `config.data` so the
|
|
75
|
+
* SDK domain methods (`me.get`, `accounts.retrieve`, ...) and the
|
|
76
|
+
* React hooks built on top can run authenticated reads against live
|
|
77
|
+
* Convex. The auth lifecycle threads through the optional
|
|
78
|
+
* `sessionStore` prop: `verifyOtp` writes a session to the store
|
|
79
|
+
* (which the SDK auth client persists), and the provider's data
|
|
80
|
+
* client re-reads the JWT on demand via `refreshAuth()`. Without a
|
|
81
|
+
* session store the provider falls back to an in-memory one, which
|
|
82
|
+
* is fine for browser apps that hold the page until next reload but
|
|
83
|
+
* inadequate for CLI / Node consumers that need cross-process
|
|
84
|
+
* persistence — those pass a file-backed store via the prop.
|
|
74
85
|
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* happen on the transport (a stable singleton); React subscribes
|
|
79
|
-
* via `useSyncExternalStore` and re-renders only the components
|
|
80
|
-
* that actually depend on the transport state.
|
|
86
|
+
* Tests and the e2e harness need the server-augmented `CapxulConfig`
|
|
87
|
+
* shape (with `data`, `signer`, `signing`). Those callers use
|
|
88
|
+
* `CapxulTestProvider` from `@capxul/sdk-react/proof` instead.
|
|
81
89
|
*
|
|
82
90
|
* Per ADR 4 in the API-first architecture stack PLAN, only
|
|
83
91
|
* `QueryClientProvider` is allowed to live OUTSIDE the single
|
|
84
92
|
* `CapxulContext`. The `QueryClientProvider` is the outermost wrap;
|
|
85
|
-
* the SDK client provider sits inside it; the
|
|
86
|
-
*
|
|
93
|
+
* the SDK client provider sits inside it; the transport provider sits
|
|
94
|
+
* between the two.
|
|
87
95
|
*/
|
|
88
96
|
|
|
89
97
|
type CapxulProviderProps = {
|
|
90
98
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
99
|
+
* Browser-safe Capxul config — the discriminated union from
|
|
100
|
+
* `@capxul/sdk`. Either the `build-time-urls` arm or the
|
|
101
|
+
* `publishable-key` arm. Server-only fields (`apiKey`, `data`,
|
|
102
|
+
* `signer`, `signing`) are rejected at compile-time and at runtime
|
|
103
|
+
* via `createCapxulConfig`'s allow-list validator.
|
|
93
104
|
*/
|
|
94
|
-
readonly config
|
|
105
|
+
readonly config: BrowserCapxulConfig;
|
|
95
106
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
107
|
+
* Auth session persistence adapter. The SDK auth client writes
|
|
108
|
+
* sessions here on `verifyOtp` and clears them on `signOut`. The
|
|
109
|
+
* provider's data client re-reads the JWT from this store on every
|
|
110
|
+
* `refreshAuth` call so reads carry the right auth header.
|
|
111
|
+
*
|
|
112
|
+
* Defaults to an in-memory store scoped to this provider. Pass a
|
|
113
|
+
* file-backed (Node CLI) or `localStorage`-backed (browser) store
|
|
114
|
+
* to persist sessions across process or page lifetimes.
|
|
99
115
|
*/
|
|
100
|
-
readonly
|
|
101
|
-
/**
|
|
102
|
-
* Full `BrowserCapxulConfig` for callers that need
|
|
103
|
-
* `mode: "build-time-urls"` or a custom `fetchImpl` (e.g. tests).
|
|
104
|
-
* Mutually exclusive with `publishableKey` / `config`.
|
|
105
|
-
*/
|
|
106
|
-
readonly browserConfig?: BrowserCapxulConfig;
|
|
116
|
+
readonly sessionStore?: AuthSessionStore;
|
|
107
117
|
/**
|
|
108
118
|
* Optional TanStack Query `QueryClient`. Pass your app's existing
|
|
109
119
|
* client to share the cache across the SDK hooks and the host
|
|
@@ -113,7 +123,7 @@ type CapxulProviderProps = {
|
|
|
113
123
|
readonly queryClient?: QueryClient;
|
|
114
124
|
readonly children: ReactNode;
|
|
115
125
|
};
|
|
116
|
-
declare function CapxulProvider({ config,
|
|
126
|
+
declare function CapxulProvider({ config, sessionStore, queryClient, children, }: CapxulProviderProps): ReactNode;
|
|
117
127
|
|
|
118
128
|
/**
|
|
119
129
|
* `QueryResult<T>` — the canonical three-state return shape for every
|
|
@@ -220,16 +230,27 @@ declare function useMe(): UseQueryResult<Account, CapxulError$1>;
|
|
|
220
230
|
/**
|
|
221
231
|
* Account by id. Omit `accountId` for the calling user (alias for
|
|
222
232
|
* `useMe()` from a developer-perspective lens).
|
|
233
|
+
*
|
|
234
|
+
* Slice 2 (#457 story 1): wired via `capxul.accounts.retrieve` for
|
|
235
|
+
* the id-bearing call and `capxul.me.get()` for the self-lens
|
|
236
|
+
* shortcut. Returns the legacy `QueryResult<Account>` shape because
|
|
237
|
+
* only `useMe` has migrated to TanStack Query so far (PLAN.md task
|
|
238
|
+
* 1.8) — per-hook migration is the rollout pattern.
|
|
223
239
|
*/
|
|
224
|
-
declare function useAccount(
|
|
240
|
+
declare function useAccount(accountId?: AccountId): QueryResult<Account>;
|
|
225
241
|
declare function useOrganization(_organizationId: OrganizationId): QueryResult<Organization>;
|
|
226
242
|
declare function useMember(_args: UseMemberArgs): QueryResult<Member>;
|
|
227
243
|
/**
|
|
228
244
|
* Live; status advances as the indexer reconciles the on-chain
|
|
229
245
|
* deployment. Consumers pattern-match on `data.status` via
|
|
230
246
|
* `matchStatus` (see `@capxul/sdk`).
|
|
247
|
+
*
|
|
248
|
+
* Slice 2 (#457 story 1): wired via
|
|
249
|
+
* `capxul.accounts.safes.retrieve(safeId)`. The SDK method is real
|
|
250
|
+
* post-Withdrawals v1 slice 1; this hook closes the React-side
|
|
251
|
+
* stub so onboarding can subscribe to Safe deploy progress.
|
|
231
252
|
*/
|
|
232
|
-
declare function useSafe(
|
|
253
|
+
declare function useSafe(safeId: SafeId): QueryResult<Safe>;
|
|
233
254
|
declare function useTreasury(_organizationId: OrganizationId): QueryResult<Treasury>;
|
|
234
255
|
/**
|
|
235
256
|
* Org-admin lens only — the hook NEVER returns `secret`.
|
|
@@ -237,12 +258,39 @@ declare function useTreasury(_organizationId: OrganizationId): QueryResult<Treas
|
|
|
237
258
|
declare function useApiKey(_args: UseApiKeyArgs): QueryResult<ApiKey>;
|
|
238
259
|
declare function useKycProfile(_accountId: AccountId): QueryResult<KycProfile>;
|
|
239
260
|
declare function useKybProfile(_organizationId: OrganizationId): QueryResult<KybProfile>;
|
|
240
|
-
|
|
261
|
+
/**
|
|
262
|
+
* Withdrawals v1 W1 (#464) — wired through the SDK.
|
|
263
|
+
*
|
|
264
|
+
* Branches on `args.ownerKind` so `account` scope reads via the
|
|
265
|
+
* top-level `capxul.externalAccounts.retrieve(id)` (visibility-gated
|
|
266
|
+
* server-side by the caller's accountId), and `organization` scope
|
|
267
|
+
* reads via `capxul.organizations.externalAccounts.retrieve({ ... })`
|
|
268
|
+
* which adds an org-scope check for cross-org isolation. Both routes
|
|
269
|
+
* resolve to the same Convex query handler — the SDK ergonomics
|
|
270
|
+
* differ but the wire shape is identical.
|
|
271
|
+
*/
|
|
272
|
+
declare function useExternalAccount(args: UseExternalAccountArgs): QueryResult<ExternalAccount>;
|
|
241
273
|
declare function useSubAccount(_subAccountId: SubAccountId): QueryResult<SubAccount>;
|
|
242
274
|
declare function useVirtualAccount(_virtualAccountId: VirtualAccountId): QueryResult<VirtualAccount>;
|
|
243
275
|
declare function useVirtualCard(_virtualCardId: VirtualCardId): QueryResult<VirtualCard>;
|
|
244
276
|
declare function usePayment(_paymentId: PaymentId): QueryResult<Payment>;
|
|
245
277
|
declare function useTransfer(_transferId: TransferId): QueryResult<Transfer>;
|
|
278
|
+
type UseTokenTransferArgs = {
|
|
279
|
+
readonly txHash: string;
|
|
280
|
+
readonly logIndex: number;
|
|
281
|
+
readonly chainId?: number;
|
|
282
|
+
};
|
|
283
|
+
/**
|
|
284
|
+
* **NON-CANONICAL** raw on-chain ERC-20 transfer detail. Wired through
|
|
285
|
+
* `capxul.tokenTransfers.retrieve` per slice/02-story2-balance
|
|
286
|
+
* Option-A verdict. Identifier is the canonical on-chain composite
|
|
287
|
+
* `(txHash, logIndex)` so consumers don't have to round-trip through
|
|
288
|
+
* the Convex doc id.
|
|
289
|
+
*
|
|
290
|
+
* Intentionally NOT in `packages/sdk-react/ops/proof/hook-manifest.ts`
|
|
291
|
+
* — the canonical proof manifest tracks canon-aligned hooks only.
|
|
292
|
+
*/
|
|
293
|
+
declare function useTokenTransfer(args: UseTokenTransferArgs): QueryResult<TokenTransfer>;
|
|
246
294
|
/**
|
|
247
295
|
* Immutable once written; `live` semantically only for late
|
|
248
296
|
* `paymentId` / `transferId` attachment per Doc 02 §"balance_ledger".
|
|
@@ -333,7 +381,17 @@ type OrgDocumentsFilters = OrgScopedFilters & {
|
|
|
333
381
|
*/
|
|
334
382
|
declare function useOrganizations(): QueryResult<List<Organization>>;
|
|
335
383
|
declare function useMembers(_organizationId: OrganizationId): QueryResult<List<Member>>;
|
|
336
|
-
|
|
384
|
+
/**
|
|
385
|
+
* Withdrawals v1 W1 (#464) — wired through the SDK.
|
|
386
|
+
*
|
|
387
|
+
* Personal scope reads through `capxul.accounts.externalAccounts.list({
|
|
388
|
+
* accountId })` (Pattern A nested namespace); org scope reads through
|
|
389
|
+
* `capxul.organizations.externalAccounts.list({ organizationId })`.
|
|
390
|
+
* Both resolve to the same Convex query handler — the SDK ergonomics
|
|
391
|
+
* differ. Backend filters out `revoked` rows but keeps
|
|
392
|
+
* `pending_verification` rows visible (D5).
|
|
393
|
+
*/
|
|
394
|
+
declare function useExternalAccounts(args: OwnerRef): QueryResult<List<ExternalAccount>>;
|
|
337
395
|
declare function useSubAccounts(_args: OwnerRef): QueryResult<List<SubAccount>>;
|
|
338
396
|
declare function useVirtualAccounts(_filters?: VirtualAccountsFilters): QueryResult<List<VirtualAccount>>;
|
|
339
397
|
declare function useVirtualCards(_filters?: VirtualCardsFilters): QueryResult<List<VirtualCard>>;
|
|
@@ -345,6 +403,17 @@ declare function usePayments(_filters?: PaymentsFilters): QueryResult<List<Payme
|
|
|
345
403
|
declare function useOrgPayments(_args: OrgScopedFilters): QueryResult<List<Payment>>;
|
|
346
404
|
declare function useTransfers(_filters?: TransfersFilters): QueryResult<List<Transfer>>;
|
|
347
405
|
declare function useOrgTransfers(_args: OrgScopedFilters): QueryResult<List<Transfer>>;
|
|
406
|
+
/**
|
|
407
|
+
* **NON-CANONICAL** raw on-chain ERC-20 transfer feed. Wired through
|
|
408
|
+
* `capxul.tokenTransfers.list` per slice/02-story2-balance Option-A
|
|
409
|
+
* verdict. Will be subsumed by canonical `useTransfers` once the
|
|
410
|
+
* `transfers.*` shape alignment lands. See `core/token-transfers.ts`
|
|
411
|
+
* doc-comment for the full contract.
|
|
412
|
+
*
|
|
413
|
+
* Intentionally NOT in `packages/sdk-react/ops/proof/hook-manifest.ts`
|
|
414
|
+
* — the canonical proof manifest tracks canon-aligned hooks only.
|
|
415
|
+
*/
|
|
416
|
+
declare function useTokenTransfers(filters?: TokenTransfersListInput): QueryResult<TokenTransfersListPage>;
|
|
348
417
|
/**
|
|
349
418
|
* Append-only per-owner balance-delta feed. Live for late
|
|
350
419
|
* `paymentId` / `transferId` attachment per Doc 02.
|
|
@@ -376,10 +445,106 @@ declare function useApiKeys(_organizationId: OrganizationId): QueryResult<List<A
|
|
|
376
445
|
*/
|
|
377
446
|
declare function useWebhookEndpoints(): QueryResult<List<WebhookEndpoint>>;
|
|
378
447
|
|
|
448
|
+
/**
|
|
449
|
+
* Lowercased, shape-validated email address. Brand prevents swapping
|
|
450
|
+
* with `phoneNumber`, `username`, or other string identifiers (per
|
|
451
|
+
* `CANON.md` §4.54 and `sdk-surface.md` §5h).
|
|
452
|
+
*/
|
|
453
|
+
type Email = string & {
|
|
454
|
+
readonly __capxulEmailBrand: "Email";
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Public Capxul username. 3–30 chars, letter-first, lowercased,
|
|
458
|
+
* remaining chars from `[a-z0-9_-]` (per `CANON.md` §4.54 and
|
|
459
|
+
* `sdk-surface.md` §5h). Constructor lowercases before validating so
|
|
460
|
+
* mixed-case input canonicalizes cleanly when the first char is a
|
|
461
|
+
* letter; purely invalid shapes (too short, illegal chars, digit-first)
|
|
462
|
+
* still throw.
|
|
463
|
+
*/
|
|
464
|
+
type Username = string & {
|
|
465
|
+
readonly __capxulUsernameBrand: "Username";
|
|
466
|
+
};
|
|
467
|
+
|
|
379
468
|
declare function useAuthFlow(): {
|
|
380
469
|
readonly snapshot: xstate.MachineSnapshot<any, any, any, any, any, any, any, any>;
|
|
381
470
|
readonly send: (event: any) => void;
|
|
382
471
|
};
|
|
472
|
+
declare function useAuthBootstrapFlow(): {
|
|
473
|
+
readonly snapshot: xstate.MachineSnapshot<_capxul_sdk.AuthBootstrapFlowContext, {
|
|
474
|
+
readonly type: "ENTER_EMAIL";
|
|
475
|
+
readonly email: Email;
|
|
476
|
+
} | {
|
|
477
|
+
readonly type: "REQUEST_OTP";
|
|
478
|
+
} | {
|
|
479
|
+
readonly type: "ENTER_OTP";
|
|
480
|
+
readonly code: string;
|
|
481
|
+
} | {
|
|
482
|
+
readonly type: "VERIFY_OTP";
|
|
483
|
+
} | {
|
|
484
|
+
readonly type: "ENTER_USERNAME";
|
|
485
|
+
readonly username: Username;
|
|
486
|
+
} | {
|
|
487
|
+
readonly type: "ENTER_SIGNER_PROVIDER";
|
|
488
|
+
readonly signerProvider: _capxul_sdk.LocalPrivateKeySignerProvider;
|
|
489
|
+
} | {
|
|
490
|
+
readonly type: "COMPLETE_BOOTSTRAP";
|
|
491
|
+
} | {
|
|
492
|
+
readonly type: "BACK";
|
|
493
|
+
} | {
|
|
494
|
+
readonly type: "RESET";
|
|
495
|
+
} | {
|
|
496
|
+
readonly type: "SIGN_OUT";
|
|
497
|
+
}, {
|
|
498
|
+
[x: string]: xstate.ActorRefFromLogic<xstate.PromiseActorLogic<void, void, xstate.EventObject>> | xstate.ActorRefFromLogic<xstate.PromiseActorLogic<_capxul_sdk.CompleteBootstrapResult, {
|
|
499
|
+
bootstrapToken: _capxul_sdk.AuthBootstrapToken;
|
|
500
|
+
username: Username;
|
|
501
|
+
signerProvider: _capxul_sdk.LocalPrivateKeySignerProvider;
|
|
502
|
+
}, xstate.EventObject>> | xstate.ActorRefFromLogic<xstate.PromiseActorLogic<void, {
|
|
503
|
+
email: Email;
|
|
504
|
+
}, xstate.EventObject>> | xstate.ActorRefFromLogic<xstate.PromiseActorLogic<_capxul_sdk.VerifyOtpResult, {
|
|
505
|
+
email: Email;
|
|
506
|
+
code: string;
|
|
507
|
+
}, xstate.EventObject>> | undefined;
|
|
508
|
+
}, "email" | "error" | "bootstrap_required" | "authenticated" | "sending_otp" | "otp_requested" | "signing_out" | "verifying_otp" | "completing_bootstrap", string, xstate.NonReducibleUnknown, xstate.MetaObject, {
|
|
509
|
+
id: "authBootstrap";
|
|
510
|
+
states: {
|
|
511
|
+
readonly email: {};
|
|
512
|
+
readonly sending_otp: {};
|
|
513
|
+
readonly otp_requested: {};
|
|
514
|
+
readonly verifying_otp: {};
|
|
515
|
+
readonly bootstrap_required: {};
|
|
516
|
+
readonly completing_bootstrap: {};
|
|
517
|
+
readonly authenticated: {};
|
|
518
|
+
readonly signing_out: {};
|
|
519
|
+
readonly error: {};
|
|
520
|
+
};
|
|
521
|
+
}>;
|
|
522
|
+
readonly send: (event: {
|
|
523
|
+
readonly type: "ENTER_EMAIL";
|
|
524
|
+
readonly email: Email;
|
|
525
|
+
} | {
|
|
526
|
+
readonly type: "REQUEST_OTP";
|
|
527
|
+
} | {
|
|
528
|
+
readonly type: "ENTER_OTP";
|
|
529
|
+
readonly code: string;
|
|
530
|
+
} | {
|
|
531
|
+
readonly type: "VERIFY_OTP";
|
|
532
|
+
} | {
|
|
533
|
+
readonly type: "ENTER_USERNAME";
|
|
534
|
+
readonly username: Username;
|
|
535
|
+
} | {
|
|
536
|
+
readonly type: "ENTER_SIGNER_PROVIDER";
|
|
537
|
+
readonly signerProvider: _capxul_sdk.LocalPrivateKeySignerProvider;
|
|
538
|
+
} | {
|
|
539
|
+
readonly type: "COMPLETE_BOOTSTRAP";
|
|
540
|
+
} | {
|
|
541
|
+
readonly type: "BACK";
|
|
542
|
+
} | {
|
|
543
|
+
readonly type: "RESET";
|
|
544
|
+
} | {
|
|
545
|
+
readonly type: "SIGN_OUT";
|
|
546
|
+
}) => void;
|
|
547
|
+
};
|
|
383
548
|
declare function useOnboardingFlow(): {
|
|
384
549
|
readonly snapshot: xstate.MachineSnapshot<any, any, any, any, any, any, any, any>;
|
|
385
550
|
readonly send: (event: any) => void;
|
|
@@ -470,4 +635,4 @@ declare function injectedConnector(options?: InjectedConnectorOptions): CapxulCo
|
|
|
470
635
|
*/
|
|
471
636
|
declare function localPrivateKeyConnector(options: LocalPrivateKeyConnectorOptions): CapxulConnector;
|
|
472
637
|
|
|
473
|
-
export { CapxulClientProvider, type CapxulClientProviderProps, type CapxulConnector, type CapxulConnectorKind, type CapxulConnectorSession, CapxulProvider, type CapxulProviderProps, CapxulTransportProvider, type CapxulTransportProviderProps, type DocumentsFilters, type InjectedConnectorOptions, type LocalPrivateKeyConnectorOptions, type OrgDocumentsFilters, type OrgScopedFilters, type OwnerRef, type OwnerScopedFilters, type PaginationFilters, type PaymentsFilters, type QueryResult, type TransfersFilters, type UseApiKeyArgs, type UseBalanceLedgerEntryArgs, type UseExternalAccountArgs, type UseMemberArgs, type VirtualAccountsFilters, type VirtualCardsFilters, type WithdrawalsFilters, createCapxulConfig, injectedConnector, localPrivateKeyConnector, useAccount, useApiKey, useApiKeys, useAuthFlow, useBalanceLedger, useBalanceLedgerEntry, useCapxul, useCapxulStatus, useDocument, useDocuments, useExternalAccount, useExternalAccounts, useKybProfile, useKycProfile, useMe, useMember, useMembers, useOnboardingFlow, useOperation, useOrgDocuments, useOrgPayments, useOrgTransfers, useOrgWithdrawals, useOrganization, useOrganizations, usePayment, usePayments, useProvisioningFlow, useSafe, useSubAccount, useSubAccounts, useTransfer, useTransfers, useTreasury, useVirtualAccount, useVirtualAccounts, useVirtualCard, useVirtualCards, useWebhookEndpoint, useWebhookEndpoints, useWebhookEvent, useWithdrawal, useWithdrawals };
|
|
638
|
+
export { CapxulClientProvider, type CapxulClientProviderProps, type CapxulConnector, type CapxulConnectorKind, type CapxulConnectorSession, CapxulProvider, type CapxulProviderProps, CapxulTransportProvider, type CapxulTransportProviderProps, type DocumentsFilters, type InjectedConnectorOptions, type LocalPrivateKeyConnectorOptions, type OrgDocumentsFilters, type OrgScopedFilters, type OwnerRef, type OwnerScopedFilters, type PaginationFilters, type PaymentsFilters, type QueryResult, type TransfersFilters, type UseApiKeyArgs, type UseBalanceLedgerEntryArgs, type UseExternalAccountArgs, type UseMemberArgs, type UseTokenTransferArgs, type VirtualAccountsFilters, type VirtualCardsFilters, type WithdrawalsFilters, createCapxulConfig, injectedConnector, localPrivateKeyConnector, useAccount, useApiKey, useApiKeys, useAuthBootstrapFlow, useAuthFlow, useBalanceLedger, useBalanceLedgerEntry, useCapxul, useCapxulStatus, useDocument, useDocuments, useExternalAccount, useExternalAccounts, useKybProfile, useKycProfile, useMe, useMember, useMembers, useOnboardingFlow, useOperation, useOrgDocuments, useOrgPayments, useOrgTransfers, useOrgWithdrawals, useOrganization, useOrganizations, usePayment, usePayments, useProvisioningFlow, useSafe, useSubAccount, useSubAccounts, useTokenTransfer, useTokenTransfers, useTransfer, useTransfers, useTreasury, useVirtualAccount, useVirtualAccounts, useVirtualCard, useVirtualCards, useWebhookEndpoint, useWebhookEndpoints, useWebhookEvent, useWithdrawal, useWithdrawals };
|