gizmovsky 1.0.4 → 1.0.5

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,8 +30,8 @@ const sdk = new GizmoSDK(config);
30
30
  // Example: Get users (v1)
31
31
  const users = await sdk.v1.users.getUsers();
32
32
 
33
- // Example: Get products (v3)
34
- const products = await sdk.v3.products.getProducts();
33
+ // Example: Get products (v2)
34
+ const products = await sdk.v2.products.getAll();
35
35
  ```
36
36
 
37
37
  ## Custom Requests
@@ -40,7 +40,7 @@ You can use the underlying client for custom requests:
40
40
 
41
41
  ```js
42
42
  const client = sdk.client;
43
- const result = await client.request('get', '/v3.0/any-endpoint', { body1: "value" }, { param1: 'value' });
43
+ const result = await client.request('get', '/v2.0/any-endpoint', { body1: "value" }, { param1: 'value' });
44
44
  ```
45
45
 
46
46
  ## Contributing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gizmovsky",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Unofficial SDK for Gizmo API",
5
5
  "main": "src/index.js",
6
6
  "type": "module",