@tinywork/glass 0.0.32 → 0.0.33

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/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import path from 'node:path';
4
4
  import http from 'node:http';
5
5
  import https from 'node:https';
6
6
  import querystring from 'node:querystring';
7
+ import crypto from 'node:crypto';
7
8
  import axios from 'axios';
8
9
  import { BrowserWindow, type MenuItemConstructorOptions, type Session } from 'electron';
9
10
  type ResourceType = 'Fetch/XHR' | 'JS' | 'CSS' | 'Img' | 'Media' | 'Font' | 'Doc' | 'WS' | 'Wasm' | 'Other';
@@ -180,4 +181,4 @@ export interface IGlassExtension {
180
181
  apiId: string;
181
182
  }>): Promise<void>;
182
183
  }
183
- export { fs, querystring, path, http, https, axios, BrowserWindow, type Session };
184
+ export { fs, querystring, path, http, https, axios, crypto, BrowserWindow, type Session };
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ import path from 'node:path';
3
3
  import http from 'node:http';
4
4
  import https from 'node:https';
5
5
  import querystring from 'node:querystring';
6
+ import crypto from 'node:crypto';
6
7
  import axios from 'axios';
7
8
  import { BrowserWindow } from 'electron';
8
- export { fs, querystring, path, http, https, axios, BrowserWindow };
9
+ export { fs, querystring, path, http, https, axios, crypto, BrowserWindow };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [