washday-sdk 0.0.106 → 0.0.108

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.
@@ -13,7 +13,7 @@ export const appleLogin = function (params) {
13
13
  return __awaiter(this, void 0, void 0, function* () {
14
14
  try {
15
15
  const config = {};
16
- return yield axiosInstance.post(`${GET_AUTH}`, params, config);
16
+ return yield axiosInstance.post(`${GET_AUTH}/apple`, params, config);
17
17
  }
18
18
  catch (error) {
19
19
  console.error('Error fetching appleLogin:', error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "0.0.106",
3
+ "version": "0.0.108",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -5,12 +5,13 @@ import axiosInstance from "../axiosInstance";
5
5
  const GET_AUTH = "api/v2/washdayapp/auth"
6
6
 
7
7
  export const appleLogin = async function (this: WashdayClientInstance, params: {
8
+ companyId: string;
8
9
  storeId: string;
9
10
  credentials: AppleAuthenticationCredential,
10
11
  }): Promise<any> {
11
12
  try {
12
13
  const config = {};
13
- return await axiosInstance.post(`${GET_AUTH}`, params, config);
14
+ return await axiosInstance.post(`${GET_AUTH}/apple`, params, config);
14
15
  } catch (error) {
15
16
  console.error('Error fetching appleLogin:', error);
16
17
  throw error;