@aws-amplify/core 4.3.3-in-app-messaging.56 → 4.3.3-in-app-messaging.62

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/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.3.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.12...@aws-amplify/core@4.3.13) (2022-01-27)
7
+
8
+ ### Reverts
9
+
10
+ - Revert "chore(amplify-js): consolidate react-native dependencies (#9451)" (#9473) ([9924a31](https://github.com/aws-amplify/amplify-js/commit/9924a31397761fccd03f53336d754b98367199a8)), closes [#9451](https://github.com/aws-amplify/amplify-js/issues/9451) [#9473](https://github.com/aws-amplify/amplify-js/issues/9473)
11
+
12
+ ## [4.3.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.11...@aws-amplify/core@4.3.12) (2022-01-07)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **@aws-amplify/core:** use empty string as translation ([#9403](https://github.com/aws-amplify/amplify-js/issues/9403)) ([512fd99](https://github.com/aws-amplify/amplify-js/commit/512fd99a0d6751ffc3915de6a043d2e6fe01f1e4))
17
+
18
+ ### Reverts
19
+
20
+ - Revert "fix(@aws-amplify/core): use empty string as translation (#9403)" (#9436) ([711259b](https://github.com/aws-amplify/amplify-js/commit/711259b482d721f66d4acc728ff96a8a26965787)), closes [#9403](https://github.com/aws-amplify/amplify-js/issues/9403) [#9436](https://github.com/aws-amplify/amplify-js/issues/9436)
21
+
22
+ ## [4.3.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.10...@aws-amplify/core@4.3.11) (2021-12-16)
23
+
24
+ **Note:** Version bump only for package @aws-amplify/core
25
+
26
+ ## [4.3.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.9...@aws-amplify/core@4.3.10) (2021-12-03)
27
+
28
+ **Note:** Version bump only for package @aws-amplify/core
29
+
30
+ ## [4.3.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.8...@aws-amplify/core@4.3.9) (2021-12-02)
31
+
32
+ ### Bug Fixes
33
+
34
+ - **@aws-amplify/core:** Use undefined for default sequence token with CloudWatch logging ([#9181](https://github.com/aws-amplify/amplify-js/issues/9181)) ([6f217aa](https://github.com/aws-amplify/amplify-js/commit/6f217aa89e672fc4665816756994e6245b19227e))
35
+
36
+ ## [4.3.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.7...@aws-amplify/core@4.3.8) (2021-11-18)
37
+
38
+ **Note:** Version bump only for package @aws-amplify/core
39
+
40
+ ## [4.3.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.9...@aws-amplify/core@4.3.10) (2021-12-03)
41
+
42
+ **Note:** Version bump only for package @aws-amplify/core
43
+
44
+ ## [4.3.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.8...@aws-amplify/core@4.3.9) (2021-12-02)
45
+
46
+ ### Bug Fixes
47
+
48
+ - **@aws-amplify/core:** Use undefined for default sequence token with CloudWatch logging ([#9181](https://github.com/aws-amplify/amplify-js/issues/9181)) ([6f217aa](https://github.com/aws-amplify/amplify-js/commit/6f217aa89e672fc4665816756994e6245b19227e))
49
+
6
50
  ## [4.3.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.7...@aws-amplify/core@4.3.8) (2021-11-18)
7
51
 
8
52
  **Note:** Version bump only for package @aws-amplify/core
@@ -25765,6 +25765,220 @@ function isnan (val) {
25765
25765
 
25766
25766
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
25767
25767
 
25768
+ /***/ }),
25769
+
25770
+ /***/ "../../node_modules/cookie/index.js":
25771
+ /*!*****************************************************!*\
25772
+ !*** /root/amplify-js/node_modules/cookie/index.js ***!
25773
+ \*****************************************************/
25774
+ /*! no static exports found */
25775
+ /***/ (function(module, exports, __webpack_require__) {
25776
+
25777
+ "use strict";
25778
+ /*!
25779
+ * cookie
25780
+ * Copyright(c) 2012-2014 Roman Shtylman
25781
+ * Copyright(c) 2015 Douglas Christopher Wilson
25782
+ * MIT Licensed
25783
+ */
25784
+
25785
+
25786
+
25787
+ /**
25788
+ * Module exports.
25789
+ * @public
25790
+ */
25791
+
25792
+ exports.parse = parse;
25793
+ exports.serialize = serialize;
25794
+
25795
+ /**
25796
+ * Module variables.
25797
+ * @private
25798
+ */
25799
+
25800
+ var decode = decodeURIComponent;
25801
+ var encode = encodeURIComponent;
25802
+
25803
+ /**
25804
+ * RegExp to match field-content in RFC 7230 sec 3.2
25805
+ *
25806
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
25807
+ * field-vchar = VCHAR / obs-text
25808
+ * obs-text = %x80-FF
25809
+ */
25810
+
25811
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
25812
+
25813
+ /**
25814
+ * Parse a cookie header.
25815
+ *
25816
+ * Parse the given cookie header string into an object
25817
+ * The object has the various cookies as keys(names) => values
25818
+ *
25819
+ * @param {string} str
25820
+ * @param {object} [options]
25821
+ * @return {object}
25822
+ * @public
25823
+ */
25824
+
25825
+ function parse(str, options) {
25826
+ if (typeof str !== 'string') {
25827
+ throw new TypeError('argument str must be a string');
25828
+ }
25829
+
25830
+ var obj = {}
25831
+ var opt = options || {};
25832
+ var pairs = str.split(';')
25833
+ var dec = opt.decode || decode;
25834
+
25835
+ for (var i = 0; i < pairs.length; i++) {
25836
+ var pair = pairs[i];
25837
+ var index = pair.indexOf('=')
25838
+
25839
+ // skip things that don't look like key=value
25840
+ if (index < 0) {
25841
+ continue;
25842
+ }
25843
+
25844
+ var key = pair.substring(0, index).trim()
25845
+
25846
+ // only assign once
25847
+ if (undefined == obj[key]) {
25848
+ var val = pair.substring(index + 1, pair.length).trim()
25849
+
25850
+ // quoted values
25851
+ if (val[0] === '"') {
25852
+ val = val.slice(1, -1)
25853
+ }
25854
+
25855
+ obj[key] = tryDecode(val, dec);
25856
+ }
25857
+ }
25858
+
25859
+ return obj;
25860
+ }
25861
+
25862
+ /**
25863
+ * Serialize data into a cookie header.
25864
+ *
25865
+ * Serialize the a name value pair into a cookie string suitable for
25866
+ * http headers. An optional options object specified cookie parameters.
25867
+ *
25868
+ * serialize('foo', 'bar', { httpOnly: true })
25869
+ * => "foo=bar; httpOnly"
25870
+ *
25871
+ * @param {string} name
25872
+ * @param {string} val
25873
+ * @param {object} [options]
25874
+ * @return {string}
25875
+ * @public
25876
+ */
25877
+
25878
+ function serialize(name, val, options) {
25879
+ var opt = options || {};
25880
+ var enc = opt.encode || encode;
25881
+
25882
+ if (typeof enc !== 'function') {
25883
+ throw new TypeError('option encode is invalid');
25884
+ }
25885
+
25886
+ if (!fieldContentRegExp.test(name)) {
25887
+ throw new TypeError('argument name is invalid');
25888
+ }
25889
+
25890
+ var value = enc(val);
25891
+
25892
+ if (value && !fieldContentRegExp.test(value)) {
25893
+ throw new TypeError('argument val is invalid');
25894
+ }
25895
+
25896
+ var str = name + '=' + value;
25897
+
25898
+ if (null != opt.maxAge) {
25899
+ var maxAge = opt.maxAge - 0;
25900
+
25901
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
25902
+ throw new TypeError('option maxAge is invalid')
25903
+ }
25904
+
25905
+ str += '; Max-Age=' + Math.floor(maxAge);
25906
+ }
25907
+
25908
+ if (opt.domain) {
25909
+ if (!fieldContentRegExp.test(opt.domain)) {
25910
+ throw new TypeError('option domain is invalid');
25911
+ }
25912
+
25913
+ str += '; Domain=' + opt.domain;
25914
+ }
25915
+
25916
+ if (opt.path) {
25917
+ if (!fieldContentRegExp.test(opt.path)) {
25918
+ throw new TypeError('option path is invalid');
25919
+ }
25920
+
25921
+ str += '; Path=' + opt.path;
25922
+ }
25923
+
25924
+ if (opt.expires) {
25925
+ if (typeof opt.expires.toUTCString !== 'function') {
25926
+ throw new TypeError('option expires is invalid');
25927
+ }
25928
+
25929
+ str += '; Expires=' + opt.expires.toUTCString();
25930
+ }
25931
+
25932
+ if (opt.httpOnly) {
25933
+ str += '; HttpOnly';
25934
+ }
25935
+
25936
+ if (opt.secure) {
25937
+ str += '; Secure';
25938
+ }
25939
+
25940
+ if (opt.sameSite) {
25941
+ var sameSite = typeof opt.sameSite === 'string'
25942
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
25943
+
25944
+ switch (sameSite) {
25945
+ case true:
25946
+ str += '; SameSite=Strict';
25947
+ break;
25948
+ case 'lax':
25949
+ str += '; SameSite=Lax';
25950
+ break;
25951
+ case 'strict':
25952
+ str += '; SameSite=Strict';
25953
+ break;
25954
+ case 'none':
25955
+ str += '; SameSite=None';
25956
+ break;
25957
+ default:
25958
+ throw new TypeError('option sameSite is invalid');
25959
+ }
25960
+ }
25961
+
25962
+ return str;
25963
+ }
25964
+
25965
+ /**
25966
+ * Try decoding a string using a decoding function.
25967
+ *
25968
+ * @param {string} str
25969
+ * @param {function} decode
25970
+ * @private
25971
+ */
25972
+
25973
+ function tryDecode(str, decode) {
25974
+ try {
25975
+ return decode(str);
25976
+ } catch (e) {
25977
+ return str;
25978
+ }
25979
+ }
25980
+
25981
+
25768
25982
  /***/ }),
25769
25983
 
25770
25984
  /***/ "../../node_modules/ieee754/index.js":
@@ -27077,7 +27291,7 @@ function __classPrivateFieldSet(receiver, privateMap, value) {
27077
27291
 
27078
27292
  "use strict";
27079
27293
  __webpack_require__.r(__webpack_exports__);
27080
- /* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cookie */ "../../node_modules/universal-cookie/node_modules/cookie/index.js");
27294
+ /* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cookie */ "../../node_modules/cookie/index.js");
27081
27295
  /* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cookie__WEBPACK_IMPORTED_MODULE_0__);
27082
27296
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "../../node_modules/universal-cookie/es6/utils.js");
27083
27297
  var __assign = (undefined && undefined.__assign) || function () {
@@ -27194,7 +27408,7 @@ __webpack_require__.r(__webpack_exports__);
27194
27408
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseCookies", function() { return parseCookies; });
27195
27409
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isParsingCookie", function() { return isParsingCookie; });
27196
27410
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "readCookie", function() { return readCookie; });
27197
- /* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cookie */ "../../node_modules/universal-cookie/node_modules/cookie/index.js");
27411
+ /* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cookie */ "../../node_modules/cookie/index.js");
27198
27412
  /* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cookie__WEBPACK_IMPORTED_MODULE_0__);
27199
27413
 
27200
27414
  function hasDocumentCookie() {
@@ -27251,220 +27465,6 @@ function cleanupCookieValue(value) {
27251
27465
  }
27252
27466
 
27253
27467
 
27254
- /***/ }),
27255
-
27256
- /***/ "../../node_modules/universal-cookie/node_modules/cookie/index.js":
27257
- /*!***********************************************************************************!*\
27258
- !*** /root/amplify-js/node_modules/universal-cookie/node_modules/cookie/index.js ***!
27259
- \***********************************************************************************/
27260
- /*! no static exports found */
27261
- /***/ (function(module, exports, __webpack_require__) {
27262
-
27263
- "use strict";
27264
- /*!
27265
- * cookie
27266
- * Copyright(c) 2012-2014 Roman Shtylman
27267
- * Copyright(c) 2015 Douglas Christopher Wilson
27268
- * MIT Licensed
27269
- */
27270
-
27271
-
27272
-
27273
- /**
27274
- * Module exports.
27275
- * @public
27276
- */
27277
-
27278
- exports.parse = parse;
27279
- exports.serialize = serialize;
27280
-
27281
- /**
27282
- * Module variables.
27283
- * @private
27284
- */
27285
-
27286
- var decode = decodeURIComponent;
27287
- var encode = encodeURIComponent;
27288
- var pairSplitRegExp = /; */;
27289
-
27290
- /**
27291
- * RegExp to match field-content in RFC 7230 sec 3.2
27292
- *
27293
- * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
27294
- * field-vchar = VCHAR / obs-text
27295
- * obs-text = %x80-FF
27296
- */
27297
-
27298
- var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
27299
-
27300
- /**
27301
- * Parse a cookie header.
27302
- *
27303
- * Parse the given cookie header string into an object
27304
- * The object has the various cookies as keys(names) => values
27305
- *
27306
- * @param {string} str
27307
- * @param {object} [options]
27308
- * @return {object}
27309
- * @public
27310
- */
27311
-
27312
- function parse(str, options) {
27313
- if (typeof str !== 'string') {
27314
- throw new TypeError('argument str must be a string');
27315
- }
27316
-
27317
- var obj = {}
27318
- var opt = options || {};
27319
- var pairs = str.split(pairSplitRegExp);
27320
- var dec = opt.decode || decode;
27321
-
27322
- for (var i = 0; i < pairs.length; i++) {
27323
- var pair = pairs[i];
27324
- var eq_idx = pair.indexOf('=');
27325
-
27326
- // skip things that don't look like key=value
27327
- if (eq_idx < 0) {
27328
- continue;
27329
- }
27330
-
27331
- var key = pair.substr(0, eq_idx).trim()
27332
- var val = pair.substr(++eq_idx, pair.length).trim();
27333
-
27334
- // quoted values
27335
- if ('"' == val[0]) {
27336
- val = val.slice(1, -1);
27337
- }
27338
-
27339
- // only assign once
27340
- if (undefined == obj[key]) {
27341
- obj[key] = tryDecode(val, dec);
27342
- }
27343
- }
27344
-
27345
- return obj;
27346
- }
27347
-
27348
- /**
27349
- * Serialize data into a cookie header.
27350
- *
27351
- * Serialize the a name value pair into a cookie string suitable for
27352
- * http headers. An optional options object specified cookie parameters.
27353
- *
27354
- * serialize('foo', 'bar', { httpOnly: true })
27355
- * => "foo=bar; httpOnly"
27356
- *
27357
- * @param {string} name
27358
- * @param {string} val
27359
- * @param {object} [options]
27360
- * @return {string}
27361
- * @public
27362
- */
27363
-
27364
- function serialize(name, val, options) {
27365
- var opt = options || {};
27366
- var enc = opt.encode || encode;
27367
-
27368
- if (typeof enc !== 'function') {
27369
- throw new TypeError('option encode is invalid');
27370
- }
27371
-
27372
- if (!fieldContentRegExp.test(name)) {
27373
- throw new TypeError('argument name is invalid');
27374
- }
27375
-
27376
- var value = enc(val);
27377
-
27378
- if (value && !fieldContentRegExp.test(value)) {
27379
- throw new TypeError('argument val is invalid');
27380
- }
27381
-
27382
- var str = name + '=' + value;
27383
-
27384
- if (null != opt.maxAge) {
27385
- var maxAge = opt.maxAge - 0;
27386
-
27387
- if (isNaN(maxAge) || !isFinite(maxAge)) {
27388
- throw new TypeError('option maxAge is invalid')
27389
- }
27390
-
27391
- str += '; Max-Age=' + Math.floor(maxAge);
27392
- }
27393
-
27394
- if (opt.domain) {
27395
- if (!fieldContentRegExp.test(opt.domain)) {
27396
- throw new TypeError('option domain is invalid');
27397
- }
27398
-
27399
- str += '; Domain=' + opt.domain;
27400
- }
27401
-
27402
- if (opt.path) {
27403
- if (!fieldContentRegExp.test(opt.path)) {
27404
- throw new TypeError('option path is invalid');
27405
- }
27406
-
27407
- str += '; Path=' + opt.path;
27408
- }
27409
-
27410
- if (opt.expires) {
27411
- if (typeof opt.expires.toUTCString !== 'function') {
27412
- throw new TypeError('option expires is invalid');
27413
- }
27414
-
27415
- str += '; Expires=' + opt.expires.toUTCString();
27416
- }
27417
-
27418
- if (opt.httpOnly) {
27419
- str += '; HttpOnly';
27420
- }
27421
-
27422
- if (opt.secure) {
27423
- str += '; Secure';
27424
- }
27425
-
27426
- if (opt.sameSite) {
27427
- var sameSite = typeof opt.sameSite === 'string'
27428
- ? opt.sameSite.toLowerCase() : opt.sameSite;
27429
-
27430
- switch (sameSite) {
27431
- case true:
27432
- str += '; SameSite=Strict';
27433
- break;
27434
- case 'lax':
27435
- str += '; SameSite=Lax';
27436
- break;
27437
- case 'strict':
27438
- str += '; SameSite=Strict';
27439
- break;
27440
- case 'none':
27441
- str += '; SameSite=None';
27442
- break;
27443
- default:
27444
- throw new TypeError('option sameSite is invalid');
27445
- }
27446
- }
27447
-
27448
- return str;
27449
- }
27450
-
27451
- /**
27452
- * Try decoding a string using a decoding function.
27453
- *
27454
- * @param {string} str
27455
- * @param {function} decode
27456
- * @private
27457
- */
27458
-
27459
- function tryDecode(str, decode) {
27460
- try {
27461
- return decode(str);
27462
- } catch (e) {
27463
- return str;
27464
- }
27465
- }
27466
-
27467
-
27468
27468
  /***/ }),
27469
27469
 
27470
27470
  /***/ "../../node_modules/url/url.js":
@@ -30853,7 +30853,7 @@ function () {
30853
30853
 
30854
30854
 
30855
30855
  /*We export a __default__ instance of HubClass to use it as a
30856
- psuedo Singleton for the main messaging bus, however you can still create
30856
+ pseudo Singleton for the main messaging bus, however you can still create
30857
30857
  your own instance of HubClass() for a separate "private bus" of events.*/
30858
30858
 
30859
30859
  var Hub = new HubClass('__default__');
@@ -32726,7 +32726,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
32726
32726
  __webpack_require__.r(__webpack_exports__);
32727
32727
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
32728
32728
  // generated by genversion
32729
- var version = '4.3.8';
32729
+ var version = '4.3.13';
32730
32730
 
32731
32731
  /***/ }),
32732
32732
 
@@ -33505,6 +33505,7 @@ function () {
33505
33505
  case 2:
33506
33506
  _a.sent();
33507
33507
 
33508
+ this._nextSequenceToken = undefined;
33508
33509
  return [4
33509
33510
  /*yield*/
33510
33511
  , this._validateLogStreamExists(this._config.logGroupName, this._config.logStreamName)];
@@ -33512,14 +33513,10 @@ function () {
33512
33513
  case 3:
33513
33514
  logStream = _a.sent();
33514
33515
 
33515
- if (!logStream) {
33516
- this._nextSequenceToken = '';
33517
- return [2
33518
- /*return*/
33519
- , ''];
33516
+ if (logStream) {
33517
+ this._nextSequenceToken = logStream.uploadSequenceToken;
33520
33518
  }
33521
33519
 
33522
- this._nextSequenceToken = logStream.uploadSequenceToken || '';
33523
33520
  return [2
33524
33521
  /*return*/
33525
33522
  , this._nextSequenceToken];
@@ -33640,7 +33637,7 @@ function () {
33640
33637
  case 0:
33641
33638
  _a.trys.push([0, 3,, 4]);
33642
33639
 
33643
- this._nextSequenceToken = '';
33640
+ this._nextSequenceToken = undefined;
33644
33641
  this._dataTracker.eventUploadInProgress = true;
33645
33642
  return [4
33646
33643
  /*yield*/
@@ -33809,17 +33806,11 @@ __webpack_require__.r(__webpack_exports__);
33809
33806
  function _typeof(obj) {
33810
33807
  "@babel/helpers - typeof";
33811
33808
 
33812
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
33813
- _typeof = function _typeof(obj) {
33814
- return typeof obj;
33815
- };
33816
- } else {
33817
- _typeof = function _typeof(obj) {
33818
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
33819
- };
33820
- }
33821
-
33822
- return _typeof(obj);
33809
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
33810
+ return typeof obj;
33811
+ } : function (obj) {
33812
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
33813
+ }, _typeof(obj);
33823
33814
  }
33824
33815
  /**
33825
33816
  * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -34098,17 +34089,11 @@ __webpack_require__.r(__webpack_exports__);
34098
34089
  function _typeof(obj) {
34099
34090
  "@babel/helpers - typeof";
34100
34091
 
34101
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
34102
- _typeof = function _typeof(obj) {
34103
- return typeof obj;
34104
- };
34105
- } else {
34106
- _typeof = function _typeof(obj) {
34107
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
34108
- };
34109
- }
34110
-
34111
- return _typeof(obj);
34092
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
34093
+ return typeof obj;
34094
+ } : function (obj) {
34095
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
34096
+ }, _typeof(obj);
34112
34097
  }
34113
34098
  /*
34114
34099
  * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.