@medipass/web-sdk 11.27.0 → 11.27.1-fix-eclipse-endpoints.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/lib/index.js +3 -3
- package/lib/{regions-ed54f163.js → regions-7b23080d.js} +1 -1
- package/lib/resources/accounts.js +3 -3
- package/lib/resources/actions.js +3 -3
- package/lib/resources/api-keys.js +3 -3
- package/lib/resources/applications.js +3 -3
- package/lib/resources/attachments.js +3 -3
- package/lib/resources/auth.js +3 -3
- package/lib/resources/bulk-uploads.js +3 -3
- package/lib/resources/business-profiles.js +3 -3
- package/lib/resources/businesses.js +3 -3
- package/lib/resources/claim-items.js +3 -3
- package/lib/resources/devices.js +3 -3
- package/lib/resources/doc-accounts.js +3 -3
- package/lib/resources/documents.js +3 -3
- package/lib/resources/emails.js +3 -3
- package/lib/resources/form-application-templates.js +3 -3
- package/lib/resources/form-applications.js +3 -3
- package/lib/resources/forms.js +3 -3
- package/lib/resources/funder-settings.js +3 -3
- package/lib/resources/funders.js +3 -3
- package/lib/resources/futures.js +3 -3
- package/lib/resources/health-fund-accounts.js +3 -3
- package/lib/resources/health-fund-settings.js +3 -3
- package/lib/resources/healthfunds.js +3 -3
- package/lib/resources/icditems.js +3 -3
- package/lib/resources/invoice-scans.js +3 -3
- package/lib/resources/jhcs.js +3 -3
- package/lib/resources/kyc.js +3 -3
- package/lib/resources/logs.js +3 -3
- package/lib/resources/members.js +3 -3
- package/lib/resources/message-mappings.js +3 -3
- package/lib/resources/minions.js +3 -3
- package/lib/resources/modalities.js +3 -3
- package/lib/resources/notes.js +3 -3
- package/lib/resources/onboarding-applications.js +3 -3
- package/lib/resources/onboarding-requests.js +3 -3
- package/lib/resources/ops.js +3 -3
- package/lib/resources/organisations.js +3 -3
- package/lib/resources/partners.js +3 -3
- package/lib/resources/patients.js +3 -3
- package/lib/resources/payments.js +3 -3
- package/lib/resources/pms.js +3 -3
- package/lib/resources/practice-profiles.js +3 -3
- package/lib/resources/practice-types.js +3 -3
- package/lib/resources/practices.js +3 -3
- package/lib/resources/products.js +3 -3
- package/lib/resources/professional-categories.js +3 -3
- package/lib/resources/provider-number-types.js +3 -3
- package/lib/resources/provider-registration-types.js +3 -3
- package/lib/resources/provider-requests.js +3 -3
- package/lib/resources/provider-types.js +3 -3
- package/lib/resources/ref-sources.js +3 -3
- package/lib/resources/risk.js +3 -3
- package/lib/resources/rnas.js +3 -3
- package/lib/resources/roles.js +3 -3
- package/lib/resources/self-checkout-sessions.js +3 -3
- package/lib/resources/services.js +3 -3
- package/lib/resources/settlements.js +3 -3
- package/lib/resources/sign-up.js +3 -3
- package/lib/resources/specialties.js +3 -3
- package/lib/resources/staff-profiles.js +3 -3
- package/lib/resources/staff.js +3 -3
- package/lib/resources/statistics.js +3 -3
- package/lib/resources/subscriptions.js +3 -3
- package/lib/resources/terminals.js +3 -3
- package/lib/resources/transaction-export.js +3 -3
- package/lib/resources/transactions.js +6 -4
- package/lib/resources/transactions.js.flow +28 -4
- package/lib/resources/triggers.js +3 -3
- package/lib/resources/vendors.js +3 -3
- package/lib/resources/verify.js +3 -3
- package/lib/resources/workers.js +3 -3
- package/lib/resources/workflow-exceptions.js +3 -3
- package/lib/services/aws.js +3 -3
- package/lib/services/storage.js +1 -1
- package/lib/services/version.js +3 -3
- package/lib/{staff-a42b6df2.js → staff-ad88104f.js} +268 -186
- package/lib/{storage-16fd26f8.js → storage-4b403caa.js} +153 -121
- package/lib/utils/application.js +3 -3
- package/lib/utils/professions.js +3 -3
- package/lib/utils/regions.js +2 -2
- package/lib/utils/request.js +3 -3
- package/lib/utils/staff.js +3 -3
- package/package.json +3 -3
|
@@ -9,55 +9,52 @@ var sessionStorage = _interopDefault(require('store/storages/sessionStorage'));
|
|
|
9
9
|
var masked = _interopDefault(require('masked'));
|
|
10
10
|
var sensitiveKeys = require('@medipass/utils/sensitive-keys');
|
|
11
11
|
|
|
12
|
+
function unwrapExports (x) {
|
|
13
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
function createCommonjsModule(fn, module) {
|
|
13
17
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
isPortal: isPortal,
|
|
55
|
-
isProfiler: isProfiler,
|
|
56
|
-
isStrictMode: isStrictMode,
|
|
57
|
-
isSuspense: isSuspense,
|
|
58
|
-
isValidElementType: isValidElementType,
|
|
59
|
-
typeOf: typeOf
|
|
60
|
-
};
|
|
20
|
+
var reactIs_production_min = createCommonjsModule(function (module, exports) {
|
|
21
|
+
Object.defineProperty(exports,"__esModule",{value:!0});
|
|
22
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):
|
|
23
|
+
60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m}
|
|
24
|
+
exports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;
|
|
25
|
+
exports.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h};
|
|
26
|
+
exports.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p};
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
unwrapExports(reactIs_production_min);
|
|
30
|
+
var reactIs_production_min_1 = reactIs_production_min.typeOf;
|
|
31
|
+
var reactIs_production_min_2 = reactIs_production_min.AsyncMode;
|
|
32
|
+
var reactIs_production_min_3 = reactIs_production_min.ConcurrentMode;
|
|
33
|
+
var reactIs_production_min_4 = reactIs_production_min.ContextConsumer;
|
|
34
|
+
var reactIs_production_min_5 = reactIs_production_min.ContextProvider;
|
|
35
|
+
var reactIs_production_min_6 = reactIs_production_min.Element;
|
|
36
|
+
var reactIs_production_min_7 = reactIs_production_min.ForwardRef;
|
|
37
|
+
var reactIs_production_min_8 = reactIs_production_min.Fragment;
|
|
38
|
+
var reactIs_production_min_9 = reactIs_production_min.Lazy;
|
|
39
|
+
var reactIs_production_min_10 = reactIs_production_min.Memo;
|
|
40
|
+
var reactIs_production_min_11 = reactIs_production_min.Portal;
|
|
41
|
+
var reactIs_production_min_12 = reactIs_production_min.Profiler;
|
|
42
|
+
var reactIs_production_min_13 = reactIs_production_min.StrictMode;
|
|
43
|
+
var reactIs_production_min_14 = reactIs_production_min.Suspense;
|
|
44
|
+
var reactIs_production_min_15 = reactIs_production_min.isValidElementType;
|
|
45
|
+
var reactIs_production_min_16 = reactIs_production_min.isAsyncMode;
|
|
46
|
+
var reactIs_production_min_17 = reactIs_production_min.isConcurrentMode;
|
|
47
|
+
var reactIs_production_min_18 = reactIs_production_min.isContextConsumer;
|
|
48
|
+
var reactIs_production_min_19 = reactIs_production_min.isContextProvider;
|
|
49
|
+
var reactIs_production_min_20 = reactIs_production_min.isElement;
|
|
50
|
+
var reactIs_production_min_21 = reactIs_production_min.isForwardRef;
|
|
51
|
+
var reactIs_production_min_22 = reactIs_production_min.isFragment;
|
|
52
|
+
var reactIs_production_min_23 = reactIs_production_min.isLazy;
|
|
53
|
+
var reactIs_production_min_24 = reactIs_production_min.isMemo;
|
|
54
|
+
var reactIs_production_min_25 = reactIs_production_min.isPortal;
|
|
55
|
+
var reactIs_production_min_26 = reactIs_production_min.isProfiler;
|
|
56
|
+
var reactIs_production_min_27 = reactIs_production_min.isStrictMode;
|
|
57
|
+
var reactIs_production_min_28 = reactIs_production_min.isSuspense;
|
|
61
58
|
|
|
62
59
|
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
63
60
|
|
|
@@ -66,6 +63,8 @@ var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
|
66
63
|
if (process.env.NODE_ENV !== "production") {
|
|
67
64
|
(function() {
|
|
68
65
|
|
|
66
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
67
|
+
|
|
69
68
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
70
69
|
// nor polyfill, then a plain number is used for performance.
|
|
71
70
|
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
@@ -85,16 +84,70 @@ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
|
85
84
|
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
86
85
|
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
87
86
|
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
88
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
89
87
|
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
90
88
|
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
91
89
|
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
92
90
|
|
|
93
91
|
function isValidElementType(type) {
|
|
94
92
|
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
95
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE
|
|
93
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);
|
|
96
94
|
}
|
|
97
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Forked from fbjs/warning:
|
|
98
|
+
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
|
|
99
|
+
*
|
|
100
|
+
* Only change is we use console.warn instead of console.error,
|
|
101
|
+
* and do nothing when 'console' is not supported.
|
|
102
|
+
* This really simplifies the code.
|
|
103
|
+
* ---
|
|
104
|
+
* Similar to invariant but only logs a warning if the condition is not met.
|
|
105
|
+
* This can be used to log issues in development environments in critical
|
|
106
|
+
* paths. Removing the logging code for production environments will keep the
|
|
107
|
+
* same logic and follow the same code paths.
|
|
108
|
+
*/
|
|
109
|
+
var lowPriorityWarningWithoutStack = function () {};
|
|
110
|
+
|
|
111
|
+
{
|
|
112
|
+
var printWarning = function (format) {
|
|
113
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
114
|
+
args[_key - 1] = arguments[_key];
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
var argIndex = 0;
|
|
118
|
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
119
|
+
return args[argIndex++];
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
if (typeof console !== 'undefined') {
|
|
123
|
+
console.warn(message);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
try {
|
|
127
|
+
// --- Welcome to debugging React ---
|
|
128
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
129
|
+
// to find the callsite that caused this warning to fire.
|
|
130
|
+
throw new Error(message);
|
|
131
|
+
} catch (x) {}
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
lowPriorityWarningWithoutStack = function (condition, format) {
|
|
135
|
+
if (format === undefined) {
|
|
136
|
+
throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (!condition) {
|
|
140
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
141
|
+
args[_key2 - 2] = arguments[_key2];
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
printWarning.apply(void 0, [format].concat(args));
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
|
|
150
|
+
|
|
98
151
|
function typeOf(object) {
|
|
99
152
|
if (typeof object === 'object' && object !== null) {
|
|
100
153
|
var $$typeof = object.$$typeof;
|
|
@@ -155,9 +208,8 @@ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecat
|
|
|
155
208
|
function isAsyncMode(object) {
|
|
156
209
|
{
|
|
157
210
|
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
158
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
159
|
-
|
|
160
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
211
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
212
|
+
lowPriorityWarningWithoutStack$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
161
213
|
}
|
|
162
214
|
}
|
|
163
215
|
|
|
@@ -200,6 +252,7 @@ function isSuspense(object) {
|
|
|
200
252
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
201
253
|
}
|
|
202
254
|
|
|
255
|
+
exports.typeOf = typeOf;
|
|
203
256
|
exports.AsyncMode = AsyncMode;
|
|
204
257
|
exports.ConcurrentMode = ConcurrentMode;
|
|
205
258
|
exports.ContextConsumer = ContextConsumer;
|
|
@@ -213,6 +266,7 @@ exports.Portal = Portal;
|
|
|
213
266
|
exports.Profiler = Profiler;
|
|
214
267
|
exports.StrictMode = StrictMode;
|
|
215
268
|
exports.Suspense = Suspense;
|
|
269
|
+
exports.isValidElementType = isValidElementType;
|
|
216
270
|
exports.isAsyncMode = isAsyncMode;
|
|
217
271
|
exports.isConcurrentMode = isConcurrentMode;
|
|
218
272
|
exports.isContextConsumer = isContextConsumer;
|
|
@@ -226,39 +280,39 @@ exports.isPortal = isPortal;
|
|
|
226
280
|
exports.isProfiler = isProfiler;
|
|
227
281
|
exports.isStrictMode = isStrictMode;
|
|
228
282
|
exports.isSuspense = isSuspense;
|
|
229
|
-
exports.isValidElementType = isValidElementType;
|
|
230
|
-
exports.typeOf = typeOf;
|
|
231
283
|
})();
|
|
232
284
|
}
|
|
233
285
|
});
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
var
|
|
237
|
-
var
|
|
238
|
-
var
|
|
239
|
-
var
|
|
240
|
-
var
|
|
241
|
-
var
|
|
242
|
-
var
|
|
243
|
-
var
|
|
244
|
-
var
|
|
245
|
-
var
|
|
246
|
-
var
|
|
247
|
-
var
|
|
248
|
-
var
|
|
249
|
-
var
|
|
250
|
-
var
|
|
251
|
-
var
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
var
|
|
255
|
-
var
|
|
256
|
-
var
|
|
257
|
-
var
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
var
|
|
261
|
-
var
|
|
286
|
+
|
|
287
|
+
unwrapExports(reactIs_development);
|
|
288
|
+
var reactIs_development_1 = reactIs_development.typeOf;
|
|
289
|
+
var reactIs_development_2 = reactIs_development.AsyncMode;
|
|
290
|
+
var reactIs_development_3 = reactIs_development.ConcurrentMode;
|
|
291
|
+
var reactIs_development_4 = reactIs_development.ContextConsumer;
|
|
292
|
+
var reactIs_development_5 = reactIs_development.ContextProvider;
|
|
293
|
+
var reactIs_development_6 = reactIs_development.Element;
|
|
294
|
+
var reactIs_development_7 = reactIs_development.ForwardRef;
|
|
295
|
+
var reactIs_development_8 = reactIs_development.Fragment;
|
|
296
|
+
var reactIs_development_9 = reactIs_development.Lazy;
|
|
297
|
+
var reactIs_development_10 = reactIs_development.Memo;
|
|
298
|
+
var reactIs_development_11 = reactIs_development.Portal;
|
|
299
|
+
var reactIs_development_12 = reactIs_development.Profiler;
|
|
300
|
+
var reactIs_development_13 = reactIs_development.StrictMode;
|
|
301
|
+
var reactIs_development_14 = reactIs_development.Suspense;
|
|
302
|
+
var reactIs_development_15 = reactIs_development.isValidElementType;
|
|
303
|
+
var reactIs_development_16 = reactIs_development.isAsyncMode;
|
|
304
|
+
var reactIs_development_17 = reactIs_development.isConcurrentMode;
|
|
305
|
+
var reactIs_development_18 = reactIs_development.isContextConsumer;
|
|
306
|
+
var reactIs_development_19 = reactIs_development.isContextProvider;
|
|
307
|
+
var reactIs_development_20 = reactIs_development.isElement;
|
|
308
|
+
var reactIs_development_21 = reactIs_development.isForwardRef;
|
|
309
|
+
var reactIs_development_22 = reactIs_development.isFragment;
|
|
310
|
+
var reactIs_development_23 = reactIs_development.isLazy;
|
|
311
|
+
var reactIs_development_24 = reactIs_development.isMemo;
|
|
312
|
+
var reactIs_development_25 = reactIs_development.isPortal;
|
|
313
|
+
var reactIs_development_26 = reactIs_development.isProfiler;
|
|
314
|
+
var reactIs_development_27 = reactIs_development.isStrictMode;
|
|
315
|
+
var reactIs_development_28 = reactIs_development.isSuspense;
|
|
262
316
|
|
|
263
317
|
var reactIs = createCommonjsModule(function (module) {
|
|
264
318
|
|
|
@@ -369,14 +423,12 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
369
423
|
|
|
370
424
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
371
425
|
|
|
372
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
373
|
-
|
|
374
426
|
var printWarning = function() {};
|
|
375
427
|
|
|
376
428
|
if (process.env.NODE_ENV !== 'production') {
|
|
377
429
|
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
378
430
|
var loggedTypeFailures = {};
|
|
379
|
-
var has
|
|
431
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
380
432
|
|
|
381
433
|
printWarning = function(text) {
|
|
382
434
|
var message = 'Warning: ' + text;
|
|
@@ -388,7 +440,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
388
440
|
// This error was thrown as a convenience so that you can use this stack
|
|
389
441
|
// to find the callsite that caused this warning to fire.
|
|
390
442
|
throw new Error(message);
|
|
391
|
-
} catch (x) {
|
|
443
|
+
} catch (x) {}
|
|
392
444
|
};
|
|
393
445
|
}
|
|
394
446
|
|
|
@@ -406,7 +458,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
406
458
|
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
407
459
|
if (process.env.NODE_ENV !== 'production') {
|
|
408
460
|
for (var typeSpecName in typeSpecs) {
|
|
409
|
-
if (has
|
|
461
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
410
462
|
var error;
|
|
411
463
|
// Prop type validation may throw. In case they do, we don't want to
|
|
412
464
|
// fail the render phase where it didn't fail before. So we log it.
|
|
@@ -417,8 +469,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
417
469
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
418
470
|
var err = Error(
|
|
419
471
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
420
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
421
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
472
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
422
473
|
);
|
|
423
474
|
err.name = 'Invariant Violation';
|
|
424
475
|
throw err;
|
|
@@ -466,6 +517,7 @@ checkPropTypes.resetWarningCache = function() {
|
|
|
466
517
|
|
|
467
518
|
var checkPropTypes_1 = checkPropTypes;
|
|
468
519
|
|
|
520
|
+
var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
469
521
|
var printWarning$1 = function() {};
|
|
470
522
|
|
|
471
523
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -566,7 +618,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
566
618
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
567
619
|
var ReactPropTypes = {
|
|
568
620
|
array: createPrimitiveTypeChecker('array'),
|
|
569
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
570
621
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
571
622
|
func: createPrimitiveTypeChecker('function'),
|
|
572
623
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -612,9 +663,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
612
663
|
* is prohibitively expensive if they are created too often, such as what
|
|
613
664
|
* happens in oneOfType() for any type before the one that matched.
|
|
614
665
|
*/
|
|
615
|
-
function PropTypeError(message
|
|
666
|
+
function PropTypeError(message) {
|
|
616
667
|
this.message = message;
|
|
617
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
618
668
|
this.stack = '';
|
|
619
669
|
}
|
|
620
670
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -649,7 +699,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
649
699
|
) {
|
|
650
700
|
printWarning$1(
|
|
651
701
|
'You are manually calling a React.PropTypes validation ' +
|
|
652
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
702
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
653
703
|
'and will throw in the standalone `prop-types` package. ' +
|
|
654
704
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
655
705
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -688,10 +738,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
688
738
|
// 'of type `object`'.
|
|
689
739
|
var preciseType = getPreciseType(propValue);
|
|
690
740
|
|
|
691
|
-
return new PropTypeError(
|
|
692
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
693
|
-
{expectedType: expectedType}
|
|
694
|
-
);
|
|
741
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
|
|
695
742
|
}
|
|
696
743
|
return null;
|
|
697
744
|
}
|
|
@@ -805,7 +852,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
805
852
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
806
853
|
}
|
|
807
854
|
for (var key in propValue) {
|
|
808
|
-
if (has(propValue, key)) {
|
|
855
|
+
if (has$1(propValue, key)) {
|
|
809
856
|
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
810
857
|
if (error instanceof Error) {
|
|
811
858
|
return error;
|
|
@@ -835,19 +882,14 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
835
882
|
}
|
|
836
883
|
|
|
837
884
|
function validate(props, propName, componentName, location, propFullName) {
|
|
838
|
-
var expectedTypes = [];
|
|
839
885
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
840
886
|
var checker = arrayOfTypeCheckers[i];
|
|
841
|
-
|
|
842
|
-
if (checkerResult == null) {
|
|
887
|
+
if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
|
|
843
888
|
return null;
|
|
844
889
|
}
|
|
845
|
-
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
846
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
847
|
-
}
|
|
848
890
|
}
|
|
849
|
-
|
|
850
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
891
|
+
|
|
892
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
|
|
851
893
|
}
|
|
852
894
|
return createChainableTypeChecker(validate);
|
|
853
895
|
}
|
|
@@ -862,13 +904,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
862
904
|
return createChainableTypeChecker(validate);
|
|
863
905
|
}
|
|
864
906
|
|
|
865
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
866
|
-
return new PropTypeError(
|
|
867
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
868
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
869
|
-
);
|
|
870
|
-
}
|
|
871
|
-
|
|
872
907
|
function createShapeTypeChecker(shapeTypes) {
|
|
873
908
|
function validate(props, propName, componentName, location, propFullName) {
|
|
874
909
|
var propValue = props[propName];
|
|
@@ -878,8 +913,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
878
913
|
}
|
|
879
914
|
for (var key in shapeTypes) {
|
|
880
915
|
var checker = shapeTypes[key];
|
|
881
|
-
if (
|
|
882
|
-
|
|
916
|
+
if (!checker) {
|
|
917
|
+
continue;
|
|
883
918
|
}
|
|
884
919
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
885
920
|
if (error) {
|
|
@@ -898,18 +933,16 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
898
933
|
if (propType !== 'object') {
|
|
899
934
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
900
935
|
}
|
|
901
|
-
// We need to check all keys in case some are required but missing from
|
|
936
|
+
// We need to check all keys in case some are required but missing from
|
|
937
|
+
// props.
|
|
902
938
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
903
939
|
for (var key in allKeys) {
|
|
904
940
|
var checker = shapeTypes[key];
|
|
905
|
-
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
906
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
907
|
-
}
|
|
908
941
|
if (!checker) {
|
|
909
942
|
return new PropTypeError(
|
|
910
943
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
911
944
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
912
|
-
'\nValid keys: ' +
|
|
945
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
913
946
|
);
|
|
914
947
|
}
|
|
915
948
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
@@ -1085,7 +1118,6 @@ var factoryWithThrowingShims = function() {
|
|
|
1085
1118
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1086
1119
|
var ReactPropTypes = {
|
|
1087
1120
|
array: shim,
|
|
1088
|
-
bigint: shim,
|
|
1089
1121
|
bool: shim,
|
|
1090
1122
|
func: shim,
|
|
1091
1123
|
number: shim,
|
|
@@ -1136,9 +1168,9 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1136
1168
|
}
|
|
1137
1169
|
});
|
|
1138
1170
|
|
|
1139
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly
|
|
1171
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
1140
1172
|
|
|
1141
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source =
|
|
1173
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
1142
1174
|
var STORAGE_PREFIX = 'medipass-web-sdk';
|
|
1143
1175
|
var PERSIST_KEYS = ['_persist', 'device', 'savedEmail', 'rememberEmail', 'region'];
|
|
1144
1176
|
var bpfrpt_proptype_StoreType = propTypes.oneOf(["default", "session"]);
|
package/lib/utils/application.js
CHANGED
|
@@ -18,8 +18,8 @@ require('./param-error.js');
|
|
|
18
18
|
require('./does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('./get-axios-error.js');
|
|
21
|
-
require('../storage-
|
|
22
|
-
var request = require('../staff-
|
|
21
|
+
require('../storage-4b403caa.js');
|
|
22
|
+
var request = require('../staff-ad88104f.js');
|
|
23
23
|
require('lodash/omitBy');
|
|
24
24
|
require('lodash/isEmpty');
|
|
25
25
|
require('store/src/store-engine');
|
|
@@ -40,7 +40,7 @@ require('./base-urls/core.js');
|
|
|
40
40
|
require('./base-urls/risk.js');
|
|
41
41
|
require('./base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-7b23080d.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
package/lib/utils/professions.js
CHANGED
|
@@ -18,8 +18,8 @@ require('./param-error.js');
|
|
|
18
18
|
require('./does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('./get-axios-error.js');
|
|
21
|
-
require('../storage-
|
|
22
|
-
var request = require('../staff-
|
|
21
|
+
require('../storage-4b403caa.js');
|
|
22
|
+
var request = require('../staff-ad88104f.js');
|
|
23
23
|
require('lodash/omitBy');
|
|
24
24
|
require('lodash/isEmpty');
|
|
25
25
|
require('store/src/store-engine');
|
|
@@ -40,7 +40,7 @@ require('./base-urls/core.js');
|
|
|
40
40
|
require('./base-urls/risk.js');
|
|
41
41
|
require('./base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-7b23080d.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
package/lib/utils/regions.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('@babel/runtime/helpers/defineProperty');
|
|
6
|
-
require('../storage-
|
|
6
|
+
require('../storage-4b403caa.js');
|
|
7
7
|
require('store/src/store-engine');
|
|
8
8
|
require('store/storages/localStorage');
|
|
9
9
|
require('store/storages/sessionStorage');
|
|
10
10
|
require('masked');
|
|
11
11
|
require('@medipass/utils/sensitive-keys');
|
|
12
12
|
require('js-cookie');
|
|
13
|
-
var regions = require('../regions-
|
|
13
|
+
var regions = require('../regions-7b23080d.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
package/lib/utils/request.js
CHANGED
|
@@ -18,8 +18,8 @@ require('./param-error.js');
|
|
|
18
18
|
require('./does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('./get-axios-error.js');
|
|
21
|
-
require('../storage-
|
|
22
|
-
var request = require('../staff-
|
|
21
|
+
require('../storage-4b403caa.js');
|
|
22
|
+
var request = require('../staff-ad88104f.js');
|
|
23
23
|
require('lodash/omitBy');
|
|
24
24
|
require('lodash/isEmpty');
|
|
25
25
|
require('store/src/store-engine');
|
|
@@ -40,7 +40,7 @@ require('./base-urls/core.js');
|
|
|
40
40
|
require('./base-urls/risk.js');
|
|
41
41
|
require('./base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-7b23080d.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
package/lib/utils/staff.js
CHANGED
|
@@ -18,8 +18,8 @@ require('./param-error.js');
|
|
|
18
18
|
require('./does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('./get-axios-error.js');
|
|
21
|
-
require('../storage-
|
|
22
|
-
var request = require('../staff-
|
|
21
|
+
require('../storage-4b403caa.js');
|
|
22
|
+
var request = require('../staff-ad88104f.js');
|
|
23
23
|
require('lodash/omitBy');
|
|
24
24
|
require('lodash/isEmpty');
|
|
25
25
|
require('store/src/store-engine');
|
|
@@ -40,7 +40,7 @@ require('./base-urls/core.js');
|
|
|
40
40
|
require('./base-urls/risk.js');
|
|
41
41
|
require('./base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-7b23080d.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "11.27.0",
|
|
3
|
+
"version": "11.27.1-fix-eclipse-endpoints.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@babel/plugin-transform-runtime": "7.8.3",
|
|
46
|
-
"@medipass/utils": "^11.61.0",
|
|
46
|
+
"@medipass/utils": "^11.61.1-fix-eclipse-endpoints.0",
|
|
47
47
|
"axios-mock-adapter": "1.19.0",
|
|
48
48
|
"flow-copy-source": "2.0.2",
|
|
49
49
|
"query-string": "7.0.0",
|
|
50
50
|
"rimraf": "^2.6.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "be4b52135e04cc519cb2148672563f831456ec73"
|
|
53
53
|
}
|