@dynatrace/react-native-plugin 2.323.2 → 2.325.2

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.
Files changed (34) hide show
  1. package/README.md +15 -7
  2. package/android/build.gradle +1 -1
  3. package/files/plugin.gradle +1 -1
  4. package/index.js +18 -11
  5. package/instrumentation/jsx/CreateElement.js +10 -7
  6. package/instrumentation/model/Types.js +0 -1
  7. package/internal.js +7 -0
  8. package/lib/core/DynatraceAction.js +3 -2
  9. package/lib/core/DynatraceWebRequestTiming.js +5 -5
  10. package/lib/core/NullWebRequestTiming.js +1 -0
  11. package/lib/core/configuration/Configuration.js +2 -2
  12. package/lib/core/configuration/ConfigurationBuilder.js +3 -2
  13. package/lib/core/configuration/ManualStartupConfiguration.js +6 -3
  14. package/lib/core/interface/IWebRequestTiming.js +1 -0
  15. package/lib/core/logging/LogLevel.js +1 -10
  16. package/lib/core/logging/LogLevelUtil.js +13 -0
  17. package/lib/metro/getSourceMapInfo.js +7 -1
  18. package/lib/next/Dynatrace.js +22 -15
  19. package/lib/next/appstart/AppStartObserver.js +1 -1
  20. package/lib/next/events/EventPipeline.js +14 -6
  21. package/lib/next/events/IHttpRequestEventBuilder.js +2 -0
  22. package/lib/next/events/modifier/BaseDataEventModifier.js +6 -0
  23. package/lib/next/events/modifier/EventModifierUtil.js +21 -1
  24. package/lib/next/events/modifier/ModifyEventValidation.js +18 -5
  25. package/lib/next/events/spec/EventSpecContstants.js +1 -0
  26. package/package.json +12 -6
  27. package/public.js +22 -0
  28. package/react-augmentation.js +3 -0
  29. package/react-native-dynatrace.podspec +1 -1
  30. package/scripts/core/LineOffsetAnalyzeCall.js +3 -3
  31. package/types.d.ts +1969 -0
  32. package/instrumentation/model/TypesUtil.js +0 -21
  33. package/src/instrumentation/jsx/IDynatraceProperties.ts +0 -15
  34. package/typings/react-native-dynatrace.d.ts +0 -1849
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getNameForType = void 0;
4
- const Types_1 = require("./Types");
5
- const getNameForType = (type) => {
6
- switch (type) {
7
- case Types_1.Types.FunctionalComponent:
8
- return 'Functional Component';
9
- case Types_1.Types.ClassComponent:
10
- return 'Class Component';
11
- case Types_1.Types.Picker:
12
- return 'Picker';
13
- case Types_1.Types.RefreshControl:
14
- return 'Refresh Control';
15
- case Types_1.Types.Switch:
16
- return 'Switch';
17
- default:
18
- return 'Undefined';
19
- }
20
- };
21
- exports.getNameForType = getNameForType;
@@ -1,15 +0,0 @@
1
- /**
2
- * Interface which is containing the additional properties available for instrumentation.
3
- */
4
- export interface IDynatraceProperties {
5
- /**
6
- * This string is changing the name of the action. So it is possible to override the action naming.
7
- */
8
- dtActionName?: string;
9
-
10
- /**
11
- * If true is passed the auto instrumentation will skip the action creation. We allow both string
12
- * and boolean.
13
- */
14
- dtActionIgnore?: boolean | 'true' | 'false';
15
- }