nordigen / nordigen-node

Node.js library for the Nordigen API.
MIT License
54 stars 35 forks source link

client.initSession has now more required params #47

Open AnthonyNahas opened 1 year ago

AnthonyNahas commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

In v1.1.1 -->

 const init = await client.initSession({
        redirectUrl: REDIRECT_URI,
        institutionId: institutionId,
        referenceId: randomUUID()
    })

this would work

but not in v.1.2.4

because we do have not the following required params:

 initSession({ redirectUrl, institutionId, maxHistoricalDays, accessValidForDays, userLanguage, referenceId, ssn, redirectImmediate, accountSelection, }: {
        redirectUrl: string;
        institutionId: string;
        referenceId: string;
        maxHistoricalDays: number;
        accessValidForDays: number;
        userLanguage: string;
        ssn: string;
        redirectImmediate: boolean;
        accountSelection: boolean;
    }): Promise<any>;

so please either update the docs or tell us how to integrate that with the new nordigen version... <3

To Reproduce Steps to reproduce the behavior:

  1. Specify API endpoint
  2. Specify response & error message

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. Bildschirm­foto 2023-05-04 um 16 41 42

Additional context Add any other context about the problem here.

If you're having general trouble with your Nordigen integration or bank related issue, please reach out to our support via email support@nordigen.com

AnthonyNahas commented 11 months ago

any update ? v1.2.6 does not fix this issue

AnthonyNahas commented 11 months ago

we are still facing many issue with this sdk...

Ife-Ody commented 2 months ago

this is still not fixed! it appears Gocardless does not care about this product