From e51d13eacf198c07746c7b73ab70988c6e9a1be5 Mon Sep 17 00:00:00 2001 From: Nir Gur Arie Date: Thu, 6 Jun 2024 12:35:14 +0300 Subject: [PATCH] add validateOnBlur --- README.md | 1 + package-lock.json | 366 ++++++++++++++++++---------------------------- package.json | 12 +- src/Descope.vue | 4 + 4 files changed, 156 insertions(+), 227 deletions(-) diff --git a/README.md b/README.md index 52cc414..231883d 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ app.mount('#app'); + diff --git a/package-lock.json b/package-lock.json index bfd3ec4..9d367f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,12 +9,12 @@ "version": "2.0.17", "license": "MIT", "dependencies": { - "@descope/access-key-management-widget": "0.1.74", - "@descope/audit-management-widget": "0.1.37", - "@descope/role-management-widget": "0.1.72", - "@descope/user-management-widget": "0.4.74", - "@descope/user-profile-widget": "0.0.40", - "@descope/web-component": "3.13.1" + "@descope/access-key-management-widget": "0.1.81", + "@descope/audit-management-widget": "0.1.44", + "@descope/role-management-widget": "0.1.79", + "@descope/user-management-widget": "0.4.81", + "@descope/user-profile-widget": "0.0.52", + "@descope/web-component": "3.15.0" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.0", @@ -1795,14 +1795,14 @@ "dev": true }, "node_modules/@descope/access-key-management-widget": { - "version": "0.1.74", - "resolved": "https://registry.npmjs.org/@descope/access-key-management-widget/-/access-key-management-widget-0.1.74.tgz", - "integrity": "sha512-erbjmwGPfcAmRyqM+wQgBqYyn+izi7ltkNUzVMWR8/trLZeZBaTGnCVzb6Ae1i8GKW3/iwjQdXH43wHSX8UVug==", - "dependencies": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.1.81", + "resolved": "https://registry.npmjs.org/@descope/access-key-management-widget/-/access-key-management-widget-0.1.81.tgz", + "integrity": "sha512-vbtOHcXDdf/YUmBUvqpTSNQG2w9WTNZc9KbqItQsudMG+7dGNfM6ZK/9JUPj42DhWIpSp6xcGV+fncBMMUZfhg==", + "dependencies": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "redux": "5.0.1", @@ -1812,14 +1812,14 @@ } }, "node_modules/@descope/audit-management-widget": { - "version": "0.1.37", - "resolved": "https://registry.npmjs.org/@descope/audit-management-widget/-/audit-management-widget-0.1.37.tgz", - "integrity": "sha512-14lJ/FPTQ4nUgr/stWNEshHy87Ttmhfn19gHtB4+AOomwu8p8eo5DA3elHMzCfV8h9YucQF0u/6EzConSiMWDA==", - "dependencies": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.1.44", + "resolved": "https://registry.npmjs.org/@descope/audit-management-widget/-/audit-management-widget-0.1.44.tgz", + "integrity": "sha512-Jlmykzgffo9FLdL/R4EgG30psvXBu0ZHufxpp9t94EN++uqmiaAx9sE/DHAwLo7qDLjb+d83QD70SXVI48aO6g==", + "dependencies": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "redux": "5.0.1", @@ -1829,22 +1829,22 @@ } }, "node_modules/@descope/core-js-sdk": { - "version": "2.17.2", - "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.17.2.tgz", - "integrity": "sha512-10UxhN/H0dhOtrxXWPExQFWjow1Haq47AVgOS9WsGSpx9X8n76FLY9wC7pQv18L609m7sSrEHpAtOSHz5fFbHQ==", + "version": "2.18.2", + "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.18.2.tgz", + "integrity": "sha512-MYn7O3TPD/ls0BA63/jyVJhcgNvr9gt2Xfeg1QEsqumJy6L346Fjz/VYTUUBF7OJPfi4mp3ZIe6AlQwvGT1Yqw==", "dependencies": { "jwt-decode": "3.1.2" } }, "node_modules/@descope/role-management-widget": { - "version": "0.1.72", - "resolved": "https://registry.npmjs.org/@descope/role-management-widget/-/role-management-widget-0.1.72.tgz", - "integrity": "sha512-PkK4crfS6DsNSzgDGgfrGkmiL2rOYz5L/e1yYnu8b4IqE5e2129p9zJPuWwJ5RdzVFqudijTSITR9pdsWPzmyA==", - "dependencies": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.1.79", + "resolved": "https://registry.npmjs.org/@descope/role-management-widget/-/role-management-widget-0.1.79.tgz", + "integrity": "sha512-BziF8EYedhPtsEvSL56gRljgPxH2OSAgYcCFJKg1M2vaTRjojDCrQUDi6V8jgw38YT6cXgXVwqLaqlEW0OQX/Q==", + "dependencies": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "redux": "5.0.1", @@ -1854,29 +1854,29 @@ } }, "node_modules/@descope/sdk-component-drivers": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/@descope/sdk-component-drivers/-/sdk-component-drivers-0.2.17.tgz", - "integrity": "sha512-iEIwfmlxtYsrOXm5AqwByKoo70uRbtqHqg47prVTIo/VDPhgLKwAQDbHn4ajxxAdZ0ipz2RolZ0wtR2V3KrWVw==", + "version": "0.2.22", + "resolved": "https://registry.npmjs.org/@descope/sdk-component-drivers/-/sdk-component-drivers-0.2.22.tgz", + "integrity": "sha512-/g21IwB8nBUYFQXUvFNFzVY5yH/rd7sGGYKwqk25sleBru1qTqDXHey3n+j/PsOiSAJd4REZrdnBEnzUrZzDZw==", "dependencies": { - "@descope/sdk-helpers": "0.1.36", + "@descope/sdk-helpers": "0.1.41", "tslib": "2.6.2" } }, "node_modules/@descope/sdk-helpers": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@descope/sdk-helpers/-/sdk-helpers-0.1.36.tgz", - "integrity": "sha512-k9FcmHSbM6wXu6jJyw6UzwA4hjVTU1HFjTXc+cZIXzG2v7GthBZil0StyizSvseDJBPvr0wuxPPqhUKrYuP/Fw==", + "version": "0.1.41", + "resolved": "https://registry.npmjs.org/@descope/sdk-helpers/-/sdk-helpers-0.1.41.tgz", + "integrity": "sha512-o6joIfm9x09Hc8B41hgScU6tSbwQOegEpx377hZmKEUlK3YJsOMku1WGtuXalDQ0WDHKl4pYfywNTANsvhknKw==", "dependencies": { "tslib": "2.6.2" } }, "node_modules/@descope/sdk-mixins": { - "version": "0.2.21", - "resolved": "https://registry.npmjs.org/@descope/sdk-mixins/-/sdk-mixins-0.2.21.tgz", - "integrity": "sha512-mPxGeiCp3om7TodCu+3IpfRB10uJ801/ABMVAIc3gJ6IUZnfrBXSRDAirvBlqFATz8sG1NIyuLn8/EVuCy/bAw==", + "version": "0.2.26", + "resolved": "https://registry.npmjs.org/@descope/sdk-mixins/-/sdk-mixins-0.2.26.tgz", + "integrity": "sha512-QzgX0Qp7QOjpM4djXkkUMJWedS956G7q/fOqca342igMMjmsJREl6yxut7SB27eWHh14g4LnQUmwhvRpNAGwaA==", "dependencies": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", "tslib": "2.6.2" }, "peerDependencies": { @@ -1887,14 +1887,14 @@ } }, "node_modules/@descope/user-management-widget": { - "version": "0.4.74", - "resolved": "https://registry.npmjs.org/@descope/user-management-widget/-/user-management-widget-0.4.74.tgz", - "integrity": "sha512-ihhQkikfzNOKvtwDPDbkD/2lIr0klZ+Cnn+B9XWHxtfbLQjXmfBSo0p9elF666LiuBVz854PjHRqE9ZkNAMuQw==", - "dependencies": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.4.81", + "resolved": "https://registry.npmjs.org/@descope/user-management-widget/-/user-management-widget-0.4.81.tgz", + "integrity": "sha512-Rl1Wh+rL0htDMKRT+PoKlpy6TazwJT39ZxnwyyJbn0Hu1A1saFd0fquMXrM94UVfBJQzH3PsK/2WEVjQvfIEZw==", + "dependencies": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "libphonenumber-js": "1.10.59", @@ -1910,15 +1910,15 @@ "integrity": "sha512-HeTsOrDF/hWhEiKqZVwg9Cqlep5x2T+IYDENvT2VRj3iX8JQ7Y+omENv+AIn0vC8m6GYhivfCed5Cgfw27r5SA==" }, "node_modules/@descope/user-profile-widget": { - "version": "0.0.40", - "resolved": "https://registry.npmjs.org/@descope/user-profile-widget/-/user-profile-widget-0.0.40.tgz", - "integrity": "sha512-lOp0bnWkPjEiXhhtSgzW6DmIgNfX2KB6jOT4neyiIi6NNOv1ik741m4R2x4MzIEn+BqUiVRo4D0jvULJhdu2MA==", - "dependencies": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-component": "3.12.5", - "@descope/web-js-sdk": "1.11.6", + "version": "0.0.52", + "resolved": "https://registry.npmjs.org/@descope/user-profile-widget/-/user-profile-widget-0.0.52.tgz", + "integrity": "sha512-ke0Xx+c6Me5EDY5KsgFKLYQkuu+OLj9FPrDx4H9Qflu8Qu2sEzYA8jIJg8tMKlTfKQ/Fvi3j3CDXwJdrkKSSng==", + "dependencies": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-component": "3.15.0", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "libphonenumber-js": "1.10.58", @@ -1928,66 +1928,30 @@ "tslib": "2.6.2" }, "optionalDependencies": { - "@descope/core-js-sdk": "2.17.2" - } - }, - "node_modules/@descope/user-profile-widget/node_modules/@descope/web-component": { - "version": "3.12.5", - "resolved": "https://registry.npmjs.org/@descope/web-component/-/web-component-3.12.5.tgz", - "integrity": "sha512-C6/jGQzauJCuBRIttRGG2IKSoWkWAKBaJeRnrgb4rKeTKfqUypSaKaLwM9AL58yNIGIAuYGIvc3/RiqIx82uzg==", - "dependencies": { - "@descope/web-js-sdk": "1.11.6", - "tslib": "2.6.2" + "@descope/core-js-sdk": "2.18.2" } }, "node_modules/@descope/web-component": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/@descope/web-component/-/web-component-3.13.1.tgz", - "integrity": "sha512-cLkS0K8qUqFjos71d2kcKB3LnL8NBhSWJnN9V+6h4PQ94MKbPZj541PpHT0h6d2jt1tO/IDOm4Wx+ZqxHoWSuw==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@descope/web-component/-/web-component-3.15.0.tgz", + "integrity": "sha512-HcjGDl/84Y+djBBQyqDeOLoKehWDyA6Y3E6DyDTu9u/XXr5O95CTRszqiXcvXfn03icPDv18/e+1zscBHh241A==", "dependencies": { - "@descope/web-js-sdk": "1.11.10", + "@descope/web-js-sdk": "1.11.13", "tslib": "2.6.2" } }, - "node_modules/@descope/web-component/node_modules/@descope/core-js-sdk": { - "version": "2.17.4", - "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.17.4.tgz", - "integrity": "sha512-Jo3sNrceAAgkzPx1Lt9Wm4WiuTbB8qQovnu6ZjD1TvSYbsw1FpADokt71y+hB8pLRTBV30AQq8XPtxCqIxnf1g==", - "dependencies": { - "jwt-decode": "3.1.2" - } - }, - "node_modules/@descope/web-component/node_modules/@descope/web-js-sdk": { - "version": "1.11.10", - "resolved": "https://registry.npmjs.org/@descope/web-js-sdk/-/web-js-sdk-1.11.10.tgz", - "integrity": "sha512-e3wvzg00/epvHuTZ6DsJqKe/5VVReexnLgMW3bpjyYX9bm25VhwM0VoTp11/RRW45sw3ewKRM/sy3HnHONJZPA==", + "node_modules/@descope/web-js-sdk": { + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/@descope/web-js-sdk/-/web-js-sdk-1.11.13.tgz", + "integrity": "sha512-qR2xDOOmxkrHCWFiqSk2FVopPAosoruQZcnZKiWZPejU9Gz2AitDmldMR8afuNHddid3L1XFKeca5343a1zpDw==", "dependencies": { - "@descope/core-js-sdk": "2.17.4", + "@descope/core-js-sdk": "2.18.2", "@fingerprintjs/fingerprintjs-pro": "3.9.5", "js-cookie": "3.0.5", "jwt-decode": "3.1.2", "tslib": "2.6.2" } }, - "node_modules/@descope/web-component/node_modules/@fingerprintjs/fingerprintjs-pro": { - "version": "3.9.5", - "resolved": "https://registry.npmjs.org/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.5.tgz", - "integrity": "sha512-pQ/2zenqRqeHFKtPeDv5OUwLulqqXFGBweKB1948DBAGv95+ePMSSosp723+lSsEz0fbo43qyNGuyEjoJlFzZw==", - "dependencies": { - "tslib": "^2.4.1" - } - }, - "node_modules/@descope/web-js-sdk": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@descope/web-js-sdk/-/web-js-sdk-1.11.6.tgz", - "integrity": "sha512-/8tvK1D5Iki5yXUU6EUzxQm9Lvb3odLH08683V1JhcPbtXwqd4oK/OP4Zwa76qKOA+YPz3UJsYCx4m48wNeIbQ==", - "dependencies": { - "@descope/core-js-sdk": "2.17.2", - "@fingerprintjs/fingerprintjs-pro": "3.9.4", - "js-cookie": "3.0.5", - "tslib": "2.6.2" - } - }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.7", "resolved": "https://registry.npmmirror.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", @@ -2072,9 +2036,9 @@ } }, "node_modules/@fingerprintjs/fingerprintjs-pro": { - "version": "3.9.4", - "resolved": "https://registry.npmjs.org/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.4.tgz", - "integrity": "sha512-mPscxSZHTyps9zH/eRD5M/QmVmFfVZUwOq4kaWQVQodEq0PuMh6gnDS8LGQUwTJlOhu0a0MIMq58kILFmPxsDQ==", + "version": "3.9.5", + "resolved": "https://registry.npmjs.org/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.5.tgz", + "integrity": "sha512-pQ/2zenqRqeHFKtPeDv5OUwLulqqXFGBweKB1948DBAGv95+ePMSSosp723+lSsEz0fbo43qyNGuyEjoJlFzZw==", "dependencies": { "tslib": "^2.4.1" } @@ -18919,14 +18883,14 @@ "dev": true }, "@descope/access-key-management-widget": { - "version": "0.1.74", - "resolved": "https://registry.npmjs.org/@descope/access-key-management-widget/-/access-key-management-widget-0.1.74.tgz", - "integrity": "sha512-erbjmwGPfcAmRyqM+wQgBqYyn+izi7ltkNUzVMWR8/trLZeZBaTGnCVzb6Ae1i8GKW3/iwjQdXH43wHSX8UVug==", - "requires": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.1.81", + "resolved": "https://registry.npmjs.org/@descope/access-key-management-widget/-/access-key-management-widget-0.1.81.tgz", + "integrity": "sha512-vbtOHcXDdf/YUmBUvqpTSNQG2w9WTNZc9KbqItQsudMG+7dGNfM6ZK/9JUPj42DhWIpSp6xcGV+fncBMMUZfhg==", + "requires": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "redux": "5.0.1", @@ -18936,14 +18900,14 @@ } }, "@descope/audit-management-widget": { - "version": "0.1.37", - "resolved": "https://registry.npmjs.org/@descope/audit-management-widget/-/audit-management-widget-0.1.37.tgz", - "integrity": "sha512-14lJ/FPTQ4nUgr/stWNEshHy87Ttmhfn19gHtB4+AOomwu8p8eo5DA3elHMzCfV8h9YucQF0u/6EzConSiMWDA==", - "requires": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.1.44", + "resolved": "https://registry.npmjs.org/@descope/audit-management-widget/-/audit-management-widget-0.1.44.tgz", + "integrity": "sha512-Jlmykzgffo9FLdL/R4EgG30psvXBu0ZHufxpp9t94EN++uqmiaAx9sE/DHAwLo7qDLjb+d83QD70SXVI48aO6g==", + "requires": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "redux": "5.0.1", @@ -18953,22 +18917,22 @@ } }, "@descope/core-js-sdk": { - "version": "2.17.2", - "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.17.2.tgz", - "integrity": "sha512-10UxhN/H0dhOtrxXWPExQFWjow1Haq47AVgOS9WsGSpx9X8n76FLY9wC7pQv18L609m7sSrEHpAtOSHz5fFbHQ==", + "version": "2.18.2", + "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.18.2.tgz", + "integrity": "sha512-MYn7O3TPD/ls0BA63/jyVJhcgNvr9gt2Xfeg1QEsqumJy6L346Fjz/VYTUUBF7OJPfi4mp3ZIe6AlQwvGT1Yqw==", "requires": { "jwt-decode": "3.1.2" } }, "@descope/role-management-widget": { - "version": "0.1.72", - "resolved": "https://registry.npmjs.org/@descope/role-management-widget/-/role-management-widget-0.1.72.tgz", - "integrity": "sha512-PkK4crfS6DsNSzgDGgfrGkmiL2rOYz5L/e1yYnu8b4IqE5e2129p9zJPuWwJ5RdzVFqudijTSITR9pdsWPzmyA==", - "requires": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.1.79", + "resolved": "https://registry.npmjs.org/@descope/role-management-widget/-/role-management-widget-0.1.79.tgz", + "integrity": "sha512-BziF8EYedhPtsEvSL56gRljgPxH2OSAgYcCFJKg1M2vaTRjojDCrQUDi6V8jgw38YT6cXgXVwqLaqlEW0OQX/Q==", + "requires": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "redux": "5.0.1", @@ -18978,41 +18942,41 @@ } }, "@descope/sdk-component-drivers": { - "version": "0.2.17", - "resolved": "https://registry.npmjs.org/@descope/sdk-component-drivers/-/sdk-component-drivers-0.2.17.tgz", - "integrity": "sha512-iEIwfmlxtYsrOXm5AqwByKoo70uRbtqHqg47prVTIo/VDPhgLKwAQDbHn4ajxxAdZ0ipz2RolZ0wtR2V3KrWVw==", + "version": "0.2.22", + "resolved": "https://registry.npmjs.org/@descope/sdk-component-drivers/-/sdk-component-drivers-0.2.22.tgz", + "integrity": "sha512-/g21IwB8nBUYFQXUvFNFzVY5yH/rd7sGGYKwqk25sleBru1qTqDXHey3n+j/PsOiSAJd4REZrdnBEnzUrZzDZw==", "requires": { - "@descope/sdk-helpers": "0.1.36", + "@descope/sdk-helpers": "0.1.41", "tslib": "2.6.2" } }, "@descope/sdk-helpers": { - "version": "0.1.36", - "resolved": "https://registry.npmjs.org/@descope/sdk-helpers/-/sdk-helpers-0.1.36.tgz", - "integrity": "sha512-k9FcmHSbM6wXu6jJyw6UzwA4hjVTU1HFjTXc+cZIXzG2v7GthBZil0StyizSvseDJBPvr0wuxPPqhUKrYuP/Fw==", + "version": "0.1.41", + "resolved": "https://registry.npmjs.org/@descope/sdk-helpers/-/sdk-helpers-0.1.41.tgz", + "integrity": "sha512-o6joIfm9x09Hc8B41hgScU6tSbwQOegEpx377hZmKEUlK3YJsOMku1WGtuXalDQ0WDHKl4pYfywNTANsvhknKw==", "requires": { "tslib": "2.6.2" } }, "@descope/sdk-mixins": { - "version": "0.2.21", - "resolved": "https://registry.npmjs.org/@descope/sdk-mixins/-/sdk-mixins-0.2.21.tgz", - "integrity": "sha512-mPxGeiCp3om7TodCu+3IpfRB10uJ801/ABMVAIc3gJ6IUZnfrBXSRDAirvBlqFATz8sG1NIyuLn8/EVuCy/bAw==", + "version": "0.2.26", + "resolved": "https://registry.npmjs.org/@descope/sdk-mixins/-/sdk-mixins-0.2.26.tgz", + "integrity": "sha512-QzgX0Qp7QOjpM4djXkkUMJWedS956G7q/fOqca342igMMjmsJREl6yxut7SB27eWHh14g4LnQUmwhvRpNAGwaA==", "requires": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", "tslib": "2.6.2" } }, "@descope/user-management-widget": { - "version": "0.4.74", - "resolved": "https://registry.npmjs.org/@descope/user-management-widget/-/user-management-widget-0.4.74.tgz", - "integrity": "sha512-ihhQkikfzNOKvtwDPDbkD/2lIr0klZ+Cnn+B9XWHxtfbLQjXmfBSo0p9elF666LiuBVz854PjHRqE9ZkNAMuQw==", - "requires": { - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-js-sdk": "1.11.6", + "version": "0.4.81", + "resolved": "https://registry.npmjs.org/@descope/user-management-widget/-/user-management-widget-0.4.81.tgz", + "integrity": "sha512-Rl1Wh+rL0htDMKRT+PoKlpy6TazwJT39ZxnwyyJbn0Hu1A1saFd0fquMXrM94UVfBJQzH3PsK/2WEVjQvfIEZw==", + "requires": { + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "libphonenumber-js": "1.10.59", @@ -19030,16 +18994,16 @@ } }, "@descope/user-profile-widget": { - "version": "0.0.40", - "resolved": "https://registry.npmjs.org/@descope/user-profile-widget/-/user-profile-widget-0.0.40.tgz", - "integrity": "sha512-lOp0bnWkPjEiXhhtSgzW6DmIgNfX2KB6jOT4neyiIi6NNOv1ik741m4R2x4MzIEn+BqUiVRo4D0jvULJhdu2MA==", - "requires": { - "@descope/core-js-sdk": "2.17.2", - "@descope/sdk-component-drivers": "0.2.17", - "@descope/sdk-helpers": "0.1.36", - "@descope/sdk-mixins": "0.2.21", - "@descope/web-component": "3.12.5", - "@descope/web-js-sdk": "1.11.6", + "version": "0.0.52", + "resolved": "https://registry.npmjs.org/@descope/user-profile-widget/-/user-profile-widget-0.0.52.tgz", + "integrity": "sha512-ke0Xx+c6Me5EDY5KsgFKLYQkuu+OLj9FPrDx4H9Qflu8Qu2sEzYA8jIJg8tMKlTfKQ/Fvi3j3CDXwJdrkKSSng==", + "requires": { + "@descope/core-js-sdk": "2.18.2", + "@descope/sdk-component-drivers": "0.2.22", + "@descope/sdk-helpers": "0.1.41", + "@descope/sdk-mixins": "0.2.26", + "@descope/web-component": "3.15.0", + "@descope/web-js-sdk": "1.11.13", "@reduxjs/toolkit": "^2.0.1", "immer": "^10.0.3", "libphonenumber-js": "1.10.58", @@ -19047,66 +19011,26 @@ "redux-thunk": "3.1.0", "reselect": "5.1.0", "tslib": "2.6.2" - }, - "dependencies": { - "@descope/web-component": { - "version": "3.12.5", - "resolved": "https://registry.npmjs.org/@descope/web-component/-/web-component-3.12.5.tgz", - "integrity": "sha512-C6/jGQzauJCuBRIttRGG2IKSoWkWAKBaJeRnrgb4rKeTKfqUypSaKaLwM9AL58yNIGIAuYGIvc3/RiqIx82uzg==", - "requires": { - "@descope/web-js-sdk": "1.11.6", - "tslib": "2.6.2" - } - } } }, "@descope/web-component": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/@descope/web-component/-/web-component-3.13.1.tgz", - "integrity": "sha512-cLkS0K8qUqFjos71d2kcKB3LnL8NBhSWJnN9V+6h4PQ94MKbPZj541PpHT0h6d2jt1tO/IDOm4Wx+ZqxHoWSuw==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@descope/web-component/-/web-component-3.15.0.tgz", + "integrity": "sha512-HcjGDl/84Y+djBBQyqDeOLoKehWDyA6Y3E6DyDTu9u/XXr5O95CTRszqiXcvXfn03icPDv18/e+1zscBHh241A==", "requires": { - "@descope/web-js-sdk": "1.11.10", + "@descope/web-js-sdk": "1.11.13", "tslib": "2.6.2" - }, - "dependencies": { - "@descope/core-js-sdk": { - "version": "2.17.4", - "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.17.4.tgz", - "integrity": "sha512-Jo3sNrceAAgkzPx1Lt9Wm4WiuTbB8qQovnu6ZjD1TvSYbsw1FpADokt71y+hB8pLRTBV30AQq8XPtxCqIxnf1g==", - "requires": { - "jwt-decode": "3.1.2" - } - }, - "@descope/web-js-sdk": { - "version": "1.11.10", - "resolved": "https://registry.npmjs.org/@descope/web-js-sdk/-/web-js-sdk-1.11.10.tgz", - "integrity": "sha512-e3wvzg00/epvHuTZ6DsJqKe/5VVReexnLgMW3bpjyYX9bm25VhwM0VoTp11/RRW45sw3ewKRM/sy3HnHONJZPA==", - "requires": { - "@descope/core-js-sdk": "2.17.4", - "@fingerprintjs/fingerprintjs-pro": "3.9.5", - "js-cookie": "3.0.5", - "jwt-decode": "3.1.2", - "tslib": "2.6.2" - } - }, - "@fingerprintjs/fingerprintjs-pro": { - "version": "3.9.5", - "resolved": "https://registry.npmjs.org/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.5.tgz", - "integrity": "sha512-pQ/2zenqRqeHFKtPeDv5OUwLulqqXFGBweKB1948DBAGv95+ePMSSosp723+lSsEz0fbo43qyNGuyEjoJlFzZw==", - "requires": { - "tslib": "^2.4.1" - } - } } }, "@descope/web-js-sdk": { - "version": "1.11.6", - "resolved": "https://registry.npmjs.org/@descope/web-js-sdk/-/web-js-sdk-1.11.6.tgz", - "integrity": "sha512-/8tvK1D5Iki5yXUU6EUzxQm9Lvb3odLH08683V1JhcPbtXwqd4oK/OP4Zwa76qKOA+YPz3UJsYCx4m48wNeIbQ==", + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/@descope/web-js-sdk/-/web-js-sdk-1.11.13.tgz", + "integrity": "sha512-qR2xDOOmxkrHCWFiqSk2FVopPAosoruQZcnZKiWZPejU9Gz2AitDmldMR8afuNHddid3L1XFKeca5343a1zpDw==", "requires": { - "@descope/core-js-sdk": "2.17.2", - "@fingerprintjs/fingerprintjs-pro": "3.9.4", + "@descope/core-js-sdk": "2.18.2", + "@fingerprintjs/fingerprintjs-pro": "3.9.5", "js-cookie": "3.0.5", + "jwt-decode": "3.1.2", "tslib": "2.6.2" } }, @@ -19172,9 +19096,9 @@ } }, "@fingerprintjs/fingerprintjs-pro": { - "version": "3.9.4", - "resolved": "https://registry.npmjs.org/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.4.tgz", - "integrity": "sha512-mPscxSZHTyps9zH/eRD5M/QmVmFfVZUwOq4kaWQVQodEq0PuMh6gnDS8LGQUwTJlOhu0a0MIMq58kILFmPxsDQ==", + "version": "3.9.5", + "resolved": "https://registry.npmjs.org/@fingerprintjs/fingerprintjs-pro/-/fingerprintjs-pro-3.9.5.tgz", + "integrity": "sha512-pQ/2zenqRqeHFKtPeDv5OUwLulqqXFGBweKB1948DBAGv95+ePMSSosp723+lSsEz0fbo43qyNGuyEjoJlFzZw==", "requires": { "tslib": "^2.4.1" } diff --git a/package.json b/package.json index be095c1..1017a70 100644 --- a/package.json +++ b/package.json @@ -37,12 +37,12 @@ ] }, "dependencies": { - "@descope/access-key-management-widget": "0.1.74", - "@descope/audit-management-widget": "0.1.37", - "@descope/role-management-widget": "0.1.72", - "@descope/user-management-widget": "0.4.74", - "@descope/user-profile-widget": "0.0.40", - "@descope/web-component": "3.13.1" + "@descope/access-key-management-widget": "0.1.81", + "@descope/audit-management-widget": "0.1.44", + "@descope/role-management-widget": "0.1.79", + "@descope/user-management-widget": "0.4.81", + "@descope/user-profile-widget": "0.0.52", + "@descope/web-component": "3.15.0" }, "peerDependencies": { "vue": ">=3" diff --git a/src/Descope.vue b/src/Descope.vue index c9abb07..6c44fb5 100644 --- a/src/Descope.vue +++ b/src/Descope.vue @@ -13,6 +13,7 @@ :telemetryKey.attr="telemetryKey" :redirect-url="redirectUrl" :auto-focus="autoFocus" + :validate-on-blur="validateOnBlur" :store-last-authenticated-user="storeLastAuthenticatedUser" :errorTransformer.prop="errorTransformer" :form.attr="formStr" @@ -77,6 +78,9 @@ const props = defineProps({ type: String }, autoFocus: { + type: Boolean || String + }, + validateOnBlur: { type: Boolean }, errorTransformer: {