@aws-amplify/core 4.3.11 → 4.3.12-custom-pk.79
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 +164 -0
- package/dist/aws-amplify-core.js +75 -29
- package/dist/aws-amplify-core.js.map +1 -1
- package/dist/aws-amplify-core.min.js +2 -16
- package/dist/aws-amplify-core.min.js.map +1 -1
- package/lib/Hub.js +2 -1
- package/lib/Hub.js.map +1 -1
- package/lib/Platform/index.d.ts +1 -1
- package/lib/Platform/index.js +2 -2
- package/lib/Platform/index.js.map +1 -1
- package/lib/Platform/version.d.ts +1 -1
- package/lib/Platform/version.js +1 -1
- package/lib/Util/Retry.d.ts +5 -0
- package/lib/Util/Retry.js +6 -0
- package/lib/Util/Retry.js.map +1 -1
- package/lib/constants.d.ts +3 -0
- package/lib/constants.js +3 -0
- package/lib/constants.js.map +1 -1
- package/lib-esm/Hub.js +2 -1
- package/lib-esm/Hub.js.map +1 -1
- package/lib-esm/Platform/index.d.ts +1 -1
- package/lib-esm/Platform/index.js +2 -2
- package/lib-esm/Platform/index.js.map +1 -1
- package/lib-esm/Platform/version.d.ts +1 -1
- package/lib-esm/Platform/version.js +1 -1
- package/lib-esm/Util/Retry.d.ts +5 -0
- package/lib-esm/Util/Retry.js +6 -1
- package/lib-esm/Util/Retry.js.map +1 -1
- package/lib-esm/constants.d.ts +3 -0
- package/lib-esm/constants.js +3 -0
- package/lib-esm/constants.js.map +1 -1
- package/package.json +4 -4
- package/src/Hub.ts +2 -1
- package/src/Platform/index.ts +2 -2
- package/src/Platform/version.ts +1 -1
- package/src/Util/Retry.ts +7 -1
- package/src/constants.ts +3 -0
- package/src/types/types.ts +62 -62
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,170 @@
|
|
|
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.5.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.9...@aws-amplify/core@4.5.10) (2022-07-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.5.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.8...@aws-amplify/core@4.5.9) (2022-07-07)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [4.5.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.7...@aws-amplify/core@4.5.8) (2022-06-18)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [4.5.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.6...@aws-amplify/core@4.5.7) (2022-06-15)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [4.5.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.5...@aws-amplify/core@4.5.6) (2022-05-24)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## [4.5.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.4...@aws-amplify/core@4.5.5) (2022-05-23)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## [4.5.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.3...@aws-amplify/core@4.5.4) (2022-05-12)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## [4.5.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.2...@aws-amplify/core@4.5.3) (2022-05-03)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## [4.5.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.1...@aws-amplify/core@4.5.2) (2022-04-14)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Bug Fixes
|
|
74
|
+
|
|
75
|
+
* PubSub - Resolve ts strict errors in the AWSAppSyncRealTimeProvider ([#9731](https://github.com/aws-amplify/amplify-js/issues/9731)) ([0c9c401](https://github.com/aws-amplify/amplify-js/commit/0c9c4018573df31f7e4739207be22eefb8bf8a56))
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [4.5.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.0...@aws-amplify/core@4.5.1) (2022-04-04)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# [4.5.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.4.2...@aws-amplify/core@4.5.0) (2022-03-28)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* PubSub Add Options objects for all Providers and fix: Spelling error and deprecation of old exports ([#9683](https://github.com/aws-amplify/amplify-js/issues/9683)) ([b535af2](https://github.com/aws-amplify/amplify-js/commit/b535af2133b5460c6e8e2fcfd89e1fe235872c27))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
## [4.4.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.4.1...@aws-amplify/core@4.4.2) (2022-03-22)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Bug Fixes
|
|
104
|
+
|
|
105
|
+
* **@aws-amplify/datastore:** fix mutations to retry indefinitely on network error ([#9724](https://github.com/aws-amplify/amplify-js/issues/9724)) ([5371380](https://github.com/aws-amplify/amplify-js/commit/53713804b79df9c69ac29b75ffc576b4c2002507))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
## [4.4.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.4.0...@aws-amplify/core@4.4.1) (2022-03-10)
|
|
112
|
+
|
|
113
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
# [4.4.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.14...@aws-amplify/core@4.4.0) (2022-02-28)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Bug Fixes
|
|
123
|
+
|
|
124
|
+
* pin async storage to 1.15.17 ([#9570](https://github.com/aws-amplify/amplify-js/issues/9570)) ([bc5235a](https://github.com/aws-amplify/amplify-js/commit/bc5235ac0d15242f7a13457f40999b5331823395))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
|
|
129
|
+
* **@aws-amplify/core:** add ui protected channel ([#9554](https://github.com/aws-amplify/amplify-js/issues/9554)) ([86e07fc](https://github.com/aws-amplify/amplify-js/commit/86e07fcd3ebbaa5f03d65ed8009b7531ee300e39))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## [4.3.14](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.13...@aws-amplify/core@4.3.14) (2022-02-03)
|
|
136
|
+
|
|
137
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
## [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)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Reverts
|
|
147
|
+
|
|
148
|
+
* 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)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
## [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)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### Bug Fixes
|
|
158
|
+
|
|
159
|
+
* **@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))
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Reverts
|
|
163
|
+
|
|
164
|
+
* 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)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
6
170
|
## [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)
|
|
7
171
|
|
|
8
172
|
**Note:** Version bump only for package @aws-amplify/core
|
package/dist/aws-amplify-core.js
CHANGED
|
@@ -12276,7 +12276,7 @@ var ClientSharedValues = {
|
|
|
12276
12276
|
/*!*****************************************************************************************************!*\
|
|
12277
12277
|
!*** /root/amplify-js/node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/tslib/tslib.es6.js ***!
|
|
12278
12278
|
\*****************************************************************************************************/
|
|
12279
|
-
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet */
|
|
12279
|
+
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
|
|
12280
12280
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12281
12281
|
|
|
12282
12282
|
"use strict";
|
|
@@ -12305,7 +12305,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12305
12305
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importDefault", function() { return __importDefault; });
|
|
12306
12306
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldGet", function() { return __classPrivateFieldGet; });
|
|
12307
12307
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldSet", function() { return __classPrivateFieldSet; });
|
|
12308
|
-
|
|
12308
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldIn", function() { return __classPrivateFieldIn; });
|
|
12309
|
+
/******************************************************************************
|
|
12309
12310
|
Copyright (c) Microsoft Corporation.
|
|
12310
12311
|
|
|
12311
12312
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -12414,7 +12415,11 @@ function __generator(thisArg, body) {
|
|
|
12414
12415
|
|
|
12415
12416
|
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
12416
12417
|
if (k2 === undefined) k2 = k;
|
|
12417
|
-
Object.
|
|
12418
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12419
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
12420
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12421
|
+
}
|
|
12422
|
+
Object.defineProperty(o, k2, desc);
|
|
12418
12423
|
}) : (function(o, m, k, k2) {
|
|
12419
12424
|
if (k2 === undefined) k2 = k;
|
|
12420
12425
|
o[k2] = m[k];
|
|
@@ -12544,6 +12549,11 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
12544
12549
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12545
12550
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12546
12551
|
}
|
|
12552
|
+
|
|
12553
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
12554
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
12555
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
12556
|
+
}
|
|
12547
12557
|
|
|
12548
12558
|
|
|
12549
12559
|
/***/ }),
|
|
@@ -19397,7 +19407,7 @@ var ClientSharedValues = {
|
|
|
19397
19407
|
/*!*****************************************************************************************************************************************************************!*\
|
|
19398
19408
|
!*** /root/amplify-js/node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/client-cognito-identity/node_modules/tslib/tslib.es6.js ***!
|
|
19399
19409
|
\*****************************************************************************************************************************************************************/
|
|
19400
|
-
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet */
|
|
19410
|
+
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
|
|
19401
19411
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19402
19412
|
|
|
19403
19413
|
"use strict";
|
|
@@ -19426,7 +19436,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19426
19436
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importDefault", function() { return __importDefault; });
|
|
19427
19437
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldGet", function() { return __classPrivateFieldGet; });
|
|
19428
19438
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldSet", function() { return __classPrivateFieldSet; });
|
|
19429
|
-
|
|
19439
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldIn", function() { return __classPrivateFieldIn; });
|
|
19440
|
+
/******************************************************************************
|
|
19430
19441
|
Copyright (c) Microsoft Corporation.
|
|
19431
19442
|
|
|
19432
19443
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -19535,7 +19546,11 @@ function __generator(thisArg, body) {
|
|
|
19535
19546
|
|
|
19536
19547
|
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
19537
19548
|
if (k2 === undefined) k2 = k;
|
|
19538
|
-
Object.
|
|
19549
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
19550
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19551
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19552
|
+
}
|
|
19553
|
+
Object.defineProperty(o, k2, desc);
|
|
19539
19554
|
}) : (function(o, m, k, k2) {
|
|
19540
19555
|
if (k2 === undefined) k2 = k;
|
|
19541
19556
|
o[k2] = m[k];
|
|
@@ -19665,6 +19680,11 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
19665
19680
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
19666
19681
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
19667
19682
|
}
|
|
19683
|
+
|
|
19684
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
19685
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
19686
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
19687
|
+
}
|
|
19668
19688
|
|
|
19669
19689
|
|
|
19670
19690
|
/***/ }),
|
|
@@ -27285,7 +27305,6 @@ exports.serialize = serialize;
|
|
|
27285
27305
|
|
|
27286
27306
|
var decode = decodeURIComponent;
|
|
27287
27307
|
var encode = encodeURIComponent;
|
|
27288
|
-
var pairSplitRegExp = /; */;
|
|
27289
27308
|
|
|
27290
27309
|
/**
|
|
27291
27310
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -27316,28 +27335,29 @@ function parse(str, options) {
|
|
|
27316
27335
|
|
|
27317
27336
|
var obj = {}
|
|
27318
27337
|
var opt = options || {};
|
|
27319
|
-
var pairs = str.split(
|
|
27338
|
+
var pairs = str.split(';')
|
|
27320
27339
|
var dec = opt.decode || decode;
|
|
27321
27340
|
|
|
27322
27341
|
for (var i = 0; i < pairs.length; i++) {
|
|
27323
27342
|
var pair = pairs[i];
|
|
27324
|
-
var
|
|
27343
|
+
var index = pair.indexOf('=')
|
|
27325
27344
|
|
|
27326
27345
|
// skip things that don't look like key=value
|
|
27327
|
-
if (
|
|
27346
|
+
if (index < 0) {
|
|
27328
27347
|
continue;
|
|
27329
27348
|
}
|
|
27330
27349
|
|
|
27331
|
-
var key = pair.
|
|
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
|
-
}
|
|
27350
|
+
var key = pair.substring(0, index).trim()
|
|
27338
27351
|
|
|
27339
27352
|
// only assign once
|
|
27340
27353
|
if (undefined == obj[key]) {
|
|
27354
|
+
var val = pair.substring(index + 1, pair.length).trim()
|
|
27355
|
+
|
|
27356
|
+
// quoted values
|
|
27357
|
+
if (val[0] === '"') {
|
|
27358
|
+
val = val.slice(1, -1)
|
|
27359
|
+
}
|
|
27360
|
+
|
|
27341
27361
|
obj[key] = tryDecode(val, dec);
|
|
27342
27362
|
}
|
|
27343
27363
|
}
|
|
@@ -30698,7 +30718,7 @@ function () {
|
|
|
30698
30718
|
function HubClass(name) {
|
|
30699
30719
|
this.listeners = [];
|
|
30700
30720
|
this.patterns = [];
|
|
30701
|
-
this.protectedChannels = ['core', 'auth', 'api', 'analytics', 'interactions', 'pubsub', 'storage', 'xr'];
|
|
30721
|
+
this.protectedChannels = ['core', 'auth', 'api', 'analytics', 'interactions', 'pubsub', 'storage', 'ui', 'xr'];
|
|
30702
30722
|
this.name = name;
|
|
30703
30723
|
} // Note - Need to pass channel as a reference for removal to work and not anonymous function
|
|
30704
30724
|
|
|
@@ -30852,7 +30872,7 @@ function () {
|
|
|
30852
30872
|
|
|
30853
30873
|
|
|
30854
30874
|
/*We export a __default__ instance of HubClass to use it as a
|
|
30855
|
-
|
|
30875
|
+
pseudo Singleton for the main messaging bus, however you can still create
|
|
30856
30876
|
your own instance of HubClass() for a separate "private bus" of events.*/
|
|
30857
30877
|
|
|
30858
30878
|
var Hub = new HubClass('__default__');
|
|
@@ -32703,8 +32723,8 @@ if (typeof navigator !== 'undefined' && navigator.product) {
|
|
|
32703
32723
|
}
|
|
32704
32724
|
}
|
|
32705
32725
|
|
|
32706
|
-
var getAmplifyUserAgent = function getAmplifyUserAgent() {
|
|
32707
|
-
return Platform.userAgent;
|
|
32726
|
+
var getAmplifyUserAgent = function getAmplifyUserAgent(content) {
|
|
32727
|
+
return "" + Platform.userAgent + (content ? content : '');
|
|
32708
32728
|
};
|
|
32709
32729
|
/**
|
|
32710
32730
|
* @deprecated use named import
|
|
@@ -32725,7 +32745,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
|
|
|
32725
32745
|
__webpack_require__.r(__webpack_exports__);
|
|
32726
32746
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
|
|
32727
32747
|
// generated by genversion
|
|
32728
|
-
var version = '4.
|
|
32748
|
+
var version = '4.5.10';
|
|
32729
32749
|
|
|
32730
32750
|
/***/ }),
|
|
32731
32751
|
|
|
@@ -35108,13 +35128,14 @@ function () {
|
|
|
35108
35128
|
/*!*******************************!*\
|
|
35109
35129
|
!*** ./lib-esm/Util/Retry.js ***!
|
|
35110
35130
|
\*******************************/
|
|
35111
|
-
/*! exports provided: NonRetryableError, retry, jitteredExponentialRetry */
|
|
35131
|
+
/*! exports provided: NonRetryableError, retry, jitteredBackoff, jitteredExponentialRetry */
|
|
35112
35132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
35113
35133
|
|
|
35114
35134
|
"use strict";
|
|
35115
35135
|
__webpack_require__.r(__webpack_exports__);
|
|
35116
35136
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonRetryableError", function() { return NonRetryableError; });
|
|
35117
35137
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "retry", function() { return retry; });
|
|
35138
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jitteredBackoff", function() { return jitteredBackoff; });
|
|
35118
35139
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jitteredExponentialRetry", function() { return jitteredExponentialRetry; });
|
|
35119
35140
|
/* harmony import */ var _Logger_ConsoleLogger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Logger/ConsoleLogger */ "./lib-esm/Logger/ConsoleLogger.js");
|
|
35120
35141
|
var __extends = undefined && undefined.__extends || function () {
|
|
@@ -35429,8 +35450,16 @@ function retry(functionToRetry, args, delayFn, attempt) {
|
|
|
35429
35450
|
});
|
|
35430
35451
|
}
|
|
35431
35452
|
var MAX_DELAY_MS = 5 * 60 * 1000;
|
|
35453
|
+
/**
|
|
35454
|
+
* @private
|
|
35455
|
+
* Internal use of Amplify only
|
|
35456
|
+
*/
|
|
35432
35457
|
|
|
35433
35458
|
function jitteredBackoff(maxDelayMs) {
|
|
35459
|
+
if (maxDelayMs === void 0) {
|
|
35460
|
+
maxDelayMs = MAX_DELAY_MS;
|
|
35461
|
+
}
|
|
35462
|
+
|
|
35434
35463
|
var BASE_TIME_MS = 100;
|
|
35435
35464
|
var JITTER_FACTOR = 100;
|
|
35436
35465
|
return function (attempt) {
|
|
@@ -35443,7 +35472,6 @@ function jitteredBackoff(maxDelayMs) {
|
|
|
35443
35472
|
* Internal use of Amplify only
|
|
35444
35473
|
*/
|
|
35445
35474
|
|
|
35446
|
-
|
|
35447
35475
|
var jitteredExponentialRetry = function jitteredExponentialRetry(functionToRetry, args, maxDelayMs) {
|
|
35448
35476
|
if (maxDelayMs === void 0) {
|
|
35449
35477
|
maxDelayMs = MAX_DELAY_MS;
|
|
@@ -35482,7 +35510,7 @@ function urlSafeDecode(hex) {
|
|
|
35482
35510
|
/*!*******************************!*\
|
|
35483
35511
|
!*** ./lib-esm/Util/index.js ***!
|
|
35484
35512
|
\*******************************/
|
|
35485
|
-
/*! exports provided: NonRetryableError, retry, jitteredExponentialRetry, Mutex, Reachability, DateUtils, urlSafeEncode, urlSafeDecode, AWS_CLOUDWATCH_BASE_BUFFER_SIZE, AWS_CLOUDWATCH_CATEGORY, AWS_CLOUDWATCH_MAX_BATCH_EVENT_SIZE, AWS_CLOUDWATCH_MAX_EVENT_SIZE, AWS_CLOUDWATCH_PROVIDER_NAME, NO_CREDS_ERROR_STRING, RETRY_ERROR_CODES */
|
|
35513
|
+
/*! exports provided: NonRetryableError, retry, jitteredBackoff, jitteredExponentialRetry, Mutex, Reachability, DateUtils, urlSafeEncode, urlSafeDecode, AWS_CLOUDWATCH_BASE_BUFFER_SIZE, AWS_CLOUDWATCH_CATEGORY, AWS_CLOUDWATCH_MAX_BATCH_EVENT_SIZE, AWS_CLOUDWATCH_MAX_EVENT_SIZE, AWS_CLOUDWATCH_PROVIDER_NAME, NO_CREDS_ERROR_STRING, RETRY_ERROR_CODES */
|
|
35486
35514
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
35487
35515
|
|
|
35488
35516
|
"use strict";
|
|
@@ -35492,6 +35520,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35492
35520
|
|
|
35493
35521
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "retry", function() { return _Retry__WEBPACK_IMPORTED_MODULE_0__["retry"]; });
|
|
35494
35522
|
|
|
35523
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "jitteredBackoff", function() { return _Retry__WEBPACK_IMPORTED_MODULE_0__["jitteredBackoff"]; });
|
|
35524
|
+
|
|
35495
35525
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "jitteredExponentialRetry", function() { return _Retry__WEBPACK_IMPORTED_MODULE_0__["jitteredExponentialRetry"]; });
|
|
35496
35526
|
|
|
35497
35527
|
/* harmony import */ var _Mutex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Mutex */ "./lib-esm/Util/Mutex.js");
|
|
@@ -35562,6 +35592,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35562
35592
|
* is used for AppSync/GraphQL subscriptions in the API category.
|
|
35563
35593
|
*/
|
|
35564
35594
|
var hasSymbol = typeof Symbol !== 'undefined' && typeof Symbol["for"] === 'function';
|
|
35595
|
+
/**
|
|
35596
|
+
* @deprecated Unused, all usecases have migrated to INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER
|
|
35597
|
+
*/
|
|
35598
|
+
|
|
35565
35599
|
var INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER = hasSymbol ? Symbol["for"]('INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER') : '@@INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER';
|
|
35566
35600
|
var INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER = hasSymbol ? Symbol["for"]('INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER') : '@@INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER';
|
|
35567
35601
|
var USER_AGENT_HEADER = 'x-amz-user-agent';
|
|
@@ -35572,7 +35606,7 @@ var USER_AGENT_HEADER = 'x-amz-user-agent';
|
|
|
35572
35606
|
/*!**************************!*\
|
|
35573
35607
|
!*** ./lib-esm/index.js ***!
|
|
35574
35608
|
\**************************/
|
|
35575
|
-
/*! exports provided: AmplifyClass, ClientDevice, ConsoleLogger, Logger, missingConfig, invalidParameter, Hub, I18n, isEmpty, sortByField, objectLessAttributes, filenameToContentType, isTextFile, generateRandomString, makeQuerablePromise, isWebWorker, browserOrNode, transferKeyToLowerCase, transferKeyToUpperCase, isStrictObject, JS, Signer, parseMobileHubConfig, Parser, AWSCloudWatchProvider, FacebookOAuth, GoogleOAuth, Linking, AppState, AsyncStorage, Credentials, CredentialsClass, ServiceWorker, StorageHelper, MemoryStorage, UniversalStorage, Platform, getAmplifyUserAgent, INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER, INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER, USER_AGENT_HEADER, Constants, NonRetryableError, retry, jitteredExponentialRetry, Mutex, Reachability, DateUtils, urlSafeEncode, urlSafeDecode, AWS_CLOUDWATCH_BASE_BUFFER_SIZE, AWS_CLOUDWATCH_CATEGORY, AWS_CLOUDWATCH_MAX_BATCH_EVENT_SIZE, AWS_CLOUDWATCH_MAX_EVENT_SIZE, AWS_CLOUDWATCH_PROVIDER_NAME, NO_CREDS_ERROR_STRING, RETRY_ERROR_CODES, Amplify, default */
|
|
35609
|
+
/*! exports provided: AmplifyClass, ClientDevice, ConsoleLogger, Logger, missingConfig, invalidParameter, Hub, I18n, isEmpty, sortByField, objectLessAttributes, filenameToContentType, isTextFile, generateRandomString, makeQuerablePromise, isWebWorker, browserOrNode, transferKeyToLowerCase, transferKeyToUpperCase, isStrictObject, JS, Signer, parseMobileHubConfig, Parser, AWSCloudWatchProvider, FacebookOAuth, GoogleOAuth, Linking, AppState, AsyncStorage, Credentials, CredentialsClass, ServiceWorker, StorageHelper, MemoryStorage, UniversalStorage, Platform, getAmplifyUserAgent, INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER, INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER, USER_AGENT_HEADER, Constants, NonRetryableError, retry, jitteredBackoff, jitteredExponentialRetry, Mutex, Reachability, DateUtils, urlSafeEncode, urlSafeDecode, AWS_CLOUDWATCH_BASE_BUFFER_SIZE, AWS_CLOUDWATCH_CATEGORY, AWS_CLOUDWATCH_MAX_BATCH_EVENT_SIZE, AWS_CLOUDWATCH_MAX_EVENT_SIZE, AWS_CLOUDWATCH_PROVIDER_NAME, NO_CREDS_ERROR_STRING, RETRY_ERROR_CODES, Amplify, default */
|
|
35576
35610
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
35577
35611
|
|
|
35578
35612
|
"use strict";
|
|
@@ -35685,6 +35719,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35685
35719
|
|
|
35686
35720
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "retry", function() { return _Util__WEBPACK_IMPORTED_MODULE_18__["retry"]; });
|
|
35687
35721
|
|
|
35722
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "jitteredBackoff", function() { return _Util__WEBPACK_IMPORTED_MODULE_18__["jitteredBackoff"]; });
|
|
35723
|
+
|
|
35688
35724
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "jitteredExponentialRetry", function() { return _Util__WEBPACK_IMPORTED_MODULE_18__["jitteredExponentialRetry"]; });
|
|
35689
35725
|
|
|
35690
35726
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Mutex", function() { return _Util__WEBPACK_IMPORTED_MODULE_18__["Mutex"]; });
|
|
@@ -42530,7 +42566,7 @@ var ClientSharedValues = {
|
|
|
42530
42566
|
/*!***************************************************************************************!*\
|
|
42531
42567
|
!*** ./node_modules/@aws-sdk/client-cognito-identity/node_modules/tslib/tslib.es6.js ***!
|
|
42532
42568
|
\***************************************************************************************/
|
|
42533
|
-
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet */
|
|
42569
|
+
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn */
|
|
42534
42570
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42535
42571
|
|
|
42536
42572
|
"use strict";
|
|
@@ -42559,7 +42595,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42559
42595
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importDefault", function() { return __importDefault; });
|
|
42560
42596
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldGet", function() { return __classPrivateFieldGet; });
|
|
42561
42597
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldSet", function() { return __classPrivateFieldSet; });
|
|
42562
|
-
|
|
42598
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__classPrivateFieldIn", function() { return __classPrivateFieldIn; });
|
|
42599
|
+
/******************************************************************************
|
|
42563
42600
|
Copyright (c) Microsoft Corporation.
|
|
42564
42601
|
|
|
42565
42602
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -42668,7 +42705,11 @@ function __generator(thisArg, body) {
|
|
|
42668
42705
|
|
|
42669
42706
|
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
42670
42707
|
if (k2 === undefined) k2 = k;
|
|
42671
|
-
Object.
|
|
42708
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
42709
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
42710
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
42711
|
+
}
|
|
42712
|
+
Object.defineProperty(o, k2, desc);
|
|
42672
42713
|
}) : (function(o, m, k, k2) {
|
|
42673
42714
|
if (k2 === undefined) k2 = k;
|
|
42674
42715
|
o[k2] = m[k];
|
|
@@ -42798,6 +42839,11 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
42798
42839
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
42799
42840
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
42800
42841
|
}
|
|
42842
|
+
|
|
42843
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
42844
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
42845
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
42846
|
+
}
|
|
42801
42847
|
|
|
42802
42848
|
|
|
42803
42849
|
/***/ }),
|