@unvired/react-native-unvired-sdk 0.0.32 → 0.0.33
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/BuildNo.txt +1 -1
- package/dist/main.js +12 -0
- package/package.json +1 -1
package/BuildNo.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
R-0.000.
|
|
1
|
+
R-0.000.0033
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
// ============================================
|
|
2
|
+
// Polyfills
|
|
3
|
+
// ============================================
|
|
4
|
+
const _global = typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : {};
|
|
5
|
+
if (typeof _global.window !== 'undefined') {
|
|
6
|
+
if (typeof _global.window.addEventListener === 'undefined') {
|
|
7
|
+
_global.window.addEventListener = () => { };
|
|
8
|
+
}
|
|
9
|
+
if (typeof _global.window.removeEventListener === 'undefined') {
|
|
10
|
+
_global.window.removeEventListener = () => { };
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
// ============================================
|
|
2
14
|
// Logger Module
|
|
3
15
|
// ============================================
|
|
4
16
|
export { Logger, logger } from './logger';
|
package/package.json
CHANGED