@coinflowlabs/vue 1.12.0 → 1.12.1

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.
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { CoinflowEnvs, MerchantTheme } from '../../lib/common';
3
- interface CardFormV2TokenResponse {
3
+ export interface CardFormV2TokenResponse {
4
4
  token: string;
5
5
  expMonth?: string;
6
6
  expYear?: string;
@@ -0,0 +1,86 @@
1
+ import { default as CoinflowIframe } from './components/CoinflowIframe.vue';
2
+ import { default as CoinflowWithdraw } from './components/CoinflowWithdraw.vue';
3
+ import { default as CoinflowPurchase } from './components/CoinflowPurchase.vue';
4
+ import { default as CoinflowCardNumberInput } from './components/card-form/CoinflowCardNumberInput.vue';
5
+ import { default as CoinflowCvvInput } from './components/card-form/CoinflowCvvInput.vue';
6
+ import { default as CoinflowCvvOnlyInput } from './components/card-form/CoinflowCvvOnlyInput.vue';
7
+ import { default as CoinflowPurchaseProtection } from './components/CoinflowPurchaseProtection.vue';
8
+ import { default as CoinflowCardNumberOnlyInput } from './components/card-form/CoinflowCardNumberOnlyInput.vue';
9
+ import { default as CoinflowCardFormV2 } from './components/card-form/CoinflowCardFormV2.vue';
10
+ import { default as CoinflowApplePayButton } from './components/mobile-wallet/CoinflowApplePayButton.vue';
11
+ import { default as CoinflowGooglePayButton } from './components/mobile-wallet/CoinflowGooglePayButton.vue';
12
+ export * from './lib/common';
13
+ declare const CoinflowCardForm: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
+ args: {
15
+ type: import('vue').PropType<{
16
+ merchantId: string;
17
+ env?: import('./lib/common').CoinflowEnvs;
18
+ theme?: import('./lib/common').MerchantTheme;
19
+ variant: "card-form" | "card-number-form" | "cvv-form";
20
+ token?: string;
21
+ onLoad?: () => void;
22
+ }>;
23
+ required: true;
24
+ };
25
+ }>, {
26
+ tokenize: () => Promise<import('./components/card-form/CoinflowCardFormV2.vue').CardFormV2TokenResponse>;
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ args: {
29
+ type: import('vue').PropType<{
30
+ merchantId: string;
31
+ env?: import('./lib/common').CoinflowEnvs;
32
+ theme?: import('./lib/common').MerchantTheme;
33
+ variant: "card-form" | "card-number-form" | "cvv-form";
34
+ token?: string;
35
+ onLoad?: () => void;
36
+ }>;
37
+ required: true;
38
+ };
39
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
40
+ iframeRef: HTMLIFrameElement;
41
+ }, HTMLIFrameElement>;
42
+ /** @deprecated Use CoinflowCardForm instead */
43
+ declare const CoinflowLegacyCardNumberInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
44
+ args: {
45
+ type: import('vue').PropType<import('./lib/common').CoinflowCardNumberInputProps & import('./lib/common').MerchantIdOrCheckoutJwt>;
46
+ required: true;
47
+ };
48
+ }>, {
49
+ getToken: () => Promise<import('./lib/common').CoinflowCardTokenResponse>;
50
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
51
+ args: {
52
+ type: import('vue').PropType<import('./lib/common').CoinflowCardNumberInputProps & import('./lib/common').MerchantIdOrCheckoutJwt>;
53
+ required: true;
54
+ };
55
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
56
+ /** @deprecated Use CoinflowCardForm instead */
57
+ declare const CoinflowLegacyCvvInput: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
58
+ /** @deprecated Use CoinflowCardForm instead */
59
+ declare const CoinflowLegacyCvvOnlyInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
60
+ args: {
61
+ type: import('vue').PropType<import('./lib/common').CoinflowCvvOnlyInputProps & import('./lib/common').MerchantIdOrCheckoutJwt>;
62
+ required: true;
63
+ };
64
+ }>, {
65
+ getToken: () => Promise<import('./lib/common').CoinflowCardTokenResponse>;
66
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
67
+ args: {
68
+ type: import('vue').PropType<import('./lib/common').CoinflowCvvOnlyInputProps & import('./lib/common').MerchantIdOrCheckoutJwt>;
69
+ required: true;
70
+ };
71
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
72
+ /** @deprecated Use CoinflowCardForm instead */
73
+ declare const CoinflowLegacyCardNumberOnlyInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
74
+ args: {
75
+ type: import('vue').PropType<import('./lib/common').CoinflowCardNumberInputProps & import('./lib/common').MerchantIdOrCheckoutJwt>;
76
+ required: true;
77
+ };
78
+ }>, {
79
+ getToken: () => Promise<import('./lib/common').CoinflowCardTokenResponse>;
80
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
81
+ args: {
82
+ type: import('vue').PropType<import('./lib/common').CoinflowCardNumberInputProps & import('./lib/common').MerchantIdOrCheckoutJwt>;
83
+ required: true;
84
+ };
85
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
86
+ export { CoinflowIframe, CoinflowWithdraw, CoinflowPurchase, CoinflowPurchaseProtection, CoinflowApplePayButton, CoinflowGooglePayButton, CoinflowCardForm, CoinflowCardFormV2, CoinflowLegacyCardNumberInput, CoinflowLegacyCvvInput, CoinflowLegacyCvvOnlyInput, CoinflowLegacyCardNumberOnlyInput, CoinflowCardNumberInput, CoinflowCvvInput, CoinflowCvvOnlyInput, CoinflowCardNumberOnlyInput, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coinflowlabs/vue",
3
3
  "private": false,
4
- "version": "1.12.0",
4
+ "version": "1.12.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",