-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into appPortalSdks
Signed-off-by: nirgur <[email protected]>
- Loading branch information
Showing
17 changed files
with
59 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ Thumbs.db | |
*.pem | ||
|
||
.env | ||
.env.local | ||
.nx/* | ||
.next | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@descope/nextjs-sdk", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"description": "Descope NextJS SDK", | ||
"author": "Descope Team <[email protected]>", | ||
"homepage": "https://github.com/descope/descope-js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@descope/react-sdk", | ||
"version": "2.0.77", | ||
"version": "2.0.78", | ||
"description": "Descope React SDK", | ||
"author": "Descope Team <[email protected]>", | ||
"homepage": "https://github.com/descope/descope-js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ app.mount('#app'); | |
<!-- errorTransformer="errorTransformer" errorTransformer is a function that receives an error object and returns a string. The returned string will be displayed to the user. NOTE: errorTransformer is not required. If not provided, the error object will be displayed as is. --> | ||
<!-- form="{ email: '[email protected]' }" form is an object the initial form context that is used in screens inputs in the flow execution. Used to inject predifined input values on flow start such as custom inputs, custom attrbiutes and other inputs. Keys passed can be accessed in flows actions, conditions and screens prefixed with "form.". NOTE: form is not required. If not provided, 'form' context key will be empty before user input. --> | ||
<!-- client="{ version: '1.2.3' }" client is an object the initial client context in the flow execution. Keys passed can be accessed in flows actions and conditions prefixed with "client.". NOTE: client is not required. If not provided, context key will be empty. --> | ||
<!-- styleId="my-awesome-style" Use a custom style name or keep empty to use the default style. --> | ||
</template> | ||
<script setup> | ||
|
@@ -99,7 +100,7 @@ This can be helpful to implement application-specific logic. Examples: | |
<div v-if="isSessionLoading || isUserLoading">Loading ...</div> | ||
<div v-else-if="isAuthenticated"> | ||
<div>Hello {{ user?.name }}</div> | ||
<button @click="logout">Logout</button> | ||
<button @click="logout()">Logout</button> | ||
</div> | ||
<div v-else>You are not logged in</div> | ||
</div> | ||
|
@@ -108,8 +109,8 @@ This can be helpful to implement application-specific logic. Examples: | |
<script setup> | ||
import { useDescope, useSession, useUser } from '@descope/vue-sdk'; | ||
|
||
const { isAuthenticated, isSessionLoading } = useSession(); | ||
const { user, isUserLoading } = useUser(); | ||
const { isAuthenticated, isLoading: isSessionLoading } = useSession(); | ||
const { user, isLoading: isUserLoading } = useUser(); | ||
const { logout } = useDescope(); | ||
</script> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@descope/web-component", | ||
"version": "3.25.2", | ||
"version": "3.25.3", | ||
"author": "Descope Team <[email protected]>", | ||
"homepage": "https://github.com/descope/descope-js", | ||
"bugs": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@descope/user-profile-widget", | ||
"version": "0.0.106", | ||
"version": "0.0.107", | ||
"author": "Descope Team <[email protected]>", | ||
"homepage": "https://github.com/descope/descope-js", | ||
"bugs": { | ||
|