@solvapay/react 1.1.3 → 1.1.4-preview-6d4db430a2edb6fc9e6e3112a3adb6bd8b0afb1a
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 +9 -0
- package/dist/{index-B2hZOto3.d.cts → index-C3WVYiSw.d.cts} +1 -1
- package/dist/{index-C1ViKxpl.d.ts → index-DZHwanZ2.d.ts} +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/mcp/index.d.cts +3 -3
- package/dist/mcp/index.d.ts +3 -3
- package/dist/primitives/index.d.cts +3 -3
- package/dist/primitives/index.d.ts +3 -3
- package/dist/{useUsage-xAm6kcYC.d.cts → useUsage-BzzCDYgF.d.cts} +1 -1
- package/dist/{useUsage-BKHsPSHN.d.ts → useUsage-D8Ot8QdB.d.ts} +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @solvapay/react changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.4-preview-6d4db430a2edb6fc9e6e3112a3adb6bd8b0afb1a
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8dd8638: Fix `McpAppFull.addEventListener`/`removeEventListener` types to accept the tighter `K extends keyof AppEventMap` shape introduced in `@modelcontextprotocol/ext-apps@^1.7`. Previously the loose `(evt: string, …)` signature on the interface didn't match what ext-apps exposes from 1.7+, so consumers seeing types from both `@solvapay/react` and `ext-apps@^1.7` would hit `TS2322: Type 'App' is not assignable to type 'McpAppFull'` at every `<McpApp app={...} />` mount site.
|
|
8
|
+
|
|
9
|
+
The interface now declares `(evt: any, …)` for both event-listener fields, which is permissive enough to satisfy the new tightened generic without giving up the legacy `ontoolresult` setter fallback. Fixes [PR #169](https://github.com/solvapay/solvapay-sdk/pull/169).
|
|
10
|
+
- @solvapay/mcp-core@0.2.4
|
|
11
|
+
|
|
3
12
|
## 1.1.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -3666,4 +3666,4 @@ interface UseTopupAmountSelectorReturn {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
type PurchaseStatusValue = 'pending' | 'active' | 'trialing' | 'past_due' | 'cancelled' | 'expired' | 'suspended' | 'refunded';
|
|
3668
3668
|
|
|
3669
|
-
export { type ActivationResult as A, type BalanceStatus as B, type CheckoutResult as C, type PaymentError as D, type PaymentIntentResult as E, type PaymentMethodInfo as F, type PaymentResult as G, type PurchaseStatusValue as H, type TopupPaymentResult as I, type TransportBalanceResult as J, type TransportCheckoutSessionResult as K, type TransportCustomerSessionResult as L, type MandateContext as M, UnsupportedTransportMethodError as N, type
|
|
3669
|
+
export { type ActivationResult as A, type BalanceStatus as B, type CheckoutResult as C, type PaymentError as D, type PaymentIntentResult as E, type PaymentMethodInfo as F, type PaymentResult as G, type PurchaseStatusValue as H, type TopupPaymentResult as I, type TransportBalanceResult as J, type TransportCheckoutSessionResult as K, type TransportCustomerSessionResult as L, type MandateContext as M, UnsupportedTransportMethodError as N, type components as O, type PaymentFormProps as P, type SolvaPayProviderInitial as Q, type ReactivateResult as R, type SolvaPayProviderProps as S, type TopupFormProps as T, type UsePlansOptions as U, type PrefillCustomer as a, type Plan as b, type PurchaseStatus as c, type SolvaPayContextValue as d, type UsePlansReturn as e, type UsePlanOptions as f, type UsePlanReturn as g, type UseProductReturn as h, type UseMerchantReturn as i, type SolvaPayCopy as j, type PurchaseStatusReturn as k, type CancelResult as l, type ActivatePlanResult as m, type UseTopupOptions as n, type UseTopupReturn as o, type UseTopupAmountSelectorOptions as p, type UseTopupAmountSelectorReturn as q, type UsePaymentMethodReturn as r, type SolvaPayTransport as s, type PartialSolvaPayCopy as t, type PurchaseInfo as u, type Product as v, type SolvaPayConfig as w, type CustomerPurchaseData as x, type MandateTemplate as y, type Merchant as z };
|
|
@@ -3666,4 +3666,4 @@ interface UseTopupAmountSelectorReturn {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
type PurchaseStatusValue = 'pending' | 'active' | 'trialing' | 'past_due' | 'cancelled' | 'expired' | 'suspended' | 'refunded';
|
|
3668
3668
|
|
|
3669
|
-
export { type ActivationResult as A, type BalanceStatus as B, type CheckoutResult as C, type PaymentError as D, type PaymentIntentResult as E, type PaymentMethodInfo as F, type PaymentResult as G, type PurchaseStatusValue as H, type TopupPaymentResult as I, type TransportBalanceResult as J, type TransportCheckoutSessionResult as K, type TransportCustomerSessionResult as L, type MandateContext as M, UnsupportedTransportMethodError as N, type
|
|
3669
|
+
export { type ActivationResult as A, type BalanceStatus as B, type CheckoutResult as C, type PaymentError as D, type PaymentIntentResult as E, type PaymentMethodInfo as F, type PaymentResult as G, type PurchaseStatusValue as H, type TopupPaymentResult as I, type TransportBalanceResult as J, type TransportCheckoutSessionResult as K, type TransportCustomerSessionResult as L, type MandateContext as M, UnsupportedTransportMethodError as N, type components as O, type PaymentFormProps as P, type SolvaPayProviderInitial as Q, type ReactivateResult as R, type SolvaPayProviderProps as S, type TopupFormProps as T, type UsePlansOptions as U, type PrefillCustomer as a, type Plan as b, type PurchaseStatus as c, type SolvaPayContextValue as d, type UsePlansReturn as e, type UsePlanOptions as f, type UsePlanReturn as g, type UseProductReturn as h, type UseMerchantReturn as i, type SolvaPayCopy as j, type PurchaseStatusReturn as k, type CancelResult as l, type ActivatePlanResult as m, type UseTopupOptions as n, type UseTopupReturn as o, type UseTopupAmountSelectorOptions as p, type UseTopupAmountSelectorReturn as q, type UsePaymentMethodReturn as r, type SolvaPayTransport as s, type PartialSolvaPayCopy as t, type PurchaseInfo as u, type Product as v, type SolvaPayConfig as w, type CustomerPurchaseData as x, type MandateTemplate as y, type Merchant as z };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { S as SolvaPayProviderProps, P as PaymentFormProps, a as PrefillCustomer, T as TopupFormProps, C as CheckoutResult, b as Plan, A as ActivationResult, c as PurchaseStatus, d as SolvaPayContextValue, U as UsePlansOptions, e as UsePlansReturn, f as UsePlanOptions, g as UsePlanReturn, h as UseProductReturn, i as UseMerchantReturn, j as SolvaPayCopy, k as PurchaseStatusReturn, l as CancelResult, R as ReactivateResult, m as ActivatePlanResult, n as UseTopupOptions, o as UseTopupReturn, B as BalanceStatus, p as UseTopupAmountSelectorOptions, q as UseTopupAmountSelectorReturn, r as UsePaymentMethodReturn, s as SolvaPayTransport, t as PartialSolvaPayCopy, u as PurchaseInfo, v as Product, w as SolvaPayConfig } from './index-
|
|
3
|
-
export { x as CustomerPurchaseData, M as MandateContext, y as MandateTemplate, z as Merchant, D as PaymentError, E as PaymentIntentResult, F as PaymentMethodInfo, G as PaymentResult, H as PurchaseStatusValue, I as TopupPaymentResult, J as TransportBalanceResult, K as TransportCheckoutSessionResult, L as TransportCustomerSessionResult, N as UnsupportedTransportMethodError } from './index-
|
|
4
|
-
import { P as PaymentFormSummary, a as PaymentFormCustomerFields, b as PaymentFormPaymentElement, c as PaymentFormCardElement, d as PaymentFormMandateText, e as PaymentFormTermsCheckbox, f as PaymentFormSubmitButton, g as PaymentFormLoading, h as PaymentFormError, i as PaymentFormLegalFooter, j as PaywallStructuredContent, C as CheckoutVariant } from './useUsage-
|
|
5
|
-
export { A as ActivationFlowStep, B as BalanceBadge, k as CancelPlanButton, l as CheckoutSummary, m as CheckoutSummaryProps, M as MandateText, n as MandateTextProps, o as PlanBadge, p as ProductBadge, q as PurchaseGate, U as UsageSnapshot, r as UseUsageReturn, s as deriveVariant, u as useUsage } from './useUsage-
|
|
2
|
+
import { S as SolvaPayProviderProps, P as PaymentFormProps, a as PrefillCustomer, T as TopupFormProps, C as CheckoutResult, b as Plan, A as ActivationResult, c as PurchaseStatus, d as SolvaPayContextValue, U as UsePlansOptions, e as UsePlansReturn, f as UsePlanOptions, g as UsePlanReturn, h as UseProductReturn, i as UseMerchantReturn, j as SolvaPayCopy, k as PurchaseStatusReturn, l as CancelResult, R as ReactivateResult, m as ActivatePlanResult, n as UseTopupOptions, o as UseTopupReturn, B as BalanceStatus, p as UseTopupAmountSelectorOptions, q as UseTopupAmountSelectorReturn, r as UsePaymentMethodReturn, s as SolvaPayTransport, t as PartialSolvaPayCopy, u as PurchaseInfo, v as Product, w as SolvaPayConfig } from './index-C3WVYiSw.cjs';
|
|
3
|
+
export { x as CustomerPurchaseData, M as MandateContext, y as MandateTemplate, z as Merchant, D as PaymentError, E as PaymentIntentResult, F as PaymentMethodInfo, G as PaymentResult, H as PurchaseStatusValue, I as TopupPaymentResult, J as TransportBalanceResult, K as TransportCheckoutSessionResult, L as TransportCustomerSessionResult, N as UnsupportedTransportMethodError } from './index-C3WVYiSw.cjs';
|
|
4
|
+
import { P as PaymentFormSummary, a as PaymentFormCustomerFields, b as PaymentFormPaymentElement, c as PaymentFormCardElement, d as PaymentFormMandateText, e as PaymentFormTermsCheckbox, f as PaymentFormSubmitButton, g as PaymentFormLoading, h as PaymentFormError, i as PaymentFormLegalFooter, j as PaywallStructuredContent, C as CheckoutVariant } from './useUsage-BzzCDYgF.cjs';
|
|
5
|
+
export { A as ActivationFlowStep, B as BalanceBadge, k as CancelPlanButton, l as CheckoutSummary, m as CheckoutSummaryProps, M as MandateText, n as MandateTextProps, o as PlanBadge, p as ProductBadge, q as PurchaseGate, U as UsageSnapshot, r as UseUsageReturn, s as deriveVariant, u as useUsage } from './useUsage-BzzCDYgF.cjs';
|
|
6
6
|
import { PaymentIntent, Stripe, StripeElements } from '@stripe/stripe-js';
|
|
7
7
|
export { AuthAdapter, defaultAuthAdapter } from './adapters/auth.cjs';
|
|
8
8
|
import '@stripe/react-stripe-js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { S as SolvaPayProviderProps, P as PaymentFormProps, a as PrefillCustomer, T as TopupFormProps, C as CheckoutResult, b as Plan, A as ActivationResult, c as PurchaseStatus, d as SolvaPayContextValue, U as UsePlansOptions, e as UsePlansReturn, f as UsePlanOptions, g as UsePlanReturn, h as UseProductReturn, i as UseMerchantReturn, j as SolvaPayCopy, k as PurchaseStatusReturn, l as CancelResult, R as ReactivateResult, m as ActivatePlanResult, n as UseTopupOptions, o as UseTopupReturn, B as BalanceStatus, p as UseTopupAmountSelectorOptions, q as UseTopupAmountSelectorReturn, r as UsePaymentMethodReturn, s as SolvaPayTransport, t as PartialSolvaPayCopy, u as PurchaseInfo, v as Product, w as SolvaPayConfig } from './index-
|
|
3
|
-
export { x as CustomerPurchaseData, M as MandateContext, y as MandateTemplate, z as Merchant, D as PaymentError, E as PaymentIntentResult, F as PaymentMethodInfo, G as PaymentResult, H as PurchaseStatusValue, I as TopupPaymentResult, J as TransportBalanceResult, K as TransportCheckoutSessionResult, L as TransportCustomerSessionResult, N as UnsupportedTransportMethodError } from './index-
|
|
4
|
-
import { P as PaymentFormSummary, a as PaymentFormCustomerFields, b as PaymentFormPaymentElement, c as PaymentFormCardElement, d as PaymentFormMandateText, e as PaymentFormTermsCheckbox, f as PaymentFormSubmitButton, g as PaymentFormLoading, h as PaymentFormError, i as PaymentFormLegalFooter, j as PaywallStructuredContent, C as CheckoutVariant } from './useUsage-
|
|
5
|
-
export { A as ActivationFlowStep, B as BalanceBadge, k as CancelPlanButton, l as CheckoutSummary, m as CheckoutSummaryProps, M as MandateText, n as MandateTextProps, o as PlanBadge, p as ProductBadge, q as PurchaseGate, U as UsageSnapshot, r as UseUsageReturn, s as deriveVariant, u as useUsage } from './useUsage-
|
|
2
|
+
import { S as SolvaPayProviderProps, P as PaymentFormProps, a as PrefillCustomer, T as TopupFormProps, C as CheckoutResult, b as Plan, A as ActivationResult, c as PurchaseStatus, d as SolvaPayContextValue, U as UsePlansOptions, e as UsePlansReturn, f as UsePlanOptions, g as UsePlanReturn, h as UseProductReturn, i as UseMerchantReturn, j as SolvaPayCopy, k as PurchaseStatusReturn, l as CancelResult, R as ReactivateResult, m as ActivatePlanResult, n as UseTopupOptions, o as UseTopupReturn, B as BalanceStatus, p as UseTopupAmountSelectorOptions, q as UseTopupAmountSelectorReturn, r as UsePaymentMethodReturn, s as SolvaPayTransport, t as PartialSolvaPayCopy, u as PurchaseInfo, v as Product, w as SolvaPayConfig } from './index-DZHwanZ2.js';
|
|
3
|
+
export { x as CustomerPurchaseData, M as MandateContext, y as MandateTemplate, z as Merchant, D as PaymentError, E as PaymentIntentResult, F as PaymentMethodInfo, G as PaymentResult, H as PurchaseStatusValue, I as TopupPaymentResult, J as TransportBalanceResult, K as TransportCheckoutSessionResult, L as TransportCustomerSessionResult, N as UnsupportedTransportMethodError } from './index-DZHwanZ2.js';
|
|
4
|
+
import { P as PaymentFormSummary, a as PaymentFormCustomerFields, b as PaymentFormPaymentElement, c as PaymentFormCardElement, d as PaymentFormMandateText, e as PaymentFormTermsCheckbox, f as PaymentFormSubmitButton, g as PaymentFormLoading, h as PaymentFormError, i as PaymentFormLegalFooter, j as PaywallStructuredContent, C as CheckoutVariant } from './useUsage-D8Ot8QdB.js';
|
|
5
|
+
export { A as ActivationFlowStep, B as BalanceBadge, k as CancelPlanButton, l as CheckoutSummary, m as CheckoutSummaryProps, M as MandateText, n as MandateTextProps, o as PlanBadge, p as ProductBadge, q as PurchaseGate, U as UsageSnapshot, r as UseUsageReturn, s as deriveVariant, u as useUsage } from './useUsage-D8Ot8QdB.js';
|
|
6
6
|
import { PaymentIntent, Stripe, StripeElements } from '@stripe/stripe-js';
|
|
7
7
|
export { AuthAdapter, defaultAuthAdapter } from './adapters/auth.js';
|
|
8
8
|
import '@stripe/react-stripe-js';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CurrentPlanCard,
|
|
3
|
-
LaunchCustomerPortalButton,
|
|
4
|
-
UpdatePaymentMethodButton,
|
|
5
|
-
usePaymentMethod
|
|
6
|
-
} from "./chunk-OMQXXYD4.js";
|
|
7
1
|
import {
|
|
8
2
|
ActivationFlow,
|
|
9
3
|
CreditGate,
|
|
@@ -15,6 +9,12 @@ import {
|
|
|
15
9
|
useCreditGate,
|
|
16
10
|
usePaywallResolver
|
|
17
11
|
} from "./chunk-65ZUT5BW.js";
|
|
12
|
+
import {
|
|
13
|
+
CurrentPlanCard,
|
|
14
|
+
LaunchCustomerPortalButton,
|
|
15
|
+
UpdatePaymentMethodButton,
|
|
16
|
+
usePaymentMethod
|
|
17
|
+
} from "./chunk-OMQXXYD4.js";
|
|
18
18
|
import {
|
|
19
19
|
AmountPicker,
|
|
20
20
|
BalanceBadge,
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as SolvaPayTransport,
|
|
1
|
+
import { s as SolvaPayTransport, Q as SolvaPayProviderInitial, w as SolvaPayConfig, z as Merchant } from '../index-C3WVYiSw.cjs';
|
|
2
2
|
import { TOOL_FOR_VIEW, SolvaPayMcpViewKind, BootstrapMerchant, BootstrapProduct, BootstrapPlan, BootstrapCustomer } from '@solvapay/mcp-core';
|
|
3
3
|
export { MCP_TOOL_NAMES, McpToolName } from '@solvapay/mcp-core';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -801,8 +801,8 @@ interface McpAppFull extends McpAppBootstrapLike, McpAppLike, McpBridgeAppLike {
|
|
|
801
801
|
* Kept optional so minimal test adapters can omit it — the code falls
|
|
802
802
|
* back to the legacy `ontoolresult` setter.
|
|
803
803
|
*/
|
|
804
|
-
addEventListener?: (evt:
|
|
805
|
-
removeEventListener?: (evt:
|
|
804
|
+
addEventListener?: (evt: any, handler: (params: any) => void) => void;
|
|
805
|
+
removeEventListener?: (evt: any, handler: (params: any) => void) => void;
|
|
806
806
|
ontoolresult?: any;
|
|
807
807
|
/**
|
|
808
808
|
* Fire-and-forget request asking the host to unmount the app. When
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as SolvaPayTransport,
|
|
1
|
+
import { s as SolvaPayTransport, Q as SolvaPayProviderInitial, w as SolvaPayConfig, z as Merchant } from '../index-DZHwanZ2.js';
|
|
2
2
|
import { TOOL_FOR_VIEW, SolvaPayMcpViewKind, BootstrapMerchant, BootstrapProduct, BootstrapPlan, BootstrapCustomer } from '@solvapay/mcp-core';
|
|
3
3
|
export { MCP_TOOL_NAMES, McpToolName } from '@solvapay/mcp-core';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -801,8 +801,8 @@ interface McpAppFull extends McpAppBootstrapLike, McpAppLike, McpBridgeAppLike {
|
|
|
801
801
|
* Kept optional so minimal test adapters can omit it — the code falls
|
|
802
802
|
* back to the legacy `ontoolresult` setter.
|
|
803
803
|
*/
|
|
804
|
-
addEventListener?: (evt:
|
|
805
|
-
removeEventListener?: (evt:
|
|
804
|
+
addEventListener?: (evt: any, handler: (params: any) => void) => void;
|
|
805
|
+
removeEventListener?: (evt: any, handler: (params: any) => void) => void;
|
|
806
806
|
ontoolresult?: any;
|
|
807
807
|
/**
|
|
808
808
|
* Fire-and-forget request asking the host to unmount the app. When
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { Ref } from 'react';
|
|
3
|
-
import { b as Plan, v as Product, q as UseTopupAmountSelectorReturn, u as PurchaseInfo, T as TopupFormProps } from '../index-
|
|
4
|
-
import { j as PaywallStructuredContent, U as UsageSnapshot } from '../useUsage-
|
|
5
|
-
export { t as ActivationFlow, v as ActivationFlowActivateButton, w as ActivationFlowActivated, x as ActivationFlowAmountPicker, y as ActivationFlowContinueButton, z as ActivationFlowError, D as ActivationFlowLoading, E as ActivationFlowRetrying, F as ActivationFlowRoot, A as ActivationFlowStep, G as ActivationFlowSummary, B as BalanceBadge, k as CancelPlanButton, M as MandateText, n as MandateTextProps, H as PaymentForm, c as PaymentFormCardElement, a as PaymentFormCustomerFields, h as PaymentFormError, i as PaymentFormLegalFooter, g as PaymentFormLoading, d as PaymentFormMandateText, b as PaymentFormPaymentElement, I as PaymentFormRoot, f as PaymentFormSubmitButton, P as PaymentFormSummary, e as PaymentFormTermsCheckbox, o as PlanBadge, p as ProductBadge, q as PurchaseGate, J as PurchaseGateAllowed, K as PurchaseGateBlocked, L as PurchaseGateError, N as PurchaseGateLoading, O as PurchaseGateRoot, Q as useActivationFlow, R as usePurchaseGate } from '../useUsage-
|
|
3
|
+
import { b as Plan, v as Product, q as UseTopupAmountSelectorReturn, u as PurchaseInfo, T as TopupFormProps } from '../index-C3WVYiSw.cjs';
|
|
4
|
+
import { j as PaywallStructuredContent, U as UsageSnapshot } from '../useUsage-BzzCDYgF.cjs';
|
|
5
|
+
export { t as ActivationFlow, v as ActivationFlowActivateButton, w as ActivationFlowActivated, x as ActivationFlowAmountPicker, y as ActivationFlowContinueButton, z as ActivationFlowError, D as ActivationFlowLoading, E as ActivationFlowRetrying, F as ActivationFlowRoot, A as ActivationFlowStep, G as ActivationFlowSummary, B as BalanceBadge, k as CancelPlanButton, M as MandateText, n as MandateTextProps, H as PaymentForm, c as PaymentFormCardElement, a as PaymentFormCustomerFields, h as PaymentFormError, i as PaymentFormLegalFooter, g as PaymentFormLoading, d as PaymentFormMandateText, b as PaymentFormPaymentElement, I as PaymentFormRoot, f as PaymentFormSubmitButton, P as PaymentFormSummary, e as PaymentFormTermsCheckbox, o as PlanBadge, p as ProductBadge, q as PurchaseGate, J as PurchaseGateAllowed, K as PurchaseGateBlocked, L as PurchaseGateError, N as PurchaseGateLoading, O as PurchaseGateRoot, Q as useActivationFlow, R as usePurchaseGate } from '../useUsage-BzzCDYgF.cjs';
|
|
6
6
|
import { PaymentElement } from '@stripe/react-stripe-js';
|
|
7
7
|
import { Stripe, StripeElements } from '@stripe/stripe-js';
|
|
8
8
|
import '../adapters/auth.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { Ref } from 'react';
|
|
3
|
-
import { b as Plan, v as Product, q as UseTopupAmountSelectorReturn, u as PurchaseInfo, T as TopupFormProps } from '../index-
|
|
4
|
-
import { j as PaywallStructuredContent, U as UsageSnapshot } from '../useUsage-
|
|
5
|
-
export { t as ActivationFlow, v as ActivationFlowActivateButton, w as ActivationFlowActivated, x as ActivationFlowAmountPicker, y as ActivationFlowContinueButton, z as ActivationFlowError, D as ActivationFlowLoading, E as ActivationFlowRetrying, F as ActivationFlowRoot, A as ActivationFlowStep, G as ActivationFlowSummary, B as BalanceBadge, k as CancelPlanButton, M as MandateText, n as MandateTextProps, H as PaymentForm, c as PaymentFormCardElement, a as PaymentFormCustomerFields, h as PaymentFormError, i as PaymentFormLegalFooter, g as PaymentFormLoading, d as PaymentFormMandateText, b as PaymentFormPaymentElement, I as PaymentFormRoot, f as PaymentFormSubmitButton, P as PaymentFormSummary, e as PaymentFormTermsCheckbox, o as PlanBadge, p as ProductBadge, q as PurchaseGate, J as PurchaseGateAllowed, K as PurchaseGateBlocked, L as PurchaseGateError, N as PurchaseGateLoading, O as PurchaseGateRoot, Q as useActivationFlow, R as usePurchaseGate } from '../useUsage-
|
|
3
|
+
import { b as Plan, v as Product, q as UseTopupAmountSelectorReturn, u as PurchaseInfo, T as TopupFormProps } from '../index-DZHwanZ2.js';
|
|
4
|
+
import { j as PaywallStructuredContent, U as UsageSnapshot } from '../useUsage-D8Ot8QdB.js';
|
|
5
|
+
export { t as ActivationFlow, v as ActivationFlowActivateButton, w as ActivationFlowActivated, x as ActivationFlowAmountPicker, y as ActivationFlowContinueButton, z as ActivationFlowError, D as ActivationFlowLoading, E as ActivationFlowRetrying, F as ActivationFlowRoot, A as ActivationFlowStep, G as ActivationFlowSummary, B as BalanceBadge, k as CancelPlanButton, M as MandateText, n as MandateTextProps, H as PaymentForm, c as PaymentFormCardElement, a as PaymentFormCustomerFields, h as PaymentFormError, i as PaymentFormLegalFooter, g as PaymentFormLoading, d as PaymentFormMandateText, b as PaymentFormPaymentElement, I as PaymentFormRoot, f as PaymentFormSubmitButton, P as PaymentFormSummary, e as PaymentFormTermsCheckbox, o as PlanBadge, p as ProductBadge, q as PurchaseGate, J as PurchaseGateAllowed, K as PurchaseGateBlocked, L as PurchaseGateError, N as PurchaseGateLoading, O as PurchaseGateRoot, Q as useActivationFlow, R as usePurchaseGate } from '../useUsage-D8Ot8QdB.js';
|
|
6
6
|
import { PaymentElement } from '@stripe/react-stripe-js';
|
|
7
7
|
import { Stripe, StripeElements } from '@stripe/stripe-js';
|
|
8
8
|
import '../adapters/auth.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as components, b as Plan, P as PaymentFormProps, a as PrefillCustomer, A as ActivationResult, q as UseTopupAmountSelectorReturn } from './index-C3WVYiSw.cjs';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PaymentElement, CardElement } from '@stripe/react-stripe-js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as components, b as Plan, P as PaymentFormProps, a as PrefillCustomer, A as ActivationResult, q as UseTopupAmountSelectorReturn } from './index-DZHwanZ2.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PaymentElement, CardElement } from '@stripe/react-stripe-js';
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solvapay/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4-preview-6d4db430a2edb6fc9e6e3112a3adb6bd8b0afb1a",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"@vitejs/plugin-react": "^6.0.1",
|
|
76
76
|
"@vitest/coverage-v8": "^4.1.2",
|
|
77
77
|
"jsdom": "^29.0.1",
|
|
78
|
-
"react": "^19.2.
|
|
79
|
-
"react-dom": "^19.2.
|
|
78
|
+
"react": "^19.2.5",
|
|
79
|
+
"react-dom": "^19.2.5",
|
|
80
80
|
"typescript": "^5.9.3",
|
|
81
81
|
"vitest": "^4.1.2",
|
|
82
82
|
"@solvapay/mcp-core": "0.2.4",
|
|
83
|
-
"@solvapay/server": "1.0.
|
|
83
|
+
"@solvapay/server": "1.0.12-preview-6d4db430a2edb6fc9e6e3112a3adb6bd8b0afb1a",
|
|
84
84
|
"@solvapay/test-utils": "0.0.0"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|