@schally/node-akeneo-api-client 1.3.0 → 1.3.1

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -120,13 +120,13 @@ import { AkeneoClient, Product, Category, Family } from '@schally/node-akeneo-ap
120
120
  const client = new AkeneoClient({
121
121
  baseUrl: 'https://your-akeneo-instance.com',
122
122
  clientId: 'your-client-id',
123
- clientSecret: 'your-client-secret',
123
+ secret: 'your-client-secret',
124
124
  username: 'your-username',
125
125
  password: 'your-password'
126
126
  });
127
127
 
128
128
  // TypeScript will provide full autocompletion and type checking
129
- const products: Product[] = await client.products.getAll();
129
+ const products: Product[] = await client.products.list();
130
130
  const category: Category = await client.categories.get('category-code');
131
131
  ```
132
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schally/node-akeneo-api-client",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "TypeScript client for Akeneo PIM API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",