@authvia/payment-method-create 0.6.1 → 0.6.2
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/composables/useHostService.d.ts +1 -0
- package/dist/entry/index.d.ts +3 -3
- package/dist/types/index.d.ts +0 -6
- package/dist/utils/paypalConfig.d.ts +2 -0
- package/dist/utils/runtimeConfig.d.ts +6 -0
- package/dist/utils/sentryWidget.d.ts +1 -9
- package/dist/vue-plugin.d.ts +2 -2
- package/dist/vue-plugin.js +2 -2
- package/dist/vue-plugin.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/entry/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import { default as AuthviaPaymentMethodForm } from '../components/AuthviaPaymentMethodForm.vue';
|
|
3
3
|
import { AuthviaPaymentMethodFormPluginOptions } from '../types';
|
|
4
|
-
declare const
|
|
4
|
+
declare const AuthviaPaymentMethodCreatePlugin: {
|
|
5
5
|
install: (app: App, options?: AuthviaPaymentMethodFormPluginOptions) => void;
|
|
6
6
|
};
|
|
7
|
-
export default
|
|
8
|
-
export {
|
|
7
|
+
export default AuthviaPaymentMethodCreatePlugin;
|
|
8
|
+
export { AuthviaPaymentMethodCreatePlugin };
|
|
9
9
|
export type { AuthviaPaymentMethodFormPluginOptions };
|
|
10
10
|
export { AuthviaPaymentMethodForm };
|
|
11
11
|
export type { AuthviaPaymentMethodFormProps, PaymentMethodFormData, VuetifyProps, SubmitEvent, SuccessEvent, ErrorEvent, PaymentMethodResponse, ValidationError, AVError, } from '../types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -273,10 +273,4 @@ export interface AuthviaPaymentMethodFormPluginOptions {
|
|
|
273
273
|
paypalSDKURL: string;
|
|
274
274
|
paypalClientId: string;
|
|
275
275
|
paypalEnvironment?: string;
|
|
276
|
-
sentryWidgetDSN?: string;
|
|
277
|
-
sentryWidgetRelease?: string;
|
|
278
|
-
/** Maps to Sentry `replaysSessionSampleRate` when initializing the widget client. */
|
|
279
|
-
sentrySampleRate?: number;
|
|
280
|
-
/** Maps to Sentry `replaysOnErrorSampleRate` when initializing the widget client. */
|
|
281
|
-
sentryErrorSampleRate?: number;
|
|
282
276
|
}
|
|
@@ -7,10 +7,12 @@ export declare function hasPaypalClientIdInEnv(): boolean;
|
|
|
7
7
|
* PayPal JS SDK `client-id` from `VITE_APP_PAYPAL_CLIENT_ID` only (not from props).
|
|
8
8
|
*/
|
|
9
9
|
export declare function getPaypalClientIdFromEnv(): string;
|
|
10
|
+
export declare function getPaypalClientId(): string;
|
|
10
11
|
/**
|
|
11
12
|
* PayPal JS SDK script base URL from `VITE_PAYPAL_SDK_URL` (trimmed).
|
|
12
13
|
*/
|
|
13
14
|
export declare function getPaypalSdkUrlFromEnv(): string;
|
|
15
|
+
export declare function getPaypalSdkUrl(): string;
|
|
14
16
|
/**
|
|
15
17
|
* True when `url` is non-empty and an absolute `http:` / `https:` URL with a host.
|
|
16
18
|
* Empty or relative-looking values would yield `?client-id=...` and load the wrong origin.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function resolvePaypalClientId(): string;
|
|
2
|
+
export declare function resolveGoogleMapsApiKey(): string;
|
|
3
|
+
export declare function resolvePaypalSdkUrl(): string;
|
|
4
|
+
export declare function resolvePazeSdkUrl(): string;
|
|
5
|
+
export declare function resolvePaypalEnvironment(): string;
|
|
6
|
+
export declare function resolvePlaidEnv(): string;
|
|
@@ -17,13 +17,6 @@ export declare function shouldSkipWidgetSentryInit(): boolean;
|
|
|
17
17
|
* `standalone-web-component` when events go to the widget project; `lock-embed` when using the host client.
|
|
18
18
|
*/
|
|
19
19
|
export declare function resolveWidgetIntegrationTag(): 'standalone-web-component' | 'lock-embed';
|
|
20
|
-
/** Optional overrides from Vue plugin `app.use(plugin, options)` (hosts without matching `VITE_*` vars). */
|
|
21
|
-
export interface WidgetSentryVueBindOverrides {
|
|
22
|
-
dsn?: string;
|
|
23
|
-
release?: string;
|
|
24
|
-
replaysSessionSampleRate?: number;
|
|
25
|
-
replaysOnErrorSampleRate?: number;
|
|
26
|
-
}
|
|
27
20
|
/**
|
|
28
21
|
* Binds Sentry to a Vue app for this package.
|
|
29
22
|
*
|
|
@@ -34,9 +27,8 @@ export interface WidgetSentryVueBindOverrides {
|
|
|
34
27
|
* Call after `createApp` and **before** `app.mount`.
|
|
35
28
|
*
|
|
36
29
|
* @param app - Vue 3 application instance
|
|
37
|
-
* @param overrides - Optional DSN / release / replay rates from `AuthviaPaymentMethodFormPluginOptions`
|
|
38
30
|
*/
|
|
39
|
-
export declare function bindWidgetSentryToVueApp(app: App
|
|
31
|
+
export declare function bindWidgetSentryToVueApp(app: App): void;
|
|
40
32
|
/**
|
|
41
33
|
* Reports an exception to Sentry when the SDK is active, with widget tags.
|
|
42
34
|
* Safe to call when Sentry was never initialized (no-op for `captureException`; optional structured debug log when enabled).
|
package/dist/vue-plugin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from '../entry/index'
|
|
2
2
|
export {}
|
|
3
|
-
import
|
|
4
|
-
export default
|
|
3
|
+
import AuthviaPaymentMethodCreate from '../entry/index'
|
|
4
|
+
export default AuthviaPaymentMethodCreate
|
|
5
5
|
export * from '../entry/index'
|
|
6
6
|
export {}
|