@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.
@@ -97,25 +97,7 @@
97
97
  }
98
98
 
99
99
  ._31lrj > svg {
100
- -webkit-animation: _3NtDa 1.7s ease infinite;
101
- animation: _3NtDa 1.7s ease infinite;
102
- }
103
-
104
- @-webkit-keyframes _3NtDa {
105
- 60% {
106
- transform: scale(1); }
107
-
108
- 70% {
109
- transform: scale(0.7); }
110
-
111
- 80% {
112
- transform: scale(1); }
113
-
114
- 85% {
115
- transform: scale(0.95); }
116
-
117
- 100% {
118
- transform: scale(1); }
100
+ animation: _3NtDa 1.7s ease infinite;
119
101
  }
120
102
 
121
103
  @keyframes _3NtDa {
@@ -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'
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 () {