UNPKG

@n1ru4l/graphql-live-query-patch-jsondiffpatch

Version:

[![npm version](https://img.shields.io/npm/v/@n1ru4l/graphql-live-query-patch-jsondiffpatch.svg)](https://www.npmjs.com/package/@n1ru4l/graphql-live-query-patch-jsondiffpatch) [![npm downloads](https://img.shields.io/npm/dm/@n1ru4l/graphql-live-query-patc

10 lines (9 loc) 325 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applyJSONDiffPatch = void 0; const json_patch_plus_1 = require("@n1ru4l/json-patch-plus"); const applyJSONDiffPatch = (left, delta) => (0, json_patch_plus_1.patch)({ left, delta, }); exports.applyJSONDiffPatch = applyJSONDiffPatch;