mm_os 3.1.7 → 3.1.9

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.
@@ -133,8 +133,8 @@ MQTT.prototype.update_after = async function() {
133
133
  await o.exec('init');
134
134
  var topics = o.config.topic;
135
135
  if (topics) {
136
- for (var i = 0; i < topics.length; i++) {
137
- var tc = topics[i];
136
+ for (var n = 0; n < topics.length; n++) {
137
+ var tc = topics[n];
138
138
  var retain = o.config.retain || false;
139
139
  var qos = o.config.qos || 0;
140
140
  if (tc.indexOf("heartbeat") !== -1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "3.1.7",
3
+ "version": "3.1.9",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {