Skip to content

client.initSession has now more required params #47

@AnthonyNahas

Description

@AnthonyNahas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions