Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rest-client-sdk

Package Overview
Dependencies
Maintainers
4
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-client-sdk - npm Package Versions

23
11

7.2.0

Diff

Changelog

Source

7.2.0

  • DX: getRepository with wrong name should help the developper finding the best key #145 by @jdeniau
bjulien
published 7.1.1 •

Changelog

Source

7.1.1

  • Fix handling refresh token failure
jdeniau
published 7.1.0 •

Changelog

Source

7.1.0

Added

  • Add a onRefreshTokenFailure method to sdk config when refresh token triggers a 401 error. #143
jdeniau
published 7.0.3 •

Changelog

Source

7.0.3

Fixes

  • [Minor BC] Handle error that should trigger a refresh token #142
jdeniau
published 7.0.2 •

Changelog

Source

7.0.2

  • use default export for deep-diff as named export may be buggy
jdeniau
published 7.0.1 •

Changelog

Source

7.0.1

  • Migrate to type module #141 by @jdeniau (It should have been released in the 7.0.0 as it might be breaking, but I do not want to push a new major two just some days after the last one as this package is not widely used)
jdeniau
published 7.0.0 •

Changelog

Source

7.0.0

Changed

  • [Breaking] If unitOfWork is disabled in the global configuration, then it will be disabled for all call to getRepository. #111. Waiting to resolve issue with create and update to bump 7.0.0 version.

  • Start implementing a logger. You need to enable it with config.loggerEnabled if you want to log request:

A possible interesting configuration is to activate the logger on dev environment.

const sdk = new TicketingSdk(tokenStorage, {
  path: process.env.API_DOMAIN,
  scheme: 'https',
  loggerEnabled: process.env.NODE_ENV === 'development',
});
  • Add Logger in RestClientSdkInterface
  • Add a helper to get JSON of an HttpError #122
  • Fixed makeUri method to handle more than one URI segment #128
  • Call toString on URLSearchParams body to ensure ReactNative compatibility #130
  • Remove referer as it is handled by the browser #135 by @jdeniau
  • Fix issue in handling 401 error with anything else than "invalid_grant" #137 by @jdeniau
  • allow calling create, update, delete with a disabled unitOfWork #140 by @jdeniau
bjulien
published 6.7.2 •

jdeniau
published 7.0.0-rc.10 •

Changelog

Source

Since 7.0.0-rc.10

  • allow calling create, update, delete with a disabled unitOfWork #140 by @jdeniau
jdeniau
published 7.0.0-rc.9 •

Changelog

Source

7.0.0-rc.9

  • Fix issue in handling 401 error with anything else than "invalid_grant" #137 by @jdeniau
23
11
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc