@alma/widgets 3.3.5 → 3.3.6
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/raw/widgets.js +5 -1
- package/dist/raw/widgets.js.map +1 -1
- package/dist/raw/widgets.m.js +5 -1
- package/dist/raw/widgets.m.js.map +1 -1
- package/dist/raw/widgets.modern.js +5 -1
- package/dist/raw/widgets.modern.js.map +1 -1
- package/dist/raw/widgets.umd.js +5 -1
- package/dist/raw/widgets.umd.js.map +1 -1
- package/dist/widgets.js +1 -1
- package/dist/widgets.js.map +1 -1
- package/dist/widgets.m.js +1 -1
- package/dist/widgets.m.js.map +1 -1
- package/dist/widgets.modern.js +1 -1
- package/dist/widgets.modern.js.map +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/raw/widgets.m.js
CHANGED
|
@@ -2272,7 +2272,7 @@ var useFetchEligibility = function useFetchEligibility(purchaseAmount, _ref, pla
|
|
|
2272
2272
|
shipping_address: shipping_address
|
|
2273
2273
|
}, {
|
|
2274
2274
|
Authorization: "Alma-Merchant-Auth " + merchantId,
|
|
2275
|
-
'X-Alma-Agent': "Alma Widget/" + "v3.3.
|
|
2275
|
+
'X-Alma-Agent': "Alma Widget/" + "v3.3.6"
|
|
2276
2276
|
}).then(function (res) {
|
|
2277
2277
|
setEligibility(res);
|
|
2278
2278
|
setStatus(apiStatus.SUCCESS);
|
|
@@ -3134,6 +3134,10 @@ var useButtonAnimation = function useButtonAnimation(iterateValues, transitionDe
|
|
|
3134
3134
|
var timeout;
|
|
3135
3135
|
var isMounted = true;
|
|
3136
3136
|
|
|
3137
|
+
if (transitionDelay === -1) {
|
|
3138
|
+
return;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3137
3141
|
if (iterateValues.length !== 0) {
|
|
3138
3142
|
if (!iterateValues.includes(current) && update) setCurrent(iterateValues[0]);
|
|
3139
3143
|
timeout = setTimeout(function () {
|