mini_program_gizwits_sdk 3.2.21 → 3.2.22

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <a href='https://coveralls.io/github/gizwits/mini_program_gizwits_sdk?branch=master'><img src='https://coveralls.io/repos/github/gizwits/mini_program_gizwits_sdk/badge.svg?branch=master' alt='Coverage Status' /></a><img alt="npm" src="https://img.shields.io/npm/v/mini_program_gizwits_sdk">[![Build Status](https://travis-ci.org/gizwits/mini_program_gizwits_sdk.svg?branch=master)](https://travis-ci.org/gizwits/mini_program_gizwits_sdk)
2
2
 
3
- # 机智云小程序蓝牙 SDK
3
+ # 机智云小程序 SDK
4
4
 
5
5
 
6
6
  ## 🔴 破坏性更新
@@ -33,7 +33,7 @@ export default class GizwitsWS {
33
33
  token: any;
34
34
  uid: any;
35
35
  }) => void;
36
- _getDevice: (did: string) => IDevice | IError;
36
+ _getDevice: (did: string) => IError | IDevice;
37
37
  _getConnect: (device: IDevice) => Connection;
38
38
  _getDeviceAndConnect: (did: string) => IError | [IDevice, Connection];
39
39
  connectDevice: (device: IDevice) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mini_program_gizwits_sdk",
3
- "version": "3.2.21",
3
+ "version": "3.2.22",
4
4
  "description": "更新文档",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {