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

rest-client-sdk

Package Overview
Dependencies
Maintainers
3
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 Compare versions

Comparing version 2.0.0-rc.9 to 2.0.0-rc.10

3

CHANGELOG.md

@@ -5,2 +5,5 @@ # Changelog

## 2.0.0-rc.10
deserialize + normalize item in unitofwork
## 2.0.0-rc.9

@@ -7,0 +10,0 @@ creating or updating an "complex" entity (not a basic JS object) would throw an error

2

package.json
{
"name": "rest-client-sdk",
"version": "2.0.0-rc.9",
"version": "2.0.0-rc.10",
"description": "Rest Client SDK for API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -151,6 +151,5 @@ import URI from 'urijs';

const identifier = this._getEntityIdentifier(decodedItem);
this.sdk.unitOfWork.registerClean(identifier, decodedItem);
// and finally return the denormalized item
return this.serializer.denormalizeItem(
const item = this.serializer.denormalizeItem(
decodedItem,

@@ -160,2 +159,9 @@ this.metadata,

);
this.sdk.unitOfWork.registerClean(
identifier,
this.serializer.normalizeItem(item)
);
return item;
});

@@ -162,0 +168,0 @@ }

@@ -8,2 +8,6 @@ import { isImmutable } from 'immutable';

function objectDiffers(left, right) {
if (typeof left !== 'object' || typeof right !== 'object') {
return false;
}
const result = diff(left, right);

@@ -10,0 +14,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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