@asdf-overlay/core 1.1.2 → 1.2.0

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.
Binary file
package/addon-x64.node CHANGED
Binary file
Binary file
Binary file
Binary file
package/lib/addon.d.ts CHANGED
@@ -15,5 +15,4 @@ export type Addon = {
15
15
  surfaceClear(id: unknown): void;
16
16
  surfaceUpdateBitmap(id: unknown, width: number, data: Buffer): UpdateSharedHandle | null;
17
17
  surfaceUpdateShtex(id: unknown, width: number, height: number, handle: Buffer, rect?: CopyRect): UpdateSharedHandle | null;
18
- surfaceDestroy(id: unknown): void;
19
18
  };
package/lib/index.d.ts CHANGED
@@ -133,6 +133,8 @@ export declare class OverlaySurface {
133
133
  */
134
134
  clear(): void;
135
135
  /**
136
+ * @deprecated Do not need to be called.
137
+ *
136
138
  * Destroy the surface.
137
139
  */
138
140
  destroy(): void;
package/lib/index.js CHANGED
@@ -177,11 +177,11 @@ export class OverlaySurface {
177
177
  addon.surfaceClear(this[idSym]);
178
178
  }
179
179
  /**
180
+ * @deprecated Do not need to be called.
181
+ *
180
182
  * Destroy the surface.
181
183
  */
182
- destroy() {
183
- addon.surfaceDestroy(this[idSym]);
184
- }
184
+ destroy() { }
185
185
  /**
186
186
  * Create a new overlay surface.
187
187
  * @param luid The GPU LUID for surface textures.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asdf-overlay/core",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "Asdf overlay core Node addon",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",