@webex/common
Advanced tools
Comparing version 1.59.0 to 1.60.1
@@ -33,3 +33,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -36,0 +36,0 @@ |
@@ -16,3 +16,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -19,0 +19,0 @@ |
@@ -8,3 +8,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -11,0 +11,0 @@ |
@@ -16,3 +16,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -19,0 +19,0 @@ |
@@ -16,3 +16,3 @@ 'use strict'; | ||
} /*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -19,0 +19,0 @@ |
@@ -27,3 +27,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -30,0 +30,0 @@ |
@@ -74,3 +74,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -77,0 +77,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -10,0 +10,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -10,0 +10,0 @@ |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -11,0 +11,0 @@ |
@@ -41,3 +41,3 @@ 'use strict'; | ||
var W = _weakMap2.default; /*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -44,0 +44,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -10,0 +10,0 @@ |
@@ -16,3 +16,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -19,0 +19,0 @@ |
@@ -60,3 +60,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -63,0 +63,0 @@ |
@@ -16,3 +16,3 @@ "use strict"; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -19,0 +19,0 @@ |
@@ -270,3 +270,3 @@ 'use strict'; | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -273,0 +273,0 @@ |
@@ -28,7 +28,7 @@ "use strict"; | ||
* before calling any internal-plugin-conversations functions | ||
* @param {Object} spark | ||
* @param {Object} webex | ||
* @returns {Promise} | ||
*/ | ||
exports.default = function () { | ||
var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(spark) { | ||
var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(webex) { | ||
return _regenerator2.default.wrap(function _callee$(_context) { | ||
@@ -38,3 +38,3 @@ while (1) { | ||
case 0: | ||
if (!spark.internal.device.services.conversationServiceUrl) { | ||
if (!webex.internal.device.services.conversationServiceUrl) { | ||
_context.next = 2; | ||
@@ -47,3 +47,3 @@ break; | ||
case 2: | ||
return _context.abrupt("return", spark.internal.device.register()); | ||
return _context.abrupt("return", webex.internal.device.register()); | ||
@@ -50,0 +50,0 @@ case 3: |
@@ -55,3 +55,3 @@ 'use strict'; | ||
} /*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "@webex/common", | ||
"version": "1.59.0", | ||
"version": "1.60.1", | ||
"description": "Common utilities for Cisco Webex", | ||
@@ -9,3 +9,3 @@ "license": "MIT", | ||
"devMain": "src/index.js", | ||
"repository": "https://github.com/webex/spark-js-sdk/tree/master/packages/node_modules/@webex/common", | ||
"repository": "https://github.com/webex/webex-js-sdk/tree/master/packages/node_modules/@webex/common", | ||
"engines": { | ||
@@ -27,3 +27,3 @@ "node": ">=4" | ||
"lodash": "^4.17.11", | ||
"@webex/common": "1.59.0", | ||
"@webex/common": "1.60.1", | ||
"backoff": "^2.5.0", | ||
@@ -30,0 +30,0 @@ "core-decorators": "^0.20.0", |
@@ -38,3 +38,3 @@ # @webex/common | ||
Pull requests welcome. Please see [CONTRIBUTING.md](https://github.com/webex/spark-js-sdk/blob/master/CONTRIBUTING.md) for more details. | ||
Pull requests welcome. Please see [CONTRIBUTING.md](https://github.com/webex/webex-js-sdk/blob/master/CONTRIBUTING.md) for more details. | ||
@@ -41,0 +41,0 @@ ## License |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
export default true; |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
export default false; |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
@@ -8,12 +8,12 @@ /*! | ||
* before calling any internal-plugin-conversations functions | ||
* @param {Object} spark | ||
* @param {Object} webex | ||
* @returns {Promise} | ||
*/ | ||
export default async function ensureConvoAvailability(spark) { | ||
if (spark.internal.device.services.conversationServiceUrl) { | ||
export default async function ensureConvoAvailability(webex) { | ||
if (webex.internal.device.services.conversationServiceUrl) { | ||
return Promise.resolve(); | ||
} | ||
return spark.internal.device.register(); | ||
return webex.internal.device.register(); | ||
} | ||
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -105,3 +105,3 @@ | ||
it('handles complex event scenarios', () => { | ||
// This is an attempt to simulate a bug encountered by the spark web | ||
// This is an attempt to simulate a bug encountered by the webex web | ||
// client that has been, so far, difficult to reproduce in a controlled | ||
@@ -192,3 +192,3 @@ // environment | ||
// spark | ||
// webex | ||
const A = AmpState.extend({ | ||
@@ -195,0 +195,0 @@ dataTypes: { |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Updated@webex/common@1.60.1