better-auth-streampay 3.3.1 → 3.5.0
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/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/index.cjs +2991 -2618
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2991 -2619
- package/dist/index.js.map +1 -1
- package/dist/{streampay-idQUxi7x.d.cts → streampay-CKPv2wFz.d.cts} +266 -67
- package/dist/{streampay-idQUxi7x.d.ts → streampay-CKPv2wFz.d.ts} +266 -67
- package/docs/integration.md +53 -0
- package/docs/staging-validation.md +1 -0
- package/docs/state-machines.md +47 -22
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as StreamPayClient } from './streampay-
|
|
2
|
-
export { $ as $ERROR_CODES, A as
|
|
1
|
+
import { a as StreamPayClient } from './streampay-CKPv2wFz.cjs';
|
|
2
|
+
export { $ as $ERROR_CODES, A as APP_ID_METADATA_KEY, b as AdminOptions, c as AuthorizeReferenceContext, C as CheckoutBody, d as CheckoutCreatedContext, e as CheckoutOptions, f as CheckoutOverrides, g as CheckoutParams, h as CheckoutResolutionContext, i as ClaimExistingConsumerBy, j as ClaimExistingConsumerIdentifier, k as ConsumerCreateOverrides, D as DEFAULT_ACCESS_STATUSES, F as FeatureKey, L as LimitCheckResult, P as PLAN_NAME_METADATA_KEY, l as PluginAdapter, m as PortalOptions, R as REFERENCE_ID_METADATA_KEY, n as REFERENCE_TYPE_METADATA_KEY, o as ResolvedPlans, p as STREAMPAY_EVENT_TYPES, q as STREAMPAY_INVOICE_EVENT_TYPES, r as STREAMPAY_PAYMENT_EVENT_TYPES, t as STREAMPAY_PAYMENT_LINK_EVENT_TYPES, u as STREAMPAY_SUBSCRIPTION_EVENT_TYPES, v as SUBSCRIPTION_ROW_ID_METADATA_KEY, w as StreamPayCustomFieldDefinition, x as StreamPayCustomFieldsSchema, y as StreamPayEndpoints, z as StreamPayEntityType, S as StreamPayErrorCode, B as StreamPayEventType, G as StreamPayHookContext, H as StreamPayInvoiceEventType, I as StreamPayOptions, J as StreamPayPaymentEventType, K as StreamPayPaymentLinkEventType, M as StreamPayPlan, N as StreamPayPlanLike, O as StreamPayPlugin, Q as StreamPayPluginRegistry, T as StreamPayPlugins, U as StreamPayProduct, V as StreamPaySeatBilling, W as StreamPaySubscriptionEventType, X as StreamPayWebhookData, Y as StreamPayWebhookEnvelope, Z as StreamPayWebhookPayload, _ as Subscription, a0 as SubscriptionBillingStatus, a1 as SubscriptionCallback, a2 as SubscriptionCallbackData, a3 as SubscriptionCallbacks, a4 as SubscriptionReferenceContext, a5 as SubscriptionReferenceType, a6 as SubscriptionStatus, a7 as SubscriptionsOptions, a8 as SyncContext, a9 as TrialEligibilityContext, aa as UnlinkedSubscriptionContext, ab as UnlinkedSubscriptionResolution, ac as WebhookEnvelopeHandler, ad as WebhookHandler, ae as WebhookHandlers, af as WebhookSyncFailure, ag as WebhooksOptions, ah as admin, ai as checkLimit, aj as checkout, ak as classifyWebhookFailure, al as dispatchWebhook, am as hasFeature, an as hasSubscriptionAccess, ao as isKnownStreamPayWebhookPayload, ap as isStreamPayWebhookEnvelope, aq as mapToErrorCode, ar as portal, s as streampay, as as subscriptionSlotKey, at as subscriptions, au as syncWebhookPayload, av as webhooks } from './streampay-CKPv2wFz.cjs';
|
|
3
3
|
import { InvoiceDetailed, PaymentResponse, ConsumerResponse } from '@streamsdk/typescript';
|
|
4
4
|
import 'better-auth';
|
|
5
5
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as StreamPayClient } from './streampay-
|
|
2
|
-
export { $ as $ERROR_CODES, A as
|
|
1
|
+
import { a as StreamPayClient } from './streampay-CKPv2wFz.js';
|
|
2
|
+
export { $ as $ERROR_CODES, A as APP_ID_METADATA_KEY, b as AdminOptions, c as AuthorizeReferenceContext, C as CheckoutBody, d as CheckoutCreatedContext, e as CheckoutOptions, f as CheckoutOverrides, g as CheckoutParams, h as CheckoutResolutionContext, i as ClaimExistingConsumerBy, j as ClaimExistingConsumerIdentifier, k as ConsumerCreateOverrides, D as DEFAULT_ACCESS_STATUSES, F as FeatureKey, L as LimitCheckResult, P as PLAN_NAME_METADATA_KEY, l as PluginAdapter, m as PortalOptions, R as REFERENCE_ID_METADATA_KEY, n as REFERENCE_TYPE_METADATA_KEY, o as ResolvedPlans, p as STREAMPAY_EVENT_TYPES, q as STREAMPAY_INVOICE_EVENT_TYPES, r as STREAMPAY_PAYMENT_EVENT_TYPES, t as STREAMPAY_PAYMENT_LINK_EVENT_TYPES, u as STREAMPAY_SUBSCRIPTION_EVENT_TYPES, v as SUBSCRIPTION_ROW_ID_METADATA_KEY, w as StreamPayCustomFieldDefinition, x as StreamPayCustomFieldsSchema, y as StreamPayEndpoints, z as StreamPayEntityType, S as StreamPayErrorCode, B as StreamPayEventType, G as StreamPayHookContext, H as StreamPayInvoiceEventType, I as StreamPayOptions, J as StreamPayPaymentEventType, K as StreamPayPaymentLinkEventType, M as StreamPayPlan, N as StreamPayPlanLike, O as StreamPayPlugin, Q as StreamPayPluginRegistry, T as StreamPayPlugins, U as StreamPayProduct, V as StreamPaySeatBilling, W as StreamPaySubscriptionEventType, X as StreamPayWebhookData, Y as StreamPayWebhookEnvelope, Z as StreamPayWebhookPayload, _ as Subscription, a0 as SubscriptionBillingStatus, a1 as SubscriptionCallback, a2 as SubscriptionCallbackData, a3 as SubscriptionCallbacks, a4 as SubscriptionReferenceContext, a5 as SubscriptionReferenceType, a6 as SubscriptionStatus, a7 as SubscriptionsOptions, a8 as SyncContext, a9 as TrialEligibilityContext, aa as UnlinkedSubscriptionContext, ab as UnlinkedSubscriptionResolution, ac as WebhookEnvelopeHandler, ad as WebhookHandler, ae as WebhookHandlers, af as WebhookSyncFailure, ag as WebhooksOptions, ah as admin, ai as checkLimit, aj as checkout, ak as classifyWebhookFailure, al as dispatchWebhook, am as hasFeature, an as hasSubscriptionAccess, ao as isKnownStreamPayWebhookPayload, ap as isStreamPayWebhookEnvelope, aq as mapToErrorCode, ar as portal, s as streampay, as as subscriptionSlotKey, at as subscriptions, au as syncWebhookPayload, av as webhooks } from './streampay-CKPv2wFz.js';
|
|
3
3
|
import { InvoiceDetailed, PaymentResponse, ConsumerResponse } from '@streamsdk/typescript';
|
|
4
4
|
import 'better-auth';
|
|
5
5
|
import 'zod';
|