@webex/test-helper-refresh-callback
Advanced tools
Comparing version 1.58.5 to 1.60.1
@@ -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. | ||
*/ | ||
@@ -14,9 +14,9 @@ | ||
* Refreshes an access token | ||
* @param {Spark} spark | ||
* @param {Webex} webex | ||
* @param {Token} token | ||
* @returns {Object} | ||
*/ | ||
function refreshCallback(spark, token) { | ||
function refreshCallback(webex, token) { | ||
/* eslint-disable camelcase */ | ||
return spark.request({ | ||
return webex.request({ | ||
method: 'POST', | ||
@@ -23,0 +23,0 @@ uri: token.config.tokenUrl, |
{ | ||
"name": "@webex/test-helper-refresh-callback", | ||
"version": "1.58.5", | ||
"version": "1.60.1", | ||
"description": "", | ||
@@ -8,3 +8,3 @@ "license": "MIT", | ||
"devMain": "src/index.js", | ||
"repository": "https://github.com/webex/spark-js-sdk/tree/master/packages/node_modules/@webex/test-helper-refresh-callback", | ||
"repository": "https://github.com/webex/webex-js-sdk/tree/master/packages/node_modules/@webex/test-helper-refresh-callback", | ||
"engines": { | ||
@@ -11,0 +11,0 @@ "node": ">=4" |
@@ -27,3 +27,3 @@ # @webex/test-helper-refresh-callback | ||
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. | ||
@@ -30,0 +30,0 @@ ## License |
/*! | ||
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. | ||
* Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file. | ||
*/ | ||
@@ -7,9 +7,9 @@ | ||
* Refreshes an access token | ||
* @param {Spark} spark | ||
* @param {Webex} webex | ||
* @param {Token} token | ||
* @returns {Object} | ||
*/ | ||
export default function refreshCallback(spark, token) { | ||
export default function refreshCallback(webex, token) { | ||
/* eslint-disable camelcase */ | ||
return spark.request({ | ||
return webex.request({ | ||
method: 'POST', | ||
@@ -16,0 +16,0 @@ uri: token.config.tokenUrl, |
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