@deepseek-ai/dsh-deepseek-account 0.1.7-rc.2 → 0.2.0-rc.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.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/types/index.d.ts +9 -0
- package/package.json +7 -7
package/README.i18n.yaml
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
en: fcacd6de573d7636
|
|
10
10
|
zh: 6dbbc05a66dbb126
|
|
11
11
|
/deepseek-ai-dsh-deepseek-account/summary:
|
|
12
|
-
en:
|
|
13
|
-
zh:
|
|
12
|
+
en: c41643b81a07a489
|
|
13
|
+
zh: 2c16999de40a67b9
|
|
14
14
|
/deepseek-ai-dsh-deepseek-account/table-of-contents:
|
|
15
15
|
en: af856ba79fe31b8e
|
|
16
16
|
zh: 15b7d1a5d1856de2
|
package/README.md
CHANGED
|
@@ -21,6 +21,8 @@ getUnnotifiedBonuses returns the granted bonuses Platform has not yet recorded a
|
|
|
21
21
|
|
|
22
22
|
Account consumers read stored login state, start or cancel a browser login, and sign out without editing API keys. Host model consumers resolve account credentials only for the provider-configured inference origin.
|
|
23
23
|
|
|
24
|
+
`getDeviceIdentity()` returns existing device and account IDs plus the login OS version string, without credentials or device creation.
|
|
25
|
+
|
|
24
26
|
## Table of Contents
|
|
25
27
|
|
|
26
28
|
- [Use this package](#use-this-package)
|
package/README.zh.md
CHANGED
package/lib/types/index.d.ts
CHANGED
|
@@ -106,6 +106,15 @@ export declare abstract class DeepSeekAccount extends Service {
|
|
|
106
106
|
* @returns a Host-only snapshot, or null while signed out or when the credential changed during the read.
|
|
107
107
|
*/
|
|
108
108
|
abstract getPlatformSession(): Promise<PlatformSession | null>;
|
|
109
|
+
/**
|
|
110
|
+
* Read existing login identity without creating a device or returning credentials.
|
|
111
|
+
* @returns optional device/account identifiers and the provider's OS version string.
|
|
112
|
+
*/
|
|
113
|
+
abstract getDeviceIdentity(): Promise<{
|
|
114
|
+
deviceId?: string;
|
|
115
|
+
userId?: AccountUserId;
|
|
116
|
+
osVersion: string;
|
|
117
|
+
}>;
|
|
109
118
|
}
|
|
110
119
|
export default DeepSeekAccount;
|
|
111
120
|
/** Merge Cookie header pairs by case-sensitive name, retaining unrelated cookies.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-deepseek-account",
|
|
3
3
|
"description": "Read account state and resolve official API credentials",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
36
|
-
"@deepseek-ai/dsh-brand": "0.
|
|
37
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
38
|
-
"@deepseek-ai/dsh-llm": "0.
|
|
36
|
+
"@deepseek-ai/dsh-brand": "0.2.0-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
38
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@deepseek-ai/dsh-brand": "0.1.7-rc.2",
|
|
42
|
-
"@deepseek-ai/dsh-agent": "0.1.7-rc.2",
|
|
43
41
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
42
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-brand": "0.2.0-rc.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"@deepseek-ai/dsh-agent": {
|