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

@contember/binding

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/binding - npm Package Compare versions

Comparing version 1.0.0-rc.0 to 1.0.0-rc.1

@@ -104,4 +104,8 @@ import { AccessorErrorManager } from './AccessorErrorManager.js';

const aliases = Object.keys(mutationData);
const allSubMutationsOk = aliases.every((item) => mutationData[item].ok);
if (allSubMutationsOk) {
if (!mutationResponse.data) {
throw {
errors: mutationData.errors,
type: "invalidResponse"
};
} else if (aliases.every((item) => mutationData[item].ok)) {
const persistedEntityIds = aliases.map((alias) => mutationData[alias].node?.id).filter((id) => id !== void 0);

@@ -108,0 +112,0 @@ const result = {

@@ -122,4 +122,8 @@ var __defProp = Object.defineProperty;

const aliases = Object.keys(mutationData);
const allSubMutationsOk = aliases.every((item) => mutationData[item].ok);
if (allSubMutationsOk) {
if (!mutationResponse.data) {
throw {
errors: mutationData.errors,
type: "invalidResponse"
};
} else if (aliases.every((item) => mutationData[item].ok)) {
const persistedEntityIds = aliases.map((alias) => mutationData[alias].node?.id).filter((id) => id !== void 0);

@@ -126,0 +130,0 @@ const result = {

{
"name": "@contember/binding",
"license": "Apache-2.0",
"version": "1.0.0-rc.0",
"version": "1.0.0-rc.1",
"type": "module",

@@ -21,6 +21,6 @@ "sideEffects": false,

"dependencies": {
"@contember/client": "1.0.0-rc.0",
"@contember/react-client": "1.0.0-rc.0",
"@contember/react-multipass-rendering": "1.0.0-rc.0",
"@contember/react-utils": "1.0.0-rc.0",
"@contember/client": "1.0.0-rc.1",
"@contember/react-client": "1.0.0-rc.1",
"@contember/react-multipass-rendering": "1.0.0-rc.1",
"@contember/react-utils": "1.0.0-rc.1",
"chevrotain": "6.5.0",

@@ -27,0 +27,0 @@ "js-levenshtein": "1.1.6",

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 not supported yet