@jibb-open/jssdk 3.15.14 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/cisco.js +1 -1
- package/package.json +2 -2
package/api/cisco.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _config=require("../config.js");Object.defineProperty(exports,"__esModule",{value:!0}),exports.getJSSDK=getJSSDK,exports.getMacro=getMacro,exports.getManifest=getManifest,require("core-js/modules/es.promise.js"),require("core-js/modules/es.json.stringify.js");async function getMacro(a){let{apiKey:b,
|
|
1
|
+
"use strict";var _config=require("../config.js");Object.defineProperty(exports,"__esModule",{value:!0}),exports.getJSSDK=getJSSDK,exports.getMacro=getMacro,exports.getManifest=getManifest,require("core-js/modules/es.promise.js"),require("core-js/modules/es.json.stringify.js");async function getMacro(a){let{apiKey:b,selectInputs:c,cameraControl:d,mtr:e}=a;return httpPost("".concat(_config.Config.apiBaseURL,"/v1/cisco/macro"),{api_key:b,select_inputs:c,camera_controls:d,mtr:e})}async function getJSSDK(){return httpGet("".concat(_config.Config.apiBaseURL,"/v1/cisco/jssdk"))}async function getManifest(){return httpGet("".concat(_config.Config.apiBaseURL,"/v1/cisco/integration/manifest"))}function httpGet(a){let b=new XMLHttpRequest;return b.open("GET",a,!1),b.send(null),b.responseText}function httpPost(a,b){let c=new XMLHttpRequest;return c.open("POST",a,!1),c.setRequestHeader("Content-Type","application/json;charset=UTF-8"),c.send(JSON.stringify(b)),c.responseText}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jibb-open/jssdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "LOG_LEVEL=error mocha --timeout 10000 ",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/Inkerz/jibb-jssdk#readme",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.6.8",
|
|
22
22
|
"browser-or-node": "^2.0.0",
|
|
23
23
|
"buffer": "^6.0.3",
|
|
24
24
|
"bufferutil": "^4.0.6",
|