@dotcms/client 0.0.1-alpha.37 → 0.0.1-alpha.38

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
@@ -31,19 +31,19 @@ yarn add @dotcms/client
31
31
  ### ES Modules
32
32
 
33
33
  ```javascript
34
- import { dotcmsClient } from '@dotcms/client';
34
+ import { DotCmsClient } from '@dotcms/client';
35
35
  ```
36
36
 
37
37
  ### CommonJS
38
38
 
39
39
  ```javascript
40
- const { dotcmsClient } = require('@dotcms/client');
40
+ const { DotCmsClient } = require('@dotcms/client');
41
41
  ```
42
42
 
43
43
  First, initialize the client with your DotCMS instance details.
44
44
 
45
45
  ```javascript
46
- const client = dotcmsClient.init({
46
+ const client = DotCmsClient.init({
47
47
  dotcmsUrl: 'https://your-dotcms-instance.com',
48
48
  authToken: 'your-auth-token',
49
49
  siteId: 'your-site-id'
@@ -82,7 +82,7 @@ console.log(navData);
82
82
 
83
83
  Detailed documentation of the `@dotcms/client` methods, parameters, and types can be found below:
84
84
 
85
- ### `dotcmsClient.init(config: ClientConfig): DotCmsClient`
85
+ ### `DotCmsClient.init(config: ClientConfig): DotCmsClient`
86
86
 
87
87
  Initializes the DotCMS client with the specified configuration.
88
88