@alma/widgets 3.3.4 → 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.
@@ -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'
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 () {