Coder Social home page Coder Social logo

Type issues in Descope component about vue-sdk HOT 9 CLOSED

descope avatar descope commented on August 26, 2024 1
Type issues in Descope component

from vue-sdk.

Comments (9)

nirgur avatar nirgur commented on August 26, 2024 2

@arvi-nagaraj
version 1.0.1 was released including the fix

from vue-sdk.

arvi-nagaraj avatar arvi-nagaraj commented on August 26, 2024 1

@nirgur Sorry for the confusion. Updated repo visibility to public. thanks for the reference, followed the exact way from the examples - that doesnt resolve the error.

from vue-sdk.

nirgur avatar nirgur commented on August 26, 2024 1

@arvi-nagaraj I found the problem and opened a PR that fixes it
it should be merged an published soon

from vue-sdk.

arvi-nagaraj avatar arvi-nagaraj commented on August 26, 2024 1

@nirgur/@dorsha Thank you so much for the quick resolution.

from vue-sdk.

nirgur avatar nirgur commented on August 26, 2024

Hi @arvi-nagaraj
Thanks for reaching out

the parameter name should be flowId and not flow-id
Did you see it on one of our examples?

from vue-sdk.

arvi-nagaraj avatar arvi-nagaraj commented on August 26, 2024

Hi @nirgur, the type error occurs even with flowId

from vue-sdk.

dorsha avatar dorsha commented on August 26, 2024

@arvi-nagaraj it should be flowId.
Can you sure your code snippet of using the Descope component?

from vue-sdk.

arvi-nagaraj avatar arvi-nagaraj commented on August 26, 2024

@dorsha I am still getting the same error even after updating flowId prop.
You can observe the error if you clone and run tsc-check on my sample repo: https://github.com/arvi-nagaraj/descope-vue

https://github.com/arvi-nagaraj/descope-vue/blob/main/src/App.vue

from vue-sdk.

nirgur avatar nirgur commented on August 26, 2024

@arvi-nagaraj the repo is not accessible
Please make it public so we can see your code

Meanwhile, you can try to follow the example app and see how the Descope component is being used
https://github.com/descope/vue-sdk/blob/main/example/components/Login.vue

image

from vue-sdk.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.