camstreamerlib 4.0.26-4e8a7fa → 4.0.26-b58d309
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/cjs/CamSwitcherAPI.js +1 -1
- package/esm/CamSwitcherAPI.js +1 -1
- package/package.json +1 -1
package/cjs/CamSwitcherAPI.js
CHANGED
|
@@ -281,7 +281,7 @@ class CamSwitcherAPI extends BasicAPI_1.BasicAPI {
|
|
|
281
281
|
}
|
|
282
282
|
catch {
|
|
283
283
|
try {
|
|
284
|
-
return JSON.parse(decodeURIComponent(
|
|
284
|
+
return JSON.parse(decodeURIComponent(data[paramName] + ''));
|
|
285
285
|
}
|
|
286
286
|
catch (e) {
|
|
287
287
|
throw new errors_1.JsonParseError(paramName, data[paramName]);
|
package/esm/CamSwitcherAPI.js
CHANGED
|
@@ -278,7 +278,7 @@ export class CamSwitcherAPI extends BasicAPI {
|
|
|
278
278
|
}
|
|
279
279
|
catch {
|
|
280
280
|
try {
|
|
281
|
-
return JSON.parse(decodeURIComponent(
|
|
281
|
+
return JSON.parse(decodeURIComponent(data[paramName] + ''));
|
|
282
282
|
}
|
|
283
283
|
catch (e) {
|
|
284
284
|
throw new JsonParseError(paramName, data[paramName]);
|