@tinywork/glass 0.0.32 → 0.0.34
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 +3 -2
- package/dist/index.js +3 -2
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ import fs from 'node:fs';
|
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import http from 'node:http';
|
|
5
5
|
import https from 'node:https';
|
|
6
|
-
import
|
|
6
|
+
import crypto from 'node:crypto';
|
|
7
7
|
import axios from 'axios';
|
|
8
|
+
import qs from 'qs';
|
|
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';
|
|
10
11
|
export type JSONPropertySchema = {
|
|
@@ -180,4 +181,4 @@ export interface IGlassExtension {
|
|
|
180
181
|
apiId: string;
|
|
181
182
|
}>): Promise<void>;
|
|
182
183
|
}
|
|
183
|
-
export { fs,
|
|
184
|
+
export { fs, qs, path, http, https, axios, crypto, BrowserWindow, type Session };
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,8 @@ import fs from 'node:fs';
|
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import http from 'node:http';
|
|
4
4
|
import https from 'node:https';
|
|
5
|
-
import
|
|
5
|
+
import crypto from 'node:crypto';
|
|
6
6
|
import axios from 'axios';
|
|
7
|
+
import qs from 'qs';
|
|
7
8
|
import { BrowserWindow } from 'electron';
|
|
8
|
-
export { fs,
|
|
9
|
+
export { fs, qs, 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.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -16,11 +16,13 @@
|
|
|
16
16
|
"electron": "^21.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"axios": "^1.2.2"
|
|
19
|
+
"axios": "^1.2.2",
|
|
20
|
+
"qs": "^6.11.2"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
23
|
"@commitlint/cli": "^17.5.1",
|
|
23
24
|
"@commitlint/config-conventional": "^17.4.4",
|
|
25
|
+
"@types/qs": "^6.9.8",
|
|
24
26
|
"standard-version": "^9.5.0",
|
|
25
27
|
"typescript": "^4.9.4"
|
|
26
28
|
},
|