layerchart 0.26.1 → 0.26.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.
@@ -1,7 +1,7 @@
1
1
  <script context="module">import { getContext, setContext } from 'svelte';
2
2
  import { writable } from 'svelte/store';
3
- import { geoMercator } from 'd3-geo';
4
- export const geoContextKey = {};
3
+ import { geoMercator, } from 'd3-geo';
4
+ export const geoContextKey = Symbol();
5
5
  export function geoContext() {
6
6
  return getContext(geoContextKey);
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  import { type Writable } from 'svelte/store';
3
3
  import { type GeoIdentityTransform, type GeoPermissibleObjects, type GeoProjection } from 'd3-geo';
4
- export declare const geoContextKey: {};
4
+ export declare const geoContextKey: unique symbol;
5
5
  export type GeoContext = Writable<GeoProjection | GeoIdentityTransform>;
6
6
  export declare function geoContext(): GeoContext;
7
7
  declare const __propDef: {
@@ -1,5 +1,5 @@
1
1
  <script context="module">import { getContext, setContext } from 'svelte';
2
- export const tooltipContextKey = {};
2
+ export const tooltipContextKey = Symbol();
3
3
  const defaultContext = writable({
4
4
  x: 0,
5
5
  y: 0,
@@ -1,6 +1,6 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  import type { Readable } from 'svelte/store';
3
- export declare const tooltipContextKey: {};
3
+ export declare const tooltipContextKey: unique symbol;
4
4
  export type TooltipContextValue = {
5
5
  x: number;
6
6
  y: number;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Sean Lynch <techniq35@gmail.com>",
5
5
  "license": "MIT",
6
6
  "repository": "techniq/layerchart",
7
- "version": "0.26.1",
7
+ "version": "0.26.2",
8
8
  "scripts": {
9
9
  "dev": "vite dev",
10
10
  "build": "vite build",