npm

@schibsted/niche-schibsted-account
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

niche-schibsted-account

This package is a wrapper around @schibsted/account-sdk-browser that makes it easier to use for Niche team.

What are additional things it does in coparison to SDK?

  • override logout function to allow passing redirectUrl (window.location.href by default) to it.
  • assigns instance if SDK to window.Identity - it is used like that by core comments.
  • sends events for initialization and user change
  • runs simplified login logic

Readme

Keywords

none

Package Sidebar

Install

npm i @schibsted/niche-schibsted-account

Weekly Downloads

344

Version

0.2.3

License

Apache-2.0

Unpacked Size

17.4 kB

Total Files

11

Last publish

Collaborators

  • katarzynapalka
  • johand199
  • rodbiffi
  • mike-dvtka
  • spp-owner
  • filipgolonka
  • schibstedbot
  • joawan
  • gustavkj
  • pakerstrand