svelteplot 0.9.1-pr-332.1 → 0.9.1-pr-332.2

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.
@@ -19,6 +19,8 @@ function isMapIndex(obj) {
19
19
  function normalize(options) {
20
20
  if (isMapIndex(options))
21
21
  return options;
22
+ if (typeof options === 'object' && isMapIndex(options?.basis))
23
+ return options?.basis;
22
24
  const basis = typeof options === 'object' ? options.basis : options;
23
25
  if (basis === undefined)
24
26
  return normalizeFirst;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.9.1-pr-332.1",
3
+ "version": "0.9.1-pr-332.2",
4
4
  "license": "ISC",
5
5
  "author": {
6
6
  "name": "Gregor Aisch",