@stripe/stripe-js 3.0.9 → 3.1.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/api/confirmation-tokens.d.mts +183 -0
- package/dist/api/confirmation-tokens.d.ts +183 -0
- package/dist/api/index.d.mts +1 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/pure.js +1 -1
- package/dist/pure.mjs +1 -1
- package/dist/stripe-js/confirmation-tokens.d.mts +1 -0
- package/dist/stripe-js/confirmation-tokens.d.ts +1 -0
- package/dist/stripe-js/stripe.d.mts +14 -0
- package/dist/stripe-js/stripe.d.ts +14 -0
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import {StripeElements} from '../stripe-js';
|
|
2
|
+
import {Address} from './shared';
|
|
3
|
+
import {PaymentMethod, PaymentMethodCreateParams} from './payment-methods';
|
|
4
|
+
import {PaymentIntent} from './payment-intents';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The ConfirmationToken object.
|
|
8
|
+
*/
|
|
9
|
+
export interface ConfirmationToken {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for the object.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
17
|
+
*/
|
|
18
|
+
object: 'confirmation_token';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
22
|
+
*/
|
|
23
|
+
created: number;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent. This is set to null once this ConfirmationToken has been used. Measured in seconds since the Unix epoch.
|
|
27
|
+
*/
|
|
28
|
+
expires_at: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
32
|
+
*/
|
|
33
|
+
livemode: boolean;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
|
|
37
|
+
*/
|
|
38
|
+
payment_intent: null | string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.
|
|
42
|
+
*/
|
|
43
|
+
payment_method_preview: ConfirmationToken.PaymentMethodPreview;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The URL your customer is redirected to after they complete the payment.
|
|
47
|
+
*/
|
|
48
|
+
return_url: string | null;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Indicates that you intend to make future payments with this ConfirmationToken’s payment method.
|
|
52
|
+
*
|
|
53
|
+
* The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent’s Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
|
|
54
|
+
*
|
|
55
|
+
* Stripe uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules. For example, if your customer is impacted by [SCA](https://stripe.com/docs/strong-customer-authentication), using `off_session` will ensure that they are authenticated while processing this PaymentIntent. You will then be able to collect [off-session payments](https://stripe.com/docs/payments/cards/charging-saved-cards#off-session-payments-with-saved-cards) for this customer.
|
|
56
|
+
*/
|
|
57
|
+
setup_future_usage: PaymentIntent.SetupFutureUsage | null;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
|
|
61
|
+
*/
|
|
62
|
+
setup_intent: null | string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Shipping information for this ConfirmationToken.
|
|
66
|
+
*/
|
|
67
|
+
shipping: PaymentIntent.Shipping | null;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Set to true when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
71
|
+
*/
|
|
72
|
+
use_stripe_sdk: boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface ConfirmationTokenCreateParams {
|
|
76
|
+
/**
|
|
77
|
+
* Data used to create a new payment method.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
payment_method_data?: {
|
|
81
|
+
/**
|
|
82
|
+
* The customer's billing details.
|
|
83
|
+
*/
|
|
84
|
+
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Shipping information.
|
|
89
|
+
*/
|
|
90
|
+
shipping?: ConfirmationToken.Shipping;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The url your customer will be directed to after they complete authentication.
|
|
94
|
+
*/
|
|
95
|
+
return_url?: string | null;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export interface CreateConfirmationToken {
|
|
99
|
+
/**
|
|
100
|
+
* The Elements instance.
|
|
101
|
+
*
|
|
102
|
+
* @docs https://stripe.com/docs/js/elements_object
|
|
103
|
+
*/
|
|
104
|
+
elements: StripeElements;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Parameters for creating the ConfirmationToken.
|
|
108
|
+
* Details collected by Elements will be overriden by values passed here.
|
|
109
|
+
*/
|
|
110
|
+
params?: ConfirmationTokenCreateParams;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export namespace ConfirmationToken {
|
|
114
|
+
export interface Shipping {
|
|
115
|
+
/**
|
|
116
|
+
* Recipient address.
|
|
117
|
+
*/
|
|
118
|
+
address: Address;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Recipient name.
|
|
122
|
+
*/
|
|
123
|
+
name: string | null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Recipient phone (including extension).
|
|
127
|
+
*/
|
|
128
|
+
phone?: string | null;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface PaymentMethodPreview {
|
|
132
|
+
/**
|
|
133
|
+
* The type of the PaymentMethod. An additional hash is included on payment_method_preview with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
|
134
|
+
*/
|
|
135
|
+
type: string;
|
|
136
|
+
|
|
137
|
+
billing_details: PaymentMethod.BillingDetails;
|
|
138
|
+
|
|
139
|
+
acss_debit?: PaymentMethod.AcssDebit;
|
|
140
|
+
|
|
141
|
+
affirm?: PaymentMethod.Affirm;
|
|
142
|
+
|
|
143
|
+
afterpay_clearpay?: PaymentMethod.AfterpayClearpay;
|
|
144
|
+
|
|
145
|
+
au_becs_debit?: PaymentMethod.AuBecsDebit;
|
|
146
|
+
|
|
147
|
+
card?: PaymentMethod.Card;
|
|
148
|
+
|
|
149
|
+
card_present?: PaymentMethod.CardPresent;
|
|
150
|
+
|
|
151
|
+
eps?: PaymentMethod.Eps;
|
|
152
|
+
|
|
153
|
+
fpx?: PaymentMethod.Fpx;
|
|
154
|
+
|
|
155
|
+
grabpay?: PaymentMethod.GrabPay;
|
|
156
|
+
|
|
157
|
+
ideal?: PaymentMethod.Ideal;
|
|
158
|
+
|
|
159
|
+
p24?: PaymentMethod.P24;
|
|
160
|
+
|
|
161
|
+
sepa_debit?: PaymentMethod.SepaDebit;
|
|
162
|
+
|
|
163
|
+
us_bank_account?: PaymentMethod.UsBankAccount;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface MandateData {
|
|
167
|
+
customer_acceptance: {
|
|
168
|
+
type: 'online';
|
|
169
|
+
|
|
170
|
+
online?: {
|
|
171
|
+
/**
|
|
172
|
+
* The IP address from which the Mandate was accepted by the customer.
|
|
173
|
+
*/
|
|
174
|
+
ip_address: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The user agent of the browser from which the Mandate was accepted by the customer.
|
|
178
|
+
*/
|
|
179
|
+
user_agent: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import {StripeElements} from '../stripe-js';
|
|
2
|
+
import {Address} from './shared';
|
|
3
|
+
import {PaymentMethod, PaymentMethodCreateParams} from './payment-methods';
|
|
4
|
+
import {PaymentIntent} from './payment-intents';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The ConfirmationToken object.
|
|
8
|
+
*/
|
|
9
|
+
export interface ConfirmationToken {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for the object.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
17
|
+
*/
|
|
18
|
+
object: 'confirmation_token';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
22
|
+
*/
|
|
23
|
+
created: number;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent. This is set to null once this ConfirmationToken has been used. Measured in seconds since the Unix epoch.
|
|
27
|
+
*/
|
|
28
|
+
expires_at: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
32
|
+
*/
|
|
33
|
+
livemode: boolean;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
|
|
37
|
+
*/
|
|
38
|
+
payment_intent: null | string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.
|
|
42
|
+
*/
|
|
43
|
+
payment_method_preview: ConfirmationToken.PaymentMethodPreview;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The URL your customer is redirected to after they complete the payment.
|
|
47
|
+
*/
|
|
48
|
+
return_url: string | null;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Indicates that you intend to make future payments with this ConfirmationToken’s payment method.
|
|
52
|
+
*
|
|
53
|
+
* The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent’s Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
|
|
54
|
+
*
|
|
55
|
+
* Stripe uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules. For example, if your customer is impacted by [SCA](https://stripe.com/docs/strong-customer-authentication), using `off_session` will ensure that they are authenticated while processing this PaymentIntent. You will then be able to collect [off-session payments](https://stripe.com/docs/payments/cards/charging-saved-cards#off-session-payments-with-saved-cards) for this customer.
|
|
56
|
+
*/
|
|
57
|
+
setup_future_usage: PaymentIntent.SetupFutureUsage | null;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
|
|
61
|
+
*/
|
|
62
|
+
setup_intent: null | string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Shipping information for this ConfirmationToken.
|
|
66
|
+
*/
|
|
67
|
+
shipping: PaymentIntent.Shipping | null;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Set to true when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
71
|
+
*/
|
|
72
|
+
use_stripe_sdk: boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface ConfirmationTokenCreateParams {
|
|
76
|
+
/**
|
|
77
|
+
* Data used to create a new payment method.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
payment_method_data?: {
|
|
81
|
+
/**
|
|
82
|
+
* The customer's billing details.
|
|
83
|
+
*/
|
|
84
|
+
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Shipping information.
|
|
89
|
+
*/
|
|
90
|
+
shipping?: ConfirmationToken.Shipping;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The url your customer will be directed to after they complete authentication.
|
|
94
|
+
*/
|
|
95
|
+
return_url?: string | null;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export interface CreateConfirmationToken {
|
|
99
|
+
/**
|
|
100
|
+
* The Elements instance.
|
|
101
|
+
*
|
|
102
|
+
* @docs https://stripe.com/docs/js/elements_object
|
|
103
|
+
*/
|
|
104
|
+
elements: StripeElements;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Parameters for creating the ConfirmationToken.
|
|
108
|
+
* Details collected by Elements will be overriden by values passed here.
|
|
109
|
+
*/
|
|
110
|
+
params?: ConfirmationTokenCreateParams;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export namespace ConfirmationToken {
|
|
114
|
+
export interface Shipping {
|
|
115
|
+
/**
|
|
116
|
+
* Recipient address.
|
|
117
|
+
*/
|
|
118
|
+
address: Address;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Recipient name.
|
|
122
|
+
*/
|
|
123
|
+
name: string | null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Recipient phone (including extension).
|
|
127
|
+
*/
|
|
128
|
+
phone?: string | null;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface PaymentMethodPreview {
|
|
132
|
+
/**
|
|
133
|
+
* The type of the PaymentMethod. An additional hash is included on payment_method_preview with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
|
134
|
+
*/
|
|
135
|
+
type: string;
|
|
136
|
+
|
|
137
|
+
billing_details: PaymentMethod.BillingDetails;
|
|
138
|
+
|
|
139
|
+
acss_debit?: PaymentMethod.AcssDebit;
|
|
140
|
+
|
|
141
|
+
affirm?: PaymentMethod.Affirm;
|
|
142
|
+
|
|
143
|
+
afterpay_clearpay?: PaymentMethod.AfterpayClearpay;
|
|
144
|
+
|
|
145
|
+
au_becs_debit?: PaymentMethod.AuBecsDebit;
|
|
146
|
+
|
|
147
|
+
card?: PaymentMethod.Card;
|
|
148
|
+
|
|
149
|
+
card_present?: PaymentMethod.CardPresent;
|
|
150
|
+
|
|
151
|
+
eps?: PaymentMethod.Eps;
|
|
152
|
+
|
|
153
|
+
fpx?: PaymentMethod.Fpx;
|
|
154
|
+
|
|
155
|
+
grabpay?: PaymentMethod.GrabPay;
|
|
156
|
+
|
|
157
|
+
ideal?: PaymentMethod.Ideal;
|
|
158
|
+
|
|
159
|
+
p24?: PaymentMethod.P24;
|
|
160
|
+
|
|
161
|
+
sepa_debit?: PaymentMethod.SepaDebit;
|
|
162
|
+
|
|
163
|
+
us_bank_account?: PaymentMethod.UsBankAccount;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface MandateData {
|
|
167
|
+
customer_acceptance: {
|
|
168
|
+
type: 'online';
|
|
169
|
+
|
|
170
|
+
online?: {
|
|
171
|
+
/**
|
|
172
|
+
* The IP address from which the Mandate was accepted by the customer.
|
|
173
|
+
*/
|
|
174
|
+
ip_address: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The user agent of the browser from which the Mandate was accepted by the customer.
|
|
178
|
+
*/
|
|
179
|
+
user_agent: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
}
|
package/dist/api/index.d.mts
CHANGED
package/dist/api/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/pure.js
CHANGED
package/dist/pure.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {CreateConfirmationToken} from '../api';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {CreateConfirmationToken} from '../api';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as api from '../api';
|
|
2
2
|
import * as paymentIntents from './payment-intents';
|
|
3
3
|
import * as setupIntents from './setup-intents';
|
|
4
|
+
import * as confirmationTokens from './confirmation-tokens';
|
|
4
5
|
import * as orders from './orders';
|
|
5
6
|
import * as tokens from './token-and-sources';
|
|
6
7
|
import * as elements from './elements';
|
|
@@ -671,6 +672,15 @@ export interface Stripe {
|
|
|
671
672
|
options: paymentIntents.CreatePaymentMethodFromElement
|
|
672
673
|
): Promise<PaymentMethodResult>;
|
|
673
674
|
|
|
675
|
+
/**
|
|
676
|
+
* Use stripe.createConfirmationToken to convert payment information collected by elements into a [ConfirmationToken](https://stripe.com/docs/api/confirmation_tokens) object that you safely pass to your server to use in an API call.
|
|
677
|
+
*
|
|
678
|
+
* @docs https://stripe.com/docs/js/confirmation_tokens/create_confirmation_token
|
|
679
|
+
*/
|
|
680
|
+
createConfirmationToken(
|
|
681
|
+
options: confirmationTokens.CreateConfirmationToken
|
|
682
|
+
): Promise<ConfirmationTokenResult>;
|
|
683
|
+
|
|
674
684
|
/**
|
|
675
685
|
* Retrieve a [PaymentIntent](https://stripe.com/docs/api/payment_intents) using its [client secret](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-client_secret).
|
|
676
686
|
*
|
|
@@ -1250,6 +1260,10 @@ export type PaymentMethodResult =
|
|
|
1250
1260
|
| {paymentMethod: api.PaymentMethod; error?: undefined}
|
|
1251
1261
|
| {paymentMethod?: undefined; error: StripeError};
|
|
1252
1262
|
|
|
1263
|
+
export type ConfirmationTokenResult =
|
|
1264
|
+
| {confirmationToken: api.ConfirmationToken; error?: undefined}
|
|
1265
|
+
| {confirmationToken?: undefined; error: StripeError};
|
|
1266
|
+
|
|
1253
1267
|
export type SourceResult =
|
|
1254
1268
|
| {source: api.Source; error?: undefined}
|
|
1255
1269
|
| {source?: undefined; error: StripeError};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as api from '../api';
|
|
2
2
|
import * as paymentIntents from './payment-intents';
|
|
3
3
|
import * as setupIntents from './setup-intents';
|
|
4
|
+
import * as confirmationTokens from './confirmation-tokens';
|
|
4
5
|
import * as orders from './orders';
|
|
5
6
|
import * as tokens from './token-and-sources';
|
|
6
7
|
import * as elements from './elements';
|
|
@@ -671,6 +672,15 @@ export interface Stripe {
|
|
|
671
672
|
options: paymentIntents.CreatePaymentMethodFromElement
|
|
672
673
|
): Promise<PaymentMethodResult>;
|
|
673
674
|
|
|
675
|
+
/**
|
|
676
|
+
* Use stripe.createConfirmationToken to convert payment information collected by elements into a [ConfirmationToken](https://stripe.com/docs/api/confirmation_tokens) object that you safely pass to your server to use in an API call.
|
|
677
|
+
*
|
|
678
|
+
* @docs https://stripe.com/docs/js/confirmation_tokens/create_confirmation_token
|
|
679
|
+
*/
|
|
680
|
+
createConfirmationToken(
|
|
681
|
+
options: confirmationTokens.CreateConfirmationToken
|
|
682
|
+
): Promise<ConfirmationTokenResult>;
|
|
683
|
+
|
|
674
684
|
/**
|
|
675
685
|
* Retrieve a [PaymentIntent](https://stripe.com/docs/api/payment_intents) using its [client secret](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-client_secret).
|
|
676
686
|
*
|
|
@@ -1250,6 +1260,10 @@ export type PaymentMethodResult =
|
|
|
1250
1260
|
| {paymentMethod: api.PaymentMethod; error?: undefined}
|
|
1251
1261
|
| {paymentMethod?: undefined; error: StripeError};
|
|
1252
1262
|
|
|
1263
|
+
export type ConfirmationTokenResult =
|
|
1264
|
+
| {confirmationToken: api.ConfirmationToken; error?: undefined}
|
|
1265
|
+
| {confirmationToken?: undefined; error: StripeError};
|
|
1266
|
+
|
|
1253
1267
|
export type SourceResult =
|
|
1254
1268
|
| {source: api.Source; error?: undefined}
|
|
1255
1269
|
| {source?: undefined; error: StripeError};
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// eslint-disable-next-line no-undef
|
|
2
|
-
module.exports = require('../dist
|
|
2
|
+
module.exports = require('../dist');
|
package/lib/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../dist/
|
|
1
|
+
export * from '../dist/index.mjs';
|