@sharpee/helpers 0.9.107 → 0.9.110

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/augment.js CHANGED
@@ -12,7 +12,9 @@
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  const world_model_1 = require("../world-model/index.js");
14
14
  const create_helpers_1 = require("./create-helpers");
15
- // Patch WorldModel.prototype at import time
15
+ // as any: justified — prototype augmentation via declaration merging (type safety
16
+ // is provided by the declare module block above; TypeScript does not allow direct
17
+ // assignment to class prototypes even after declaration merge)
16
18
  world_model_1.WorldModel.prototype.helpers = function () {
17
19
  return (0, create_helpers_1.createHelpers)(this);
18
20
  };
package/augment.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"augment.js","sourceRoot":"","sources":["../../../../../../repos/sharpee/packages/helpers/src/augment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAEH,sDAAkD;AAClD,qDAAgE;AAYhE,4CAA4C;AAC3C,wBAAU,CAAC,SAAiB,CAAC,OAAO,GAAG;IACtC,OAAO,IAAA,8BAAa,EAAC,IAA6D,CAAC,CAAC;AACtF,CAAC,CAAC"}
1
+ {"version":3,"file":"augment.js","sourceRoot":"","sources":["../../../../../../repos/sharpee/packages/helpers/src/augment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAEH,sDAAkD;AAClD,qDAAgE;AAYhE,kFAAkF;AAClF,kFAAkF;AAClF,+DAA+D;AAC9D,wBAAU,CAAC,SAAiB,CAAC,OAAO,GAAG;IACtC,OAAO,IAAA,8BAAa,EAAC,IAA6D,CAAC,CAAC;AACtF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharpee/helpers",
3
- "version": "0.9.107",
3
+ "version": "0.9.110",
4
4
  "description": "Fluent entity builder helpers for Sharpee Interactive Fiction Platform",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@sharpee/world-model": "^0.9.107"
15
+ "@sharpee/world-model": "^0.9.110"
16
16
  },
17
17
  "keywords": [
18
18
  "interactive-fiction",