@bigfootai/bigfoot-types 4.2.4 → 4.2.5

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 +2 -1
  2. package/model.ts +2 -1
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -577,15 +577,16 @@ class Block extends SharedPrimitive {
577
577
  exports.Block = Block;
578
578
  class BlockProcessingRequest {
579
579
  constructor(historyId, referenceBlock) {
580
+ this.historyId = historyId;
580
581
  this.referenceBlock = referenceBlock;
581
582
  }
582
583
  }
583
584
  exports.BlockProcessingRequest = BlockProcessingRequest;
584
585
  class BlockProcessingResponse {
585
586
  constructor(historyId, referenceBlock, articleId) {
586
- this.articleId = articleId;
587
587
  this.historyId = historyId;
588
588
  this.referenceBlock = referenceBlock;
589
+ this.articleId = articleId;
589
590
  }
590
591
  }
591
592
  exports.BlockProcessingResponse = BlockProcessingResponse;
package/model.ts CHANGED
@@ -888,6 +888,7 @@ export class BlockProcessingRequest {
888
888
  referenceBlock: ReferenceBlock;
889
889
 
890
890
  constructor(historyId: string, referenceBlock: ReferenceBlock) {
891
+ this.historyId = historyId;
891
892
  this.referenceBlock = referenceBlock;
892
893
  }
893
894
  }
@@ -902,9 +903,9 @@ export class BlockProcessingResponse {
902
903
  referenceBlock: ReferenceBlock,
903
904
  articleId: string
904
905
  ) {
905
- this.articleId = articleId;
906
906
  this.historyId = historyId;
907
907
  this.referenceBlock = referenceBlock;
908
+ this.articleId = articleId;
908
909
  }
909
910
  }
910
911
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.2.4",
4
+ "version": "4.2.5",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",