@uniformdev/project-map 19.12.0 → 19.14.0

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.esm.js CHANGED
@@ -79,16 +79,14 @@ var ProjectMapClient = class extends ApiClient {
79
79
  this.deleteProjectMapNode = async (options) => {
80
80
  const { projectId } = this.options;
81
81
  const fetchUri = this.createUrl("/api/v1/project-map-nodes");
82
- if (!options.path) {
83
- await this.apiClient(fetchUri, {
84
- method: "DELETE",
85
- body: JSON.stringify({
86
- ...options,
87
- projectId
88
- }),
89
- expectNoContent: true
90
- });
91
- }
82
+ await this.apiClient(fetchUri, {
83
+ method: "DELETE",
84
+ body: JSON.stringify({
85
+ ...options,
86
+ projectId
87
+ }),
88
+ expectNoContent: true
89
+ });
92
90
  };
93
91
  this.getSubtree = async (options) => {
94
92
  var _a;
package/dist/index.js CHANGED
@@ -107,16 +107,14 @@ var ProjectMapClient = class extends import_api.ApiClient {
107
107
  this.deleteProjectMapNode = async (options) => {
108
108
  const { projectId } = this.options;
109
109
  const fetchUri = this.createUrl("/api/v1/project-map-nodes");
110
- if (!options.path) {
111
- await this.apiClient(fetchUri, {
112
- method: "DELETE",
113
- body: JSON.stringify({
114
- ...options,
115
- projectId
116
- }),
117
- expectNoContent: true
118
- });
119
- }
110
+ await this.apiClient(fetchUri, {
111
+ method: "DELETE",
112
+ body: JSON.stringify({
113
+ ...options,
114
+ projectId
115
+ }),
116
+ expectNoContent: true
117
+ });
120
118
  };
121
119
  this.getSubtree = async (options) => {
122
120
  var _a;
package/dist/index.mjs CHANGED
@@ -79,16 +79,14 @@ var ProjectMapClient = class extends ApiClient {
79
79
  this.deleteProjectMapNode = async (options) => {
80
80
  const { projectId } = this.options;
81
81
  const fetchUri = this.createUrl("/api/v1/project-map-nodes");
82
- if (!options.path) {
83
- await this.apiClient(fetchUri, {
84
- method: "DELETE",
85
- body: JSON.stringify({
86
- ...options,
87
- projectId
88
- }),
89
- expectNoContent: true
90
- });
91
- }
82
+ await this.apiClient(fetchUri, {
83
+ method: "DELETE",
84
+ body: JSON.stringify({
85
+ ...options,
86
+ projectId
87
+ }),
88
+ expectNoContent: true
89
+ });
92
90
  };
93
91
  this.getSubtree = async (options) => {
94
92
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/project-map",
3
- "version": "19.12.0",
3
+ "version": "19.14.0",
4
4
  "description": "Uniform Project Map",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -32,11 +32,11 @@
32
32
  "/dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@uniformdev/canvas": "19.12.0",
36
- "@uniformdev/context": "19.12.0"
35
+ "@uniformdev/canvas": "19.14.0",
36
+ "@uniformdev/context": "19.14.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "ca508c44f1b274e3e47d90717a98036256ae8379"
41
+ "gitHead": "5686491ae82205c2e7c19254246640a9513bd8e4"
42
42
  }