@trycourier/react-hooks 1.19.1 → 1.20.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.
- package/README.md +1 -1
- package/dist/inbox/reducer.js +1 -1
- package/package.json +4 -4
- package/typings/inbox/types.d.ts +1 -1
package/README.md
CHANGED
package/dist/inbox/reducer.js
CHANGED
|
@@ -198,7 +198,7 @@ var _default = function _default() {
|
|
|
198
198
|
return _objectSpread(_objectSpread({}, state), {}, {
|
|
199
199
|
unreadMessageCount: ((_state$unreadMessageC4 = state === null || state === void 0 ? void 0 : state.unreadMessageCount) !== null && _state$unreadMessageC4 !== void 0 ? _state$unreadMessageC4 : 0) + 1,
|
|
200
200
|
messages: [{
|
|
201
|
-
created: new Date().
|
|
201
|
+
created: new Date().toISOString(),
|
|
202
202
|
messageId: (_action$payload$messa = action.payload.messageId) !== null && _action$payload$messa !== void 0 ? _action$payload$messa : new Date().getTime(),
|
|
203
203
|
title: action.payload.title,
|
|
204
204
|
body: action.payload.body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycourier/react-hooks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "typings/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"concat-md": "^0.3.5"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@trycourier/client-graphql": "^1.
|
|
24
|
-
"@trycourier/react-provider": "^1.
|
|
23
|
+
"@trycourier/client-graphql": "^1.20.0",
|
|
24
|
+
"@trycourier/react-provider": "^1.20.0",
|
|
25
25
|
"deep-extend": "^0.6.0",
|
|
26
26
|
"rimraf": "^3.0.2"
|
|
27
27
|
},
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
".": "./dist/index.js",
|
|
37
37
|
"./use-inbox": "./dist/inbox/use-inbox.js"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "f9853e1d4ea0e9c5d1f314b7e68dd540ef4f0e77"
|
|
40
40
|
}
|