mm_os 3.1.9 → 3.2.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.
@@ -123,14 +123,14 @@ MQTT.prototype.match = function(topic, top) {
123
123
  MQTT.prototype.update_after = async function() {
124
124
  var _this = this;
125
125
  var list = this.list;
126
- for (var i = 0, o; o = list[i++];) {
126
+ for (var i = 0; i < list.length; i++) {
127
127
  if (o.config.state === 1) {
128
128
  o.send = function(topic, msg, qos = 0, retain = false) {
129
129
  if (topic) {
130
130
  _this.send(topic, msg, qos, retain);
131
131
  }
132
132
  };
133
- await o.exec('init');
133
+ // await o.exec('init');
134
134
  var topics = o.config.topic;
135
135
  if (topics) {
136
136
  for (var n = 0; n < topics.length; n++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "3.1.9",
3
+ "version": "3.2.0",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {