vayu-ts 0.1.1 → 0.1.2

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
@@ -104,7 +104,7 @@ To create a new customer:
104
104
  ```typescript
105
105
  const response = await vayu.customers.create({
106
106
  name: 'John Doe',
107
- alias: 'customer_12345'
107
+ externalId: 'customer_12345'
108
108
  });
109
109
 
110
110
  console.log(response.customer);
@@ -117,7 +117,7 @@ To update an existing customer by ID:
117
117
  ```typescript
118
118
  const response = await vayu.customers.update('customer-id', {
119
119
  name: 'Jane Doe',
120
- alias: 'customer_67890'
120
+ externalId: 'customer_67890'
121
121
  });
122
122
 
123
123
  console.log(response.customer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vayu-ts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Simple and easy to use typescript package for utilizing vayu billing system",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://withvayu.com",