update components
This commit is contained in:
parent
b0d117ad5b
commit
f5cbdac97d
4 changed files with 11 additions and 17 deletions
|
@ -16,12 +16,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"version": "1.0.47",
|
"version": "1.0.48",
|
||||||
"_release": "1.0.47",
|
"_release": "1.0.48",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "1.0.47",
|
"tag": "1.0.48",
|
||||||
"commit": "e54fbdbdc56bd99a253adc96fd8847b67225b79a"
|
"commit": "f9732e1b9084dad2f84a351dbae5a4772afab8b5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
"_source": "git://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
||||||
"_target": "~1.0.3",
|
"_target": "~1.0.3",
|
||||||
|
|
|
@ -59,19 +59,13 @@
|
||||||
self.getCurrentUser = function () {
|
self.getCurrentUser = function () {
|
||||||
|
|
||||||
if (currentUser) {
|
if (currentUser) {
|
||||||
return new Promise(function (resolve, reject) {
|
return Promise.resolve(currentUser);
|
||||||
|
|
||||||
resolve(currentUser);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var userId = self.getCurrentUserId();
|
var userId = self.getCurrentUserId();
|
||||||
|
|
||||||
if (!userId) {
|
if (!userId) {
|
||||||
return new Promise(function (resolve, reject) {
|
return Promise.reject();
|
||||||
|
|
||||||
reject();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return self.getUser(userId).then(function (user) {
|
return self.getUser(userId).then(function (user) {
|
||||||
|
|
|
@ -1522,7 +1522,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
updateDevicePromise = ajax({
|
updateDevicePromise = ajax({
|
||||||
url: 'https://mb3admin.com/admin/service/registration/updateDevice?' + paramsToString({
|
url: 'http://mb3admin.com/admin/service/registration/updateDevice?' + paramsToString({
|
||||||
serverId: params.serverId,
|
serverId: params.serverId,
|
||||||
oldDeviceId: regInfo.deviceId,
|
oldDeviceId: regInfo.deviceId,
|
||||||
newDeviceId: params.deviceId
|
newDeviceId: params.deviceId
|
||||||
|
@ -1541,7 +1541,7 @@
|
||||||
params.embyUserName = user.Name;
|
params.embyUserName = user.Name;
|
||||||
|
|
||||||
return ajax({
|
return ajax({
|
||||||
url: 'https://mb3admin.com/admin/service/registration/validateDevice?' + paramsToString(params),
|
url: 'http://mb3admin.com/admin/service/registration/validateDevice?' + paramsToString(params),
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
|
|
||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
|
|
|
@ -32,14 +32,14 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/PolymerElements/iron-icon",
|
"homepage": "https://github.com/polymerelements/iron-icon",
|
||||||
"_release": "1.0.8",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
"_source": "git://github.com/polymerelements/iron-icon.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-icon"
|
"_originalSource": "polymerelements/iron-icon"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue