@sowell/quasar-app-extension-auth 1.4.6 → 1.4.7

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.
@@ -5,6 +5,10 @@ on:
5
5
  tags:
6
6
  - '*'
7
7
 
8
+ permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
+
8
12
  jobs:
9
13
  npm-publish:
10
14
  name: npm-publish
@@ -15,10 +19,8 @@ jobs:
15
19
  - name: Nodejs
16
20
  uses: actions/setup-node@v4
17
21
  with:
18
- node-version: "16"
22
+ node-version: "24"
19
23
  cache: yarn
20
24
  registry-url: https://registry.npmjs.org
21
25
  - name: publish
22
- run: npm publish --access public
23
- env:
24
- NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
26
+ run: npm publish
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sowell/quasar-app-extension-auth",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "A Quasar app extension to manage Authentication",
5
5
  "main": "src/index.js",
6
6
  "repository": "https://github.com/sowell-ai/quasar.extension.auth",
@@ -87,6 +87,12 @@ export function useAuth() {
87
87
  ? ""
88
88
  : t("auth.passwordPresenceError")
89
89
  return !!val || t("auth.passwordPresenceError")
90
+ },
91
+ (val: string) => {
92
+ if (!val) return true
93
+ const isValid = val.length >= 6
94
+ errorPasswordMessage.value = isValid ? "" : t("auth.passwordLengthError")
95
+ return isValid || t("auth.passwordLengthError")
90
96
  }
91
97
  ]
92
98
  })