qcloud-iotexplorer-appdev-sdk
Advanced tools
Comparing version 3.0.0-alpha.20230507b003 to 3.0.0-alpha.20240118b004
@@ -160,3 +160,3 @@ "use strict"; | ||
const { Data: { FamilyId } } = await this.requestApi('AppCreateFamily', { | ||
Name: this.loginManager.nickName, | ||
Name: this.loginManager.nickName || `${(0, utils_1.shortid)()}的家`, | ||
}); | ||
@@ -163,0 +163,0 @@ return resolve(FamilyId); |
@@ -5,3 +5,3 @@ import { __rest } from "tslib"; | ||
import { LoginManager, IotWebsocket, requestTokenApi, appDevSdkLogger, } from './modules'; | ||
import { delay, noop, genVerifyLoginFailError, isVerifyLoginError, envDetect, normalizeError, } from './utils'; | ||
import { delay, noop, genVerifyLoginFailError, isVerifyLoginError, envDetect, normalizeError, shortid, } from './utils'; | ||
import * as utils from './utils'; | ||
@@ -157,3 +157,3 @@ import * as constants from './constants'; | ||
const { Data: { FamilyId } } = await this.requestApi('AppCreateFamily', { | ||
Name: this.loginManager.nickName, | ||
Name: this.loginManager.nickName || `${shortid()}的家`, | ||
}); | ||
@@ -160,0 +160,0 @@ return resolve(FamilyId); |
{ | ||
"name": "qcloud-iotexplorer-appdev-sdk", | ||
"version": "3.0.0-alpha.20230507b003", | ||
"version": "3.0.0-alpha.20240118b004", | ||
"description": "", | ||
@@ -21,6 +21,6 @@ "bugs": { | ||
"dependencies": { | ||
"event-emitter-for-miniprogram": "3.0.0-alpha.20230507b003", | ||
"event-emitter-for-miniprogram": "3.0.0-alpha.20240118b004", | ||
"js-base64": "^3.2.4", | ||
"qcloud-iotexplorer-common-libs": "3.0.0-alpha.20230507b003", | ||
"qcloud-iotexplorer-logger": "3.0.0-alpha.20230507b003", | ||
"qcloud-iotexplorer-common-libs": "3.0.0-alpha.20240118b004", | ||
"qcloud-iotexplorer-logger": "3.0.0-alpha.20240118b004", | ||
"query-string": "^6.9.0", | ||
@@ -33,3 +33,3 @@ "shortid-for-miniprogram": "^2.2.15", | ||
}, | ||
"gitHead": "b64540d610a6b02a5400cb1e6e404949d378e5eb" | ||
"gitHead": "6beca018526e761fba4197634612bd6c71179181" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1062731
+ Addedevent-emitter-for-miniprogram@3.0.0-alpha.20240118b004(transitive)
+ Addedqcloud-iotexplorer-common-libs@3.0.0-alpha.20240118b004(transitive)
+ Addedqcloud-iotexplorer-logger@3.0.0-alpha.20240118b004(transitive)
- Removedevent-emitter-for-miniprogram@3.0.0-alpha.20230507b003(transitive)
- Removedqcloud-iotexplorer-common-libs@3.0.0-alpha.20230507b003(transitive)
- Removedqcloud-iotexplorer-logger@3.0.0-alpha.20230507b003(transitive)
Updatedevent-emitter-for-miniprogram@3.0.0-alpha.20240118b004
Updatedqcloud-iotexplorer-common-libs@3.0.0-alpha.20240118b004