@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.js
CHANGED
|
@@ -2275,7 +2275,7 @@ var useFetchEligibility = function useFetchEligibility(purchaseAmount, _ref, pla
|
|
|
2275
2275
|
shipping_address: shipping_address
|
|
2276
2276
|
}, {
|
|
2277
2277
|
Authorization: "Alma-Merchant-Auth " + merchantId,
|
|
2278
|
-
'X-Alma-Agent': "Alma Widget/" + "v3.3.
|
|
2278
|
+
'X-Alma-Agent': "Alma Widget/" + "v3.3.6"
|
|
2279
2279
|
}).then(function (res) {
|
|
2280
2280
|
setEligibility(res);
|
|
2281
2281
|
setStatus(apiStatus.SUCCESS);
|
|
@@ -3137,6 +3137,10 @@ var useButtonAnimation = function useButtonAnimation(iterateValues, transitionDe
|
|
|
3137
3137
|
var timeout;
|
|
3138
3138
|
var isMounted = true;
|
|
3139
3139
|
|
|
3140
|
+
if (transitionDelay === -1) {
|
|
3141
|
+
return;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3140
3144
|
if (iterateValues.length !== 0) {
|
|
3141
3145
|
if (!iterateValues.includes(current) && update) setCurrent(iterateValues[0]);
|
|
3142
3146
|
timeout = setTimeout(function () {
|