@ciscospark/internal-plugin-wdm
Advanced tools
Comparing version 1.50.19 to 1.51.1
@@ -233,3 +233,3 @@ 'use strict'; | ||
determineService: function determineService(url) { | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -302,3 +302,3 @@ if (feature && feature.value) { | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -440,3 +440,3 @@ if (feature && feature.value) { | ||
} | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -459,3 +459,3 @@ if (feature && feature.value) { | ||
} | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -487,3 +487,3 @@ if (feature && feature.value) { | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -510,3 +510,3 @@ if (feature && feature.value) { | ||
_isServiceUrl: function _isServiceUrl(target, uri) { | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -693,3 +693,3 @@ if (feature && feature.value) { | ||
var feature = this.features.developer.get('web-ha-messaging'); | ||
var feature = this.features.developer.get('web-high-availability'); | ||
@@ -746,3 +746,3 @@ if (feature && feature.value) { | ||
}, | ||
version: '1.50.19' | ||
version: '1.51.1' | ||
}, (_applyDecoratedDescriptor(_obj, 'determineService', [_dec], (0, _getOwnPropertyDescriptor2.default)(_obj, 'determineService'), _obj), _applyDecoratedDescriptor(_obj, 'getServiceUrl', [_dec2], (0, _getOwnPropertyDescriptor2.default)(_obj, 'getServiceUrl'), _obj), _applyDecoratedDescriptor(_obj, 'initialize', [_dec3], (0, _getOwnPropertyDescriptor2.default)(_obj, 'initialize'), _obj), _applyDecoratedDescriptor(_obj, 'isService', [_dec4], (0, _getOwnPropertyDescriptor2.default)(_obj, 'isService'), _obj), _applyDecoratedDescriptor(_obj, 'isServiceUrl', [_dec5], (0, _getOwnPropertyDescriptor2.default)(_obj, 'isServiceUrl'), _obj), _applyDecoratedDescriptor(_obj, 'isSpecificService', [_dec6], (0, _getOwnPropertyDescriptor2.default)(_obj, 'isSpecificService'), _obj), _applyDecoratedDescriptor(_obj, 'refresh', [_common.oneFlight, _dec7], (0, _getOwnPropertyDescriptor2.default)(_obj, 'refresh'), _obj), _applyDecoratedDescriptor(_obj, 'register', [_common.oneFlight, _dec8], (0, _getOwnPropertyDescriptor2.default)(_obj, 'register'), _obj), _applyDecoratedDescriptor(_obj, 'unregister', [_common.oneFlight, _dec9], (0, _getOwnPropertyDescriptor2.default)(_obj, 'unregister'), _obj)), _obj))); | ||
@@ -749,0 +749,0 @@ |
@@ -65,3 +65,3 @@ 'use strict'; | ||
if (reason instanceof _sparkCore.SparkHttpError.InternalServerError && options.uri) { | ||
var feature = this.spark.internal.device.features.developer.get('web-ha-messaging'); | ||
var feature = this.spark.internal.device.features.developer.get('web-high-availability'); | ||
@@ -68,0 +68,0 @@ if (feature && feature.value) { |
{ | ||
"name": "@ciscospark/internal-plugin-wdm", | ||
"version": "1.50.19", | ||
"version": "1.51.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -146,3 +146,3 @@ /*! | ||
determineService(url) { | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -174,3 +174,3 @@ if (feature && feature.value) { | ||
getServiceUrl(service) { | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -296,3 +296,3 @@ if (feature && feature.value) { | ||
} | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -315,3 +315,3 @@ if (feature && feature.value) { | ||
} | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -346,3 +346,3 @@ if (feature && feature.value) { | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -370,3 +370,3 @@ if (feature && feature.value) { | ||
_isServiceUrl(target, uri) { | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -503,3 +503,3 @@ if (feature && feature.value) { | ||
_updateServiceCatalog(newRegistration) { | ||
const feature = this.features.developer.get('web-ha-messaging'); | ||
const feature = this.features.developer.get('web-high-availability'); | ||
@@ -506,0 +506,0 @@ if (feature && feature.value) { |
@@ -28,3 +28,3 @@ /*! | ||
if ((reason instanceof SparkHttpError.InternalServerError) && options.uri) { | ||
const feature = this.spark.internal.device.features.developer.get('web-ha-messaging'); | ||
const feature = this.spark.internal.device.features.developer.get('web-high-availability'); | ||
@@ -31,0 +31,0 @@ if (feature && feature.value) { |
@@ -26,8 +26,8 @@ /*! | ||
describe('when web-ha-messaging is enabled', () => { | ||
beforeEach('enable web-ha-messaging', () => { | ||
describe('when web-high-availability is enabled', () => { | ||
beforeEach('enable web-high-availability', () => { | ||
const deviceConfig = cloneDeep(deviceFixture); | ||
deviceConfig.features.developer.push({ | ||
key: 'web-ha-messaging', | ||
key: 'web-high-availability', | ||
val: 'true', | ||
@@ -207,3 +207,3 @@ value: true, | ||
describe('when web-ha-messaging is disabled', () => { | ||
describe('when web-high-availability is disabled', () => { | ||
beforeEach(() => { | ||
@@ -210,0 +210,0 @@ spark.internal.device.set(deviceFixture); |
@@ -51,3 +51,3 @@ /*! | ||
spark.internal.device.features.developer.set([{ | ||
key: 'web-ha-messaging', | ||
key: 'web-high-availability', | ||
val: 'true', | ||
@@ -61,5 +61,5 @@ value: true, | ||
describe('#onResponseError()', () => { | ||
beforeEach('sets web-ha-messaging to false', () => { | ||
beforeEach('sets web-high-availability to false', () => { | ||
spark.internal.device.features.developer.set([{ | ||
key: 'web-ha-messaging', | ||
key: 'web-high-availability', | ||
val: 'false', | ||
@@ -93,5 +93,5 @@ value: false, | ||
describe('when web-ha-messasing is not enabled', () => { | ||
beforeEach('sets web-ha-messaging to false', () => { | ||
beforeEach('sets web-high-availability to false', () => { | ||
spark.internal.device.features.developer.set([{ | ||
key: 'web-ha-messaging', | ||
key: 'web-high-availability', | ||
val: 'false', | ||
@@ -98,0 +98,0 @@ value: false, |
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
226610