@ray-js/wechat-mqtt 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/lib/mqtt.d.ts +1 -1
  2. package/package.json +6 -6
package/lib/mqtt.d.ts CHANGED
@@ -120,6 +120,6 @@ declare const publish: (option: {
120
120
  time?: number;
121
121
  sn?: number;
122
122
  source?: number;
123
- }) => void | null;
123
+ }) => Promise<void> | null;
124
124
  declare const manualDestroy: () => Promise<void>;
125
125
  export { onMessage, offMessage, manualDestroy as destroy, connect, getState, publish, onStateChange, offStateChange, subscribeTopics, unsubscribeTopics, checkSubscribeDevice, clearTopics, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/wechat-mqtt",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -23,13 +23,13 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@ray-js/wechat-helper": "^0.3.6",
27
- "@ray-js/wechat-tycrypto": "^0.3.6",
26
+ "@ray-js/wechat-helper": "^0.3.7",
27
+ "@ray-js/wechat-tycrypto": "^0.3.7",
28
28
  "js-base64": "^3.7.2",
29
- "@ray-js/wechat-mqtt-core": "^0.3.6",
30
- "@ray-js/wechat-event": "^0.3.6",
29
+ "@ray-js/wechat-mqtt-core": "^0.3.7",
30
+ "@ray-js/wechat-event": "^0.3.7",
31
31
  "js-md5": "^0.7.3",
32
- "@ray-js/wechat-debug": "^0.3.6"
32
+ "@ray-js/wechat-debug": "^0.3.7"
33
33
  },
34
34
  "peerDependencies": {}
35
35
  }