mbnotify-app 1.0.1 → 1.0.4

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/cjs/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.requestPermission = requestPermission;
4
4
  exports.getToken = getToken;
5
- const mqtt_1 = require("mqtt/dist/mqtt");
5
+ const mqtt_1 = require("mqtt");
6
6
  const Notifications = require("expo-notifications");
7
7
  const async_storage_1 = require("@react-native-async-storage/async-storage");
8
8
  const DEFAULT_BROKER = "wss://broker.hivemq.com:8884/mqtt";
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import mqtt from "mqtt/dist/mqtt";
1
+ import mqtt from "mqtt";
2
2
  import * as Notifications from "expo-notifications";
3
3
  import AsyncStorage from "@react-native-async-storage/async-storage";
4
4
  const DEFAULT_BROKER = "wss://broker.hivemq.com:8884/mqtt";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mbnotify-app",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "React Native (Expo) client for mbnotify MQTT push notifications",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -31,7 +31,10 @@
31
31
  "buffer": "^6.0.3",
32
32
  "expo-notifications": "~55.0.12",
33
33
  "mqtt": "^5.15.0",
34
- "process": "^0.11.10"
34
+ "process": "^0.11.10",
35
+ "expo": "~55.0.6",
36
+ "react": "19.2.0",
37
+ "react-native": "0.83.2"
35
38
  },
36
39
  "devDependencies": {
37
40
  "typescript": "^5.9.3"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import mqtt from "mqtt/dist/mqtt";
1
+ import mqtt from "mqtt";
2
2
  import * as Notifications from "expo-notifications";
3
3
  import AsyncStorage from "@react-native-async-storage/async-storage";
4
4