Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qcloud-iotexplorer-appdev-plugin-wificonf-qrcode

Package Overview
Dependencies
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcloud-iotexplorer-appdev-plugin-wificonf-qrcode - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

lib/qrcode/index.js

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.QrCode=void 0;var tslib_1=require("tslib"),qcloud_iotexplorer_appdev_plugin_wificonf_core_1=require("qcloud-iotexplorer-appdev-plugin-wificonf-core"),WifiConfErrorMsg=qcloud_iotexplorer_appdev_plugin_wificonf_core_1.constants.WifiConfErrorMsg,WifiConfStepCode=qcloud_iotexplorer_appdev_plugin_wificonf_core_1.constants.WifiConfStepCode,QrCode=function(o){function e(e,i){return o.call(this,e,i)||this}return tslib_1.__extends(e,o),e.prototype.doBusiness=function(){return tslib_1.__awaiter(this,void 0,void 0,(function(){var o,e=this;return tslib_1.__generator(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,qcloud_iotexplorer_appdev_plugin_wificonf_core_1.queryTokenStateAndBind({token:this.options.wifiConfToken,productId:"",deviceName:"",familyId:this.options.familyId,roomId:this.options.roomId,onProgress:function(o){e.onProgress.call(e,o)},sdk:this.sdk})];case 1:return i.sent(),[3,3];case 2:return o=i.sent(),console.log(o),o&&o.code in WifiConfErrorMsg&&(o.uiMsg=WifiConfErrorMsg[o.code]),this.onProgress({code:WifiConfStepCode.WIFI_CONF_FAIL,detail:{error:o}}),[3,3];case 3:return[2]}}))}))},e}(qcloud_iotexplorer_appdev_plugin_wificonf_core_1.WifiConfProtocolBase);exports.QrCode=QrCode;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.QrCode=void 0;var tslib_1=require("tslib"),qcloud_iotexplorer_appdev_plugin_wificonf_core_1=require("qcloud-iotexplorer-appdev-plugin-wificonf-core"),WifiConfErrorMsg=qcloud_iotexplorer_appdev_plugin_wificonf_core_1.constants.WifiConfErrorMsg,WifiConfStepCode=qcloud_iotexplorer_appdev_plugin_wificonf_core_1.constants.WifiConfStepCode,QrCode=function(o){function e(e,i){return o.call(this,e,i)||this}return tslib_1.__extends(e,o),e.prototype.doBusiness=function(){return tslib_1.__awaiter(this,void 0,void 0,(function(){var o,e=this;return tslib_1.__generator(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,qcloud_iotexplorer_appdev_plugin_wificonf_core_1.queryTokenStateAndBind({token:this.options.wifiConfToken,productId:"",deviceName:"",familyId:this.options.familyId,roomId:this.options.roomId,onProgress:function(o){e.onProgress.call(e,o)},sdk:this.sdk,newTokenVersion:this.options.newTokenVersion})];case 1:return i.sent(),[3,3];case 2:return o=i.sent(),console.log(o),o&&o.code in WifiConfErrorMsg&&(o.uiMsg=WifiConfErrorMsg[o.code]),this.onProgress({code:WifiConfStepCode.WIFI_CONF_FAIL,detail:{error:o}}),[3,3];case 3:return[2]}}))}))},e}(qcloud_iotexplorer_appdev_plugin_wificonf_core_1.WifiConfProtocolBase);exports.QrCode=QrCode;
//# sourceMappingURL=index.js.map
{
"name": "qcloud-iotexplorer-appdev-plugin-wificonf-qrcode",
"version": "1.4.0",
"version": "1.4.1",
"description": "",

@@ -17,7 +17,7 @@ "main": "lib/index.js",

"dependencies": {
"qcloud-iotexplorer-appdev-plugin-wificonf-core": "^1.4.0",
"qcloud-iotexplorer-appdev-sdk": "^1.4.0",
"qcloud-iotexplorer-appdev-plugin-wificonf-core": "^1.4.1",
"qcloud-iotexplorer-appdev-sdk": "^1.4.1",
"tslib": "^2.0.1"
},
"gitHead": "5022b92d9c9626e94f28c0b4c437d599d482924c"
"gitHead": "93fedc1925673e49bdc9306465e611ffa9bc6aab"
}

@@ -34,2 +34,3 @@ import {

sdk: this.sdk,
newTokenVersion: this.options.newTokenVersion,
});

@@ -36,0 +37,0 @@ } catch (error) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc