@kenkaiiii/gg-core 5.22.4 → 5.22.6
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/{chunk-TST5LJWL.js → chunk-EM7AJOOC.js} +10 -4
- package/dist/chunk-EM7AJOOC.js.map +1 -0
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-TST5LJWL.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -55,6 +55,10 @@ interface OAuthCredentials {
|
|
|
55
55
|
accessToken: string;
|
|
56
56
|
refreshToken: string;
|
|
57
57
|
expiresAt: number;
|
|
58
|
+
/** Original token lifetime in seconds (the provider's `expires_in`). Used to
|
|
59
|
+
* scale the proactive-refresh threshold: short-lived tokens (e.g. Kimi's
|
|
60
|
+
* 15-min access token) must refresh well before expiry, not 60s prior. */
|
|
61
|
+
expiresIn?: number;
|
|
58
62
|
accountId?: string;
|
|
59
63
|
projectId?: string;
|
|
60
64
|
baseUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ interface OAuthCredentials {
|
|
|
55
55
|
accessToken: string;
|
|
56
56
|
refreshToken: string;
|
|
57
57
|
expiresAt: number;
|
|
58
|
+
/** Original token lifetime in seconds (the provider's `expires_in`). Used to
|
|
59
|
+
* scale the proactive-refresh threshold: short-lived tokens (e.g. Kimi's
|
|
60
|
+
* 15-min access token) must refresh well before expiry, not 60s prior. */
|
|
61
|
+
expiresIn?: number;
|
|
58
62
|
accountId?: string;
|
|
59
63
|
projectId?: string;
|
|
60
64
|
baseUrl?: string;
|