waibu-maps 2.1.3 → 2.1.4

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.
@@ -166,7 +166,7 @@ class WaibuMaps { // eslint-disable-line no-unused-vars
166
166
  if (options.builder) {
167
167
  if (_.isArray(options.builder)) ctrl.panels = options.builder
168
168
  else if (_.isString(options.builder)) {
169
- ctrl.panels = await wmpa.createComponent(options.builder)
169
+ ctrl.panels = await wmpa.createComponent(options.builder, undefined, options.opts)
170
170
  } else {
171
171
  const fn = options.builder.bind(ctrl.scope)
172
172
  ctrl.panels = await fn(options.params)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waibu-maps",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Maps for Waibu MPA",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-01-20
4
+
5
+ - [2.1.4] Bug fix on ```wmaps.createControl()```
6
+
3
7
  ## 2026-01-17
4
8
 
5
9
  - [2.1.3] Add capability to set custom theme & iconset through headers