@teachinglab/omd 0.6.5 → 0.6.6

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.
Files changed (2) hide show
  1. package/index.js +0 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -11,9 +11,6 @@
11
11
  * const { omdTable } = await import('@teachinglab/omd')
12
12
  */
13
13
 
14
- // Ensure math.js is available globally before loading modules that rely on window/global math
15
- import './omd/utils/registerMathGlobal.js';
16
-
17
14
  // Import everything first to ensure proper loading order
18
15
  import * as omdCore from './omd/core/index.js';
19
16
  import * as omdCanvas from './canvas/index.js';
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@teachinglab/omd",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "omd",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
7
7
  "type": "module",
8
8
  "exports": {
9
9
  ".": "./index.js",
10
+ "./register-math": "./omd/utils/registerMathGlobal.js",
10
11
  "./package.json": "./package.json"
11
12
  },
12
13
  "files": [
@@ -56,4 +57,3 @@
56
57
  "vite": "^5.4.0"
57
58
  }
58
59
  }
59
-