@trycourier/react-hooks 6.0.1-internal.4fbd4e5.0 → 6.0.1-internal.6d8dcf0.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.
|
@@ -63,26 +63,16 @@ var usePreferencesActions = function usePreferencesActions() {
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
updateRecipientPreferences: function () {
|
|
66
|
-
var _updateRecipientPreferences = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(
|
|
66
|
+
var _updateRecipientPreferences = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(_payload) {
|
|
67
67
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
68
68
|
while (1) {
|
|
69
69
|
switch (_context.prev = _context.next) {
|
|
70
70
|
case 0:
|
|
71
71
|
dispatch({
|
|
72
72
|
type: "preferences/UPDATE_RECIPIENT_PREFERENCES",
|
|
73
|
-
payload: function (
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
payload.toString = function () {
|
|
79
|
-
return _payload.toString();
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
return payload;
|
|
83
|
-
}(function () {
|
|
84
|
-
return preferences.updateRecipientPreferences(payload);
|
|
85
|
-
})
|
|
73
|
+
payload: function payload() {
|
|
74
|
+
return preferences.updateRecipientPreferences(_payload);
|
|
75
|
+
}
|
|
86
76
|
});
|
|
87
77
|
|
|
88
78
|
case 1:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycourier/react-hooks",
|
|
3
|
-
"version": "6.0.1-internal.
|
|
3
|
+
"version": "6.0.1-internal.6d8dcf0.0+6d8dcf0",
|
|
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": "^6.0.1-internal.
|
|
24
|
-
"@trycourier/core": "^6.0.1-internal.
|
|
23
|
+
"@trycourier/client-graphql": "^6.0.1-internal.6d8dcf0.0+6d8dcf0",
|
|
24
|
+
"@trycourier/core": "^6.0.1-internal.6d8dcf0.0+6d8dcf0",
|
|
25
25
|
"deep-extend": "^0.6.0",
|
|
26
26
|
"rimraf": "^3.0.2"
|
|
27
27
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
},
|
|
47
47
|
"./use-inbox": "./dist/inbox/use-inbox.js"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "6d8dcf0cb9af3709d2b19e0e60188fc03fdccba7"
|
|
50
50
|
}
|