swell-js 5.8.0 → 5.8.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/api.mjs +2 -2
- package/dist/attributes.mjs +1 -1
- package/dist/cache.mjs +1 -1
- package/dist/card.mjs +1 -1
- package/dist/cart.mjs +1 -1
- package/dist/categories.mjs +1 -1
- package/dist/content.mjs +1 -1
- package/dist/cookie.mjs +1 -1
- package/dist/{index.a227b03d.mjs → index.a8d5c125.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/payment.mjs +307 -209
- package/dist/products.mjs +1 -1
- package/dist/settings.mjs +1 -1
- package/dist/subscriptions.mjs +1 -1
- package/dist/swell.cjs +306 -208
- package/dist/swell.cjs.map +1 -1
- package/dist/swell.umd.min.js +306 -208
- package/dist/swell.umd.min.js.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +2 -1
- package/types/payment/index.ts +6 -0
package/dist/utils/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'qs';
|
|
2
|
-
export { q as base64Encode, e as camelCase, c as cloneDeep, d as defaultMethods,
|
|
2
|
+
export { q as base64Encode, e as camelCase, c as cloneDeep, d as defaultMethods, w as getLocationParams, j as getOptions, n as isEmpty, g as isEqual, k as isFunction, o as isLiveMode, b as isObject, i as isServer, l as loadScript, F as map, m as merge, p as pick, r as reduce, x as removeUrlParams, s as set, z as setOptions, f as snakeCase, D as stringifyQuery, a as toCamel, h as toCamelPath, E as toLower, t as toSnake, C as trimBoth, y as trimEnd, B as trimStart, u as uniq, v as vaultRequest } from '../index.a8d5c125.mjs';
|
|
3
3
|
export { f as find, P as findIndex, g as get, t as toNumber } from '../find.18f1ac6d.mjs';
|
|
4
4
|
export { r as round } from '../round.577a8441.mjs';
|
|
5
5
|
import 'deepmerge';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swell-js",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.2",
|
|
4
4
|
"description": "Swell JS library for client-side stores",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16"
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"@material-ui/core": "4.9.0",
|
|
44
44
|
"@material-ui/icons": "4.5.1",
|
|
45
45
|
"@material-ui/lab": "4.0.0-alpha.42",
|
|
46
|
+
"@paypal/paypal-js": "^10.0.3",
|
|
46
47
|
"@rollup/plugin-commonjs": "25.0.7",
|
|
47
48
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
48
49
|
"@rollup/plugin-replace": "5.0.5",
|
package/types/payment/index.ts
CHANGED
|
@@ -74,6 +74,12 @@ export interface InputPaymentElementApple extends InputPaymentElementBase {
|
|
|
74
74
|
invalid?: string;
|
|
75
75
|
webkitAutofill?: string;
|
|
76
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
* Link to the page where the customer can manage subscriptions (mainly cancel them).
|
|
79
|
+
*
|
|
80
|
+
* @see {@link https://developer.apple.com/documentation/applepayontheweb/applepayrecurringpaymentrequest/managementurl}
|
|
81
|
+
*/
|
|
82
|
+
managementUrl?: string;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export interface InputPaymentElementGoogle extends InputPaymentElementBase {
|