mainstack-payments 0.3.9 → 0.4.0

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.
@@ -26173,12 +26173,12 @@ const bz = rn(
26173
26173
  }, [f]);
26174
26174
  const an = yM(0, { damping: 130, stiffness: 500 }), [vt] = Rl("(max-width: 767px)");
26175
26175
  ai(() => {
26176
- an.onChange((Y) => {
26176
+ an.on("change", (Y) => {
26177
26177
  window.scrollTo(0, Y);
26178
26178
  });
26179
26179
  }, [an]);
26180
26180
  function Nt(Y) {
26181
- an.set(window.pageYOffset, !1), setTimeout(() => {
26181
+ an.set(window.scrollY, !1), setTimeout(() => {
26182
26182
  an.set(Y);
26183
26183
  }, 50);
26184
26184
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "0.3.9",
4
+ "version": "0.4.0",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [