@monetr/notify 1.0.0 → 1.0.2

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.
@@ -228,7 +228,7 @@ function Notification(props) {
228
228
  };
229
229
  return null;
230
230
  };
231
- const outcome = ax >= ay ? checkAxis('x', dx, vx) ?? checkAxis('y', dy, vy) : checkAxis('y', dy, vy) ?? checkAxis('x', dx, vx);
231
+ const outcome = ax >= ay ? checkAxis('x', dx, vx) : checkAxis('y', dy, vy);
232
232
  if (outcome) {
233
233
  swipeAxisRef.current = outcome.axis;
234
234
  onCloseRef.current?.(null, 'swipe', key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monetr/notify",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Notification/toast component for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,8 @@
26
26
  ],
27
27
  "publishConfig": {
28
28
  "registry": "https://registry.npmjs.org",
29
- "access": "public"
29
+ "access": "public",
30
+ "provenance": true
30
31
  },
31
32
  "license": "EPL-2.0",
32
33
  "repository": {
@@ -56,8 +57,8 @@
56
57
  "typescript": "6.0.3"
57
58
  },
58
59
  "peerDependencies": {
59
- "react": "^18.0 || ^19.0.0 || ^19.0.0-rc",
60
- "react-dom": "^18.0 || ^19.0.0 || ^19.0.0-rc"
60
+ "react": "^18.0 || ^19.0.0",
61
+ "react-dom": "^18.0 || ^19.0.0"
61
62
  },
62
63
  "scripts": {
63
64
  "type-check": "tsc --noEmit",