washday-sdk 0.0.2 → 0.0.3

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/dist/api/index.js CHANGED
@@ -4,8 +4,6 @@ const get_1 = require("./customers/get");
4
4
  const WashdayClient = function WashdayClient(apiToken) {
5
5
  this.apiToken = apiToken;
6
6
  };
7
- WashdayClient.prototype.customers = {
8
- getCustomerById: get_1.getCustomerById,
9
- getCustomerHighlightsById: get_1.getCustomerHighlightsById
10
- };
7
+ WashdayClient.prototype.customers.getCustomerHighlightsById = get_1.getCustomerHighlightsById;
8
+ WashdayClient.prototype.customers.getCustomerById = get_1.getCustomerById;
11
9
  exports.default = WashdayClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/api/index.ts CHANGED
@@ -11,10 +11,7 @@ const WashdayClient: WashdayClientConstructor = function WashdayClient(this: Was
11
11
  this.apiToken = apiToken;
12
12
  } as any;
13
13
 
14
- WashdayClient.prototype.customers = {
15
- getCustomerById: getCustomerById,
16
- getCustomerHighlightsById: getCustomerHighlightsById
17
- };
18
-
14
+ WashdayClient.prototype.customers.getCustomerHighlightsById = getCustomerHighlightsById;
15
+ WashdayClient.prototype.customers.getCustomerById = getCustomerById;
19
16
 
20
17
  export default WashdayClient;