noibu-react-native 0.2.13 → 0.2.15
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/constants.js
CHANGED
|
@@ -24,7 +24,7 @@ const CONTENT_TYPE = 'content-type';
|
|
|
24
24
|
* Gets the script id from the cookie object, returns default if cannot be found
|
|
25
25
|
*/
|
|
26
26
|
function GET_SCRIPT_ID() {
|
|
27
|
-
return "1.0.104-rn-sdk-0.2.
|
|
27
|
+
return "1.0.104-rn-sdk-0.2.15" ;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Gets the max metro recon number
|
|
@@ -3,7 +3,6 @@ import { isObject } from '../../utils.js';
|
|
|
3
3
|
import { NodeType } from '../mobile.types.js';
|
|
4
4
|
import { makeOpenKeyboardPlaceholder, makeStatusBar, makeNavigationBar } from './screen-chrome.js';
|
|
5
5
|
import { makeHTMLStyles, makeBodyStyles, makeStylesString, asStyleString, makeMinimalStyles, makeDeterminateProgressStyles, makeIndeterminateProgressStyles, makePositionStyles, makeColorStyles } from './wireframeStyle.js';
|
|
6
|
-
import { noibuLog } from '../../../utils/log.js';
|
|
7
6
|
|
|
8
7
|
const BACKGROUND = '#f3f4ef';
|
|
9
8
|
const FOREGROUND = '#35373e';
|
|
@@ -220,12 +219,7 @@ function makePlaceholderElement(wireframe, children, context) {
|
|
|
220
219
|
};
|
|
221
220
|
}
|
|
222
221
|
function dataURIOrPNG(src) {
|
|
223
|
-
// replace all new lines in src
|
|
224
222
|
src = src.replace(/\r?\n|\r/g, '');
|
|
225
|
-
// if (!src.startsWith('data:image/')) {
|
|
226
|
-
// return 'data:image/png;base64,' + src;
|
|
227
|
-
// }
|
|
228
|
-
noibuLog("this is the url: ", src);
|
|
229
223
|
return src;
|
|
230
224
|
}
|
|
231
225
|
function makeImageElement(wireframe, children, context) {
|
|
@@ -8,9 +8,9 @@ import { MetroplexMessageType, EventType } from 'noibu-metroplex-ts-bindings';
|
|
|
8
8
|
/** @module PageVisitEventHTTP */
|
|
9
9
|
/** http event manager */
|
|
10
10
|
// maximum number of HTTP data events including errors to collect per page visit
|
|
11
|
-
const MAX_HTTP_DATA_IF_ERROR_EVENT_COUNT =
|
|
11
|
+
const MAX_HTTP_DATA_IF_ERROR_EVENT_COUNT = 2800;
|
|
12
12
|
// maximum number of HTTP data events to collect per page visit
|
|
13
|
-
const MAX_HTTP_DATA_EVENT_COUNT =
|
|
13
|
+
const MAX_HTTP_DATA_EVENT_COUNT = 2500;
|
|
14
14
|
/** if no value or it's less than 0, fallback to 0 */
|
|
15
15
|
const validate = (value) => (!value || value < 0 ? 0 : value);
|
|
16
16
|
/** Saves the HTTP event to the pageVisit Queue */
|
|
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
|
|
|
23
23
|
#s.vendored_frameworks = "ios/SessionRecorder.xcframework"
|
|
24
24
|
#s.vendored_frameworks = "ios/Noibu.xcframework"
|
|
25
25
|
|
|
26
|
-
s.dependency 'NoibuSDK'
|
|
26
|
+
s.dependency 'NoibuSDK', '0.0.2'
|
|
27
27
|
s.pod_target_xcconfig = {
|
|
28
28
|
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/noibu-react-native/ios/**\""
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noibu-react-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"targetNjsVersion": "1.0.104",
|
|
5
5
|
"description": "React-Native SDK for NoibuJS to collect errors in React-Native applications",
|
|
6
6
|
"main": "dist/entry/index.js",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@tsconfig/react-native": "^3.0.2",
|
|
72
72
|
"@types/jest": "^29.5.14",
|
|
73
73
|
"@types/node": "^20.2.3",
|
|
74
|
-
"@types/react": "
|
|
74
|
+
"@types/react": "16.14.62",
|
|
75
75
|
"@types/react-test-renderer": "^18.0.0",
|
|
76
76
|
"@typescript-eslint/eslint-plugin": "^8.19.1",
|
|
77
77
|
"@typescript-eslint/parser": "^8.19.1",
|