@wwawing/loader 3.7.0 → 3.7.3

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.
@@ -125,7 +125,7 @@ var TextLoader = (function () {
125
125
  wwaData.isVisibleStatusStrength = true;
126
126
  wwaData.isVisibleStatusDefence = true;
127
127
  wwaData.isVisibleStatusGold = true;
128
- wwaData.isGameOverDisabled = false;
128
+ wwaData.gameOverPolicy = "default";
129
129
  return wwaData;
130
130
  };
131
131
  TextLoader.prototype.getMessageFromData = function () {
@@ -175,6 +175,7 @@ function createDefaultWWAData() {
175
175
  isVisibleStatusDefence: undefined,
176
176
  isVisibleStatusGold: undefined,
177
177
  isGameOverDisabled: undefined,
178
+ gameOverPolicy: "default",
178
179
  };
179
180
  }
180
181
  exports.createDefaultWWAData = createDefaultWWAData;
@@ -122,7 +122,7 @@ var TextLoader = (function () {
122
122
  wwaData.isVisibleStatusStrength = true;
123
123
  wwaData.isVisibleStatusDefence = true;
124
124
  wwaData.isVisibleStatusGold = true;
125
- wwaData.isGameOverDisabled = false;
125
+ wwaData.gameOverPolicy = "default";
126
126
  return wwaData;
127
127
  };
128
128
  TextLoader.prototype.getMessageFromData = function () {
@@ -172,5 +172,6 @@ export function createDefaultWWAData() {
172
172
  isVisibleStatusDefence: undefined,
173
173
  isVisibleStatusGold: undefined,
174
174
  isGameOverDisabled: undefined,
175
+ gameOverPolicy: "default",
175
176
  };
176
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/loader",
3
- "version": "3.7.0",
3
+ "version": "3.7.3",
4
4
  "description": "a World Wide Adventure mapdata loader for client-side web applications",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./module/index.js",
@@ -44,10 +44,10 @@
44
44
  },
45
45
  "homepage": "https://github.com/WWAWing/WWALoader#readme",
46
46
  "dependencies": {
47
- "@wwawing/event-emitter": "^3.7.0"
47
+ "@wwawing/event-emitter": "^3.7.3"
48
48
  },
49
49
  "devDependencies": {
50
- "@wwawing/common-interface": "^3.7.0",
50
+ "@wwawing/common-interface": "^3.7.3",
51
51
  "cross-env": "^7.0.3",
52
52
  "html-loader": "^2.1.2",
53
53
  "html-webpack-plugin": "^5.5.0",
@@ -68,5 +68,5 @@
68
68
  "node": ">=16",
69
69
  "npm": ">=8"
70
70
  },
71
- "gitHead": "1c82857afdf74bab9ff8f5c964b2d8f066aba9ea"
71
+ "gitHead": "3eb15d97a30e7883beff0ec854a4d4177c70c74a"
72
72
  }