@dynatrace/react-native-plugin 2.257.1 → 2.259.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/README.md +9 -5
- package/android/build.gradle +1 -1
- package/files/plugin.gradle +1 -1
- package/index.js +1 -15
- package/ios/lib/Dynatrace.xcframework/Info.plist +8 -8
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +4 -4
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +4 -4
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +11 -11
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +4 -4
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +4 -4
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
- package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +11 -11
- package/jsx-runtime.js +4 -0
- package/lib/jsx-runtime.js +19 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ If you want to start using this plugin and are not a Dynatrace customer yet, hea
|
|
|
28
28
|
## Agent Versions
|
|
29
29
|
This agent versions are configured in this plugin:
|
|
30
30
|
|
|
31
|
-
* iOS Agent: 8.
|
|
32
|
-
* Android Agent: 8.
|
|
31
|
+
* iOS Agent: 8.259.1.1009
|
|
32
|
+
* Android Agent: 8.259.1.1008
|
|
33
33
|
|
|
34
34
|
## Quick Setup
|
|
35
35
|
|
|
@@ -903,7 +903,7 @@ module.exports = {
|
|
|
903
903
|
"@babel/plugin-transform-react-jsx",
|
|
904
904
|
{
|
|
905
905
|
runtime: "automatic",
|
|
906
|
-
importSource: "@dynatrace/react-native-plugin
|
|
906
|
+
importSource: "@dynatrace/react-native-plugin"
|
|
907
907
|
}
|
|
908
908
|
]
|
|
909
909
|
]
|
|
@@ -918,7 +918,7 @@ module.exports = {
|
|
|
918
918
|
['babel-preset-expo',
|
|
919
919
|
{
|
|
920
920
|
jsxRuntime: 'automatic',
|
|
921
|
-
jsxImportSource: '@dynatrace/react-native-plugin
|
|
921
|
+
jsxImportSource: '@dynatrace/react-native-plugin',
|
|
922
922
|
},
|
|
923
923
|
],
|
|
924
924
|
],
|
|
@@ -937,7 +937,7 @@ module.exports = {
|
|
|
937
937
|
'@babel/plugin-transform-react-jsx',
|
|
938
938
|
{
|
|
939
939
|
runtime: 'automatic',
|
|
940
|
-
importSource: "@dynatrace/react-native-plugin
|
|
940
|
+
importSource: "@dynatrace/react-native-plugin"
|
|
941
941
|
},
|
|
942
942
|
],
|
|
943
943
|
],
|
|
@@ -1097,6 +1097,10 @@ If you are struggling with a problem, submit a support ticket to Dynatrace (supp
|
|
|
1097
1097
|
<br/><br/>
|
|
1098
1098
|
## Changelog
|
|
1099
1099
|
|
|
1100
|
+
2.259.1
|
|
1101
|
+
* Updated Android (8.259.1.1008) & iOS Agent (8.259.1.1009)
|
|
1102
|
+
* Fixed issue with jsx-runtime and changed [importSource](#react-automatic-runtime)
|
|
1103
|
+
|
|
1100
1104
|
2.257.1
|
|
1101
1105
|
* Added API for creating a [manual custom action](#create-custom-actions)
|
|
1102
1106
|
* Removed option to disable certificate validation
|
package/android/build.gradle
CHANGED
|
@@ -36,7 +36,7 @@ repositories {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
dependencies {
|
|
39
|
-
implementation 'com.dynatrace.agent:agent-android:8.
|
|
39
|
+
implementation 'com.dynatrace.agent:agent-android:8.259.1.1008'
|
|
40
40
|
implementation "com.facebook.react:react-native:${safeExtGet('reactNative', '+')}"
|
|
41
41
|
}
|
|
42
42
|
|
package/files/plugin.gradle
CHANGED
package/index.js
CHANGED
|
@@ -5,18 +5,4 @@ export { Platform } from './lib/instrumentor/base/model/Platform';
|
|
|
5
5
|
export { LogLevel } from './lib/instrumentor/base/model/LogLevel';
|
|
6
6
|
export { ApplicationHandler } from './lib/instrumentor/base/Application';
|
|
7
7
|
export { UserPrivacyOptions } from './lib/instrumentor/base/UserPrivacyOptions';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
8
|
+
export { createElement } from './jsx-runtime';
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
</dict>
|
|
19
19
|
<dict>
|
|
20
20
|
<key>LibraryIdentifier</key>
|
|
21
|
-
<string>tvos-
|
|
21
|
+
<string>tvos-arm64_x86_64-simulator</string>
|
|
22
22
|
<key>LibraryPath</key>
|
|
23
23
|
<string>Dynatrace.framework</string>
|
|
24
24
|
<key>SupportedArchitectures</key>
|
|
25
25
|
<array>
|
|
26
26
|
<string>arm64</string>
|
|
27
|
+
<string>x86_64</string>
|
|
27
28
|
</array>
|
|
28
29
|
<key>SupportedPlatform</key>
|
|
29
30
|
<string>tvos</string>
|
|
31
|
+
<key>SupportedPlatformVariant</key>
|
|
32
|
+
<string>simulator</string>
|
|
30
33
|
</dict>
|
|
31
34
|
<dict>
|
|
32
35
|
<key>LibraryIdentifier</key>
|
|
33
|
-
<string>
|
|
36
|
+
<string>tvos-arm64</string>
|
|
34
37
|
<key>LibraryPath</key>
|
|
35
38
|
<string>Dynatrace.framework</string>
|
|
36
39
|
<key>SupportedArchitectures</key>
|
|
37
40
|
<array>
|
|
38
41
|
<string>arm64</string>
|
|
39
|
-
<string>x86_64</string>
|
|
40
42
|
</array>
|
|
41
43
|
<key>SupportedPlatform</key>
|
|
42
|
-
<string>
|
|
43
|
-
<key>SupportedPlatformVariant</key>
|
|
44
|
-
<string>simulator</string>
|
|
44
|
+
<string>tvos</string>
|
|
45
45
|
</dict>
|
|
46
46
|
<dict>
|
|
47
47
|
<key>LibraryIdentifier</key>
|
|
48
|
-
<string>
|
|
48
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
49
49
|
<key>LibraryPath</key>
|
|
50
50
|
<string>Dynatrace.framework</string>
|
|
51
51
|
<key>SupportedArchitectures</key>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
<string>x86_64</string>
|
|
55
55
|
</array>
|
|
56
56
|
<key>SupportedPlatform</key>
|
|
57
|
-
<string>
|
|
57
|
+
<string>ios</string>
|
|
58
58
|
<key>SupportedPlatformVariant</key>
|
|
59
59
|
<string>simulator</string>
|
|
60
60
|
</dict>
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Dynatrace.h
|
|
2
|
-
// Version: 8.
|
|
2
|
+
// Version: 8.259.1.1009
|
|
3
3
|
//
|
|
4
4
|
// These materials contain confidential information and
|
|
5
5
|
// trade secrets of Dynatrace Corporation. You shall
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// trademarks of Dynatrace Corporation. All other company
|
|
14
14
|
// or product names are trademarks of their respective owners.
|
|
15
15
|
//
|
|
16
|
-
// Copyright 2011-
|
|
16
|
+
// Copyright 2011-2022 Dynatrace LLC
|
|
17
17
|
|
|
18
18
|
#import <Foundation/Foundation.h>
|
|
19
19
|
#import <CoreLocation/CoreLocation.h>
|
|
@@ -775,9 +775,9 @@ When the user optin feature is not used:
|
|
|
775
775
|
# pragma mark Logging
|
|
776
776
|
/*!
|
|
777
777
|
@const kDTXLogLevel
|
|
778
|
-
If this key is present with a valid value (ALL,
|
|
778
|
+
If this key is present with a valid value (ALL, INFO, WARNING, SEVERE, OFF),
|
|
779
779
|
the OneAgent logging level will be set to this value. If a key isn't present or doesn't have a valid value,
|
|
780
|
-
logging will default to
|
|
780
|
+
logging will default to OFF.
|
|
781
781
|
*/
|
|
782
782
|
extern NSString *_Nonnull const kDTXLogLevel;
|
|
783
783
|
|
|
Binary file
|
|
Binary file
|
package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Dynatrace.h
|
|
2
|
-
// Version: 8.
|
|
2
|
+
// Version: 8.259.1.1009
|
|
3
3
|
//
|
|
4
4
|
// These materials contain confidential information and
|
|
5
5
|
// trade secrets of Dynatrace Corporation. You shall
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// trademarks of Dynatrace Corporation. All other company
|
|
14
14
|
// or product names are trademarks of their respective owners.
|
|
15
15
|
//
|
|
16
|
-
// Copyright 2011-
|
|
16
|
+
// Copyright 2011-2022 Dynatrace LLC
|
|
17
17
|
|
|
18
18
|
#import <Foundation/Foundation.h>
|
|
19
19
|
#import <CoreLocation/CoreLocation.h>
|
|
@@ -775,9 +775,9 @@ When the user optin feature is not used:
|
|
|
775
775
|
# pragma mark Logging
|
|
776
776
|
/*!
|
|
777
777
|
@const kDTXLogLevel
|
|
778
|
-
If this key is present with a valid value (ALL,
|
|
778
|
+
If this key is present with a valid value (ALL, INFO, WARNING, SEVERE, OFF),
|
|
779
779
|
the OneAgent logging level will be set to this value. If a key isn't present or doesn't have a valid value,
|
|
780
|
-
logging will default to
|
|
780
|
+
logging will default to OFF.
|
|
781
781
|
*/
|
|
782
782
|
extern NSString *_Nonnull const kDTXLogLevel;
|
|
783
783
|
|
package/ios/lib/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Dynatrace.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
WvdtHg1tS2J7xOlne1BkkLIgCpQ=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/Framework.h</key>
|
|
16
16
|
<data>
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
</data>
|
|
19
19
|
<key>Info.plist</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
Vr/LuUeBy0PQxAHrYF3kNLxudCk=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
L1WJZfEEdd6rLWYaal59NJS5Ixs=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
uIrLOV/7LQKPKTDprHB66LqDdu8=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
FXOCzE+RQXuDPxhupKfgFGO4ElQ=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
bAJ5tzgrXNP4bxwH10ErHClUgFI=
|
|
70
70
|
</data>
|
|
71
71
|
<key>Modules/module.modulemap</key>
|
|
72
72
|
<data>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<dict>
|
|
87
87
|
<key>hash2</key>
|
|
88
88
|
<data>
|
|
89
|
-
|
|
89
|
+
MFFWoUGl76BQ1O8HWeF0HEL2ZiKpDlvMS0gd+f9BCzE=
|
|
90
90
|
</data>
|
|
91
91
|
</dict>
|
|
92
92
|
<key>Headers/Framework.h</key>
|
|
@@ -100,14 +100,14 @@
|
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
oPflhqBaPrPm09m0iqiS7+QkVRRSfTW0SvzmReG2RpA=
|
|
104
104
|
</data>
|
|
105
105
|
</dict>
|
|
106
106
|
<key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
107
107
|
<dict>
|
|
108
108
|
<key>hash2</key>
|
|
109
109
|
<data>
|
|
110
|
-
|
|
110
|
+
SXIq1LY/u3Tmkc97eL6dmCuLYc6BoH6IIkWVY7Kf2MY=
|
|
111
111
|
</data>
|
|
112
112
|
</dict>
|
|
113
113
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
<dict>
|
|
143
143
|
<key>hash2</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
RqqQz7RjyDIFNqK8eiN//OIb6eqW15a+aoGRbUNEnik=
|
|
146
146
|
</data>
|
|
147
147
|
</dict>
|
|
148
148
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
<dict>
|
|
178
178
|
<key>hash2</key>
|
|
179
179
|
<data>
|
|
180
|
-
|
|
180
|
+
CdNiucJKplpcnww0HasRN84bGA3SPP2VfnzrFhqRjNs=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Dynatrace.h
|
|
2
|
-
// Version: 8.
|
|
2
|
+
// Version: 8.259.1.1009
|
|
3
3
|
//
|
|
4
4
|
// These materials contain confidential information and
|
|
5
5
|
// trade secrets of Dynatrace Corporation. You shall
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// trademarks of Dynatrace Corporation. All other company
|
|
14
14
|
// or product names are trademarks of their respective owners.
|
|
15
15
|
//
|
|
16
|
-
// Copyright 2011-
|
|
16
|
+
// Copyright 2011-2022 Dynatrace LLC
|
|
17
17
|
|
|
18
18
|
#import <Foundation/Foundation.h>
|
|
19
19
|
#import <CoreLocation/CoreLocation.h>
|
|
@@ -775,9 +775,9 @@ When the user optin feature is not used:
|
|
|
775
775
|
# pragma mark Logging
|
|
776
776
|
/*!
|
|
777
777
|
@const kDTXLogLevel
|
|
778
|
-
If this key is present with a valid value (ALL,
|
|
778
|
+
If this key is present with a valid value (ALL, INFO, WARNING, SEVERE, OFF),
|
|
779
779
|
the OneAgent logging level will be set to this value. If a key isn't present or doesn't have a valid value,
|
|
780
|
-
logging will default to
|
|
780
|
+
logging will default to OFF.
|
|
781
781
|
*/
|
|
782
782
|
extern NSString *_Nonnull const kDTXLogLevel;
|
|
783
783
|
|
|
Binary file
|
|
Binary file
|
package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Dynatrace.h
|
|
2
|
-
// Version: 8.
|
|
2
|
+
// Version: 8.259.1.1009
|
|
3
3
|
//
|
|
4
4
|
// These materials contain confidential information and
|
|
5
5
|
// trade secrets of Dynatrace Corporation. You shall
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
// trademarks of Dynatrace Corporation. All other company
|
|
14
14
|
// or product names are trademarks of their respective owners.
|
|
15
15
|
//
|
|
16
|
-
// Copyright 2011-
|
|
16
|
+
// Copyright 2011-2022 Dynatrace LLC
|
|
17
17
|
|
|
18
18
|
#import <Foundation/Foundation.h>
|
|
19
19
|
#import <CoreLocation/CoreLocation.h>
|
|
@@ -775,9 +775,9 @@ When the user optin feature is not used:
|
|
|
775
775
|
# pragma mark Logging
|
|
776
776
|
/*!
|
|
777
777
|
@const kDTXLogLevel
|
|
778
|
-
If this key is present with a valid value (ALL,
|
|
778
|
+
If this key is present with a valid value (ALL, INFO, WARNING, SEVERE, OFF),
|
|
779
779
|
the OneAgent logging level will be set to this value. If a key isn't present or doesn't have a valid value,
|
|
780
|
-
logging will default to
|
|
780
|
+
logging will default to OFF.
|
|
781
781
|
*/
|
|
782
782
|
extern NSString *_Nonnull const kDTXLogLevel;
|
|
783
783
|
|
package/ios/lib/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Dynatrace.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
WvdtHg1tS2J7xOlne1BkkLIgCpQ=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/Framework.h</key>
|
|
16
16
|
<data>
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
</data>
|
|
19
19
|
<key>Info.plist</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
qp9fUz3hubba0qI7MOCGr+4iX5k=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
0IjOlmShSkILXU9QeJ/7ERG9lzA=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
WT/47/eXcCQG2BfitEc2oHke4OA=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
j8FQrJcBREE7pYKGgmflr3pfsIQ=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
GG2jIJjQA5zhkzIy096wbvMYJg0=
|
|
70
70
|
</data>
|
|
71
71
|
<key>Modules/module.modulemap</key>
|
|
72
72
|
<data>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<dict>
|
|
87
87
|
<key>hash2</key>
|
|
88
88
|
<data>
|
|
89
|
-
|
|
89
|
+
MFFWoUGl76BQ1O8HWeF0HEL2ZiKpDlvMS0gd+f9BCzE=
|
|
90
90
|
</data>
|
|
91
91
|
</dict>
|
|
92
92
|
<key>Headers/Framework.h</key>
|
|
@@ -100,14 +100,14 @@
|
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
7x/SR7jA5ykuf1f4K3AAEcZAnDyVMmMthsMFJlx8Jt8=
|
|
104
104
|
</data>
|
|
105
105
|
</dict>
|
|
106
106
|
<key>Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo</key>
|
|
107
107
|
<dict>
|
|
108
108
|
<key>hash2</key>
|
|
109
109
|
<data>
|
|
110
|
-
|
|
110
|
+
7b4sg36gagRVa9Ualg1BwDxWq2UEVScGbj2WjKK/3bE=
|
|
111
111
|
</data>
|
|
112
112
|
</dict>
|
|
113
113
|
<key>Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.abi.json</key>
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
<dict>
|
|
143
143
|
<key>hash2</key>
|
|
144
144
|
<data>
|
|
145
|
-
|
|
145
|
+
vWhnYNSIWwcjAgxmbpPAgYUbEFwwcDOZcB4pRERSQYQ=
|
|
146
146
|
</data>
|
|
147
147
|
</dict>
|
|
148
148
|
<key>Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.abi.json</key>
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
<dict>
|
|
178
178
|
<key>hash2</key>
|
|
179
179
|
<data>
|
|
180
|
-
|
|
180
|
+
S2EJa2aJU6hvXaLuMuWEnON1s72p2QXso8LX5R61dQ8=
|
|
181
181
|
</data>
|
|
182
182
|
</dict>
|
|
183
183
|
<key>Modules/module.modulemap</key>
|
package/jsx-runtime.js
ADDED
package/lib/jsx-runtime.js
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createElement = void 0;
|
|
3
4
|
const ElementHelper_1 = require("./instrumentor/base/ElementHelper");
|
|
4
5
|
const Types_1 = require("./instrumentor/model/Types");
|
|
5
6
|
const Component_1 = require("./react/Component");
|
|
6
7
|
const _jsxRuntime = require('react/jsx-runtime.js');
|
|
8
|
+
const _createElement = require('react').createElement;
|
|
9
|
+
const createElement = (type, props, ...children) => {
|
|
10
|
+
if (type != null && type._dtInfo != null && !(0, ElementHelper_1.isDtActionIgnore)(props)) {
|
|
11
|
+
if (type._dtInfo.type === Types_1.Types.FunctionalComponent) {
|
|
12
|
+
return _createElement(Component_1.DynatraceFnWrapper, {}, _createElement(type, props, ...children));
|
|
13
|
+
}
|
|
14
|
+
else if (type._dtInfo.type === Types_1.Types.ClassComponent &&
|
|
15
|
+
type.prototype !== undefined && type.prototype.isReactComponent !== undefined) {
|
|
16
|
+
return _createElement(Component_1.DynatraceClassWrapper, {}, _createElement(type, props, ...children));
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
(0, ElementHelper_1.modifyElement)(type, props, ...children);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return _createElement(type, props, ...children);
|
|
23
|
+
};
|
|
24
|
+
exports.createElement = createElement;
|
|
7
25
|
const jsxProd = (type, config, maybeKey) => jsxHelper(_jsxRuntime.jsx, type, config, [maybeKey]);
|
|
8
26
|
const jsxDev = (type, config, maybeKey, source, self) => jsxHelper(_jsxRuntime.jsx, type, config, [maybeKey, source, self]);
|
|
9
27
|
const jsxsDev = (type, config, maybeKey, source, self) => jsxHelper(_jsxRuntime.jsxs, type, config, [maybeKey, source, self]);
|
|
@@ -31,4 +49,4 @@ const jsxHelper = (jsxFn, type, config, args) => {
|
|
|
31
49
|
}
|
|
32
50
|
return jsxFn(type, config, ...args);
|
|
33
51
|
};
|
|
34
|
-
module.exports = Object.assign(Object.assign({}, _jsxRuntime), { jsx: __DEV__ ? jsxDev : jsxProd, jsxs: __DEV__ ? jsxsDev : jsxProd });
|
|
52
|
+
module.exports = Object.assign(Object.assign({}, _jsxRuntime), { jsx: __DEV__ ? jsxDev : jsxProd, jsxs: __DEV__ ? jsxsDev : jsxProd, createElement: exports.createElement });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace/react-native-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.259.1",
|
|
4
4
|
"description": "This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "typings/react-native-dynatrace.d.ts",
|
|
@@ -162,6 +162,7 @@
|
|
|
162
162
|
"scripts/util/*",
|
|
163
163
|
"util/*.js",
|
|
164
164
|
"typings/*",
|
|
165
|
-
"package.json"
|
|
165
|
+
"package.json",
|
|
166
|
+
"jsx-runtime.js"
|
|
166
167
|
]
|
|
167
168
|
}
|