@slavmak2486/bx24ts 1.1.0 → 1.1.2
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/base/BX24.ts +2 -2
- package/dist/base/BX24.js +1 -1
- package/package.json +1 -1
package/base/BX24.ts
CHANGED
|
@@ -299,7 +299,7 @@ export abstract class baseBX24{
|
|
|
299
299
|
let cnt=0;
|
|
300
300
|
|
|
301
301
|
for(const idx in cmd){
|
|
302
|
-
let method = "", params = null;
|
|
302
|
+
let method:string|undefined = "", params = null;
|
|
303
303
|
if(Array.isArray(cmd[idx])){
|
|
304
304
|
method = __get(cmd[idx], 0, undefined); params = __get(cmd[idx], 1, {});
|
|
305
305
|
}
|
|
@@ -311,7 +311,7 @@ export abstract class baseBX24{
|
|
|
311
311
|
if(method)
|
|
312
312
|
{
|
|
313
313
|
cnt++;
|
|
314
|
-
comands[idx] = `${method}?${this.getHttpString(params)}`;
|
|
314
|
+
comands[idx] = `${method}?${encodeURIComponent(this.getHttpString(params))}`;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
|
package/dist/base/BX24.js
CHANGED