Skip to content

Commit

Permalink
Update common js variants of dist files
Browse files Browse the repository at this point in the history
With Rollup v4 these have to be updated.
  • Loading branch information
tvdeyen committed Nov 8, 2024
1 parent 95935e8 commit 3e858a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions dist/alchemy-json_api.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var structuredClone = require('@ungap/structured-clone');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var structuredClone__default = /*#__PURE__*/_interopDefaultLegacy(structuredClone);

function deserialize(originalResponse) {
const response = structuredClone__default["default"](originalResponse);
const response = structuredClone(originalResponse);
const included = response.included || [];
if (Array.isArray(response.data)) {
return response.data.map(data => {
Expand Down
8 changes: 1 addition & 7 deletions dist/deserialize.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var structuredClone = require('@ungap/structured-clone');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var structuredClone__default = /*#__PURE__*/_interopDefaultLegacy(structuredClone);

function deserialize(originalResponse) {
const response = structuredClone__default["default"](originalResponse);
const response = structuredClone(originalResponse);
const included = response.included || [];
if (Array.isArray(response.data)) {
return response.data.map(data => {
Expand Down

0 comments on commit 3e858a7

Please sign in to comment.