figureone 1.0.1 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figureone",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Draw, animate and interact with shapes, text, plots and equations in Javascript. Create interactive slide shows, and interactive videos.",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -16,7 +16,8 @@
16
16
  "index.js",
17
17
  "figureone.min.js",
18
18
  "types/",
19
- "llms.txt"
19
+ "llms.txt",
20
+ "llms-full.txt"
20
21
  ],
21
22
  "repository": {
22
23
  "type": "git",
@@ -46,7 +46,7 @@ declare class WebGLInstance {
46
46
  onLoad(id: string): void;
47
47
  cancel(id: string): void;
48
48
  getProgram(vertexShader: TypeVertexShader, fragmentShader: TypeFragmentShader): number;
49
- useProgram(programIndex: number): Record<string, any>;
49
+ useProgram(programIndex: number): Record<string, any> | null;
50
50
  constructor(canvas: HTMLCanvasElement, backgroundColor: Array<number>);
51
51
  init(gl: WebGLRenderingContext): void;
52
52
  resize(): void;