@localess/js-client 0.0.3-next.20240526-181814.0 → 0.0.3-next.20240526-190317.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export type LocalessClientOptions = {
10
10
  /**
11
11
  * Content version to fetch, leave empty for 'published' or 'draft' for the latest draft
12
12
  */
13
- version?: 'draft';
13
+ version?: 'draft' | string;
14
14
  /**
15
15
  * Locale to fetch content in, leave empty for default locale
16
16
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/js-client",
3
- "version": "0.0.3-next.20240526-181814.0",
3
+ "version": "0.0.3-next.20240526-190317.0",
4
4
  "type": "module",
5
5
  "description": "Universal JavaScript/TypeScript SDK for Localess's API.",
6
6
  "keywords": [
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "author": "Alex Cibotari <alexandru.cibotari@gmail.com>",
15
15
  "homepage": "https://localess.org",
16
- "main": "./dist/index.ts",
16
+ "main": "./dist/index.js",
17
17
  "types": "./dist/index.d.ts",
18
18
  "files": [
19
19
  "dist"