washday-sdk 0.0.93 → 0.0.94

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.
@@ -91,7 +91,7 @@ export const getGlobalCFDIPreview = function (params) {
91
91
  };
92
92
  const queryParams = generateQueryParamsStr([
93
93
  'ordersID',
94
- 'customerId',
94
+ 'customer',
95
95
  ], params);
96
96
  return yield axiosInstance.get(`${GET_SET_CFDI}/global/preview?${queryParams}`, config);
97
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "washday-sdk",
3
- "version": "0.0.93",
3
+ "version": "0.0.94",
4
4
  "description": "Washday utilities functions and API",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -80,7 +80,7 @@ export const sendCFDIByEmail = async function (this: WashdayClientInstance, id:
80
80
  // THIS IS FOR WHEN MODAL OPENS AND WE WANT TO GET PREVIEW DATA
81
81
  export const getGlobalCFDIPreview = async function (this: WashdayClientInstance, params: {
82
82
  ordersID?: string[];
83
- customerId?: string
83
+ customer?: string
84
84
  }): Promise<any> {
85
85
  try {
86
86
  const config = {
@@ -88,7 +88,7 @@ export const getGlobalCFDIPreview = async function (this: WashdayClientInstance,
88
88
  };
89
89
  const queryParams = generateQueryParamsStr([
90
90
  'ordersID',
91
- 'customerId',
91
+ 'customer',
92
92
  ], params);
93
93
  return await axiosInstance.get(`${GET_SET_CFDI}/global/preview?${queryParams}`, config);
94
94
  } catch (error) {