contentful-import 10.1.1 → 10.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -938,9 +938,6 @@ async function createOrPatchChildConcepts(plainClient, organizationId, destinati
938
938
  }
939
939
  } else {
940
940
  const patches = [];
941
- if (existing.purpose !== "internal") {
942
- patches.push({ op: "add", path: "/purpose", value: "internal" });
943
- }
944
941
  const spaces = existing.metadata?.spaces ?? [];
945
942
  if (!spaces.some((s) => s.sys.id === destinationSpaceId)) {
946
943
  patches.push({ op: "add", path: "/metadata/spaces/-", value: spaceLink });
package/dist/index.mjs CHANGED
@@ -911,9 +911,6 @@ async function createOrPatchChildConcepts(plainClient, organizationId, destinati
911
911
  }
912
912
  } else {
913
913
  const patches = [];
914
- if (existing.purpose !== "internal") {
915
- patches.push({ op: "add", path: "/purpose", value: "internal" });
916
- }
917
914
  const spaces = existing.metadata?.spaces ?? [];
918
915
  if (!spaces.some((s) => s.sys.id === destinationSpaceId)) {
919
916
  patches.push({ op: "add", path: "/metadata/spaces/-", value: spaceLink });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentful-import",
3
- "version": "10.1.1",
3
+ "version": "10.1.2",
4
4
  "description": "this tool allows you to import JSON dump exported by contentful-export",
5
5
  "main": "dist/index.mjs",
6
6
  "typings": "dist/index.d.ts",