@etothepii/satisfactory-file-parser 0.0.20 → 0.0.21

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -50,7 +50,7 @@ Parser.WriteSave(save, binaryBeforeCompressed => {
50
50
  });
51
51
 
52
52
  // write complete sav file back to disk
53
- fs.writeFileSync('./MyModifiedSave.sav', Buffer.concat([header, ...bodyChunks]));
53
+ fs.writeFileSync('./MyModifiedSave.sav', Buffer.concat([header!, ...bodyChunks]));
54
54
  ```
55
55
 
56
56
  ## Usage of Blueprint Parsing
@@ -84,7 +84,7 @@ const summary = Parser.WriteBlueprintFiles(blueprint, mainFileBinaryBeforeCompre
84
84
  // write complete .sbp file back to disk
85
85
  fs.writeFileSync('./MyModifiedBlueprint.sbp', Buffer.concat([mainFileHeader!, ...mainFileBodyChunks]));
86
86
 
87
- // write .sbpcfg file back to disk, we get that data from the result of WriteBlueprint
87
+ // write .sbpcfg file back to disk, we get that data from the result of WriteBlueprintFiles
88
88
  fs.writeFileSync('./MyModifiedSave.sbpcfg', Buffer.from(summary.configFileBinary));
89
89
  ```
90
90
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@etothepii/satisfactory-file-parser",
3
3
  "author": "etothepii",
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "description": "A file parser for satisfactory files. Includes save files and blueprint files.",
6
6
  "typings": "./build/index.d.ts",
7
7
  "main": "./build/index.js",