@bigfootai/bigfoot-types 5.0.8 → 5.0.9

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 (3) hide show
  1. package/model.js +3 -2
  2. package/model.ts +4 -2
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -895,8 +895,9 @@ class BusinessObject extends Block {
895
895
  }
896
896
  exports.BusinessObject = BusinessObject;
897
897
  class Section extends Block {
898
- constructor(tenantIdCreated) {
899
- super(tenantIdCreated, [], [], BlockType.Section);
898
+ constructor(id) {
899
+ super('', [], [], BlockType.Section);
900
+ this._id = id;
900
901
  }
901
902
  }
902
903
  exports.Section = Section;
package/model.ts CHANGED
@@ -1431,8 +1431,10 @@ export class BusinessObject extends Block {
1431
1431
  }
1432
1432
 
1433
1433
  export class Section extends Block {
1434
- constructor(tenantIdCreated: string) {
1435
- super(tenantIdCreated, [], [], BlockType.Section);
1434
+ constructor(id: string) {
1435
+ super('', [], [], BlockType.Section);
1436
+
1437
+ this._id = id;
1436
1438
  }
1437
1439
  }
1438
1440
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.0.8",
4
+ "version": "5.0.9",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",