dsh-jiuling-link 0.2.1-rc.10 → 0.2.1-rc.11

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.
Files changed (2) hide show
  1. package/host/account.mjs +1 -1
  2. package/package.json +1 -1
package/host/account.mjs CHANGED
@@ -157,7 +157,7 @@ export class AccountClient {
157
157
 
158
158
  async login({ email, password }, signal, beforeSave) {
159
159
  if (typeof email !== 'string' || !validEmail(email.trim()) || typeof password !== 'string' ||
160
- password.length > 256 || [...password].length < 12 || [...password].length > 128) {
160
+ password.length > 256 || [...password].length < 8 || [...password].length > 128) {
161
161
  throw issue('account_invalid', 'Check the email and password.');
162
162
  }
163
163
  const { status, data, cookie } = await this.#request('/api/login', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-jiuling-link",
3
- "version": "0.2.1-rc.10",
3
+ "version": "0.2.1-rc.11",
4
4
  "private": false,
5
5
  "description": "Securely continue desktop DSH workspace sessions from Android.",
6
6
  "type": "module",