@dynatrace/cordova-plugin 2.331.1 → 2.335.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.
Files changed (58) hide show
  1. package/README.md +154 -138
  2. package/files/iOS/Dynatrace.xcframework/Info.plist +11 -11
  3. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeDirectory +0 -0
  4. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  5. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeResources +135 -135
  6. package/files/iOS/Dynatrace.xcframework/_CodeSignature/CodeSignature +0 -0
  7. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Dynatrace +0 -0
  8. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +3 -1
  9. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Headers/Dynatrace.h +37 -1
  10. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Info.plist +0 -0
  11. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  12. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.abi.json +10 -2
  13. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -4
  14. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  15. package/files/iOS/Dynatrace.xcframework/ios-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios.swiftinterface +4 -4
  16. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  17. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +6 -2
  18. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +37 -1
  19. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  20. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  21. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  22. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.abi.json +10 -2
  23. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -4
  24. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  25. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -4
  26. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.abi.json +10 -2
  27. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -4
  28. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -4
  30. package/files/iOS/Dynatrace.xcframework/ios-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +29 -29
  31. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Dynatrace +0 -0
  32. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace-Swift.h +3 -1
  33. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Headers/Dynatrace.h +37 -1
  34. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Info.plist +0 -0
  35. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo +0 -0
  36. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.private.swiftinterface +3 -3
  37. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftdoc +0 -0
  38. package/files/iOS/Dynatrace.xcframework/tvos-arm64/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos.swiftinterface +3 -3
  39. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Dynatrace +0 -0
  40. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace-Swift.h +6 -2
  41. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Headers/Dynatrace.h +37 -1
  42. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Info.plist +0 -0
  43. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/arm64-apple-tvos-simulator.swiftsourceinfo +0 -0
  44. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/Project/x86_64-apple-tvos-simulator.swiftsourceinfo +0 -0
  45. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.private.swiftinterface +3 -3
  46. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftdoc +0 -0
  47. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/arm64-apple-tvos-simulator.swiftinterface +3 -3
  48. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.private.swiftinterface +3 -3
  49. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftdoc +0 -0
  50. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/Modules/Dynatrace.swiftmodule/x86_64-apple-tvos-simulator.swiftinterface +3 -3
  51. package/files/iOS/Dynatrace.xcframework/tvos-arm64_x86_64-simulator/Dynatrace.framework/_CodeSignature/CodeResources +25 -25
  52. package/files/plugin.gradle +1 -1
  53. package/networking/NativeNetworkInterceptorUtils.js +2 -2
  54. package/package.json +2 -2
  55. package/plugin.xml +2 -2
  56. package/scripts/helpers/FileHelper.js +4 -4
  57. package/scripts/helpers/InstallHelper.js +9 -15
  58. package/scripts/helpers/PathHelper.js +2 -14
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
4
4
  #ifndef DYNATRACE_SWIFT_H
5
5
  #define DYNATRACE_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -65,6 +65,7 @@
65
65
  # if __has_include(<uchar.h>)
66
66
  # include <uchar.h>
67
67
  # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
68
69
  typedef uint_least16_t char16_t;
69
70
  typedef uint_least32_t char32_t;
70
71
  # endif
@@ -301,6 +302,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
301
302
  #endif
302
303
 
303
304
  #if defined(__OBJC__)
305
+
304
306
  #endif
305
307
  #if __has_attribute(external_source_symbol)
306
308
  # pragma clang attribute pop
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.331.1.1008
2
+ // Version: 8.335.1.1009
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -635,6 +635,23 @@ typedef NS_ENUM(int, DTX_StatusCode) {
635
635
  /// Unavailable. Use the designated initializer.
636
636
  - (instancetype _Nonnull)init NS_UNAVAILABLE;
637
637
 
638
+ @end
639
+ /*************************************************************************************************/
640
+
641
+ /*!
642
+ @brief Encapsulates W3C trace context headers for distributed tracing.
643
+ @discussion This object contains the traceparent and tracestate headers as defined by the W3C Trace Context specification.
644
+ Use these values to propagate trace context to downstream services by adding them as HTTP headers to outgoing requests.
645
+ @property traceparent The W3C traceparent header value identifying the request as part of a distributed trace.
646
+ @property tracestate The W3C tracestate header value containing vendor-specific trace information.
647
+ @seealso https://www.w3.org/TR/trace-context
648
+ */
649
+
650
+ @interface DTXTraceContext : NSObject
651
+
652
+ @property (nonatomic, strong, readonly, nonnull) NSString *traceparent;
653
+ @property (nonatomic, strong, readonly, nonnull) NSString *tracestate;
654
+
638
655
  @end
639
656
 
640
657
  /*************************************************************************************************/
@@ -1017,6 +1034,25 @@ When the user optin feature is not used:
1017
1034
  */
1018
1035
  + (void)sendEvent:(DTXEventData* _Nullable)data;
1019
1036
 
1037
+ /*!
1038
+ * @brief Generates W3C trace context headers for distributed tracing.
1039
+ *
1040
+ * Creates a new trace context or enriches an existing one with Dynatrace-specific data. The returned object
1041
+ * contains both `traceparent` and `tracestate` headers that should be added to outgoing HTTP requests.
1042
+ *
1043
+ * Returns `nil` when:
1044
+ * - Capture is off (agent is not running)
1045
+ * - Privacy settings prevent web request tagging (data collection level doesn't permit tagging)
1046
+ * - Traffic control has disabled the current session
1047
+ * - The provided `traceparent` is invalid or the agent cannot build a complete trace context
1048
+ *
1049
+ * @seealso https://www.w3.org/TR/trace-context
1050
+ * @param traceparent The W3C `traceparent` header value identifying the web request as part of a trace, or `nil` to generate a new trace
1051
+ * @param tracestate The existing W3C `tracestate` header value of the request, or `nil` if no other tracing vendor is used
1052
+ * @return A `DTXTraceContext` object containing both `traceparent` and `tracestate` header values, or `nil` if the trace context cannot be created.
1053
+ */
1054
+ + (DTXTraceContext* _Nullable)generateTraceContext:(NSString* _Nullable)traceparent tracestate:(NSString* _Nullable)tracestate;
1055
+
1020
1056
  /*!
1021
1057
  * @brief Sends a web request event with the fields set in the data object. Use the data object to add data to the request event.
1022
1058
  *
@@ -423,6 +423,13 @@
423
423
  ],
424
424
  "usr": "s:7SwiftUI4ViewP",
425
425
  "mangledName": "$s7SwiftUI4ViewP"
426
+ },
427
+ {
428
+ "kind": "Conformance",
429
+ "name": "SendableMetatype",
430
+ "printedName": "SendableMetatype",
431
+ "usr": "s:s16SendableMetatypeP",
432
+ "mangledName": "$ss16SendableMetatypeP"
426
433
  }
427
434
  ]
428
435
  },
@@ -604,6 +611,7 @@
604
611
  "declAttributes": [
605
612
  "Preconcurrency",
606
613
  "TypeEraser",
614
+ "TypeEraser",
607
615
  "OriginallyDefinedIn",
608
616
  "OriginallyDefinedIn",
609
617
  "OriginallyDefinedIn",
@@ -637,14 +645,14 @@
637
645
  },
638
646
  "ConstValues": [
639
647
  {
640
- "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.331.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
648
+ "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.335.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
641
649
  "kind": "BooleanLiteral",
642
650
  "offset": 872,
643
651
  "length": 5,
644
652
  "value": "false"
645
653
  },
646
654
  {
647
- "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.331.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
655
+ "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.335.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
648
656
  "kind": "BooleanLiteral",
649
657
  "offset": 1543,
650
658
  "length": 4,
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import SwiftUI
@@ -34,6 +34,6 @@ public enum SwiftUIInstrumentationConfigParam {
34
34
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
35
35
  get
36
36
  }
37
- @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
37
+ @available(iOS 13.0, *)
38
38
  public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
39
39
  }
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import SwiftUI
@@ -34,6 +34,6 @@ public enum SwiftUIInstrumentationConfigParam {
34
34
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
35
35
  get
36
36
  }
37
- @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
37
+ @available(iOS 13.0, *)
38
38
  public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
39
39
  }
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
4
4
  #ifndef DYNATRACE_SWIFT_H
5
5
  #define DYNATRACE_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -65,6 +65,7 @@
65
65
  # if __has_include(<uchar.h>)
66
66
  # include <uchar.h>
67
67
  # elif !defined(__cplusplus)
68
+ typedef unsigned char char8_t;
68
69
  typedef uint_least16_t char16_t;
69
70
  typedef uint_least32_t char32_t;
70
71
  # endif
@@ -301,6 +302,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
301
302
  #endif
302
303
 
303
304
  #if defined(__OBJC__)
305
+
304
306
  #endif
305
307
  #if __has_attribute(external_source_symbol)
306
308
  # pragma clang attribute pop
@@ -311,7 +313,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
311
313
  #endif
312
314
 
313
315
  #elif defined(__x86_64__) && __x86_64__
314
- // Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
316
+ // Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
315
317
  #ifndef DYNATRACE_SWIFT_H
316
318
  #define DYNATRACE_SWIFT_H
317
319
  #pragma clang diagnostic push
@@ -376,6 +378,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
376
378
  # if __has_include(<uchar.h>)
377
379
  # include <uchar.h>
378
380
  # elif !defined(__cplusplus)
381
+ typedef unsigned char char8_t;
379
382
  typedef uint_least16_t char16_t;
380
383
  typedef uint_least32_t char32_t;
381
384
  # endif
@@ -612,6 +615,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
612
615
  #endif
613
616
 
614
617
  #if defined(__OBJC__)
618
+
615
619
  #endif
616
620
  #if __has_attribute(external_source_symbol)
617
621
  # pragma clang attribute pop
@@ -1,5 +1,5 @@
1
1
  // Dynatrace.h
2
- // Version: 8.331.1.1008
2
+ // Version: 8.335.1.1009
3
3
  //
4
4
  // These materials contain confidential information and
5
5
  // trade secrets of Dynatrace Corporation. You shall
@@ -635,6 +635,23 @@ typedef NS_ENUM(int, DTX_StatusCode) {
635
635
  /// Unavailable. Use the designated initializer.
636
636
  - (instancetype _Nonnull)init NS_UNAVAILABLE;
637
637
 
638
+ @end
639
+ /*************************************************************************************************/
640
+
641
+ /*!
642
+ @brief Encapsulates W3C trace context headers for distributed tracing.
643
+ @discussion This object contains the traceparent and tracestate headers as defined by the W3C Trace Context specification.
644
+ Use these values to propagate trace context to downstream services by adding them as HTTP headers to outgoing requests.
645
+ @property traceparent The W3C traceparent header value identifying the request as part of a distributed trace.
646
+ @property tracestate The W3C tracestate header value containing vendor-specific trace information.
647
+ @seealso https://www.w3.org/TR/trace-context
648
+ */
649
+
650
+ @interface DTXTraceContext : NSObject
651
+
652
+ @property (nonatomic, strong, readonly, nonnull) NSString *traceparent;
653
+ @property (nonatomic, strong, readonly, nonnull) NSString *tracestate;
654
+
638
655
  @end
639
656
 
640
657
  /*************************************************************************************************/
@@ -1017,6 +1034,25 @@ When the user optin feature is not used:
1017
1034
  */
1018
1035
  + (void)sendEvent:(DTXEventData* _Nullable)data;
1019
1036
 
1037
+ /*!
1038
+ * @brief Generates W3C trace context headers for distributed tracing.
1039
+ *
1040
+ * Creates a new trace context or enriches an existing one with Dynatrace-specific data. The returned object
1041
+ * contains both `traceparent` and `tracestate` headers that should be added to outgoing HTTP requests.
1042
+ *
1043
+ * Returns `nil` when:
1044
+ * - Capture is off (agent is not running)
1045
+ * - Privacy settings prevent web request tagging (data collection level doesn't permit tagging)
1046
+ * - Traffic control has disabled the current session
1047
+ * - The provided `traceparent` is invalid or the agent cannot build a complete trace context
1048
+ *
1049
+ * @seealso https://www.w3.org/TR/trace-context
1050
+ * @param traceparent The W3C `traceparent` header value identifying the web request as part of a trace, or `nil` to generate a new trace
1051
+ * @param tracestate The existing W3C `tracestate` header value of the request, or `nil` if no other tracing vendor is used
1052
+ * @return A `DTXTraceContext` object containing both `traceparent` and `tracestate` header values, or `nil` if the trace context cannot be created.
1053
+ */
1054
+ + (DTXTraceContext* _Nullable)generateTraceContext:(NSString* _Nullable)traceparent tracestate:(NSString* _Nullable)tracestate;
1055
+
1020
1056
  /*!
1021
1057
  * @brief Sends a web request event with the fields set in the data object. Use the data object to add data to the request event.
1022
1058
  *
@@ -423,6 +423,13 @@
423
423
  ],
424
424
  "usr": "s:7SwiftUI4ViewP",
425
425
  "mangledName": "$s7SwiftUI4ViewP"
426
+ },
427
+ {
428
+ "kind": "Conformance",
429
+ "name": "SendableMetatype",
430
+ "printedName": "SendableMetatype",
431
+ "usr": "s:s16SendableMetatypeP",
432
+ "mangledName": "$ss16SendableMetatypeP"
426
433
  }
427
434
  ]
428
435
  },
@@ -604,6 +611,7 @@
604
611
  "declAttributes": [
605
612
  "Preconcurrency",
606
613
  "TypeEraser",
614
+ "TypeEraser",
607
615
  "OriginallyDefinedIn",
608
616
  "OriginallyDefinedIn",
609
617
  "OriginallyDefinedIn",
@@ -637,14 +645,14 @@
637
645
  },
638
646
  "ConstValues": [
639
647
  {
640
- "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.331.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
648
+ "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.335.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
641
649
  "kind": "BooleanLiteral",
642
650
  "offset": 872,
643
651
  "length": 5,
644
652
  "value": "false"
645
653
  },
646
654
  {
647
- "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.331.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
655
+ "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.335.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
648
656
  "kind": "BooleanLiteral",
649
657
  "offset": 1543,
650
658
  "length": 4,
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import SwiftUI
@@ -34,6 +34,6 @@ public enum SwiftUIInstrumentationConfigParam {
34
34
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
35
35
  get
36
36
  }
37
- @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
37
+ @available(iOS 13.0, *)
38
38
  public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
39
39
  }
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import SwiftUI
@@ -34,6 +34,6 @@ public enum SwiftUIInstrumentationConfigParam {
34
34
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
35
35
  get
36
36
  }
37
- @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
37
+ @available(iOS 13.0, *)
38
38
  public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
39
39
  }
@@ -423,6 +423,13 @@
423
423
  ],
424
424
  "usr": "s:7SwiftUI4ViewP",
425
425
  "mangledName": "$s7SwiftUI4ViewP"
426
+ },
427
+ {
428
+ "kind": "Conformance",
429
+ "name": "SendableMetatype",
430
+ "printedName": "SendableMetatype",
431
+ "usr": "s:s16SendableMetatypeP",
432
+ "mangledName": "$ss16SendableMetatypeP"
426
433
  }
427
434
  ]
428
435
  },
@@ -604,6 +611,7 @@
604
611
  "declAttributes": [
605
612
  "Preconcurrency",
606
613
  "TypeEraser",
614
+ "TypeEraser",
607
615
  "OriginallyDefinedIn",
608
616
  "OriginallyDefinedIn",
609
617
  "OriginallyDefinedIn",
@@ -637,14 +645,14 @@
637
645
  },
638
646
  "ConstValues": [
639
647
  {
640
- "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.331.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
648
+ "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.335.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
641
649
  "kind": "BooleanLiteral",
642
650
  "offset": 872,
643
651
  "length": 5,
644
652
  "value": "false"
645
653
  },
646
654
  {
647
- "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.331.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
655
+ "filePath": "\/opt\/agent-jenkins\/workspace\/eAgent_ios-agent_release_8.335.x\/DynatraceUEM\/Dynatrace\/SwiftUIExtensions.swift",
648
656
  "kind": "BooleanLiteral",
649
657
  "offset": 1543,
650
658
  "length": 4,
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import SwiftUI
@@ -34,6 +34,6 @@ public enum SwiftUIInstrumentationConfigParam {
34
34
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
35
35
  get
36
36
  }
37
- @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
37
+ @available(iOS 13.0, *)
38
38
  public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
39
39
  }
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
3
- // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature OpaqueTypeErasure -enable-bare-slash-regex -module-name Dynatrace
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface
2
+ // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
3
+ // swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Dynatrace
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
5
5
  @_exported import Dynatrace
6
6
  import Swift
7
7
  import SwiftUI
@@ -34,6 +34,6 @@ public enum SwiftUIInstrumentationConfigParam {
34
34
  @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
35
35
  get
36
36
  }
37
- @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
37
+ @available(iOS 13.0, *)
38
38
  public typealias Body = @_opaqueReturnTypeOf("$s9Dynatrace10instrumentV4bodyQrvp", 0) __<Content>
39
39
  }