idmission-web-sdk 2.2.113 → 2.2.114
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/dist/index.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +14 -12
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +14 -11
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +18 -15
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Sdk2 = {}, global.React, global.
|
|
5
|
-
})(this, (function (exports, React,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('platform'), require('styled-components'), require('tus-js-client'), require('react-dom'), require('prop-types')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react', 'platform', 'styled-components', 'tus-js-client', 'react-dom', 'prop-types'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Sdk2 = {}, global.React, global.platform, global.styled, global.tusJsClient, global.ReactDOM, global.PropTypes));
|
|
5
|
+
})(this, (function (exports, React, platform, styled, tusJsClient, reactDom, require$$0) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
var n = Object.create(null);
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
25
|
-
var ReactDOM__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM);
|
|
26
25
|
|
|
27
26
|
/******************************************************************************
|
|
28
27
|
Copyright (c) Microsoft Corporation.
|
|
@@ -211,7 +210,7 @@
|
|
|
211
210
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
211
|
};
|
|
213
212
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
213
|
+
var webSdkVersion = '2.2.114';
|
|
215
214
|
|
|
216
215
|
function getPlatform() {
|
|
217
216
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -27542,19 +27541,23 @@
|
|
|
27542
27541
|
targetElement = document.createElement('div');
|
|
27543
27542
|
document.body.append(targetElement);
|
|
27544
27543
|
}
|
|
27545
|
-
|
|
27546
|
-
|
|
27547
|
-
|
|
27548
|
-
|
|
27549
|
-
|
|
27550
|
-
|
|
27551
|
-
|
|
27552
|
-
|
|
27544
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27545
|
+
var root;
|
|
27546
|
+
import('react-dom/client').then(function (_a) {
|
|
27547
|
+
var createRoot = _a.createRoot;
|
|
27548
|
+
root = createRoot(targetElement);
|
|
27549
|
+
root.render( /*#__PURE__*/React.createElement(OverlayContainer, null, component));
|
|
27550
|
+
})["catch"](function () {
|
|
27551
|
+
import('react-dom').then(function (ReactDOM) {
|
|
27552
|
+
// @ts-expect-error - createRoot is not defined in React 18
|
|
27553
|
+
ReactDOM.render( /*#__PURE__*/React.createElement(OverlayContainer, null, component)); // eslint-disable-line react/no-deprecated
|
|
27554
|
+
});
|
|
27555
|
+
});
|
|
27553
27556
|
if ('remove' in targetElement) {
|
|
27554
27557
|
var originalRemove_1 = targetElement.remove;
|
|
27555
27558
|
targetElement.remove = function () {
|
|
27556
27559
|
try {
|
|
27557
|
-
root.unmount();
|
|
27560
|
+
root === null || root === void 0 ? void 0 : root.unmount();
|
|
27558
27561
|
originalRemove_1();
|
|
27559
27562
|
} catch (e) {
|
|
27560
27563
|
debug('failed to unmount', e);
|