@localess/cli 0.0.1-dev.20260217094502 → 0.0.1-dev.20260217105008

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
@@ -273,10 +273,10 @@ function localessClient(options) {
273
273
  };
274
274
  try {
275
275
  const response = await fetch(url, {
276
- ...fetchOptions,
277
276
  method: "POST",
278
277
  headers: {
279
- "X-API-KEY": options.token
278
+ "X-API-KEY": options.token,
279
+ ...fetchOptions.headers
280
280
  },
281
281
  body: JSON.stringify(body)
282
282
  });
package/dist/index.mjs CHANGED
@@ -250,10 +250,10 @@ function localessClient(options) {
250
250
  };
251
251
  try {
252
252
  const response = await fetch(url, {
253
- ...fetchOptions,
254
253
  method: "POST",
255
254
  headers: {
256
- "X-API-KEY": options.token
255
+ "X-API-KEY": options.token,
256
+ ...fetchOptions.headers
257
257
  },
258
258
  body: JSON.stringify(body)
259
259
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/cli",
3
- "version": "0.0.1-dev.20260217094502",
3
+ "version": "0.0.1-dev.20260217105008",
4
4
  "description": "Localess Command Line.",
5
5
  "keywords": [
6
6
  "localess",