@localess/js-client 0.0.3-next.20240527-170217.0 → 0.0.4-next.20240527-184103.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/README.md CHANGED
@@ -37,11 +37,8 @@ const llClient = localessClient({
37
37
  token: 'Baz00KaT0KeN8S3CureLL' // Localess API token, can be found in the Localess Space settings
38
38
  });
39
39
 
40
-
41
- llClient.getLinks() // Fetch all Content Links
40
+ llClient.getLinks() // Fetch all Content Links
41
+ llClient.getContentBySlug('docs/overview') // Fetch content by SLUG
42
+ llClient.getContentById('FRnIT7CUABoRCdSVVGGs') // Fetch content by ID
43
+ llClient.getTranslations('en') // Fetch translations by locale
42
44
  ````
43
-
44
-
45
- [comment]: <> (`npm init --scope=localess`)
46
- [comment]: <> (`npm run build`)
47
- [comment]: <> (`npm publish --access public dist`)
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * ContentData defined Object to connect all possible root Schemas.
3
3
  */
4
- export type ContentData = unknown;
4
+ export type ContentData = any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/js-client",
3
- "version": "0.0.3-next.20240527-170217.0",
3
+ "version": "0.0.4-next.20240527-184103.0",
4
4
  "description": "Universal JavaScript/TypeScript SDK for Localess's API.",
5
5
  "keywords": [
6
6
  "localess",