Commit 0f23ffcb authored by 邓晓峰's avatar 邓晓峰

fix: 修复Message为导入C

parent f5504afc
{ {
"name": "mqtt-client", "name": "mqtt-client",
"version": "1.0.14", "version": "1.0.13",
"description": "", "description": "",
"main": "./lib/index.js", "main": "./lib/index.js",
"module": "./es/index.js", "module": "./es/index.js",
"scripts": { "scripts": {
"build": "father-build", "build": "father-build",
"release": "np --no-cleanup --yolo --no-tag", "release": "np --no-cleanup --yolo --no-tag",
"prepublishOnly": "yarn build", "prepublishOnly": "yarn lint && yarn build",
"lint": "yarn lint:js && yarn lint:prettier", "lint": "yarn lint:js && yarn lint:prettier",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:fix": "yarn lint:js -- --fix", "lint:fix": "yarn lint:js -- --fix",
......
...@@ -2,7 +2,6 @@ import ClientImplementation from './ClientImplementation'; ...@@ -2,7 +2,6 @@ import ClientImplementation from './ClientImplementation';
import { ERROR } from './consts'; import { ERROR } from './consts';
import { validate, format } from './utils'; import { validate, format } from './utils';
import Message from './Message'; import Message from './Message';
/* eslint-disable */ /* eslint-disable */
const Client = function (host, port, path, clientId) { const Client = function (host, port, path, clientId) {
var uri; var uri;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment