New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@descope/vue-sdk

Package Overview
Dependencies
Maintainers
0
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@descope/vue-sdk - npm Package Compare versions

Comparing version 2.2.29 to 2.3.0

26

package.json
{
"name": "@descope/vue-sdk",
"version": "2.2.29",
"version": "2.3.0",
"main": "dist/index.cjs",

@@ -28,11 +28,11 @@ "module": "dist/index.mjs",

"dependencies": {
"@descope/audit-management-widget": "0.2.21",
"@descope/role-management-widget": "0.2.21",
"@descope/user-management-widget": "0.6.16",
"@descope/access-key-management-widget": "0.3.17",
"@descope/applications-portal-widget": "0.2.20",
"@descope/web-component": "3.32.11",
"@descope/user-profile-widget": "0.2.17",
"@descope/web-js-sdk": "1.23.9",
"@descope/core-js-sdk": "2.33.6"
"@descope/access-key-management-widget": "0.3.18",
"@descope/audit-management-widget": "0.3.0",
"@descope/role-management-widget": "0.2.22",
"@descope/user-profile-widget": "0.2.18",
"@descope/applications-portal-widget": "0.2.21",
"@descope/web-component": "3.34.0",
"@descope/user-management-widget": "0.6.17",
"@descope/core-js-sdk": "2.34.0",
"@descope/web-js-sdk": "1.23.10"
},

@@ -66,3 +66,3 @@ "peerDependencies": {

"pretty-quick": "^3.1.3",
"rollup": "^2.79.1",
"rollup": "^4.0.0",
"rollup-plugin-auto-external": "^2.0.0",

@@ -72,3 +72,3 @@ "rollup-plugin-commonjs": "^10.1.0",

"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-dts": "^6.1.1",
"@rollup/plugin-node-resolve": "^15.0.0",

@@ -90,3 +90,3 @@ "rollup-plugin-terser": "^7.0.2",

"start": "vue-cli-service serve --port 3000",
"build": "rollup -m -c rollup.config.js",
"build": "rollup -c",
"test": "vue-cli-service test:unit",

@@ -93,0 +93,0 @@ "lint": "vue-cli-service lint",

@@ -90,2 +90,33 @@ # Descope Vue SDK

### `onScreenUpdate`
A function that is called whenever there is a new screen state and after every next call. It receives the following parameters:
- `screenName`: The name of the screen that is about to be rendered
- `context`: An object containing the upcoming screen state
- `next`: A function that, when called, continues the flow execution
- `ref`: A reference to the descope-wc node
The function can be sync or async, and should return a boolean indicating whether a custom screen should be rendered:
- `true`: Render a custom screen
- `false`: Render the default flow screen
This function allows rendering custom screens instead of the default flow screens.
It can be useful for highly customized UIs or specific logic not covered by the default screens
To render a custom screen, its elements should be appended as children of the `Descope` component
Usage example:
```javascript
function onScreenUpdate(screenName, context, next) {
if (screenName === 'My Custom Screen') {
return true;
}
return false;
}
```
### Use the `useDescope`, `useSession` and `useUser` functions in your components in order to get authentication state, user details and utilities

@@ -92,0 +123,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc