From 528d78a47081adccd1b2057fca07831f49d8458a Mon Sep 17 00:00:00 2001 From: Doron Sharon Date: Thu, 14 Nov 2024 13:38:27 +0200 Subject: [PATCH] Revert logout previous (#416) --- README.md | 6 ------ examples/commonjs/package-lock.json | 4 ++-- examples/es6/package-lock.json | 4 ++-- examples/managementCli/package-lock.json | 6 +++--- package-lock.json | 8 ++++---- package.json | 2 +- 6 files changed, 12 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 4a408dfa..c6dff80a 100644 --- a/README.md +++ b/README.md @@ -503,12 +503,6 @@ invalidate all user's refresh tokens. After calling this function, you must inva await descopeClient.logoutAll(refreshToken); ``` -It is also possible to sign the user out from all previous sessions. - -```typescript -await descopeClient.logoutPrevious(refreshToken); -``` - ## Management Functions It is very common for some form of management or automation to be required. These can be performed diff --git a/examples/commonjs/package-lock.json b/examples/commonjs/package-lock.json index b6c00778..e880295c 100644 --- a/examples/commonjs/package-lock.json +++ b/examples/commonjs/package-lock.json @@ -18,7 +18,7 @@ "version": "1.6.11", "license": "MIT", "dependencies": { - "@descope/core-js-sdk": "2.30.0", + "@descope/core-js-sdk": "2.30.1", "cross-fetch": "^4.0.0", "jose": "5.2.2", "tslib": "^2.0.0" @@ -11121,7 +11121,7 @@ "@descope/node-sdk": { "version": "file:../..", "requires": { - "@descope/core-js-sdk": "2.30.0", + "@descope/core-js-sdk": "2.30.1", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", diff --git a/examples/es6/package-lock.json b/examples/es6/package-lock.json index 6f6053a8..fafaed9d 100644 --- a/examples/es6/package-lock.json +++ b/examples/es6/package-lock.json @@ -28,7 +28,7 @@ "version": "1.6.11", "license": "MIT", "dependencies": { - "@descope/core-js-sdk": "2.29.1", + "@descope/core-js-sdk": "2.30.1", "cross-fetch": "^4.0.0", "jose": "5.2.2", "tslib": "^2.0.0" @@ -1863,7 +1863,7 @@ "@descope/node-sdk": { "version": "file:../..", "requires": { - "@descope/core-js-sdk": "2.29.1", + "@descope/core-js-sdk": "2.30.1", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", diff --git a/examples/managementCli/package-lock.json b/examples/managementCli/package-lock.json index bfde00a2..fc02af33 100644 --- a/examples/managementCli/package-lock.json +++ b/examples/managementCli/package-lock.json @@ -24,10 +24,10 @@ }, "../..": { "name": "@descope/node-sdk", - "version": "1.6.10", + "version": "1.6.11", "license": "MIT", "dependencies": { - "@descope/core-js-sdk": "2.25.1", + "@descope/core-js-sdk": "2.30.1", "cross-fetch": "^4.0.0", "jose": "5.2.2", "tslib": "^2.0.0" @@ -1116,7 +1116,7 @@ "@descope/node-sdk": { "version": "file:../..", "requires": { - "@descope/core-js-sdk": "2.25.1", + "@descope/core-js-sdk": "2.30.1", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", diff --git a/package-lock.json b/package-lock.json index e3927ad3..9aa716ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.6.11", "license": "MIT", "dependencies": { - "@descope/core-js-sdk": "2.30.0", + "@descope/core-js-sdk": "2.30.1", "cross-fetch": "^4.0.0", "jose": "5.2.2", "tslib": "^2.0.0" @@ -607,9 +607,9 @@ } }, "node_modules/@descope/core-js-sdk": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.30.0.tgz", - "integrity": "sha512-4dkl4pKEV95WD6PNUkKpxCn88gc/+38D5BCZCM7DpbmOLda6XuiMV4cp3G7HM+xmElxq9ZoyuY2PmIOj6RNYrg==", + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/@descope/core-js-sdk/-/core-js-sdk-2.30.1.tgz", + "integrity": "sha512-w81Hv+E9XBx2XBRP+NrWH7i3c6q4fRz7F5W+PqkCVKgv5wmBNAJzECUr2cHjffqzrB87cWJfg3Khq81h0v544A==", "dependencies": { "jwt-decode": "4.0.0" } diff --git a/package.json b/package.json index 60be1992..5c14b2a9 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "typescript": "^4.6.4" }, "dependencies": { - "@descope/core-js-sdk": "2.30.0", + "@descope/core-js-sdk": "2.30.1", "cross-fetch": "^4.0.0", "jose": "5.2.2", "tslib": "^2.0.0"