apexsankey 1.2.1 → 1.2.5

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/index.d.ts CHANGED
@@ -1 +1,4 @@
1
- export { ApexSankey as default } from './lib/sankey';
1
+ import { ApexSankey } from './lib/sankey';
2
+
3
+ export { ApexSankey as default };
4
+ export { ApexSankey };
package/lib/sankey.d.ts CHANGED
@@ -6,5 +6,10 @@ export declare class ApexSankey {
6
6
  options: SankeyOptions;
7
7
  graph: SankeyGraph;
8
8
  constructor(element: HTMLElement, options: SankeyOptions);
9
+ static setLicense(key: string): void;
10
+ /**
11
+ * Handle watermark display based on license validation
12
+ */
13
+ private handleWatermark;
9
14
  render(data: GraphData): SankeyGraph;
10
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apexsankey",
3
- "version": "1.2.1",
3
+ "version": "1.2.5",
4
4
  "dependencies": {
5
5
  "defined": "^1.0.1",
6
6
  "graphlib": "~2.1.0",
@@ -10,6 +10,7 @@
10
10
  "main": "./apexsankey.min.js",
11
11
  "module": "./apexsankey.es.min.js",
12
12
  "types": "./index.d.ts",
13
+ "license": "See LICENSE in LICENSE",
13
14
  "exports": {
14
15
  ".": {
15
16
  "import": {
@@ -22,4 +23,4 @@
22
23
  }
23
24
  }
24
25
  }
25
- }
26
+ }