@bigfootai/bigfoot-types 4.2.1 → 4.2.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.
Files changed (3) hide show
  1. package/model.js +2 -2
  2. package/model.ts +4 -4
  3. package/package.json +1 -1
package/model.js CHANGED
@@ -576,8 +576,8 @@ class Block extends SharedPrimitive {
576
576
  }
577
577
  exports.Block = Block;
578
578
  class BlockProcessingRequest {
579
- constructor(block) {
580
- this.block = block;
579
+ constructor(historyId, referenceBlock) {
580
+ this.referenceBlock = referenceBlock;
581
581
  }
582
582
  }
583
583
  exports.BlockProcessingRequest = BlockProcessingRequest;
package/model.ts CHANGED
@@ -884,11 +884,11 @@ export class Block extends SharedPrimitive {
884
884
  }
885
885
 
886
886
  export class BlockProcessingRequest {
887
- block: Block;
888
- credential?: Credential;
887
+ historyId: string;
888
+ referenceBlock: ReferenceBlock;
889
889
 
890
- constructor(block: Block) {
891
- this.block = block;
890
+ constructor(historyId: string, referenceBlock: ReferenceBlock) {
891
+ this.referenceBlock = referenceBlock;
892
892
  }
893
893
  }
894
894
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.2.1",
4
+ "version": "4.2.2",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",