canvas-globe 0.1.3 → 0.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ All notable changes to this package are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.4] - 2026-09-14
10
+
11
+ - Published the browser-safe package entry points to JSR under
12
+ `@swiftools/canvas-globe`.
13
+ - Made generated UMD builds deterministic across Windows and Linux.
14
+ - Corrected the custom-element render event and world-data type contracts.
15
+
9
16
  ## [0.1.3] - 2026-09-14
10
17
 
11
18
  - Added JSR package configuration and tokenless GitHub publishing workflow.
package/README.md CHANGED
@@ -107,7 +107,7 @@ npx jsr add @swiftools/canvas-globe
107
107
  You can also import the JSR release directly in Deno:
108
108
 
109
109
  ```js
110
- import { createGlobe } from "jsr:@swiftools/canvas-globe@0.1.3";
110
+ import { createGlobe } from "jsr:@swiftools/canvas-globe@0.1.4";
111
111
  ```
112
112
 
113
113
  The React entry point remains on npm so React's peer dependency is resolved by
@@ -118,19 +118,19 @@ your existing application rather than installing a second React copy.
118
118
  For a plain `<script>` installation, use the versioned UMD build:
119
119
 
120
120
  ```html
121
- <script src="https://cdn.jsdelivr.net/npm/canvas-globe@0.1.3/dist/canvas-globe.umd.js"></script>
121
+ <script src="https://cdn.jsdelivr.net/npm/canvas-globe@0.1.4/dist/canvas-globe.umd.js"></script>
122
122
  ```
123
123
 
124
124
  The same npm release is also available from UNPKG:
125
125
 
126
126
  ```html
127
- <script src="https://unpkg.com/canvas-globe@0.1.3/dist/canvas-globe.umd.js"></script>
127
+ <script src="https://unpkg.com/canvas-globe@0.1.4/dist/canvas-globe.umd.js"></script>
128
128
  ```
129
129
 
130
130
  Modern browsers can import the package through an ESM CDN:
131
131
 
132
132
  ```js
133
- import { createGlobe } from "https://esm.sh/canvas-globe@0.1.3";
133
+ import { createGlobe } from "https://esm.sh/canvas-globe@0.1.4";
134
134
  ```
135
135
 
136
136
  Pin an exact version in production so a future release cannot change a deployed page unexpectedly.
@@ -150,7 +150,7 @@ import { createGlobe } from "canvas-globe";
150
150
  Or drop the UMD build on a page with no build step at all:
151
151
 
152
152
  ```html
153
- <script src="https://cdn.jsdelivr.net/npm/canvas-globe@0.1.3/dist/canvas-globe.umd.js"></script>
153
+ <script src="https://cdn.jsdelivr.net/npm/canvas-globe@0.1.4/dist/canvas-globe.umd.js"></script>
154
154
  <canvas id="globe" style="width:520px;aspect-ratio:1"></canvas>
155
155
  <script>
156
156
  CanvasGlobe.createGlobe(document.getElementById("globe"), {
package/codemeta.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "identifier": "canvas-globe",
6
6
  "description": "Zero-dependency JavaScript and React library for interactive 3D globes and flat world maps rendered with Canvas 2D, with no WebGL or API-key requirement.",
7
7
  "url": "https://canvasglobe.swiftools.com/",
8
- "version": "0.1.3",
8
+ "version": "0.1.4",
9
9
  "codeRepository": "https://github.com/Shree-hari/canvas-globe",
10
10
  "issueTracker": "https://github.com/Shree-hari/canvas-globe/issues",
11
11
  "downloadUrl": "https://www.npmjs.com/package/canvas-globe",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-globe",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Zero-dependency JavaScript and React library for interactive 3D globes and flat world maps rendered with Canvas 2D. No WebGL or API key.",
5
5
  "license": "GPL-3.0-only",
6
6
  "author": {
package/src/element.js CHANGED
@@ -1,4 +1,4 @@
1
- /* @ts-self-types="../types/element.d.ts" */
1
+ /* @ts-self-types="../types/jsr-element.d.ts" */
2
2
 
3
3
  /**
4
4
  * `<geo-globe>` custom element. Wraps GeoGlobe so it can be dropped into any