@dyrected/sdk 2.5.48 → 2.5.51
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.cjs +1 -2
- package/dist/index.js +1 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -477,10 +477,9 @@ var DyrectedClient = class {
|
|
|
477
477
|
formData.append(key, value);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
const { "Content-Type": _, ...headers } = this.headers;
|
|
481
480
|
return this.request(`/api/collections/${collection}`, {
|
|
482
481
|
method: "POST",
|
|
483
|
-
headers,
|
|
482
|
+
headers: { "Content-Type": void 0 },
|
|
484
483
|
body: formData
|
|
485
484
|
});
|
|
486
485
|
}
|
package/dist/index.js
CHANGED
|
@@ -449,10 +449,9 @@ var DyrectedClient = class {
|
|
|
449
449
|
formData.append(key, value);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
const { "Content-Type": _, ...headers } = this.headers;
|
|
453
452
|
return this.request(`/api/collections/${collection}`, {
|
|
454
453
|
method: "POST",
|
|
455
|
-
headers,
|
|
454
|
+
headers: { "Content-Type": void 0 },
|
|
456
455
|
body: formData
|
|
457
456
|
});
|
|
458
457
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dyrected/sdk",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tsup": "^8.5.1",
|
|
31
31
|
"typescript": "^5.4.5",
|
|
32
32
|
"vitest": "^1.0.0",
|
|
33
|
-
"@dyrected/core": "2.5.
|
|
33
|
+
"@dyrected/core": "2.5.51"
|
|
34
34
|
},
|
|
35
35
|
"license": "BSL-1.1",
|
|
36
36
|
"author": "Busola Okeowo <busolaokemoney@gmail.com>",
|