@etothepii/satisfactory-file-parser 0.1.6 → 0.1.8

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.
package/README.md CHANGED
@@ -19,7 +19,7 @@ U8 has only read support so far and only for save files, not for blueprint files
19
19
  |:--------------:|:-----------------------------|
20
20
  | <= U5 | ❌ |
21
21
  | U6 + U7 | ✅ 0.0.1 - 0.0.34 |
22
- | U8 | ⚠️ >= 0.1.5 (Reading only) |
22
+ | U8 | ⚠️ >= 0.1.8 (Reading only) |
23
23
 
24
24
 
25
25
  ## Installation via npm
@@ -201,7 +201,7 @@ export type FICFrameRangeStructPropertyValue = {
201
201
  };
202
202
  export type DynamicStructPropertyValue = {
203
203
  type: string;
204
- properties: Properties;
204
+ properties: AbstractBaseProperty[];
205
205
  };
206
206
  export type GENERIC_STRUCT_PROPERTY_VALUE = BasicMultipleStructPropertyValue | BasicStructPropertyValue | BoxStructPropertyValue | RailroadTrackPositionStructPropertyValue | InventoryItemStructPropertyValue | FICFrameRangeStructPropertyValue | DynamicStructPropertyValue | col4 | vec3 | vec4 | string;
207
207
  export declare class StructProperty extends AbstractBaseProperty {
@@ -928,13 +928,13 @@ class MapProperty extends BasicProperty {
928
928
  exports.MapProperty = MapProperty;
929
929
  const ParseDynamicStructData = (reader, buildVersion, type) => {
930
930
  const data = {
931
- type, properties: {}
931
+ type, properties: []
932
932
  };
933
933
  const pos = reader.getBufferPosition();
934
934
  let propertyName = reader.readString();
935
935
  while (propertyName !== 'None') {
936
936
  const property = DataFields_1.DataFields.ParseProperty(reader, buildVersion, propertyName);
937
- data.properties[propertyName] = property;
937
+ data.properties.push(property);
938
938
  propertyName = reader.readString();
939
939
  }
940
940
  return data;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@etothepii/satisfactory-file-parser",
3
3
  "author": "etothepii",
4
- "version": "0.1.6",
4
+ "version": "0.1.8",
5
5
  "description": "A file parser for satisfactory files. Includes save files and blueprint files.",
6
6
  "types": "./build/index.d.ts",
7
7
  "main": "./build/index.js",