@slavmak2486/bx24ts 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/base/BX24.ts +1 -1
  2. package/package.json +1 -1
package/base/BX24.ts CHANGED
@@ -508,7 +508,7 @@ export abstract class baseBX24{
508
508
  }
509
509
  }
510
510
 
511
- fitWindow(cb:(params:any)=>void){
511
+ fitWindow(cb?:(params:any)=>void){
512
512
  this.sendMessage('resizeWindow', {
513
513
  width:'100%', height:this.getScrollSize().scrollHeight
514
514
  }, cb);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slavmak2486/bx24ts",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Library for bitrix24",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",