@invisible-labs/sdk 0.13.2-devnet → 0.13.3-devnet

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.
@@ -1,4 +1,4 @@
1
- export { COORDINATOR_BINARY_FIELD_NAMES, COORDINATOR_ENVELOPE_SCHEMA, COORDINATOR_SCHEMA_PAYLOAD_CATEGORIES, CoordinatorError, CoordinatorMessageType, DEFAULT_PAYOUT_WINDOW_ID, DIRECTION_BY_TYPE, ENVELOPE_VERSION, EnvelopeKind, ErrorCode, INITIAL_STATE, LP_FEE_POLICY_HASHES, LP_FEE_POLICY_VERSION, LP_PARTNER_COMMISSION_BPS, MAX_ENCODED_JSON_BYTES_KEYWORD, MAX_FRAME_SIZE, MessageDirection, PAYOUT_WINDOW_OPTIONS, TERMINAL_STATES, TRANSITIONS, VALID_SWAP_STATES, asDelegateAckPayload, asDelegateSharePayload, asDelegateShareResponsePayload, asDepositConfirmedPayload, asDkgCompletePayload, asDkgInitPayload, asDkgInitResponsePayload, asDkgRound1Payload, asDkgRound1ResponsePayload, asDkgRound2Payload, asDkgRound2ResponsePayload, asErrorPayload, asLpCommandResponsePayload, asPayoutExecutedPayload, asSwapRequestPayload, asSwapRequestResponsePayload, asSyncRequiredPayload, asSyncUserRequestPayload, asSyncUserResponsePayload, asWithdrawAcceptedPayload, asWithdrawExecutedPayload, asWithdrawRequestPayload, createCoordinatorSchemaValidator, decode, encode, encodeLpCommandForSigning, encodeValidated, isAllowedInState, isAllowedKindForType, isPayoutWindowId, isValidEnvelopeKind, isValidErrorCode, isValidMessageType, isValidSwapState, lpSignedCommandEnvelope, nextState, payloadCategory, payoutWindowLabelForId, payoutWindowOptionById, safeEncode, scheduledPayoutWindowOptions, scheduledPayoutWindowSeconds, validateLpFeePolicySemantics } from './chunk-M45APS7S.js';
1
+ export { COORDINATOR_BINARY_FIELD_NAMES, COORDINATOR_ENVELOPE_SCHEMA, COORDINATOR_SCHEMA_PAYLOAD_CATEGORIES, CoordinatorError, CoordinatorMessageType, DEFAULT_PAYOUT_WINDOW_ID, DIRECTION_BY_TYPE, ENVELOPE_VERSION, EnvelopeKind, ErrorCode, INITIAL_STATE, LP_FEE_POLICY_HASHES, LP_FEE_POLICY_VERSION, LP_PARTNER_COMMISSION_BPS, MAX_ENCODED_JSON_BYTES_KEYWORD, MAX_FRAME_SIZE, MessageDirection, PAYOUT_WINDOW_OPTIONS, TERMINAL_STATES, TRANSITIONS, VALID_SWAP_STATES, asDelegateAckPayload, asDelegateSharePayload, asDelegateShareResponsePayload, asDepositConfirmedPayload, asDkgCompletePayload, asDkgInitPayload, asDkgInitResponsePayload, asDkgRound1Payload, asDkgRound1ResponsePayload, asDkgRound2Payload, asDkgRound2ResponsePayload, asErrorPayload, asLpCommandResponsePayload, asPayoutExecutedPayload, asSwapRequestPayload, asSwapRequestResponsePayload, asSyncRequiredPayload, asSyncUserRequestPayload, asSyncUserResponsePayload, asWithdrawAcceptedPayload, asWithdrawExecutedPayload, asWithdrawRequestPayload, createCoordinatorSchemaValidator, decode, encode, encodeLpCommandForSigning, encodeValidated, isAllowedInState, isAllowedKindForType, isPayoutWindowId, isValidEnvelopeKind, isValidErrorCode, isValidMessageType, isValidSwapState, lpSignedCommandEnvelope, nextState, payloadCategory, payoutWindowLabelForId, payoutWindowOptionById, safeEncode, scheduledPayoutWindowOptions, scheduledPayoutWindowSeconds, validateLpFeePolicySemantics } from './chunk-7CUZ7NWC.js';
2
2
  import './chunk-VR6T6OJS.js';
3
- //# sourceMappingURL=coordinator-EQEL23A3.js.map
4
- //# sourceMappingURL=coordinator-EQEL23A3.js.map
3
+ //# sourceMappingURL=coordinator-MLBKEKGO.js.map
4
+ //# sourceMappingURL=coordinator-MLBKEKGO.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"coordinator-EQEL23A3.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"coordinator-MLBKEKGO.js"}
package/dist/events.js CHANGED
@@ -1,4 +1,4 @@
1
- import { onEnvelope, EnvelopeKind, CoordinatorMessageType } from './chunk-NOKBFHDP.js';
1
+ import { onEnvelope, EnvelopeKind, CoordinatorMessageType } from './chunk-5YOVJLHU.js';
2
2
  import './chunk-DOTYDYVB.js';
3
3
  import { NotImplementedError } from './chunk-A4R3DHKN.js';
4
4
  import './chunk-VR6T6OJS.js';
package/dist/index.js CHANGED
@@ -105,7 +105,7 @@ function createAzureProductionEndpoint({
105
105
  }
106
106
 
107
107
  // src/presets/productionBinaryHash.ts
108
- var APPROVED_PRODUCTION_COORDINATOR_BINARY_HASH = "00ee3347615c4a38199e16d715b3f554af2e752338f57e7149a813fe0d4b4451".toLowerCase() ;
108
+ var APPROVED_PRODUCTION_COORDINATOR_BINARY_HASH = "f2b8d35551cbf849d25d0ea297c6e5da85482e69ff6fcafc5d021b134f42a00c".toLowerCase() ;
109
109
 
110
110
  // src/presets/productionMrtd.ts
111
111
  var APPROVED_PRODUCTION_COORDINATOR_MRTD = "efef2fafedab1cecacab0acbb3ec70ab6638b474a4469022745c1c8ba0470be4cfa1170ad5c82f57bff4833acde55e4c".toLowerCase() ;
package/dist/lp.d.ts CHANGED
@@ -57,6 +57,21 @@ type LpPositionView = {
57
57
  redemptionPermission?: LpRedemptionPermission;
58
58
  actorSync?: LpActorSyncView;
59
59
  };
60
+ type LpShardStatus = LpInventoryShard["status"];
61
+ type LpShardStatusTotal = {
62
+ readonly count: number;
63
+ readonly lamports: number;
64
+ };
65
+ /**
66
+ * Bounded, atomic LP position summary. It is deliberately not an `LpPositionView`:
67
+ * `shards` is readonly and holds at most the index 0 shard and the lowest-index
68
+ * FUNDING_QUEUED shard, so it must never feed code that needs the full inventory.
69
+ */
70
+ type LpPositionSummaryView = Omit<LpPositionView, "shards"> & {
71
+ readonly shardsTotalCount: number;
72
+ readonly shardTotals: Readonly<Record<LpShardStatus, LpShardStatusTotal>>;
73
+ readonly shards: readonly LpInventoryShard[];
74
+ };
60
75
  type LpRedemptionPermission = {
61
76
  state: "unknown" | "locked" | "enabled";
62
77
  grantRevision: number;
@@ -234,9 +249,13 @@ type LpCoordinatorClient = LpDkgClient & {
234
249
  authorizePositionCreation(intent: LpPositionCreationIntent, signer: LpCreationSigner): Promise<LpCreationAuthorization>;
235
250
  openPosition(input: OpenLpPositionInput, auth: LpPositionCodeAuth): Promise<LpPositionView>;
236
251
  getPosition(lpPositionId: string, auth: LpPositionCodeAuth, options?: LpPositionRequestOptions): Promise<LpPositionView>;
252
+ /** One bounded `position_get` with `view: "summary"`; older coordinators reject it. */
253
+ getPositionSummary(lpPositionId: string, auth: LpPositionCodeAuth, options?: LpPositionSummaryRequestOptions): Promise<LpPositionSummaryView>;
237
254
  finalizeDkgBatch(input: FinalizeLpDkgBatchInput, auth: LpPositionCodeAuth): Promise<LpPositionView>;
238
255
  refillPosition(input: RefillLpPositionInput, auth: LpPositionCodeAuth): Promise<LpPositionView>;
239
256
  reconcileFunding(lpPositionId: string, auth: LpPositionCodeAuth): Promise<LpPositionView>;
257
+ /** `reconcile_funding` with `view: "summary"`: same reconciliation, bounded summary reply. */
258
+ reconcileFundingSummary(lpPositionId: string, auth: LpPositionCodeAuth, options?: LpPositionSummaryRequestOptions): Promise<LpPositionSummaryView>;
240
259
  planFunding(input: {
241
260
  lpPositionId: string;
242
261
  shardCount: number;
@@ -269,14 +288,24 @@ interface LpPositionRequestOptions {
269
288
  readonly signal?: AbortSignal;
270
289
  readonly timeoutMs?: number;
271
290
  }
291
+ interface LpPositionSummaryRequestOptions extends LpPositionRequestOptions {
292
+ /**
293
+ * `"all"` (default) follows every redemption history cursor; `"first_page"` returns one
294
+ * request and keeps `redemptionHistoryHasMore` and its cursor.
295
+ */
296
+ readonly redemptionHistory?: "all" | "first_page";
297
+ }
272
298
 
273
299
  /** Invalid optional totals must not discard the position or its authorities. */
274
300
  declare function normalizeLpActorSync(sync: LpActorSyncView): LpActorSyncView;
275
301
  /** Keep one coherent actor projection when concurrent reads arrive out of order. */
276
302
  declare function mergeLpActorSync(previous: LpActorSyncView | undefined, next: LpActorSyncView | undefined): LpActorSyncView | undefined;
277
303
 
304
+ declare const LP_POSITION_SUMMARY_SCHEMA_REJECTION_PREFIX = "json schema validation failed: ";
305
+ declare const LP_POSITION_SUMMARY_SCHEMA_REJECTION_VIEW_TOKEN = "\"view\":\"summary\"";
278
306
  declare const LP_REDEMPTION_RECONCILING_MESSAGE = "LP redemption is still settling on the coordinator; it will reconcile from sync";
279
307
  declare const LP_MISSING_POSITION_CODE_MESSAGE = "Save or recover the LP Position Code before using LP funds";
308
+ declare const LP_WITHDRAWAL_FULL_INVENTORY_REQUIRED_MESSAGE = "LP withdrawal plan requires the full shard inventory";
280
309
  declare const LP_FEE_SOURCE_COUNT_UNAVAILABLE_MESSAGE = "LP earned-fee source count is not available; pass allowManyToOne: true to acknowledge many-to-one withdrawal risk";
281
310
  type LpLifecycleDkgProgress = {
282
311
  readonly phase: "dkg";
@@ -377,6 +406,15 @@ interface WithdrawPositionResult {
377
406
  readonly position: LpPositionView;
378
407
  readonly redemption: LpWithdrawalRecord;
379
408
  }
409
+ /** Summary-path withdrawal result: never carries a full `LpPositionView`. */
410
+ interface WithdrawPositionSummaryResult {
411
+ readonly execution: WithdrawalExecution;
412
+ readonly summary: LpPositionSummaryView;
413
+ readonly redemption: LpWithdrawalRecord;
414
+ }
415
+ type WaitForWithdrawalSummaryConfirmationOptions = Omit<WaitForWithdrawalConfirmationOptions, "onPosition"> & {
416
+ readonly onSummary?: (summary: LpPositionSummaryView) => void;
417
+ };
380
418
  interface WithdrawalConfirmation {
381
419
  readonly withdrawalId: string;
382
420
  readonly txSignatures: string[];
@@ -424,10 +462,23 @@ interface LpWithdrawalPlanPreview {
424
462
  }
425
463
  declare function isLpRedemptionReconcilingError(error: unknown): boolean;
426
464
  declare function isLpPositionAuthMissingError(error: unknown): boolean;
465
+ /** True only for the schema rejection an older coordinator returns for `view: "summary"`. */
466
+ declare function isLpPositionSummaryUnsupportedError(error: unknown): boolean;
427
467
  declare function previewLpWithdrawalPlan(position: LpPositionView, args?: LpWithdrawalPlanPreviewArgs): LpWithdrawalPlanPreview;
468
+ /**
469
+ * Same preview as `previewLpWithdrawalPlan`, from a bounded summary. Throws
470
+ * `LP_WITHDRAWAL_FULL_INVENTORY_REQUIRED_MESSAGE` when the result would depend on individual
471
+ * AVAILABLE shards; it never approximates from status totals or the summary shards.
472
+ */
473
+ declare function previewLpWithdrawalPlanFromSummary(summary: LpPositionSummaryView, args?: LpWithdrawalPlanPreviewArgs): LpWithdrawalPlanPreview;
428
474
  interface LpLifecycleClient {
429
475
  createPosition(args: CreatePositionArgs): Promise<CreatePositionResult>;
430
476
  recoverPosition(args: RecoverPositionArgs): Promise<LpPositionView>;
477
+ /**
478
+ * One bounded summary read. Falls back to full `recoverPosition` hydration only when the
479
+ * coordinator rejects the summary view with `ERR_INVALID_PAYLOAD` (older coordinator).
480
+ */
481
+ recoverPositionSummary(args: RecoverPositionArgs): Promise<LpPositionSummaryView>;
431
482
  confirmPositionCodeSaved(positionId: string): void;
432
483
  completeDkgBatch(positionId: string, options?: CompleteDkgBatchOptions): Promise<LpPositionView>;
433
484
  refreshPosition(positionId: string): Promise<LpPositionView>;
@@ -436,8 +487,20 @@ interface LpLifecycleClient {
436
487
  prepareTopUp(positionId: string): Promise<LpTopUpRequest>;
437
488
  waitForTopUp(topUpId: string, options?: WaitForTopUpOptions): Promise<LpTopUpRequest>;
438
489
  reconcileFunding(positionId: string): Promise<LpPositionView>;
490
+ /** Funding reconcile replying with the bounded summary (first redemption history page). */
491
+ reconcileFundingSummary(positionId: string): Promise<LpPositionSummaryView>;
492
+ /** Summary read with the remembered auth; `redemptionHistory: "all"` follows every cursor. */
493
+ refreshPositionSummary(positionId: string, options?: Pick<LpPositionSummaryRequestOptions, "redemptionHistory">): Promise<LpPositionSummaryView>;
439
494
  withdrawPosition(positionId: string, args: WithdrawPositionArgs): Promise<WithdrawPositionResult>;
495
+ /**
496
+ * Withdrawal planned from a bounded summary (reconciled with `view: "summary"`). Falls back to
497
+ * `withdrawPosition` when the coordinator predates the summary view or when the plan would
498
+ * depend on individual AVAILABLE shards.
499
+ */
500
+ withdrawPositionSummary(positionId: string, args: WithdrawPositionArgs): Promise<WithdrawPositionSummaryResult>;
440
501
  waitForWithdrawalConfirmation(positionId: string, execution: WithdrawalExecution, options?: WaitForWithdrawalConfirmationOptions): Promise<WithdrawalConfirmation>;
502
+ /** Confirms only from the tracked redemption id in the fully paged summary history. */
503
+ waitForWithdrawalConfirmationSummary(positionId: string, execution: WithdrawalExecution, options?: WaitForWithdrawalSummaryConfirmationOptions): Promise<WithdrawalConfirmation>;
441
504
  withdrawFees(positionId: string, args: {
442
505
  readonly destination: string;
443
506
  }): Promise<never>;
@@ -455,6 +518,12 @@ type LpCoordinatorClientOptions = {
455
518
  };
456
519
  declare function createLpCoordinatorClient(session: Session, options?: LpCoordinatorClientOptions): LpCoordinatorClient;
457
520
 
521
+ /** Upper bound on `LpPositionSummaryView.shards`: index 0 plus one FUNDING_QUEUED shard. */
522
+ declare const LP_POSITION_SUMMARY_MAX_SHARDS = 2;
523
+ declare const LP_SHARD_STATUSES: readonly ["PREGENERATED", "FUNDING_QUEUED", "FUNDED", "COOLING", "AVAILABLE", "RESERVED", "RETIRED", "REDEEMED"];
524
+ /** Derives the bounded summary from a fully hydrated position (older-coordinator fallback). */
525
+ declare function summarizeLpPosition(position: LpPositionView): LpPositionSummaryView;
526
+
458
527
  type LpDkgProgress = {
459
528
  completed: number;
460
529
  total: number;
@@ -477,10 +546,11 @@ declare const LP_DKG_WORKER_REQUEST_TIMEOUT_MESSAGE = "LP DKG worker request tim
477
546
  declare const LP_DKG_ABORT_CLEANUP_TIMEOUT_MS = 10000;
478
547
  declare function createLpDkgBatch(input: CreateLpDkgBatchInput): Promise<string[]>;
479
548
 
480
- declare function validateLpPositionFeePolicy(position: LpPositionView, previous?: LpPositionView): void;
549
+ declare function validateLpPositionFeePolicy(position: Pick<LpPositionView, "feePolicy" | "lpFeePolicyVersion" | "id" | "actorSync">, previous?: Pick<LpPositionView, "feePolicy">): void;
481
550
 
482
551
  declare function createPosition(session: Session, args: CreatePositionArgs): Promise<CreatePositionResult>;
483
552
  declare function recoverPosition(session: Session, args: RecoverPositionArgs): Promise<LpPositionView>;
553
+ declare function recoverPositionSummary(session: Session, args: RecoverPositionArgs): Promise<LpPositionSummaryView>;
484
554
  declare function confirmPositionCodeSaved(session: Session, positionId: string): void;
485
555
  declare function completeDkgBatch(session: Session, positionId: string, opts?: CompleteDkgBatchOptions): Promise<LpPositionView>;
486
556
  declare function refreshPosition(session: Session, positionId: string): Promise<LpPositionView>;
@@ -490,6 +560,9 @@ declare function prepareTopUp(session: Session, positionId: string): Promise<LpT
490
560
  declare function waitForTopUp(session: Session, topUpId: string, options?: WaitForTopUpOptions): Promise<LpTopUpRequest>;
491
561
  declare function reconcileFunding(session: Session, positionId: string): Promise<LpPositionView>;
492
562
  declare function withdrawPosition(session: Session, positionId: string, args: WithdrawPositionArgs): Promise<WithdrawPositionResult>;
563
+ declare function reconcileFundingSummary(session: Session, positionId: string): Promise<LpPositionSummaryView>;
564
+ declare function withdrawPositionSummary(session: Session, positionId: string, args: WithdrawPositionArgs): Promise<WithdrawPositionSummaryResult>;
565
+ declare function waitForWithdrawalConfirmationSummary(session: Session, positionId: string, execution: WithdrawalExecution, options?: WaitForWithdrawalSummaryConfirmationOptions): Promise<WithdrawalConfirmation>;
493
566
  declare function waitForWithdrawalConfirmation(session: Session, positionId: string, execution: WithdrawalExecution, options?: WaitForWithdrawalConfirmationOptions): Promise<WithdrawalConfirmation>;
494
567
  /**
495
568
  * LP fee withdrawal is coordinator-pending. The SDK validates the local input
@@ -500,4 +573,4 @@ declare function withdrawFees(session: Session, positionId: string, args: {
500
573
  }): Promise<never>;
501
574
  declare function listPositions(session: Session): Promise<LpPositionView[]>;
502
575
 
503
- export { type CompleteDkgBatchOptions, type CreateLpDkgBatchInput, type CreatePositionArgs, type CreatePositionResult, type FinalizeLpDkgBatchInput, type FundingConfirmationInput, type InitialFundingPlan, LP_COMMAND_REQUEST_TIMEOUT_MS, LP_DKG_ABORT_CLEANUP_TIMEOUT_MS, LP_DKG_ABORT_REQUEST_TIMEOUT_MS, LP_DKG_WORKER_REQUEST_TIMEOUT_MESSAGE, LP_DKG_WORKER_REQUEST_TIMEOUT_MS, LP_FEE_SOURCE_COUNT_UNAVAILABLE_MESSAGE, LP_MISSING_POSITION_CODE_MESSAGE, LP_REDEMPTION_RECONCILING_MESSAGE, type LpActorSyncView, type LpCoordinatorClient, type LpCoordinatorClientOptions, type LpCreationAuthorization, type LpCreationSigner, type LpDkgClient, type LpDkgProgress, type LpEconomicReturnSummary, type LpFeePolicy, type LpInventoryShard, type LpLifecycleClient, type LpLifecycleDkgProgress, type LpLifecycleRuntime, type LpPositionCode, type LpPositionCodeAuth, type LpPositionCreationIntent, type LpPositionRequestOptions, type LpPositionView, type LpRedemptionHistoryView, type LpRedemptionPermission, type LpTopUpRequest, type LpWithdrawalExecutionView, type LpWithdrawalMode, type LpWithdrawalPlanPreview, type LpWithdrawalPlanPreviewArgs, type LpWithdrawalRecord, type OpenLpPositionInput, type RecoverPositionArgs, type RefillArgs, type RefillLpPositionInput, type SourceLiquidityUse, type WaitForTopUpOptions, type WaitForWithdrawalConfirmationOptions, type WithdrawPositionArgs, type WithdrawPositionResult, type WithdrawalConfirmation, type WithdrawalExecution, bytesToHex, completeDkgBatch, confirmPositionCodeSaved, createLpCoordinatorClient, createLpDkgBatch, createLpLifecycleClient, createPosition, defaultLpLifecycleClient, deriveLpPositionCodeAuth, generateLpPositionCode, isLpPositionAuthMissingError, isLpRedemptionReconcilingError, listPositions, mergeLpActorSync, normalizeLpActorSync, normalizeLpPositionCode, prepareInitialFunding, prepareTopUp, previewLpWithdrawalPlan, reconcileFunding, recoverPosition, refill, refreshPosition, signLpCommandBytes, validateLpPositionFeePolicy, waitForTopUp, waitForWithdrawalConfirmation, withdrawFees, withdrawPosition };
576
+ export { type CompleteDkgBatchOptions, type CreateLpDkgBatchInput, type CreatePositionArgs, type CreatePositionResult, type FinalizeLpDkgBatchInput, type FundingConfirmationInput, type InitialFundingPlan, LP_COMMAND_REQUEST_TIMEOUT_MS, LP_DKG_ABORT_CLEANUP_TIMEOUT_MS, LP_DKG_ABORT_REQUEST_TIMEOUT_MS, LP_DKG_WORKER_REQUEST_TIMEOUT_MESSAGE, LP_DKG_WORKER_REQUEST_TIMEOUT_MS, LP_FEE_SOURCE_COUNT_UNAVAILABLE_MESSAGE, LP_MISSING_POSITION_CODE_MESSAGE, LP_POSITION_SUMMARY_MAX_SHARDS, LP_POSITION_SUMMARY_SCHEMA_REJECTION_PREFIX, LP_POSITION_SUMMARY_SCHEMA_REJECTION_VIEW_TOKEN, LP_REDEMPTION_RECONCILING_MESSAGE, LP_SHARD_STATUSES, LP_WITHDRAWAL_FULL_INVENTORY_REQUIRED_MESSAGE, type LpActorSyncView, type LpCoordinatorClient, type LpCoordinatorClientOptions, type LpCreationAuthorization, type LpCreationSigner, type LpDkgClient, type LpDkgProgress, type LpEconomicReturnSummary, type LpFeePolicy, type LpInventoryShard, type LpLifecycleClient, type LpLifecycleDkgProgress, type LpLifecycleRuntime, type LpPositionCode, type LpPositionCodeAuth, type LpPositionCreationIntent, type LpPositionRequestOptions, type LpPositionSummaryRequestOptions, type LpPositionSummaryView, type LpPositionView, type LpRedemptionHistoryView, type LpRedemptionPermission, type LpShardStatus, type LpShardStatusTotal, type LpTopUpRequest, type LpWithdrawalExecutionView, type LpWithdrawalMode, type LpWithdrawalPlanPreview, type LpWithdrawalPlanPreviewArgs, type LpWithdrawalRecord, type OpenLpPositionInput, type RecoverPositionArgs, type RefillArgs, type RefillLpPositionInput, type SourceLiquidityUse, type WaitForTopUpOptions, type WaitForWithdrawalConfirmationOptions, type WaitForWithdrawalSummaryConfirmationOptions, type WithdrawPositionArgs, type WithdrawPositionResult, type WithdrawPositionSummaryResult, type WithdrawalConfirmation, type WithdrawalExecution, bytesToHex, completeDkgBatch, confirmPositionCodeSaved, createLpCoordinatorClient, createLpDkgBatch, createLpLifecycleClient, createPosition, defaultLpLifecycleClient, deriveLpPositionCodeAuth, generateLpPositionCode, isLpPositionAuthMissingError, isLpPositionSummaryUnsupportedError, isLpRedemptionReconcilingError, listPositions, mergeLpActorSync, normalizeLpActorSync, normalizeLpPositionCode, prepareInitialFunding, prepareTopUp, previewLpWithdrawalPlan, previewLpWithdrawalPlanFromSummary, reconcileFunding, reconcileFundingSummary, recoverPosition, recoverPositionSummary, refill, refreshPosition, signLpCommandBytes, summarizeLpPosition, validateLpPositionFeePolicy, waitForTopUp, waitForWithdrawalConfirmation, waitForWithdrawalConfirmationSummary, withdrawFees, withdrawPosition, withdrawPositionSummary };