@theholocron/google-client 1.6.0 → 1.6.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.
- package/README.md +2 -6
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -14,9 +14,7 @@ pnpm add @theholocron/google-client
|
|
|
14
14
|
import { google, googleAuth } from "@theholocron/google-client";
|
|
15
15
|
|
|
16
16
|
// Service account auth (env vars — see Auth section)
|
|
17
|
-
const authClient = await googleAuth([
|
|
18
|
-
"https://www.googleapis.com/auth/spreadsheets.readonly",
|
|
19
|
-
]);
|
|
17
|
+
const authClient = await googleAuth(["https://www.googleapis.com/auth/spreadsheets.readonly"]);
|
|
20
18
|
|
|
21
19
|
// Read a spreadsheet
|
|
22
20
|
const [err, data] = await google.spreadsheets.get("1BxiMVs0XRA...");
|
|
@@ -55,9 +53,7 @@ GOOGLE_REDIRECT_URI=http://localhost:4000/oauth2callback # optional
|
|
|
55
53
|
```ts
|
|
56
54
|
import { oauth } from "@theholocron/google-client";
|
|
57
55
|
|
|
58
|
-
const authClient = await oauth([
|
|
59
|
-
"https://www.googleapis.com/auth/spreadsheets",
|
|
60
|
-
]);
|
|
56
|
+
const authClient = await oauth(["https://www.googleapis.com/auth/spreadsheets"]);
|
|
61
57
|
```
|
|
62
58
|
|
|
63
59
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/google-client",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "A TypeScript client for Google Workspace APIs (Docs, Sheets)",
|
|
5
5
|
"homepage": "https://github.com/theholocron/clients/tree/main/packages/google-client#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/clients/issues",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"google-auth-library": "^
|
|
33
|
+
"google-auth-library": "^11.0.0",
|
|
34
34
|
"googleapis": "^173.0.0",
|
|
35
35
|
"open": "^11.0.0",
|
|
36
36
|
"server-destroy": "^1.0.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@theholocron/eslint-config": "^7.
|
|
40
|
-
"@theholocron/tsconfig": "^7.
|
|
41
|
-
"@theholocron/tsdown-config": "^7.
|
|
42
|
-
"@theholocron/vitest-config": "^7.
|
|
39
|
+
"@theholocron/eslint-config": "^7.8.1",
|
|
40
|
+
"@theholocron/tsconfig": "^7.8.1",
|
|
41
|
+
"@theholocron/tsdown-config": "^7.7.0",
|
|
42
|
+
"@theholocron/vitest-config": "^7.7.0",
|
|
43
43
|
"@types/node": "^26.1.2",
|
|
44
44
|
"@types/server-destroy": "^1.0.4",
|
|
45
45
|
"@vitest/coverage-v8": "^4.1.10",
|
|
46
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
46
|
+
"@vitest/eslint-plugin": "^1.6.25",
|
|
47
47
|
"eslint": "^10.8.0",
|
|
48
48
|
"eslint-plugin-n": "^18.2.2",
|
|
49
49
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|