@datadog/mobile-react-native-code-push 1.3.0 → 1.3.1
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/typescript/core/src/rum/eventMappers/resourceEventMapper.d.ts +0 -1
- package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts +1 -0
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/domain/interfaces/RumResource.d.ts +0 -1
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/implementation/XHRProxy.d.ts +0 -1
- package/lib/typescript/core/src/rum/instrumentation/resourceTracking/implementation/responseSize.d.ts +0 -1
- package/lib/typescript/core/src/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/__tests__/index.test.tsx +3 -2
|
@@ -7,6 +7,7 @@ export declare class DdRumUserInteractionTracking {
|
|
|
7
7
|
private static eventsInterceptor;
|
|
8
8
|
private static originalCreateElement;
|
|
9
9
|
private static originalMemo;
|
|
10
|
+
private static originalJsx;
|
|
10
11
|
private static patchCreateElementFunction;
|
|
11
12
|
/**
|
|
12
13
|
* Starts tracking user interactions and sends a RUM Action event every time a new interaction was detected.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.3.
|
|
1
|
+
export declare const version = "1.3.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/mobile-react-native-code-push",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A client-side React Native module to interact with Appcenter Codepush and Datadog",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datadog",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prepare": "rm -rf lib && yarn bob build"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@datadog/mobile-react-native": "^1.3.
|
|
41
|
+
"@datadog/mobile-react-native": "^1.3.1",
|
|
42
42
|
"@testing-library/react-native": "7.0.2",
|
|
43
43
|
"react-native-code-push": "7.0.5"
|
|
44
44
|
},
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
]
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "c70d62caff28da6111c8e526de4dfbb82bb9bf2d"
|
|
76
76
|
}
|
|
@@ -20,7 +20,8 @@ jest.mock('@datadog/mobile-react-native', () => {
|
|
|
20
20
|
return actualPackage;
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
const flushPromises = () =>
|
|
23
|
+
const flushPromises = () =>
|
|
24
|
+
new Promise(jest.requireActual('timers').setImmediate);
|
|
24
25
|
|
|
25
26
|
const createCodepushPackageMock = label => ({
|
|
26
27
|
label,
|
|
@@ -101,7 +102,7 @@ describe('AppCenter Codepush integration', () => {
|
|
|
101
102
|
'env',
|
|
102
103
|
'appId',
|
|
103
104
|
true,
|
|
104
|
-
|
|
105
|
+
false,
|
|
105
106
|
true
|
|
106
107
|
);
|
|
107
108
|
render(<DatadogCodepushProvider configuration={configuration} />);
|