becomap 1.4.4 → 1.4.7

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.
@@ -1,3 +1,10 @@
1
+ /*!
2
+ * word-wrap <https://github.com/jonschlinkert/word-wrap>
3
+ *
4
+ * Copyright (c) 2014-2023, Jon Schlinkert.
5
+ * Released under the MIT License.
6
+ */
7
+
1
8
  /*!
2
9
  Custom build of Typr.ts (https://github.com/fredli74/Typr.ts) for use in Troika text rendering.
3
10
  Original MIT license applies: https://github.com/fredli74/Typr.ts/blob/master/LICENSE
package/lib/index.d.ts CHANGED
@@ -764,6 +764,13 @@ export interface BCHappenings {
764
764
  * @returns The priority as a number.
765
765
  */
766
766
  priority: number;
767
+ /**
768
+ * Additional custom fields that provide extra information about the happening.
769
+ * These fields are dynamically structured and can vary based on the type of happening.
770
+ *
771
+ * @returns A `CustomFields` object containing key-value pairs, where each key represents a category of custom data.
772
+ */
773
+ customFields: Record<string, any>;
767
774
  }
768
775
  declare enum BCQuestionType {
769
776
  /** Represents a multiple-choice question with a single answer. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "becomap",
3
- "version": "1.4.4",
3
+ "version": "1.4.7",
4
4
  "description": "we lib to display becomap",
5
5
  "main": "lib/becomap.js",
6
6
  "module": "lib/becomap.js",
@@ -64,6 +64,7 @@
64
64
  "protobufjs": "^7.4.0",
65
65
  "rbush": "^4.0.1",
66
66
  "three": "^0.172.0",
67
- "troika-three-text": "^0.52.3"
67
+ "troika-three-text": "^0.52.3",
68
+ "word-wrap": "^1.2.5"
68
69
  }
69
- }
70
+ }