@authvia/payment-method-create 0.10.0 → 1.0.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/components/AuthviaPaymentMethodForm.vue.d.ts +2 -0
- package/dist/components/internal/AuthviaPaymentMethodAddAch.vue.d.ts +27 -24
- package/dist/components/internal/AuthviaPaymentMethodCard.vue.d.ts +5 -2
- package/dist/components/internal/AuthviaPaymentMethodCreditCard.vue.d.ts +12 -0
- package/dist/components/internal/AuthviaPaymentMethodOptions.vue.d.ts +29 -0
- package/dist/components/internal/ach/AchFormHorizontalFieldRow.vue.d.ts +31 -0
- package/dist/components/internal/ach/AchFormNameFieldCell.vue.d.ts +18 -0
- package/dist/components/internal/ach/AchFormPlaidBannerAndTypeToggle.vue.d.ts +0 -16
- package/dist/components/internal/ach/AchFormRoutingAccountNameFields.vue.d.ts +5 -3
- package/dist/components/internal/paymentMethodOptions/AuthviaPaymentMethodOptionsAchFlowDialogs.vue.d.ts +1 -0
- package/dist/components/internal/paymentMethodOptions/AuthviaPaymentMethodOptionsWalletFormDialog.vue.d.ts +1 -0
- package/dist/composables/ach/useAchFormSubmitFlow.d.ts +1 -0
- package/dist/composables/ach/useAuthviaPaymentMethodAddAchForm.d.ts +4 -1
- package/dist/composables/paymentMethodForm/useAuthviaPaymentMethodForm.d.ts +3 -0
- package/dist/composables/paymentMethodForm/usePaymentMethodFormChildProps.d.ts +2 -0
- package/dist/composables/paymentMethodForm/usePaymentMethodFormTheme.d.ts +1 -0
- package/dist/composables/paymentMethodOptions/useAuthviaPaymentMethodOptions.d.ts +2 -0
- package/dist/constants/avwcStylingHooks.d.ts +1 -0
- package/dist/entry/web-component.d.ts +0 -2
- package/dist/types/achForm.d.ts +4 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/paymentMethodOptions.d.ts +2 -0
- package/dist/utils/config.d.ts +6 -13
- package/dist/vue-plugin.js +2 -2
- package/dist/vue-plugin.umd.cjs +2 -2
- package/package.json +2 -2
package/dist/utils/config.d.ts
CHANGED
|
@@ -17,25 +17,18 @@ export declare const config: {
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function getApiEndpoint(path: string): string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* Published version of the `authvia-payment-method-credit-card` web component on CDN.
|
|
21
|
+
* Bump when that WC is released; must match the folder CI deploys to on the CDN.
|
|
22
22
|
*/
|
|
23
|
-
export declare const
|
|
23
|
+
export declare const CREDIT_CARD_WC_VERSION: string;
|
|
24
|
+
/** Default credit-card loader path on the CDN (relative to {@link config.cdnUrl}). */
|
|
24
25
|
export declare const DEFAULT_CREDIT_CARD_SCRIPT_PATH: string;
|
|
25
|
-
/** Nonprod CDN URL for the credit-card script. */
|
|
26
|
-
export declare const NONPROD_CREDIT_CARD_SCRIPT_PATH: string;
|
|
27
|
-
/** Production CDN URL for the credit-card script. */
|
|
28
|
-
export declare const PROD_CREDIT_CARD_SCRIPT_URL: string;
|
|
29
26
|
/**
|
|
30
|
-
* Resolves the `src` for the authvia-credit-card loader
|
|
27
|
+
* Resolves the `src` for the authvia-credit-card loader via {@link getCdnUrl} and `VITE_APP_CDN_URL`.
|
|
31
28
|
*
|
|
32
|
-
* Pass the JWT token so the correct CDN environment is selected from its `iss` claim.
|
|
33
|
-
* Falls back to {@link DEFAULT_CREDIT_CARD_SCRIPT_PATH} when `token` is omitted or has no `iss`.
|
|
34
|
-
*
|
|
35
|
-
* @param token - JWT token string (e.g. `props.token`)
|
|
36
29
|
* @returns A non-empty string suitable for a script element `src`
|
|
37
30
|
*/
|
|
38
|
-
export declare function getCreditCardScriptSrc(
|
|
31
|
+
export declare function getCreditCardScriptSrc(): string;
|
|
39
32
|
/**
|
|
40
33
|
* Get CDN URL for assets
|
|
41
34
|
*/
|