@open-tender/cloud 0.0.72 → 0.0.73

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.
@@ -129,7 +129,7 @@ exports.linkPosToken = (0, toolkit_1.createAsyncThunk)(AccountActionType.LinkPos
129
129
  throw new Error(types_2.MISSING_CUSTOMER);
130
130
  yield api.postCustomerPosToken(token, posToken);
131
131
  dispatch((0, notifications_1.showNotification)('Order successfully linked!'));
132
- dispatch(exports.fetchCustomer);
132
+ dispatch((0, exports.fetchCustomer)());
133
133
  return;
134
134
  }
135
135
  catch (err) {
@@ -124,7 +124,7 @@ export const linkPosToken = createAsyncThunk(AccountActionType.LinkPosToken, (po
124
124
  throw new Error(MISSING_CUSTOMER);
125
125
  yield api.postCustomerPosToken(token, posToken);
126
126
  dispatch(showNotification('Order successfully linked!'));
127
- dispatch(fetchCustomer);
127
+ dispatch(fetchCustomer());
128
128
  return;
129
129
  }
130
130
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -56,6 +56,6 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@open-tender/types": "^0.0.90",
59
- "@open-tender/utils": "^0.0.23"
59
+ "@open-tender/utils": "^0.0.28"
60
60
  }
61
61
  }