@lunora/payment 1.0.0-alpha.82 → 1.0.0-alpha.84

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,5 +1,5 @@
1
- import { a as ProviderId, C as Customer, b as PaymentSession, S as Subscription, U as UsageEvent, W as WebhookActionType, A as ApplyResult, P as PaymentAdapter, c as AttachInput, d as CheckoutResult, e as CancelSubscriptionOptions, f as CaptureInput, g as CheckInput, h as CheckResult, i as CheckoutInput, F as FeatureBalance, R as RefundInput, T as TrackInput, j as TrackResult, k as CurrencyCode, M as Money, l as PaymentState, m as SubscriptionState, n as WebhookAction } from "./packem_shared/adapter.d-ov0kaEhj.mjs";
2
- export { type o as AdapterRegistry, type p as CustomerRef, type q as PortalInput, type r as ProviderCapabilities, type s as RefundAmountKind, type t as ReportUsageInput, type u as SubscriptionPatch, type v as WebhookHeaders, type w as WebhookInput, x as createAdapterRegistry } from "./packem_shared/adapter.d-ov0kaEhj.mjs";
1
+ import { a as ProviderId, C as Customer, b as PaymentSession, S as Subscription, U as UsageEvent, W as WebhookActionType, A as ApplyResult, P as PaymentAdapter, c as AttachInput, d as CheckoutResult, e as CancelSubscriptionOptions, f as CaptureInput, g as CheckInput, h as CheckResult, i as CheckoutInput, F as FeatureBalance, R as RefundInput, T as TrackInput, j as TrackResult, k as CurrencyCode, M as Money, l as PaymentState, m as SubscriptionState, n as WebhookAction } from "./packem_shared/adapter.d-Cpy8g96b.mjs";
2
+ export { type o as AdapterRegistry, type p as CustomerRef, type q as PortalInput, type r as ProviderCapabilities, type s as RefundAmountKind, type t as ReportUsageInput, type u as SubscriptionPatch, type v as WebhookHeaders, type w as WebhookInput, x as createAdapterRegistry } from "./packem_shared/adapter.d-Cpy8g96b.mjs";
3
3
  import { LunoraError } from '@lunora/errors';
4
4
  import { TableDefinition } from '@lunora/server';
5
5
  /**
@@ -359,66 +359,54 @@ declare class LunoraPaymentError extends LunoraError {
359
359
  declare const idempotencyKey: (operation: string, ...parts: ReadonlyArray<number | string>) => string;
360
360
  /**
361
361
  * True when the currency has no minor unit (e.g. JPY).
362
- * @experimental
363
362
  */
364
363
  declare const isZeroDecimalCurrency: (currency: CurrencyCode) => boolean;
365
364
  /**
366
365
  * Construct money. Currency is normalized to uppercase; never use floats for amounts.
367
- * @experimental
368
366
  */
369
367
  declare const money: (minorUnits: bigint | number, currency: CurrencyCode) => Money;
370
368
  /**
371
- * `zeroMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
372
- * @experimental
369
+ * Zero in the given currency.
373
370
  */
374
371
  declare const zeroMoney: (currency: CurrencyCode) => Money;
375
372
  /**
376
373
  * Localized currency string for display (e.g. `$19.99`). For UI only — never for arithmetic.
377
- * @experimental
378
374
  */
379
375
  declare const formatMoney: (value: Money, locale?: string) => string;
380
376
  /**
381
- * `addMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
382
- * @experimental
377
+ * Sum of two same-currency amounts. Throws `CURRENCY_MISMATCH` otherwise.
383
378
  */
384
379
  declare const addMoney: (a: Money, b: Money) => Money;
385
380
  /**
386
- * `subtractMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
387
- * @experimental
381
+ * Difference of two same-currency amounts. Throws `CURRENCY_MISMATCH` otherwise.
388
382
  */
389
383
  declare const subtractMoney: (a: Money, b: Money) => Money;
390
384
  /**
391
385
  * Compares two same-currency amounts, returning -1, 0, or 1.
392
- * @experimental
393
386
  */
394
387
  declare const compareMoney: (a: Money, b: Money) => -1 | 0 | 1;
395
388
  /**
396
389
  * Split an amount across integer ratios, distributing the remainder to the smallest unit so the
397
390
  * parts always sum back to the original. The basis for seat/proration math.
398
- * @experimental
399
391
  */
400
392
  declare const allocateMoney: (amount: Money, ratios: ReadonlyArray<bigint>) => Money[];
401
393
  /**
402
- * `isZeroMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
403
- * @experimental
394
+ * True when the amount is exactly zero minor units.
404
395
  */
405
396
  declare const isZeroMoney: (a: Money) => boolean;
406
397
  /**
407
398
  * JSON-safe wire form of money (bigint encoded as a decimal string).
408
- * @experimental
409
399
  */
410
400
  interface MoneyJSON {
411
401
  readonly currency: CurrencyCode;
412
402
  readonly minorUnits: string;
413
403
  }
414
404
  /**
415
- * `toMoneyJSON` is part of the experimental `@lunora/payment` API and may change without a major version bump.
416
- * @experimental
405
+ * Encode money for the wire `minorUnits` becomes a decimal string.
417
406
  */
418
407
  declare const toMoneyJSON: (m: Money) => MoneyJSON;
419
408
  /**
420
- * `fromMoneyJSON` is part of the experimental `@lunora/payment` API and may change without a major version bump.
421
- * @experimental
409
+ * Decode the wire form back to a `bigint`-backed {@link Money}.
422
410
  */
423
411
  declare const fromMoneyJSON: (json: MoneyJSON) => Money;
424
412
  /**
@@ -510,12 +498,11 @@ declare const applyWebhookAction: (store: PaymentStore, action: WebhookAction, o
510
498
  * records having already fixed once in the relay hub. It also compared by code
511
499
  * POINT, making timing depend on surrogate boundaries; the canonical one
512
500
  * compares per UTF-16 code unit.
513
- * @experimental
514
501
  */
515
502
  declare const constantTimeEqual: (a: string, b: string) => boolean;
516
503
  /**
517
- * `hmacSha256Hex` is part of the experimental `@lunora/payment` API and may change without a major version bump.
518
- * @experimental
504
+ * Hex-encoded `HMAC_SHA256(secret, payload)` the primitive behind the hex-scheme
505
+ * webhook verifiers.
519
506
  */
520
507
  declare const hmacSha256Hex: (secret: string, payload: string) => Promise<string>;
521
508
  interface VerifyStandardWebhookInput {
@@ -538,7 +525,6 @@ interface VerifyStandardWebhookInput {
538
525
  * Verify a Standard Webhooks signature (the scheme Polar and svix use):
539
526
  * `base64(HMAC_SHA256(key, "{id}.{timestamp}.{payload}"))` compared against the header's `v1`
540
527
  * entries, with a replay-window check. Throws a {@link LunoraPaymentError} on any failure.
541
- * @experimental
542
528
  */
543
529
  declare const verifyStandardWebhook: (input: VerifyStandardWebhookInput) => Promise<void>;
544
530
  interface VerifyCreemSignatureInput {
@@ -553,7 +539,6 @@ interface VerifyCreemSignatureInput {
553
539
  * Verify a Creem webhook signature: `hex(HMAC_SHA256(secret, rawBody))` compared against the
554
540
  * `creem-signature` header. Creem's scheme signs the raw body with no timestamp, so there is no
555
541
  * replay-window check. Throws a {@link LunoraPaymentError} on any failure.
556
- * @experimental
557
542
  */
558
543
  declare const verifyCreemSignature: (input: VerifyCreemSignatureInput) => Promise<void>;
559
- export { type ApplyResult, type AttachInput, type AuthorizeReference, type CancelSubscriptionOptions, type CaptureInput, type CheckInput, type CheckResult, type CheckoutInput, type CheckoutResult, type CreatePaymentOptions, type CurrencyCode, type Customer, type Entitlements, type EntitlementsConfig, type FeatureBalance, type LunoraDatabaseLike, type LunoraPayment, LunoraPaymentError, MemoryPaymentStore, type Money, type MoneyJSON, PAYMENT_TERMINAL_STATES, type PaymentAction, type PaymentAdapter, type PaymentContextLike, type PaymentDatabase, type PaymentErrorCode, type PaymentEvent, type PaymentObserver, type PaymentRow, type PaymentSession, type PaymentState, type PaymentStore, type PaymentsFromContextOptions, type PlanDefinition, type ProviderId, type ReconcileInput, type ReconcileResult, type RefundInput, SUBSCRIPTION_TERMINAL_STATES, type Subscription, type SubscriptionAction, type SubscriptionState, type TrackInput, type TrackResult, type UsageEvent, type WebhookAction, type WebhookActionType, addMoney, allocateMoney, applyWebhookAction, canTransitionPayment, canTransitionSubscription, compareMoney, constantTimeEqual, createDatabasePaymentStore, createPayment, entitlementsForReference, featureNames, formatMoney, fromMoneyJSON, hasActivePrice, hmacSha256Hex, idempotencyKey, isZeroDecimalCurrency, isZeroMoney, lunoraDatabaseToPaymentDatabase, money, nextPaymentState, nextSubscriptionState, paymentTables, paymentsFromContext, reconcile, resolveEntitlements, subtractMoney, toMoneyJSON, usagePeriodStart, verifyCreemSignature, verifyStandardWebhook, zeroMoney };
544
+ export { type ApplyResult, type AttachInput, type AuthorizeReference, type CancelSubscriptionOptions, type CaptureInput, type CheckInput, type CheckResult, type CheckoutInput, type CheckoutResult, type CreatePaymentOptions, type CurrencyCode, type Customer, type Entitlements, type EntitlementsConfig, type FeatureBalance, type LunoraDatabaseLike, type LunoraPayment, LunoraPaymentError, MemoryPaymentStore, type Money, type MoneyJSON, PAYMENT_TERMINAL_STATES, type PaymentAction, type PaymentAdapter, type PaymentContextLike, type PaymentDatabase, type PaymentErrorCode, type PaymentEvent, type PaymentObserver, type PaymentRow, type PaymentSession, type PaymentState, type PaymentStore, type PaymentsFromContextOptions, type PlanDefinition, type ProviderId, type ReconcileInput, type ReconcileResult, type RefundInput, SUBSCRIPTION_TERMINAL_STATES, type Subscription, type SubscriptionAction, type SubscriptionState, type TrackInput, type TrackResult, type UsageEvent, type VerifyCreemSignatureInput, type VerifyStandardWebhookInput, type WebhookAction, type WebhookActionType, addMoney, allocateMoney, applyWebhookAction, canTransitionPayment, canTransitionSubscription, compareMoney, constantTimeEqual, createDatabasePaymentStore, createPayment, entitlementsForReference, featureNames, formatMoney, fromMoneyJSON, hasActivePrice, hmacSha256Hex, idempotencyKey, isZeroDecimalCurrency, isZeroMoney, lunoraDatabaseToPaymentDatabase, money, nextPaymentState, nextSubscriptionState, paymentTables, paymentsFromContext, reconcile, resolveEntitlements, subtractMoney, toMoneyJSON, usagePeriodStart, verifyCreemSignature, verifyStandardWebhook, zeroMoney };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as ProviderId, C as Customer, b as PaymentSession, S as Subscription, U as UsageEvent, W as WebhookActionType, A as ApplyResult, P as PaymentAdapter, c as AttachInput, d as CheckoutResult, e as CancelSubscriptionOptions, f as CaptureInput, g as CheckInput, h as CheckResult, i as CheckoutInput, F as FeatureBalance, R as RefundInput, T as TrackInput, j as TrackResult, k as CurrencyCode, M as Money, l as PaymentState, m as SubscriptionState, n as WebhookAction } from "./packem_shared/adapter.d-ov0kaEhj.js";
2
- export { type o as AdapterRegistry, type p as CustomerRef, type q as PortalInput, type r as ProviderCapabilities, type s as RefundAmountKind, type t as ReportUsageInput, type u as SubscriptionPatch, type v as WebhookHeaders, type w as WebhookInput, x as createAdapterRegistry } from "./packem_shared/adapter.d-ov0kaEhj.js";
1
+ import { a as ProviderId, C as Customer, b as PaymentSession, S as Subscription, U as UsageEvent, W as WebhookActionType, A as ApplyResult, P as PaymentAdapter, c as AttachInput, d as CheckoutResult, e as CancelSubscriptionOptions, f as CaptureInput, g as CheckInput, h as CheckResult, i as CheckoutInput, F as FeatureBalance, R as RefundInput, T as TrackInput, j as TrackResult, k as CurrencyCode, M as Money, l as PaymentState, m as SubscriptionState, n as WebhookAction } from "./packem_shared/adapter.d-Cpy8g96b.js";
2
+ export { type o as AdapterRegistry, type p as CustomerRef, type q as PortalInput, type r as ProviderCapabilities, type s as RefundAmountKind, type t as ReportUsageInput, type u as SubscriptionPatch, type v as WebhookHeaders, type w as WebhookInput, x as createAdapterRegistry } from "./packem_shared/adapter.d-Cpy8g96b.js";
3
3
  import { LunoraError } from '@lunora/errors';
4
4
  import { TableDefinition } from '@lunora/server';
5
5
  /**
@@ -359,66 +359,54 @@ declare class LunoraPaymentError extends LunoraError {
359
359
  declare const idempotencyKey: (operation: string, ...parts: ReadonlyArray<number | string>) => string;
360
360
  /**
361
361
  * True when the currency has no minor unit (e.g. JPY).
362
- * @experimental
363
362
  */
364
363
  declare const isZeroDecimalCurrency: (currency: CurrencyCode) => boolean;
365
364
  /**
366
365
  * Construct money. Currency is normalized to uppercase; never use floats for amounts.
367
- * @experimental
368
366
  */
369
367
  declare const money: (minorUnits: bigint | number, currency: CurrencyCode) => Money;
370
368
  /**
371
- * `zeroMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
372
- * @experimental
369
+ * Zero in the given currency.
373
370
  */
374
371
  declare const zeroMoney: (currency: CurrencyCode) => Money;
375
372
  /**
376
373
  * Localized currency string for display (e.g. `$19.99`). For UI only — never for arithmetic.
377
- * @experimental
378
374
  */
379
375
  declare const formatMoney: (value: Money, locale?: string) => string;
380
376
  /**
381
- * `addMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
382
- * @experimental
377
+ * Sum of two same-currency amounts. Throws `CURRENCY_MISMATCH` otherwise.
383
378
  */
384
379
  declare const addMoney: (a: Money, b: Money) => Money;
385
380
  /**
386
- * `subtractMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
387
- * @experimental
381
+ * Difference of two same-currency amounts. Throws `CURRENCY_MISMATCH` otherwise.
388
382
  */
389
383
  declare const subtractMoney: (a: Money, b: Money) => Money;
390
384
  /**
391
385
  * Compares two same-currency amounts, returning -1, 0, or 1.
392
- * @experimental
393
386
  */
394
387
  declare const compareMoney: (a: Money, b: Money) => -1 | 0 | 1;
395
388
  /**
396
389
  * Split an amount across integer ratios, distributing the remainder to the smallest unit so the
397
390
  * parts always sum back to the original. The basis for seat/proration math.
398
- * @experimental
399
391
  */
400
392
  declare const allocateMoney: (amount: Money, ratios: ReadonlyArray<bigint>) => Money[];
401
393
  /**
402
- * `isZeroMoney` is part of the experimental `@lunora/payment` API and may change without a major version bump.
403
- * @experimental
394
+ * True when the amount is exactly zero minor units.
404
395
  */
405
396
  declare const isZeroMoney: (a: Money) => boolean;
406
397
  /**
407
398
  * JSON-safe wire form of money (bigint encoded as a decimal string).
408
- * @experimental
409
399
  */
410
400
  interface MoneyJSON {
411
401
  readonly currency: CurrencyCode;
412
402
  readonly minorUnits: string;
413
403
  }
414
404
  /**
415
- * `toMoneyJSON` is part of the experimental `@lunora/payment` API and may change without a major version bump.
416
- * @experimental
405
+ * Encode money for the wire `minorUnits` becomes a decimal string.
417
406
  */
418
407
  declare const toMoneyJSON: (m: Money) => MoneyJSON;
419
408
  /**
420
- * `fromMoneyJSON` is part of the experimental `@lunora/payment` API and may change without a major version bump.
421
- * @experimental
409
+ * Decode the wire form back to a `bigint`-backed {@link Money}.
422
410
  */
423
411
  declare const fromMoneyJSON: (json: MoneyJSON) => Money;
424
412
  /**
@@ -510,12 +498,11 @@ declare const applyWebhookAction: (store: PaymentStore, action: WebhookAction, o
510
498
  * records having already fixed once in the relay hub. It also compared by code
511
499
  * POINT, making timing depend on surrogate boundaries; the canonical one
512
500
  * compares per UTF-16 code unit.
513
- * @experimental
514
501
  */
515
502
  declare const constantTimeEqual: (a: string, b: string) => boolean;
516
503
  /**
517
- * `hmacSha256Hex` is part of the experimental `@lunora/payment` API and may change without a major version bump.
518
- * @experimental
504
+ * Hex-encoded `HMAC_SHA256(secret, payload)` the primitive behind the hex-scheme
505
+ * webhook verifiers.
519
506
  */
520
507
  declare const hmacSha256Hex: (secret: string, payload: string) => Promise<string>;
521
508
  interface VerifyStandardWebhookInput {
@@ -538,7 +525,6 @@ interface VerifyStandardWebhookInput {
538
525
  * Verify a Standard Webhooks signature (the scheme Polar and svix use):
539
526
  * `base64(HMAC_SHA256(key, "{id}.{timestamp}.{payload}"))` compared against the header's `v1`
540
527
  * entries, with a replay-window check. Throws a {@link LunoraPaymentError} on any failure.
541
- * @experimental
542
528
  */
543
529
  declare const verifyStandardWebhook: (input: VerifyStandardWebhookInput) => Promise<void>;
544
530
  interface VerifyCreemSignatureInput {
@@ -553,7 +539,6 @@ interface VerifyCreemSignatureInput {
553
539
  * Verify a Creem webhook signature: `hex(HMAC_SHA256(secret, rawBody))` compared against the
554
540
  * `creem-signature` header. Creem's scheme signs the raw body with no timestamp, so there is no
555
541
  * replay-window check. Throws a {@link LunoraPaymentError} on any failure.
556
- * @experimental
557
542
  */
558
543
  declare const verifyCreemSignature: (input: VerifyCreemSignatureInput) => Promise<void>;
559
- export { type ApplyResult, type AttachInput, type AuthorizeReference, type CancelSubscriptionOptions, type CaptureInput, type CheckInput, type CheckResult, type CheckoutInput, type CheckoutResult, type CreatePaymentOptions, type CurrencyCode, type Customer, type Entitlements, type EntitlementsConfig, type FeatureBalance, type LunoraDatabaseLike, type LunoraPayment, LunoraPaymentError, MemoryPaymentStore, type Money, type MoneyJSON, PAYMENT_TERMINAL_STATES, type PaymentAction, type PaymentAdapter, type PaymentContextLike, type PaymentDatabase, type PaymentErrorCode, type PaymentEvent, type PaymentObserver, type PaymentRow, type PaymentSession, type PaymentState, type PaymentStore, type PaymentsFromContextOptions, type PlanDefinition, type ProviderId, type ReconcileInput, type ReconcileResult, type RefundInput, SUBSCRIPTION_TERMINAL_STATES, type Subscription, type SubscriptionAction, type SubscriptionState, type TrackInput, type TrackResult, type UsageEvent, type WebhookAction, type WebhookActionType, addMoney, allocateMoney, applyWebhookAction, canTransitionPayment, canTransitionSubscription, compareMoney, constantTimeEqual, createDatabasePaymentStore, createPayment, entitlementsForReference, featureNames, formatMoney, fromMoneyJSON, hasActivePrice, hmacSha256Hex, idempotencyKey, isZeroDecimalCurrency, isZeroMoney, lunoraDatabaseToPaymentDatabase, money, nextPaymentState, nextSubscriptionState, paymentTables, paymentsFromContext, reconcile, resolveEntitlements, subtractMoney, toMoneyJSON, usagePeriodStart, verifyCreemSignature, verifyStandardWebhook, zeroMoney };
544
+ export { type ApplyResult, type AttachInput, type AuthorizeReference, type CancelSubscriptionOptions, type CaptureInput, type CheckInput, type CheckResult, type CheckoutInput, type CheckoutResult, type CreatePaymentOptions, type CurrencyCode, type Customer, type Entitlements, type EntitlementsConfig, type FeatureBalance, type LunoraDatabaseLike, type LunoraPayment, LunoraPaymentError, MemoryPaymentStore, type Money, type MoneyJSON, PAYMENT_TERMINAL_STATES, type PaymentAction, type PaymentAdapter, type PaymentContextLike, type PaymentDatabase, type PaymentErrorCode, type PaymentEvent, type PaymentObserver, type PaymentRow, type PaymentSession, type PaymentState, type PaymentStore, type PaymentsFromContextOptions, type PlanDefinition, type ProviderId, type ReconcileInput, type ReconcileResult, type RefundInput, SUBSCRIPTION_TERMINAL_STATES, type Subscription, type SubscriptionAction, type SubscriptionState, type TrackInput, type TrackResult, type UsageEvent, type VerifyCreemSignatureInput, type VerifyStandardWebhookInput, type WebhookAction, type WebhookActionType, addMoney, allocateMoney, applyWebhookAction, canTransitionPayment, canTransitionSubscription, compareMoney, constantTimeEqual, createDatabasePaymentStore, createPayment, entitlementsForReference, featureNames, formatMoney, fromMoneyJSON, hasActivePrice, hmacSha256Hex, idempotencyKey, isZeroDecimalCurrency, isZeroMoney, lunoraDatabaseToPaymentDatabase, money, nextPaymentState, nextSubscriptionState, paymentTables, paymentsFromContext, reconcile, resolveEntitlements, subtractMoney, toMoneyJSON, usagePeriodStart, verifyCreemSignature, verifyStandardWebhook, zeroMoney };
@@ -6,7 +6,6 @@
6
6
  */
7
7
  /**
8
8
  * ISO-4217 currency code (uppercase, 3 letters). Not enumerated — provider coverage varies.
9
- * @experimental
10
9
  */
11
10
  type CurrencyCode = string;
12
11
  /**
@@ -14,7 +13,6 @@ type CurrencyCode = string;
14
13
  *
15
14
  * `minorUnits` is a `bigint`, which is **not** JSON-serializable — cross the RPC/wire boundary
16
15
  * with the `toMoneyJSON` / `fromMoneyJSON` helpers (see `./money`).
17
- * @experimental
18
16
  */
19
17
  interface Money {
20
18
  readonly currency: CurrencyCode;
@@ -6,7 +6,6 @@
6
6
  */
7
7
  /**
8
8
  * ISO-4217 currency code (uppercase, 3 letters). Not enumerated — provider coverage varies.
9
- * @experimental
10
9
  */
11
10
  type CurrencyCode = string;
12
11
  /**
@@ -14,7 +13,6 @@ type CurrencyCode = string;
14
13
  *
15
14
  * `minorUnits` is a `bigint`, which is **not** JSON-serializable — cross the RPC/wire boundary
16
15
  * with the `toMoneyJSON` / `fromMoneyJSON` helpers (see `./money`).
17
- * @experimental
18
16
  */
19
17
  interface Money {
20
18
  readonly currency: CurrencyCode;
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.mjs";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.mjs";
2
2
  /**
3
3
  * The `autumn-js` SDK surface the adapter uses, as a structural type — a real `Autumn` instance
4
4
  * satisfies it without a cast. Resources/methods are `unknown` (the adapter re-types the client as
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.js";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.js";
2
2
  /**
3
3
  * The `autumn-js` SDK surface the adapter uses, as a structural type — a real `Autumn` instance
4
4
  * satisfies it without a cast. Resources/methods are `unknown` (the adapter re-types the client as
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.mjs";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.mjs";
2
2
  /**
3
3
  * The `creem` SDK surface the adapter uses, as a structural type — a real `Creem` instance satisfies
4
4
  * it without a cast. Resources are `unknown` (the adapter re-types the client as the real `Creem`
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.js";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.js";
2
2
  /**
3
3
  * The `creem` SDK surface the adapter uses, as a structural type — a real `Creem` instance satisfies
4
4
  * it without a cast. Resources are `unknown` (the adapter re-types the client as the real `Creem`
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.mjs";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.mjs";
2
2
  /**
3
3
  * The `dodopayments` SDK surface the adapter uses, as a structural type — a real `DodoPayments`
4
4
  * instance satisfies it without a cast. Resources are `unknown` (the adapter re-types the client as
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.js";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.js";
2
2
  /**
3
3
  * The `dodopayments` SDK surface the adapter uses, as a structural type — a real `DodoPayments`
4
4
  * instance satisfies it without a cast. Resources are `unknown` (the adapter re-types the client as
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.mjs";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.mjs";
2
2
  /**
3
3
  * The `@polar-sh/sdk` surface the adapter uses, as a structural type — a real `Polar` instance
4
4
  * satisfies it without a cast. Resources are `unknown` (the adapter re-types the client as the real
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.js";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.js";
2
2
  /**
3
3
  * The `@polar-sh/sdk` surface the adapter uses, as a structural type — a real `Polar` instance
4
4
  * satisfies it without a cast. Resources are `unknown` (the adapter re-types the client as the real
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.mjs";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.mjs";
2
2
  /**
3
3
  * The Stripe SDK surface the adapter uses, as a structural type — a real `Stripe` instance satisfies
4
4
  * it without a cast. Resources are `unknown` here (the adapter re-types the client as the real
@@ -1,4 +1,4 @@
1
- import { P as PaymentAdapter } from "../packem_shared/adapter.d-ov0kaEhj.js";
1
+ import { P as PaymentAdapter } from "../packem_shared/adapter.d-Cpy8g96b.js";
2
2
  /**
3
3
  * The Stripe SDK surface the adapter uses, as a structural type — a real `Stripe` instance satisfies
4
4
  * it without a cast. Resources are `unknown` here (the adapter re-types the client as the real
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/payment",
3
- "version": "1.0.0-alpha.82",
3
+ "version": "1.0.0-alpha.84",
4
4
  "description": "Provider-agnostic payments for Lunora: Stripe-first adapter, webhook sync, and subscription/payment state machine",
5
5
  "keywords": [
6
6
  "billing",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@lunora/errors": "1.0.0-alpha.22",
75
- "@lunora/server": "1.0.0-alpha.80",
75
+ "@lunora/server": "1.0.0-alpha.82",
76
76
  "@lunora/values": "1.0.0-alpha.27",
77
77
  "dinero.js": "2.0.2"
78
78
  },