azirid-react 0.9.1 → 0.9.3
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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1522,7 +1522,7 @@ import type {
|
|
|
1522
1522
|
| `SubmitTransferProofData` | Transfer proof payload (`planId`, `fileUrl`, `amount`, ...) |
|
|
1523
1523
|
| `TransferProof` | Transfer proof object (`status`: `PENDING_REVIEW \| APPROVED \| REJECTED`, ...) |
|
|
1524
1524
|
| `PayphoneWidgetConfig` | Payphone widget config (`token`, `storeId`, `amount`, ...) |
|
|
1525
|
-
| `PaymentIntent` | Payment intent
|
|
1525
|
+
| `PaymentIntent` | Payment intent (`amount`, `subtotal?`, `taxRate?`, `taxAmount?`, `reference?`, ...) |
|
|
1526
1526
|
|
|
1527
1527
|
### Referral Types
|
|
1528
1528
|
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -508,8 +508,12 @@ interface AvailableProvider {
|
|
|
508
508
|
interface PaymentIntent {
|
|
509
509
|
id: string;
|
|
510
510
|
amount: number;
|
|
511
|
+
subtotal?: number | null;
|
|
512
|
+
taxRate?: number | null;
|
|
513
|
+
taxAmount?: number | null;
|
|
511
514
|
currency: string;
|
|
512
515
|
description?: string;
|
|
516
|
+
reference?: string | null;
|
|
513
517
|
status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'EXPIRED' | 'CANCELED';
|
|
514
518
|
expiresAt?: string;
|
|
515
519
|
metadata?: Record<string, unknown>;
|
|
@@ -565,8 +569,12 @@ interface CheckoutResponse {
|
|
|
565
569
|
intent?: {
|
|
566
570
|
id: string;
|
|
567
571
|
amount: number;
|
|
572
|
+
subtotal?: number | null;
|
|
573
|
+
taxRate?: number | null;
|
|
574
|
+
taxAmount?: number | null;
|
|
568
575
|
currency: string;
|
|
569
576
|
description?: string | null;
|
|
577
|
+
reference?: string | null;
|
|
570
578
|
};
|
|
571
579
|
/** Payphone widget configuration (only for PAYPHONE) */
|
|
572
580
|
widgetConfig?: PayphoneWidgetConfig;
|
package/dist/index.d.ts
CHANGED
|
@@ -508,8 +508,12 @@ interface AvailableProvider {
|
|
|
508
508
|
interface PaymentIntent {
|
|
509
509
|
id: string;
|
|
510
510
|
amount: number;
|
|
511
|
+
subtotal?: number | null;
|
|
512
|
+
taxRate?: number | null;
|
|
513
|
+
taxAmount?: number | null;
|
|
511
514
|
currency: string;
|
|
512
515
|
description?: string;
|
|
516
|
+
reference?: string | null;
|
|
513
517
|
status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'EXPIRED' | 'CANCELED';
|
|
514
518
|
expiresAt?: string;
|
|
515
519
|
metadata?: Record<string, unknown>;
|
|
@@ -565,8 +569,12 @@ interface CheckoutResponse {
|
|
|
565
569
|
intent?: {
|
|
566
570
|
id: string;
|
|
567
571
|
amount: number;
|
|
572
|
+
subtotal?: number | null;
|
|
573
|
+
taxRate?: number | null;
|
|
574
|
+
taxAmount?: number | null;
|
|
568
575
|
currency: string;
|
|
569
576
|
description?: string | null;
|
|
577
|
+
reference?: string | null;
|
|
570
578
|
};
|
|
571
579
|
/** Payphone widget configuration (only for PAYPHONE) */
|
|
572
580
|
widgetConfig?: PayphoneWidgetConfig;
|
package/dist/index.js
CHANGED
|
@@ -3822,7 +3822,7 @@ function usePasswordToggle() {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
|
|
3824
3824
|
// src/index.ts
|
|
3825
|
-
var SDK_VERSION = "0.9.
|
|
3825
|
+
var SDK_VERSION = "0.9.3";
|
|
3826
3826
|
|
|
3827
3827
|
export { AuthForm, AziridProvider, BASE_PATHS, CheckoutButton, ForgotPasswordForm, InvoiceList, LoginForm, PATHS, PayButton, PayphoneCallback, PricingTable, ReferralCard, ReferralStats, ResetPasswordForm, SDK_VERSION, SignupForm, SubscriptionBadge, buildPaths, changePasswordSchema, cn, createAccessClient, createForgotPasswordSchema, createLoginSchema, createMutationHook, createResetPasswordConfirmSchema, createSignupSchema, en, es, forgotPasswordSchema, isAuthError, loginSchema, magicLinkRequestSchema, magicLinkVerifySchema, passkeyRegisterStartSchema, removeStyles, resetPasswordConfirmSchema, resolveMessages, signupSchema, socialLoginSchema, useAccessClient, useAzirid, useBootstrap, useBranding, useChangePassword, useCheckout, useFormState, useInvoices, useLogin, useLogout, useMagicLink, useMessages, usePasskeys, usePasswordReset, usePasswordToggle, usePaymentProviders, usePayphoneConfirm, usePlans, useReferral, useReferralStats, useRefresh, useSession, useSignup, useSocialLogin, useSubmitTransferProof, useSubscription, useSwitchTenant, useTenantMembers, useTenants, useTransferProofs };
|
|
3828
3828
|
//# sourceMappingURL=index.js.map
|