@teachinglab/omd 0.1.6 → 0.1.8

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.
@@ -58,7 +58,7 @@ Do not include any explanation, LaTeX, or extra text. Only output the JSON objec
58
58
  const baseURL = options.baseURL || 'https://generativelanguage.googleapis.com/v1beta/openai/';
59
59
  const model = options.model || 'gemini-2.0-flash';
60
60
 
61
- const client = new OpenAI({ apiKey, baseURL });
61
+ const client = new OpenAI({ apiKey, baseURL, dangerouslyAllowBrowser: true });
62
62
 
63
63
  const messages = [
64
64
  {
@@ -1,5 +1,5 @@
1
1
  import { omdColor } from '../../src/omdColor.js';
2
- import { jsvgLayoutGroup, jsvgTextBox } from '@teachinglab/jsvg';
2
+ import { jsvgLayoutGroup, jsvgTextBox, jsvgRect } from '@teachinglab/jsvg';
3
3
  /**
4
4
  * Creates interactive step elements using jsvgLayoutGroup for multiple simplification steps
5
5
  * Each step is a separate jsvgTextBox that can have hover interactions with the omdSequence
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teachinglab/omd",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "omd",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",