From 69f3c508519b4985957b323c2cfe7ef7497eaf59 Mon Sep 17 00:00:00 2001 From: BellCube <33764825+BellCubeDev@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:35:33 -0400 Subject: [PATCH 1/2] Update FlagSetter `flagName` and `flagValue` keys to `name` and `value` --- src/definitions/Option.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/definitions/Option.ts b/src/definitions/Option.ts index 99d779c..607af3c 100644 --- a/src/definitions/Option.ts +++ b/src/definitions/Option.ts @@ -169,11 +169,11 @@ export class FlagSetter extends XmlRepresentation { readonly flagInstance: FlagInstance; - get flagName() { return this.flagInstance.name; } - set flagName(name: string) { this.flagInstance.name = name; } + get name() { return this.flagInstance.name; } + set name(name: string) { this.flagInstance.name = name; } - get flagValue() { return this.flagInstance.usedValue; } - set flagValue(value: string) { this.flagInstance.usedValue = value; } + get value() { return this.flagInstance.usedValue; } + set value(value: string) { this.flagInstance.usedValue = value; } constructor(flagInstance: FlagInstance) { super(); From 2bc06f96266f23f26d4cf8b459ec32b5772b3ed3 Mon Sep 17 00:00:00 2001 From: BellCube <33764825+BellCubeDev@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:40:55 -0400 Subject: [PATCH 2/2] Update package.json version to 0.1.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 04286b8..118b8f4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "type": "module", "name": "fomod", "description": "A library for creating, parsing, editing, and validating XML-based Fomod installers, widely popularized in the Bethesda modding scne", - "version": "0.1.5", + "version": "0.1.6", "main": "dist/index.js", "repository": "https://github.com/BellCubeDev/fomod-js/", "bugs": {