@trycourier/react-hooks 4.3.1-internal.e9f89db.0 → 4.3.2-internal.c01e4af.0

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.
@@ -20,7 +20,8 @@ var _default = function _default(api) {
20
20
  return function (next) {
21
21
  return /*#__PURE__*/function () {
22
22
  var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(action) {
23
- var state, result;
23
+ var state, _state$inbox, result;
24
+
24
25
  return _regenerator["default"].wrap(function _callee$(_context) {
25
26
  while (1) {
26
27
  switch (_context.prev = _context.next) {
@@ -40,7 +41,8 @@ var _default = function _default(api) {
40
41
  _context.next = 10;
41
42
  return api.inboxClient.getInboxCount({
42
43
  from: state === null || state === void 0 ? void 0 : state.from,
43
- status: "unread"
44
+ status: "unread",
45
+ tenantId: (state === null || state === void 0 ? void 0 : (_state$inbox = state.inbox) === null || _state$inbox === void 0 ? void 0 : _state$inbox.tenantId) || (state === null || state === void 0 ? void 0 : state.tenantId)
44
46
  });
45
47
 
46
48
  case 10:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycourier/react-hooks",
3
- "version": "4.3.1-internal.e9f89db.0+e9f89db",
3
+ "version": "4.3.2-internal.c01e4af.0+c01e4af",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "typings/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  "concat-md": "^0.3.5"
21
21
  },
22
22
  "dependencies": {
23
- "@trycourier/client-graphql": "^4.3.1-internal.e9f89db.0+e9f89db",
23
+ "@trycourier/client-graphql": "^4.3.2-internal.c01e4af.0+c01e4af",
24
24
  "deep-extend": "^0.6.0",
25
25
  "rimraf": "^3.0.2"
26
26
  },
@@ -36,5 +36,5 @@
36
36
  ".": "./dist/index.js",
37
37
  "./use-inbox": "./dist/inbox/use-inbox.js"
38
38
  },
39
- "gitHead": "e9f89db6a1d75255aeffcce64154d31ca70b198b"
39
+ "gitHead": "c01e4affa0909c9c60edea61e90c220079bc0af1"
40
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/inbox/middleware.ts"],"names":[],"mappings":";AAQA,wBAwBE"}
1
+ {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/inbox/middleware.ts"],"names":[],"mappings":";AAQA,wBAyBE"}