tinfoil 0.7.1 → 0.7.2

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.
@@ -31,16 +31,6 @@ if (!globalThis.crypto) {
31
31
  },
32
32
  };
33
33
  }
34
- // Modified secure-client.ts
35
- if (typeof window === "undefined") {
36
- // Node.js environment
37
- globalThis.window = globalThis;
38
- globalThis.document = {
39
- createElement: () => ({
40
- setAttribute: () => { },
41
- }),
42
- };
43
- }
44
34
  // Force process to stay running (prevent Go from exiting Node process)
45
35
  // This is a common issue with Go WASM in Node - it calls process.exit()
46
36
  const originalExit = process.exit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinfoil",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Tinfoil secure OpenAI client wrapper",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",