ywana-core8 0.0.372 → 0.0.373

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.
@@ -8,24 +8,6 @@ import { ReactNotifications, Store } from 'react-notifications-component';
8
8
  import 'react-notifications-component/dist/theme.css';
9
9
  import equal from 'deep-equal';
10
10
 
11
- function _extends() {
12
- _extends = Object.assign || function (target) {
13
- for (var i = 1; i < arguments.length; i++) {
14
- var source = arguments[i];
15
-
16
- for (var key in source) {
17
- if (Object.prototype.hasOwnProperty.call(source, key)) {
18
- target[key] = source[key];
19
- }
20
- }
21
- }
22
-
23
- return target;
24
- };
25
-
26
- return _extends.apply(this, arguments);
27
- }
28
-
29
11
  function _catch$2(body, recover) {
30
12
  try {
31
13
  var result = body();
@@ -50,7 +32,7 @@ var fetchAsync = function fetchAsync(method, URL, body, token, headers) {
50
32
  var request = {
51
33
  method: method,
52
34
  mode: 'cors',
53
- headers: _extends({
35
+ headers: Object.assign({
54
36
  "Accept": "application/json",
55
37
  "Content-Type": "application/json",
56
38
  "x-access-token": token
@@ -507,6 +489,24 @@ var Header = function Header(props) {
507
489
  }, props.children));
508
490
  };
509
491
 
492
+ function _extends() {
493
+ _extends = Object.assign || function (target) {
494
+ for (var i = 1; i < arguments.length; i++) {
495
+ var source = arguments[i];
496
+
497
+ for (var key in source) {
498
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
499
+ target[key] = source[key];
500
+ }
501
+ }
502
+ }
503
+
504
+ return target;
505
+ };
506
+
507
+ return _extends.apply(this, arguments);
508
+ }
509
+
510
510
  /**
511
511
  * List
512
512
  */