@datadog/mobile-react-native-apollo-client 2.4.0 → 2.4.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 (153) hide show
  1. package/lib/commonjs/DatadogLink.js +3 -7
  2. package/lib/commonjs/DatadogLink.js.map +1 -1
  3. package/lib/commonjs/helpers.js +2 -10
  4. package/lib/commonjs/helpers.js.map +1 -1
  5. package/lib/commonjs/index.js +0 -1
  6. package/lib/commonjs/index.js.map +1 -1
  7. package/lib/module/DatadogLink.js +3 -2
  8. package/lib/module/DatadogLink.js.map +1 -1
  9. package/lib/module/helpers.js +1 -4
  10. package/lib/module/helpers.js.map +1 -1
  11. package/lib/module/index.js +1 -0
  12. package/lib/module/index.js.map +1 -1
  13. package/lib/typescript/core/src/DdSdkReactNative.d.ts +1 -5
  14. package/lib/typescript/core/src/DdSdkReactNative.d.ts.map +1 -0
  15. package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts +1 -0
  16. package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts.map +1 -0
  17. package/lib/typescript/core/src/InternalLog.d.ts +1 -0
  18. package/lib/typescript/core/src/InternalLog.d.ts.map +1 -0
  19. package/lib/typescript/core/src/ProxyConfiguration.d.ts +1 -0
  20. package/lib/typescript/core/src/ProxyConfiguration.d.ts.map +1 -0
  21. package/lib/typescript/core/src/SdkVerbosity.d.ts +1 -0
  22. package/lib/typescript/core/src/SdkVerbosity.d.ts.map +1 -0
  23. package/lib/typescript/core/src/TrackingConsent.d.ts +1 -0
  24. package/lib/typescript/core/src/TrackingConsent.d.ts.map +1 -0
  25. package/lib/typescript/core/src/index.d.ts +2 -0
  26. package/lib/typescript/core/src/index.d.ts.map +1 -0
  27. package/lib/typescript/core/src/logs/DdLogs.d.ts +1 -0
  28. package/lib/typescript/core/src/logs/DdLogs.d.ts.map +1 -0
  29. package/lib/typescript/core/src/logs/eventMapper.d.ts +1 -0
  30. package/lib/typescript/core/src/logs/eventMapper.d.ts.map +1 -0
  31. package/lib/typescript/core/src/logs/types.d.ts +6 -1
  32. package/lib/typescript/core/src/logs/types.d.ts.map +1 -0
  33. package/lib/typescript/core/src/nativeModulesTypes.d.ts +3 -1
  34. package/lib/typescript/core/src/nativeModulesTypes.d.ts.map +1 -0
  35. package/lib/typescript/core/src/rum/DdAttributes.d.ts +14 -0
  36. package/lib/typescript/core/src/rum/DdAttributes.d.ts.map +1 -0
  37. package/lib/typescript/core/src/rum/DdRum.d.ts +3 -2
  38. package/lib/typescript/core/src/rum/DdRum.d.ts.map +1 -0
  39. package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts +1 -0
  40. package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts.map +1 -0
  41. package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts +3 -0
  42. package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts.map +1 -0
  43. package/lib/typescript/core/src/rum/eventMappers/resourceEventMapper.d.ts +1 -0
  44. package/lib/typescript/core/src/rum/eventMappers/resourceEventMapper.d.ts.map +1 -0
  45. package/lib/typescript/core/src/rum/instrumentation/DdRumErrorTracking.d.ts +1 -0
  46. package/lib/typescript/core/src/rum/instrumentation/DdRumErrorTracking.d.ts.map +1 -0
  47. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdEventsInterceptor.d.ts +1 -0
  48. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdEventsInterceptor.d.ts.map +1 -0
  49. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts +2 -0
  50. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts.map +1 -0
  51. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/EventsInterceptor.d.ts +1 -0
  52. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/EventsInterceptor.d.ts.map +1 -0
  53. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/NoOpEventsInterceptor.d.ts +1 -0
  54. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/NoOpEventsInterceptor.d.ts.map +1 -0
  55. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/ShallowObjectEqualityChecker.d.ts +1 -0
  56. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/ShallowObjectEqualityChecker.d.ts.map +1 -0
  57. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/getJsxRuntime.d.ts +2 -1
  58. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/getJsxRuntime.d.ts.map +1 -0
  59. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResourceTracking.d.ts +1 -0
  60. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResourceTracking.d.ts.map +1 -0
  61. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/TracingIdentifier.d.ts +1 -0
  62. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/TracingIdentifier.d.ts.map +1 -0
  63. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts +1 -0
  64. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts.map +1 -0
  65. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts +1 -0
  66. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts.map +1 -0
  67. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts +1 -0
  68. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts.map +1 -0
  69. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts +1 -0
  70. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts.map +1 -0
  71. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts +1 -0
  72. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts.map +1 -0
  73. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts +1 -0
  74. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts.map +1 -0
  75. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts +1 -0
  76. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts.map +1 -0
  77. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/URLHostParser.d.ts +1 -0
  78. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/URLHostParser.d.ts.map +1 -0
  79. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/XHRProxy.d.ts +1 -0
  80. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/XHRProxy.d.ts.map +1 -0
  81. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/responseSize.d.ts +1 -0
  82. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/responseSize.d.ts.map +1 -0
  83. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RequestProxy.d.ts +1 -0
  84. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RequestProxy.d.ts.map +1 -0
  85. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RumResource.d.ts +1 -0
  86. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RumResource.d.ts.map +1 -0
  87. package/lib/typescript/core/src/rum/types.d.ts +1 -0
  88. package/lib/typescript/core/src/rum/types.d.ts.map +1 -0
  89. package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts +1 -0
  90. package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts.map +1 -0
  91. package/lib/typescript/core/src/sdk/AttributesSingleton/types.d.ts +1 -0
  92. package/lib/typescript/core/src/sdk/AttributesSingleton/types.d.ts.map +1 -0
  93. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BoundedBuffer.d.ts +1 -0
  94. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BoundedBuffer.d.ts.map +1 -0
  95. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BufferSingleton.d.ts +1 -0
  96. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/BufferSingleton.d.ts.map +1 -0
  97. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/DatadogBuffer.d.ts +1 -0
  98. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/DatadogBuffer.d.ts.map +1 -0
  99. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/PassThroughBuffer.d.ts +1 -0
  100. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/PassThroughBuffer.d.ts.map +1 -0
  101. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/bufferNativeCall.d.ts +1 -0
  102. package/lib/typescript/core/src/sdk/DatadogProvider/Buffer/bufferNativeCall.d.ts.map +1 -0
  103. package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProvider.d.ts +1 -0
  104. package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProvider.d.ts.map +1 -0
  105. package/lib/typescript/core/src/sdk/DdSdk.d.ts +1 -0
  106. package/lib/typescript/core/src/sdk/DdSdk.d.ts.map +1 -0
  107. package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts +1 -0
  108. package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts.map +1 -0
  109. package/lib/typescript/core/src/sdk/EventMappers/utils/deepClone.d.ts +1 -0
  110. package/lib/typescript/core/src/sdk/EventMappers/utils/deepClone.d.ts.map +1 -0
  111. package/lib/typescript/core/src/sdk/FileBasedConfiguration/FileBasedConfiguration.d.ts +1 -0
  112. package/lib/typescript/core/src/sdk/FileBasedConfiguration/FileBasedConfiguration.d.ts.map +1 -0
  113. package/lib/typescript/core/src/sdk/GlobalState/GlobalState.d.ts +13 -0
  114. package/lib/typescript/core/src/sdk/GlobalState/GlobalState.d.ts.map +1 -0
  115. package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts +1 -0
  116. package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts.map +1 -0
  117. package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts +1 -0
  118. package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts.map +1 -0
  119. package/lib/typescript/core/src/specs/NativeDdLogs.d.ts +1 -0
  120. package/lib/typescript/core/src/specs/NativeDdLogs.d.ts.map +1 -0
  121. package/lib/typescript/core/src/specs/NativeDdRum.d.ts +3 -1
  122. package/lib/typescript/core/src/specs/NativeDdRum.d.ts.map +1 -0
  123. package/lib/typescript/core/src/specs/NativeDdSdk.d.ts +1 -0
  124. package/lib/typescript/core/src/specs/NativeDdSdk.d.ts.map +1 -0
  125. package/lib/typescript/core/src/specs/NativeDdTrace.d.ts +1 -0
  126. package/lib/typescript/core/src/specs/NativeDdTrace.d.ts.map +1 -0
  127. package/lib/typescript/core/src/trace/DdTrace.d.ts +1 -0
  128. package/lib/typescript/core/src/trace/DdTrace.d.ts.map +1 -0
  129. package/lib/typescript/core/src/types.d.ts +1 -0
  130. package/lib/typescript/core/src/types.d.ts.map +1 -0
  131. package/lib/typescript/core/src/utils/Timer.d.ts +1 -0
  132. package/lib/typescript/core/src/utils/Timer.d.ts.map +1 -0
  133. package/lib/typescript/core/src/utils/argsUtils.d.ts +1 -0
  134. package/lib/typescript/core/src/utils/argsUtils.d.ts.map +1 -0
  135. package/lib/typescript/core/src/utils/errorUtils.d.ts +1 -0
  136. package/lib/typescript/core/src/utils/errorUtils.d.ts.map +1 -0
  137. package/lib/typescript/core/src/utils/jsUtils.d.ts +1 -0
  138. package/lib/typescript/core/src/utils/jsUtils.d.ts.map +1 -0
  139. package/lib/typescript/core/src/utils/longTasksUtils.d.ts +1 -0
  140. package/lib/typescript/core/src/utils/longTasksUtils.d.ts.map +1 -0
  141. package/lib/typescript/core/src/utils/time-provider/DefaultTimeProvider.d.ts +1 -0
  142. package/lib/typescript/core/src/utils/time-provider/DefaultTimeProvider.d.ts.map +1 -0
  143. package/lib/typescript/core/src/utils/time-provider/TimeProvider.d.ts +1 -0
  144. package/lib/typescript/core/src/utils/time-provider/TimeProvider.d.ts.map +1 -0
  145. package/lib/typescript/core/src/version.d.ts +2 -1
  146. package/lib/typescript/core/src/version.d.ts.map +1 -0
  147. package/lib/typescript/react-native-apollo-client/src/DatadogLink.d.ts +1 -0
  148. package/lib/typescript/react-native-apollo-client/src/DatadogLink.d.ts.map +1 -0
  149. package/lib/typescript/react-native-apollo-client/src/helpers.d.ts +1 -0
  150. package/lib/typescript/react-native-apollo-client/src/helpers.d.ts.map +1 -0
  151. package/lib/typescript/react-native-apollo-client/src/index.d.ts +1 -0
  152. package/lib/typescript/react-native-apollo-client/src/index.d.ts.map +1 -0
  153. package/package.json +3 -3
@@ -4,18 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DatadogLink = void 0;
7
-
8
7
  var _client = require("@apollo/client");
9
-
10
8
  var _mobileReactNative = require("@datadog/mobile-react-native");
11
-
12
9
  var _helpers = require("./helpers");
13
-
14
10
  /*
15
11
  * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
16
12
  * This product includes software developed at Datadog (https://www.datadoghq.com/).
17
13
  * Copyright 2016-Present Datadog, Inc.
18
14
  */
15
+
19
16
  class DatadogLink extends _client.ApolloLink {
20
17
  constructor() {
21
18
  super((operation, forward) => {
@@ -25,7 +22,8 @@ class DatadogLink extends _client.ApolloLink {
25
22
  operation.setContext(({
26
23
  headers = {}
27
24
  }) => {
28
- const newHeaders = { ...headers
25
+ const newHeaders = {
26
+ ...headers
29
27
  };
30
28
  newHeaders[_mobileReactNative.DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER] = operationType;
31
29
  newHeaders[_mobileReactNative.DATADOG_GRAPH_QL_OPERATION_NAME_HEADER] = operationName;
@@ -37,8 +35,6 @@ class DatadogLink extends _client.ApolloLink {
37
35
  return forward(operation);
38
36
  });
39
37
  }
40
-
41
38
  }
42
-
43
39
  exports.DatadogLink = DatadogLink;
44
40
  //# sourceMappingURL=DatadogLink.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["DatadogLink.ts"],"names":["DatadogLink","ApolloLink","constructor","operation","forward","operationName","formattedVariables","operationType","setContext","headers","newHeaders","DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER","DATADOG_GRAPH_QL_OPERATION_NAME_HEADER","DATADOG_GRAPH_QL_VARIABLES_HEADER"],"mappings":";;;;;;;AAMA;;AACA;;AAMA;;AAbA;AACA;AACA;AACA;AACA;AAWO,MAAMA,WAAN,SAA0BC,kBAA1B,CAAqC;AACxCC,EAAAA,WAAW,GAAG;AACV,UAAM,CAACC,SAAD,EAAYC,OAAZ,KAAwB;AAC1B,YAAMC,aAAa,GAAG,+BAAiBF,SAAjB,CAAtB;AACA,YAAMG,kBAAkB,GAAG,2BAAaH,SAAb,CAA3B;AACA,YAAMI,aAAa,GAAG,+BAAiBJ,SAAjB,CAAtB;AAEAA,MAAAA,SAAS,CAACK,UAAV,CAAqB,CAAC;AAAEC,QAAAA,OAAO,GAAG;AAAZ,OAAD,KAAsB;AACvC,cAAMC,UAAyC,GAAG,EAC9C,GAAGD;AAD2C,SAAlD;AAIAC,QAAAA,UAAU,CACNC,yDADM,CAAV,GAEIJ,aAFJ;AAGAG,QAAAA,UAAU,CACNE,yDADM,CAAV,GAEIP,aAFJ;AAGAK,QAAAA,UAAU,CACNG,oDADM,CAAV,GAEIP,kBAFJ;AAIA,eAAO;AACHG,UAAAA,OAAO,EAAEC;AADN,SAAP;AAGH,OAlBD;AAoBA,aAAON,OAAO,CAACD,SAAD,CAAd;AACH,KA1BD;AA2BH;;AA7BuC","sourcesContent":["/*\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2016-Present Datadog, Inc.\n */\n\nimport { ApolloLink } from '@apollo/client';\nimport {\n DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER,\n DATADOG_GRAPH_QL_OPERATION_NAME_HEADER,\n DATADOG_GRAPH_QL_VARIABLES_HEADER\n} from '@datadog/mobile-react-native';\n\nimport { getOperationName, getVariables, getOperationType } from './helpers';\n\nexport class DatadogLink extends ApolloLink {\n constructor() {\n super((operation, forward) => {\n const operationName = getOperationName(operation);\n const formattedVariables = getVariables(operation);\n const operationType = getOperationType(operation);\n\n operation.setContext(({ headers = {} }) => {\n const newHeaders: Record<string, string | null> = {\n ...headers\n };\n\n newHeaders[\n DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER\n ] = operationType;\n newHeaders[\n DATADOG_GRAPH_QL_OPERATION_NAME_HEADER\n ] = operationName;\n newHeaders[\n DATADOG_GRAPH_QL_VARIABLES_HEADER\n ] = formattedVariables;\n\n return {\n headers: newHeaders\n };\n });\n\n return forward(operation);\n });\n }\n}\n"]}
1
+ {"version":3,"names":["_client","require","_mobileReactNative","_helpers","DatadogLink","ApolloLink","constructor","operation","forward","operationName","getOperationName","formattedVariables","getVariables","operationType","getOperationType","setContext","headers","newHeaders","DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER","DATADOG_GRAPH_QL_OPERATION_NAME_HEADER","DATADOG_GRAPH_QL_VARIABLES_HEADER","exports"],"sourceRoot":"../../src","sources":["DatadogLink.ts"],"mappings":";;;;;;AAMA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAMA,IAAAE,QAAA,GAAAF,OAAA;AAbA;AACA;AACA;AACA;AACA;;AAWO,MAAMG,WAAW,SAASC,kBAAU,CAAC;EACxCC,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,CAACC,SAAS,EAAEC,OAAO,KAAK;MAC1B,MAAMC,aAAa,GAAG,IAAAC,yBAAgB,EAACH,SAAS,CAAC;MACjD,MAAMI,kBAAkB,GAAG,IAAAC,qBAAY,EAACL,SAAS,CAAC;MAClD,MAAMM,aAAa,GAAG,IAAAC,yBAAgB,EAACP,SAAS,CAAC;MAEjDA,SAAS,CAACQ,UAAU,CAAC,CAAC;QAAEC,OAAO,GAAG,CAAC;MAAE,CAAC,KAAK;QACvC,MAAMC,UAAyC,GAAG;UAC9C,GAAGD;QACP,CAAC;QAEDC,UAAU,CACNC,yDAAsC,CACzC,GAAGL,aAAa;QACjBI,UAAU,CACNE,yDAAsC,CACzC,GAAGV,aAAa;QACjBQ,UAAU,CACNG,oDAAiC,CACpC,GAAGT,kBAAkB;QAEtB,OAAO;UACHK,OAAO,EAAEC;QACb,CAAC;MACL,CAAC,CAAC;MAEF,OAAOT,OAAO,CAACD,SAAS,CAAC;IAC7B,CAAC,CAAC;EACN;AACJ;AAACc,OAAA,CAAAjB,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -3,8 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getOperationType = exports.getOperationName = exports.getVariables = void 0;
7
-
6
+ exports.getVariables = exports.getOperationType = exports.getOperationName = void 0;
8
7
  /*
9
8
  * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
10
9
  * This product includes software developed at Datadog (https://www.datadoghq.com/).
@@ -14,6 +13,7 @@ exports.getOperationType = exports.getOperationName = exports.getVariables = voi
14
13
  /**
15
14
  * NOTE: Do not import from '@apollo/client/utilities' as the package does not exist in Apollo Client < v3.
16
15
  */
16
+
17
17
  const getVariables = operation => {
18
18
  if (operation.variables) {
19
19
  try {
@@ -23,26 +23,19 @@ const getVariables = operation => {
23
23
  return null;
24
24
  }
25
25
  }
26
-
27
26
  return null;
28
27
  };
29
-
30
28
  exports.getVariables = getVariables;
31
-
32
29
  const getOperationName = operation => {
33
30
  if (operation.operationName) {
34
31
  return operation.operationName;
35
32
  }
36
-
37
33
  return null;
38
34
  };
39
-
40
35
  exports.getOperationName = getOperationName;
41
-
42
36
  const getOperationDefinitionNode = definition => {
43
37
  return definition.kind === 'OperationDefinition' && !!definition.operation;
44
38
  };
45
-
46
39
  const getOperationType = operation => {
47
40
  try {
48
41
  return operation.query.definitions.filter(getOperationDefinitionNode).map(operationDefinitionNode => {
@@ -53,6 +46,5 @@ const getOperationType = operation => {
53
46
  return null;
54
47
  }
55
48
  };
56
-
57
49
  exports.getOperationType = getOperationType;
58
50
  //# sourceMappingURL=helpers.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["helpers.ts"],"names":["getVariables","operation","variables","JSON","stringify","e","getOperationName","operationName","getOperationDefinitionNode","definition","kind","getOperationType","query","definitions","filter","map","operationDefinitionNode"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAKO,MAAMA,YAAY,GAAIC,SAAD,IAAyC;AACjE,MAAIA,SAAS,CAACC,SAAd,EAAyB;AACrB,QAAI;AACA,aAAOC,IAAI,CAACC,SAAL,CAAeH,SAAS,CAACC,SAAzB,CAAP;AACH,KAFD,CAEE,OAAOG,CAAP,EAAU;AACR;AACA,aAAO,IAAP;AACH;AACJ;;AACD,SAAO,IAAP;AACH,CAVM;;;;AAYA,MAAMC,gBAAgB,GAAIL,SAAD,IAAyC;AACrE,MAAIA,SAAS,CAACM,aAAd,EAA6B;AACzB,WAAON,SAAS,CAACM,aAAjB;AACH;;AACD,SAAO,IAAP;AACH,CALM;;;;AAOP,MAAMC,0BAA0B,GAC5BC,UAD+B,IAES;AACxC,SAAOA,UAAU,CAACC,IAAX,KAAoB,qBAApB,IAA6C,CAAC,CAACD,UAAU,CAACR,SAAjE;AACH,CAJD;;AAMO,MAAMU,gBAAgB,GACzBV,SAD4B,IAEmB;AAC/C,MAAI;AACA,WACIA,SAAS,CAACW,KAAV,CAAgBC,WAAhB,CACKC,MADL,CACYN,0BADZ,EAEKO,GAFL,CAESC,uBAAuB,IAAI;AAC5B,aAAOA,uBAAuB,CAACf,SAA/B;AACH,KAJL,EAIO,CAJP,KAIa,IALjB;AAOH,GARD,CAQE,OAAOI,CAAP,EAAU;AACR;AACA,WAAO,IAAP;AACH;AACJ,CAfM","sourcesContent":["/*\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2016-Present Datadog, Inc.\n */\n\n/**\n * NOTE: Do not import from '@apollo/client/utilities' as the package does not exist in Apollo Client < v3.\n */\n\nimport type { Operation } from '@apollo/client';\nimport type { DefinitionNode, OperationDefinitionNode } from 'graphql';\n\nexport const getVariables = (operation: Operation): string | null => {\n if (operation.variables) {\n try {\n return JSON.stringify(operation.variables);\n } catch (e) {\n // TODO RUM-1206: telemetry\n return null;\n }\n }\n return null;\n};\n\nexport const getOperationName = (operation: Operation): string | null => {\n if (operation.operationName) {\n return operation.operationName;\n }\n return null;\n};\n\nconst getOperationDefinitionNode = (\n definition: DefinitionNode\n): definition is OperationDefinitionNode => {\n return definition.kind === 'OperationDefinition' && !!definition.operation;\n};\n\nexport const getOperationType = (\n operation: Operation\n): 'query' | 'mutation' | 'subscription' | null => {\n try {\n return (\n operation.query.definitions\n .filter(getOperationDefinitionNode)\n .map(operationDefinitionNode => {\n return operationDefinitionNode.operation;\n })[0] || null\n );\n } catch (e) {\n // TODO RUM-1206: telemetry\n return null;\n }\n};\n"]}
1
+ {"version":3,"names":["getVariables","operation","variables","JSON","stringify","e","exports","getOperationName","operationName","getOperationDefinitionNode","definition","kind","getOperationType","query","definitions","filter","map","operationDefinitionNode"],"sourceRoot":"../../src","sources":["helpers.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAKO,MAAMA,YAAY,GAAIC,SAAoB,IAAoB;EACjE,IAAIA,SAAS,CAACC,SAAS,EAAE;IACrB,IAAI;MACA,OAAOC,IAAI,CAACC,SAAS,CAACH,SAAS,CAACC,SAAS,CAAC;IAC9C,CAAC,CAAC,OAAOG,CAAC,EAAE;MACR;MACA,OAAO,IAAI;IACf;EACJ;EACA,OAAO,IAAI;AACf,CAAC;AAACC,OAAA,CAAAN,YAAA,GAAAA,YAAA;AAEK,MAAMO,gBAAgB,GAAIN,SAAoB,IAAoB;EACrE,IAAIA,SAAS,CAACO,aAAa,EAAE;IACzB,OAAOP,SAAS,CAACO,aAAa;EAClC;EACA,OAAO,IAAI;AACf,CAAC;AAACF,OAAA,CAAAC,gBAAA,GAAAA,gBAAA;AAEF,MAAME,0BAA0B,GAC5BC,UAA0B,IACc;EACxC,OAAOA,UAAU,CAACC,IAAI,KAAK,qBAAqB,IAAI,CAAC,CAACD,UAAU,CAACT,SAAS;AAC9E,CAAC;AAEM,MAAMW,gBAAgB,GACzBX,SAAoB,IAC2B;EAC/C,IAAI;IACA,OACIA,SAAS,CAACY,KAAK,CAACC,WAAW,CACtBC,MAAM,CAACN,0BAA0B,CAAC,CAClCO,GAAG,CAACC,uBAAuB,IAAI;MAC5B,OAAOA,uBAAuB,CAAChB,SAAS;IAC5C,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI;EAEzB,CAAC,CAAC,OAAOI,CAAC,EAAE;IACR;IACA,OAAO,IAAI;EACf;AACJ,CAAC;AAACC,OAAA,CAAAM,gBAAA,GAAAA,gBAAA","ignoreList":[]}
@@ -9,6 +9,5 @@ Object.defineProperty(exports, "DatadogLink", {
9
9
  return _DatadogLink.DatadogLink;
10
10
  }
11
11
  });
12
-
13
12
  var _DatadogLink = require("./DatadogLink");
14
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA","sourcesContent":["/*\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2016-Present Datadog, Inc.\n */\n\nexport { DatadogLink } from './DatadogLink';\n"]}
1
+ {"version":3,"names":["_DatadogLink","require"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;AAMA,IAAAA,YAAA,GAAAC,OAAA","ignoreList":[]}
@@ -3,6 +3,7 @@
3
3
  * This product includes software developed at Datadog (https://www.datadoghq.com/).
4
4
  * Copyright 2016-Present Datadog, Inc.
5
5
  */
6
+
6
7
  import { ApolloLink } from '@apollo/client';
7
8
  import { DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER, DATADOG_GRAPH_QL_OPERATION_NAME_HEADER, DATADOG_GRAPH_QL_VARIABLES_HEADER } from '@datadog/mobile-react-native';
8
9
  import { getOperationName, getVariables, getOperationType } from './helpers';
@@ -15,7 +16,8 @@ export class DatadogLink extends ApolloLink {
15
16
  operation.setContext(({
16
17
  headers = {}
17
18
  }) => {
18
- const newHeaders = { ...headers
19
+ const newHeaders = {
20
+ ...headers
19
21
  };
20
22
  newHeaders[DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER] = operationType;
21
23
  newHeaders[DATADOG_GRAPH_QL_OPERATION_NAME_HEADER] = operationName;
@@ -27,6 +29,5 @@ export class DatadogLink extends ApolloLink {
27
29
  return forward(operation);
28
30
  });
29
31
  }
30
-
31
32
  }
32
33
  //# sourceMappingURL=DatadogLink.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["DatadogLink.ts"],"names":["ApolloLink","DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER","DATADOG_GRAPH_QL_OPERATION_NAME_HEADER","DATADOG_GRAPH_QL_VARIABLES_HEADER","getOperationName","getVariables","getOperationType","DatadogLink","constructor","operation","forward","operationName","formattedVariables","operationType","setContext","headers","newHeaders"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AAEA,SAASA,UAAT,QAA2B,gBAA3B;AACA,SACIC,sCADJ,EAEIC,sCAFJ,EAGIC,iCAHJ,QAIO,8BAJP;AAMA,SAASC,gBAAT,EAA2BC,YAA3B,EAAyCC,gBAAzC,QAAiE,WAAjE;AAEA,OAAO,MAAMC,WAAN,SAA0BP,UAA1B,CAAqC;AACxCQ,EAAAA,WAAW,GAAG;AACV,UAAM,CAACC,SAAD,EAAYC,OAAZ,KAAwB;AAC1B,YAAMC,aAAa,GAAGP,gBAAgB,CAACK,SAAD,CAAtC;AACA,YAAMG,kBAAkB,GAAGP,YAAY,CAACI,SAAD,CAAvC;AACA,YAAMI,aAAa,GAAGP,gBAAgB,CAACG,SAAD,CAAtC;AAEAA,MAAAA,SAAS,CAACK,UAAV,CAAqB,CAAC;AAAEC,QAAAA,OAAO,GAAG;AAAZ,OAAD,KAAsB;AACvC,cAAMC,UAAyC,GAAG,EAC9C,GAAGD;AAD2C,SAAlD;AAIAC,QAAAA,UAAU,CACNf,sCADM,CAAV,GAEIY,aAFJ;AAGAG,QAAAA,UAAU,CACNd,sCADM,CAAV,GAEIS,aAFJ;AAGAK,QAAAA,UAAU,CACNb,iCADM,CAAV,GAEIS,kBAFJ;AAIA,eAAO;AACHG,UAAAA,OAAO,EAAEC;AADN,SAAP;AAGH,OAlBD;AAoBA,aAAON,OAAO,CAACD,SAAD,CAAd;AACH,KA1BD;AA2BH;;AA7BuC","sourcesContent":["/*\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2016-Present Datadog, Inc.\n */\n\nimport { ApolloLink } from '@apollo/client';\nimport {\n DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER,\n DATADOG_GRAPH_QL_OPERATION_NAME_HEADER,\n DATADOG_GRAPH_QL_VARIABLES_HEADER\n} from '@datadog/mobile-react-native';\n\nimport { getOperationName, getVariables, getOperationType } from './helpers';\n\nexport class DatadogLink extends ApolloLink {\n constructor() {\n super((operation, forward) => {\n const operationName = getOperationName(operation);\n const formattedVariables = getVariables(operation);\n const operationType = getOperationType(operation);\n\n operation.setContext(({ headers = {} }) => {\n const newHeaders: Record<string, string | null> = {\n ...headers\n };\n\n newHeaders[\n DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER\n ] = operationType;\n newHeaders[\n DATADOG_GRAPH_QL_OPERATION_NAME_HEADER\n ] = operationName;\n newHeaders[\n DATADOG_GRAPH_QL_VARIABLES_HEADER\n ] = formattedVariables;\n\n return {\n headers: newHeaders\n };\n });\n\n return forward(operation);\n });\n }\n}\n"]}
1
+ {"version":3,"names":["ApolloLink","DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER","DATADOG_GRAPH_QL_OPERATION_NAME_HEADER","DATADOG_GRAPH_QL_VARIABLES_HEADER","getOperationName","getVariables","getOperationType","DatadogLink","constructor","operation","forward","operationName","formattedVariables","operationType","setContext","headers","newHeaders"],"sourceRoot":"../../src","sources":["DatadogLink.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,QAAQ,gBAAgB;AAC3C,SACIC,sCAAsC,EACtCC,sCAAsC,EACtCC,iCAAiC,QAC9B,8BAA8B;AAErC,SAASC,gBAAgB,EAAEC,YAAY,EAAEC,gBAAgB,QAAQ,WAAW;AAE5E,OAAO,MAAMC,WAAW,SAASP,UAAU,CAAC;EACxCQ,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,CAACC,SAAS,EAAEC,OAAO,KAAK;MAC1B,MAAMC,aAAa,GAAGP,gBAAgB,CAACK,SAAS,CAAC;MACjD,MAAMG,kBAAkB,GAAGP,YAAY,CAACI,SAAS,CAAC;MAClD,MAAMI,aAAa,GAAGP,gBAAgB,CAACG,SAAS,CAAC;MAEjDA,SAAS,CAACK,UAAU,CAAC,CAAC;QAAEC,OAAO,GAAG,CAAC;MAAE,CAAC,KAAK;QACvC,MAAMC,UAAyC,GAAG;UAC9C,GAAGD;QACP,CAAC;QAEDC,UAAU,CACNf,sCAAsC,CACzC,GAAGY,aAAa;QACjBG,UAAU,CACNd,sCAAsC,CACzC,GAAGS,aAAa;QACjBK,UAAU,CACNb,iCAAiC,CACpC,GAAGS,kBAAkB;QAEtB,OAAO;UACHG,OAAO,EAAEC;QACb,CAAC;MACL,CAAC,CAAC;MAEF,OAAON,OAAO,CAACD,SAAS,CAAC;IAC7B,CAAC,CAAC;EACN;AACJ","ignoreList":[]}
@@ -7,6 +7,7 @@
7
7
  /**
8
8
  * NOTE: Do not import from '@apollo/client/utilities' as the package does not exist in Apollo Client < v3.
9
9
  */
10
+
10
11
  export const getVariables = operation => {
11
12
  if (operation.variables) {
12
13
  try {
@@ -16,21 +17,17 @@ export const getVariables = operation => {
16
17
  return null;
17
18
  }
18
19
  }
19
-
20
20
  return null;
21
21
  };
22
22
  export const getOperationName = operation => {
23
23
  if (operation.operationName) {
24
24
  return operation.operationName;
25
25
  }
26
-
27
26
  return null;
28
27
  };
29
-
30
28
  const getOperationDefinitionNode = definition => {
31
29
  return definition.kind === 'OperationDefinition' && !!definition.operation;
32
30
  };
33
-
34
31
  export const getOperationType = operation => {
35
32
  try {
36
33
  return operation.query.definitions.filter(getOperationDefinitionNode).map(operationDefinitionNode => {
@@ -1 +1 @@
1
- {"version":3,"sources":["helpers.ts"],"names":["getVariables","operation","variables","JSON","stringify","e","getOperationName","operationName","getOperationDefinitionNode","definition","kind","getOperationType","query","definitions","filter","map","operationDefinitionNode"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AAKA,OAAO,MAAMA,YAAY,GAAIC,SAAD,IAAyC;AACjE,MAAIA,SAAS,CAACC,SAAd,EAAyB;AACrB,QAAI;AACA,aAAOC,IAAI,CAACC,SAAL,CAAeH,SAAS,CAACC,SAAzB,CAAP;AACH,KAFD,CAEE,OAAOG,CAAP,EAAU;AACR;AACA,aAAO,IAAP;AACH;AACJ;;AACD,SAAO,IAAP;AACH,CAVM;AAYP,OAAO,MAAMC,gBAAgB,GAAIL,SAAD,IAAyC;AACrE,MAAIA,SAAS,CAACM,aAAd,EAA6B;AACzB,WAAON,SAAS,CAACM,aAAjB;AACH;;AACD,SAAO,IAAP;AACH,CALM;;AAOP,MAAMC,0BAA0B,GAC5BC,UAD+B,IAES;AACxC,SAAOA,UAAU,CAACC,IAAX,KAAoB,qBAApB,IAA6C,CAAC,CAACD,UAAU,CAACR,SAAjE;AACH,CAJD;;AAMA,OAAO,MAAMU,gBAAgB,GACzBV,SAD4B,IAEmB;AAC/C,MAAI;AACA,WACIA,SAAS,CAACW,KAAV,CAAgBC,WAAhB,CACKC,MADL,CACYN,0BADZ,EAEKO,GAFL,CAESC,uBAAuB,IAAI;AAC5B,aAAOA,uBAAuB,CAACf,SAA/B;AACH,KAJL,EAIO,CAJP,KAIa,IALjB;AAOH,GARD,CAQE,OAAOI,CAAP,EAAU;AACR;AACA,WAAO,IAAP;AACH;AACJ,CAfM","sourcesContent":["/*\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2016-Present Datadog, Inc.\n */\n\n/**\n * NOTE: Do not import from '@apollo/client/utilities' as the package does not exist in Apollo Client < v3.\n */\n\nimport type { Operation } from '@apollo/client';\nimport type { DefinitionNode, OperationDefinitionNode } from 'graphql';\n\nexport const getVariables = (operation: Operation): string | null => {\n if (operation.variables) {\n try {\n return JSON.stringify(operation.variables);\n } catch (e) {\n // TODO RUM-1206: telemetry\n return null;\n }\n }\n return null;\n};\n\nexport const getOperationName = (operation: Operation): string | null => {\n if (operation.operationName) {\n return operation.operationName;\n }\n return null;\n};\n\nconst getOperationDefinitionNode = (\n definition: DefinitionNode\n): definition is OperationDefinitionNode => {\n return definition.kind === 'OperationDefinition' && !!definition.operation;\n};\n\nexport const getOperationType = (\n operation: Operation\n): 'query' | 'mutation' | 'subscription' | null => {\n try {\n return (\n operation.query.definitions\n .filter(getOperationDefinitionNode)\n .map(operationDefinitionNode => {\n return operationDefinitionNode.operation;\n })[0] || null\n );\n } catch (e) {\n // TODO RUM-1206: telemetry\n return null;\n }\n};\n"]}
1
+ {"version":3,"names":["getVariables","operation","variables","JSON","stringify","e","getOperationName","operationName","getOperationDefinitionNode","definition","kind","getOperationType","query","definitions","filter","map","operationDefinitionNode"],"sourceRoot":"../../src","sources":["helpers.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAKA,OAAO,MAAMA,YAAY,GAAIC,SAAoB,IAAoB;EACjE,IAAIA,SAAS,CAACC,SAAS,EAAE;IACrB,IAAI;MACA,OAAOC,IAAI,CAACC,SAAS,CAACH,SAAS,CAACC,SAAS,CAAC;IAC9C,CAAC,CAAC,OAAOG,CAAC,EAAE;MACR;MACA,OAAO,IAAI;IACf;EACJ;EACA,OAAO,IAAI;AACf,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAIL,SAAoB,IAAoB;EACrE,IAAIA,SAAS,CAACM,aAAa,EAAE;IACzB,OAAON,SAAS,CAACM,aAAa;EAClC;EACA,OAAO,IAAI;AACf,CAAC;AAED,MAAMC,0BAA0B,GAC5BC,UAA0B,IACc;EACxC,OAAOA,UAAU,CAACC,IAAI,KAAK,qBAAqB,IAAI,CAAC,CAACD,UAAU,CAACR,SAAS;AAC9E,CAAC;AAED,OAAO,MAAMU,gBAAgB,GACzBV,SAAoB,IAC2B;EAC/C,IAAI;IACA,OACIA,SAAS,CAACW,KAAK,CAACC,WAAW,CACtBC,MAAM,CAACN,0BAA0B,CAAC,CAClCO,GAAG,CAACC,uBAAuB,IAAI;MAC5B,OAAOA,uBAAuB,CAACf,SAAS;IAC5C,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI;EAEzB,CAAC,CAAC,OAAOI,CAAC,EAAE;IACR;IACA,OAAO,IAAI;EACf;AACJ,CAAC","ignoreList":[]}
@@ -3,5 +3,6 @@
3
3
  * This product includes software developed at Datadog (https://www.datadoghq.com/).
4
4
  * Copyright 2016-Present Datadog, Inc.
5
5
  */
6
+
6
7
  export { DatadogLink } from './DatadogLink';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":["DatadogLink"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AAEA,SAASA,WAAT,QAA4B,eAA5B","sourcesContent":["/*\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2016-Present Datadog, Inc.\n */\n\nexport { DatadogLink } from './DatadogLink';\n"]}
1
+ {"version":3,"names":["DatadogLink"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,eAAe","ignoreList":[]}
@@ -13,7 +13,6 @@ export declare class DdSdkReactNative {
13
13
  private static readonly DD_VERSION_SUFFIX;
14
14
  private static wasAutoInstrumented;
15
15
  private static features?;
16
- private static _isInitialized;
17
16
  /**
18
17
  * Initializes the Datadog SDK.
19
18
  * @param configuration the configuration for the SDK library
@@ -57,10 +56,7 @@ export declare class DdSdkReactNative {
57
56
  * @returns a Promise
58
57
  */
59
58
  static clearAllData: () => Promise<void>;
60
- /**
61
- * Returns `true` if the SDK was initialized, `false` otherwise.
62
- */
63
- static isInitialized(): boolean;
64
59
  private static buildConfiguration;
65
60
  private static enableFeatures;
66
61
  }
62
+ //# sourceMappingURL=DdSdkReactNative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdSdkReactNative.d.ts","sourceRoot":"","sources":["../../../../../core/src/DdSdkReactNative.tsx"],"names":[],"mappings":"AAQA,OAAO,EACH,6BAA6B,EAKhC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAER,4BAA4B,EAC5B,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,CAGnE;IAEF;;;OAGG;IACH,MAAM,CAAC,YAAY,QAAO,QAAQ,IAAI,CAAC,CAGrC;IAEF,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAqE/B;IAEF,OAAO,CAAC,MAAM,CAAC,cAAc;CAmDhC"}
@@ -318,3 +318,4 @@ export declare enum InitializationMode {
318
318
  ASYNC = "ASYNC"
319
319
  }
320
320
  export type InitializationModeForTelemetry = 'LEGACY' | 'SYNC' | 'ASYNC' | 'PARTIAL' | 'FILE';
321
+ //# sourceMappingURL=DdSdkReactNativeConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdSdkReactNativeConfiguration.d.ts","sourceRoot":"","sources":["../../../../../core/src/DdSdkReactNativeConfiguration.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,oBAAY,qBAAqB;IAC7B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;CAClB;AAED,oBAAY,eAAe;IACvB;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,IAAI,SAAS;CAChB;AAED,oBAAY,SAAS;IACjB;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,MAAM,WAAW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,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC/B,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IACzC,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;IAC3C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC3C,CAAC;AAgBF,eAAO,MAAM,0CAA0C,aACzC,gCAAgC,iBAC3B,kCAAkC,KAClD,6BA2EF,CAAC;AAEF,qBAAa,4BAA6B,SAAQ,6BAA6B;IACpE,kBAAkB,EAAE,kBAAkB,CAA2B;CAC3E;AAED,oBAAY,kBAAkB;IAC1B,IAAI,SAAS;IACb,KAAK,UAAU;CAClB;AAED,MAAM,MAAM,8BAA8B,GACpC,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,CAAC"}
@@ -10,3 +10,4 @@ export declare class InternalLog {
10
10
  static verbosity: SdkVerbosity | undefined;
11
11
  static log(message: string, verbosity: SdkVerbosity): void;
12
12
  }
13
+ //# sourceMappingURL=InternalLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalLog.d.ts","sourceRoot":"","sources":["../../../../../core/src/InternalLog.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAO,MAAM,sBAAsB,aAAa,CAAC;AAEjD;;;;GAIG;AACH,qBAAa,WAAW;IACpB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAKpB;IAEH,OAAc,SAAS,EAAE,YAAY,GAAG,SAAS,CAAa;WAEhD,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,GAAG,IAAI;CA0BpE"}
@@ -46,3 +46,4 @@ declare enum ProxyType {
46
46
  SOCKS = "socks"
47
47
  }
48
48
  export { ProxyConfiguration, ProxyType };
49
+ //# sourceMappingURL=ProxyConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProxyConfiguration.d.ts","sourceRoot":"","sources":["../../../../../core/src/ProxyConfiguration.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAM,kBAAkB;IAKhB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,SAAS;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAfzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;;IAGd;;OAEG;IACM,IAAI,EAAE,SAAS;IACxB;;OAEG;IACM,OAAO,EAAE,MAAM;IACxB;;OAEG;IACM,IAAI,EAAE,MAAM;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM;CAaxB;AAED,aAAK,SAAS;IACV,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,CAAC"}
@@ -7,3 +7,4 @@ export declare enum SdkVerbosity {
7
7
  WARN = "warn",
8
8
  ERROR = "error"
9
9
  }
10
+ //# sourceMappingURL=SdkVerbosity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SdkVerbosity.d.ts","sourceRoot":"","sources":["../../../../../core/src/SdkVerbosity.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,oBAAY,YAAY;IACpB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;CAClB"}
@@ -6,3 +6,4 @@ export declare enum TrackingConsent {
6
6
  GRANTED = "granted",
7
7
  NOT_GRANTED = "not_granted"
8
8
  }
9
+ //# sourceMappingURL=TrackingConsent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrackingConsent.d.ts","sourceRoot":"","sources":["../../../../../core/src/TrackingConsent.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,oBAAY,eAAe;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC9B"}
@@ -1,3 +1,4 @@
1
+ import './polyfills';
1
2
  import { DatadogProviderConfiguration, DdSdkReactNativeConfiguration, InitializationMode, VitalsUpdateFrequency, UploadFrequency, BatchSize } from './DdSdkReactNativeConfiguration';
2
3
  import { DdSdkReactNative } from './DdSdkReactNative';
3
4
  import { InternalLog } from './InternalLog';
@@ -16,3 +17,4 @@ import { TimeProvider } from './utils/time-provider/TimeProvider';
16
17
  import type { Timestamp } from './utils/time-provider/TimeProvider';
17
18
  export { DatadogProvider, DatadogProviderConfiguration, FileBasedConfiguration, InitializationMode, DdLogs, DdTrace, DdRum, RumActionType, ErrorSource, DdSdkReactNativeConfiguration, DdSdkReactNative, InternalLog, ProxyConfiguration, ProxyType, TrackingConsent, SdkVerbosity, VitalsUpdateFrequency, PropagatorType, UploadFrequency, BatchSize, TimeProvider, DefaultTimeProvider, DATADOG_GRAPH_QL_OPERATION_TYPE_HEADER, DATADOG_GRAPH_QL_OPERATION_NAME_HEADER, DATADOG_GRAPH_QL_VARIABLES_HEADER };
18
19
  export type { Timestamp };
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../core/src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,aAAa,CAAC;AACrB,OAAO,EACH,4BAA4B,EAC5B,6BAA6B,EAC7B,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,SAAS,EACZ,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACH,sCAAsC,EACtC,sCAAsC,EACtC,iCAAiC,EACpC,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAIpE,OAAO,EACH,eAAe,EACf,4BAA4B,EAC5B,sBAAsB,EACtB,kBAAkB,EAClB,MAAM,EACN,OAAO,EACP,KAAK,EACL,aAAa,EACb,WAAW,EACX,6BAA6B,EAC7B,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,SAAS,EACT,YAAY,EACZ,mBAAmB,EACnB,sCAAsC,EACtC,sCAAsC,EACtC,iCAAiC,EACpC,CAAC;AAEF,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -20,3 +20,4 @@ declare class DdLogsWrapper implements DdLogsType {
20
20
  }
21
21
  export declare const DdLogs: DdLogsWrapper;
22
22
  export {};
23
+ //# sourceMappingURL=DdLogs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdLogs.d.ts","sourceRoot":"","sources":["../../../../../../core/src/logs/DdLogs.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACR,UAAU,EACV,YAAY,EACZ,cAAc,EACd,qBAAqB,EAExB,MAAM,SAAS,CAAC;AAsBjB,cAAM,aAAc,YAAW,UAAU;IAErC,OAAO,CAAC,UAAU,CACL;IACb,OAAO,CAAC,cAAc,CAAkC;IAExD,KAAK,YAAa,YAAY,GAAG,qBAAqB,KAAG,QAAQ,IAAI,CAAC,CAapE;IAEF,IAAI,YAAa,YAAY,GAAG,qBAAqB,KAAG,QAAQ,IAAI,CAAC,CAanE;IAEF,IAAI,YAAa,YAAY,GAAG,qBAAqB,KAAG,QAAQ,IAAI,CAAC,CAanE;IAEF,KAAK,YAAa,YAAY,GAAG,qBAAqB,KAAG,QAAQ,IAAI,CAAC,CAapE;IAEF;;;OAGG;IACH,OAAO,CAAC,gCAAgC,CAStC;IAEF,OAAO,CAAC,uBAAuB,CAQ7B;IAEF,OAAO,CAAC,eAAe,CAQrB;IAEF,OAAO,CAAC,GAAG,CA4BT;IAEF,OAAO,CAAC,YAAY,CAmDlB;IAEF,sBAAsB,CAAC,cAAc,EAAE,cAAc;IAIrD,wBAAwB;CAG3B;AAED,eAAO,MAAM,MAAM,eAAsB,CAAC"}
@@ -9,3 +9,4 @@ export declare const formatRawLogToLogEvent: (rawLog: RawLog | RawLogWithError,
9
9
  attributes: Attributes;
10
10
  }) => LogEvent;
11
11
  export declare const generateEventMapper: (logEventMapper: LogEventMapper | undefined) => EventMapper<RawLog | RawLogWithError, LogEvent, NativeLog | NativeLogWithError>;
12
+ //# sourceMappingURL=eventMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventMapper.d.ts","sourceRoot":"","sources":["../../../../../../core/src/logs/eventMapper.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,KAAK,EACR,QAAQ,EACR,cAAc,EACd,SAAS,EACT,kBAAkB,EAClB,MAAM,EACN,eAAe,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,yBAAyB,aACxB,QAAQ,KACnB,SAAS,GAAG,kBAEd,CAAC;AAEF,eAAO,MAAM,yBAAyB,WAC1B,MAAM,GAAG,eAAe,KACjC,SAAS,GAAG,kBAEd,CAAC;AAEF,eAAO,MAAM,sBAAsB,WACvB,MAAM,GAAG,eAAe,yBACT;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;CAC1B,KACF,QAMF,CAAC;AAEF,eAAO,MAAM,mBAAmB,mBACZ,cAAc,GAAG,SAAS,oFAOzC,CAAC"}
@@ -43,6 +43,7 @@ export type RawLogWithError = {
43
43
  stacktrace: string;
44
44
  context: object;
45
45
  status: LogStatus;
46
+ fingerprint?: string;
46
47
  };
47
48
  /**
48
49
  * Log input for native SDKs
@@ -57,6 +58,7 @@ export type NativeLogWithError = {
57
58
  errorMessage: string;
58
59
  stacktrace: string;
59
60
  context: object;
61
+ fingerprint?: string;
60
62
  };
61
63
  export type LogStatus = 'debug' | 'info' | 'warn' | 'error';
62
64
  export type LogEvent = {
@@ -65,6 +67,7 @@ export type LogEvent = {
65
67
  errorKind?: string;
66
68
  errorMessage?: string;
67
69
  stacktrace?: string;
70
+ fingerprint?: string;
68
71
  readonly status: LogStatus;
69
72
  readonly userInfo: UserInfo;
70
73
  readonly attributes?: object;
@@ -76,5 +79,7 @@ export type LogWithErrorArguments = [
76
79
  errorKind?: string,
77
80
  errorMessage?: string,
78
81
  stacktrace?: string,
79
- context?: object
82
+ context?: object,
83
+ fingerprint?: string
80
84
  ];
85
+ //# sourceMappingURL=types.d.ts.map
@@ -0,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AM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5D,MAAM,MAAM,QAAQ,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,QAAQ,GAAG,IAAI,CAAC;AAErE,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAChC,OAAO,EAAE,MAAM;IACf,SAAS,CAAC,EAAE,MAAM;IAClB,YAAY,CAAC,EAAE,MAAM;IACrB,UAAU,CAAC,EAAE,MAAM;IACnB,OAAO,CAAC,EAAE,MAAM;IAChB,WAAW,CAAC,EAAE,MAAM;CACvB,CAAC"}
@@ -86,7 +86,9 @@ export interface DdNativeRumType extends NativeDdRum {
86
86
  * @param stacktrace: The error stacktrace.
87
87
  * @param context: The additional context to send.
88
88
  * @param timestampMs: The timestamp when the error occurred (in milliseconds). If not provided, current timestamp will be used.
89
+ * @param fingerprint: Optional custom error fingerprint.
89
90
  */
90
- addError(message: string, source: ErrorSource, stacktrace: string, context: object, timestampMs: number): Promise<void>;
91
+ addError(message: string, source: ErrorSource, stacktrace: string, context: object, timestampMs: number, fingerprint: string | undefined): Promise<void>;
91
92
  }
92
93
  export {};
94
+ //# sourceMappingURL=nativeModulesTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeModulesTypes.d.ts","sourceRoot":"","sources":["../../../../../core/src/nativeModulesTypes.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEnE;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAE9C;;GAEG;AACH,qBAAa,wBAAwB;IAE7B,QAAQ,CAAC,WAAW,EAAE,MAAM;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM;IACpB,QAAQ,CAAC,aAAa,EAAE,MAAM;IAC9B,QAAQ,CAAC,wBAAwB,EAAE,OAAO;IAC1C,QAAQ,CAAC,UAAU,EAAE,MAAM;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,eAAe,EAAE,MAAM;IAChC,QAAQ,CAAC,uBAAuB,EAAE,MAAM;gBAP/B,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,wBAAwB,EAAE,OAAO,EACjC,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,MAAM,EACvB,uBAAuB,EAAE,MAAM;CAE/C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AAQ,CACJ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,WAAW,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAAG,SAAS,GAChC,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB"}
@@ -0,0 +1,14 @@
1
+ export declare const DdAttributes: {
2
+ /**
3
+ * Custom "source type" of the error. Used in RUM errors. It names the
4
+ * language or platform of the RUM error stack trace, so the SCI backend
5
+ * knows how to symbolize it. Expects {@link String} value.
6
+ */
7
+ errorSourceType: string;
8
+ /**
9
+ * Custom fingerprint to an error.
10
+ * Expects {@link String} value.
11
+ */
12
+ errorFingerprint: string;
13
+ };
14
+ //# sourceMappingURL=DdAttributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdAttributes.d.ts","sourceRoot":"","sources":["../../../../../../core/src/rum/DdAttributes.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;IACrB;;;;OAIG;;IAGH;;;OAGG;;CAEN,CAAC"}
@@ -3,7 +3,7 @@ import type { TimeProvider } from '../utils/time-provider/TimeProvider';
3
3
  import type { ActionEventMapper } from './eventMappers/actionEventMapper';
4
4
  import type { ErrorEventMapper } from './eventMappers/errorEventMapper';
5
5
  import type { ResourceEventMapper } from './eventMappers/resourceEventMapper';
6
- import type { DdRumType, RumActionType, ResourceKind, ErrorSource } from './types';
6
+ import type { ErrorSource, DdRumType, RumActionType, ResourceKind } from './types';
7
7
  declare class DdRumWrapper implements DdRumType {
8
8
  private nativeRum;
9
9
  private lastActionData?;
@@ -24,7 +24,7 @@ declare class DdRumWrapper implements DdRumType {
24
24
  addAction: (type: RumActionType, name: string, context?: object, timestampMs?: number, actionContext?: GestureResponderEvent) => Promise<void>;
25
25
  startResource: (key: string, method: string, url: string, context?: object, timestampMs?: number) => Promise<void>;
26
26
  stopResource: (key: string, statusCode: number, kind: ResourceKind, size?: number, context?: object, timestampMs?: number, resourceContext?: XMLHttpRequest) => Promise<void>;
27
- addError: (message: string, source: ErrorSource, stacktrace: string, context?: object, timestampMs?: number) => Promise<void>;
27
+ addError: (message: string, source: ErrorSource, stacktrace: string, context?: object, timestampMs?: number, fingerprint?: string) => Promise<void>;
28
28
  addTiming: (name: string) => Promise<void>;
29
29
  stopSession: () => Promise<void>;
30
30
  addFeatureFlagEvaluation: (name: string, value: unknown) => Promise<void>;
@@ -40,3 +40,4 @@ declare class DdRumWrapper implements DdRumType {
40
40
  }
41
41
  export declare const DdRum: DdRumWrapper;
42
42
  export {};
43
+ //# sourceMappingURL=DdRum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdRum.d.ts","sourceRoot":"","sources":["../../../../../../core/src/rum/DdRum.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAU1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,OAAO,KAAK,EACR,WAAW,EACX,SAAS,EACT,aAAa,EACb,YAAY,EACf,MAAM,SAAS,CAAC;AAIjB,cAAM,YAAa,YAAW,SAAS;IAEnC,OAAO,CAAC,SAAS,CACJ;IACb,OAAO,CAAC,cAAc,CAAC,CAAwC;IAC/D,OAAO,CAAC,gBAAgB,CAAuC;IAC/D,OAAO,CAAC,mBAAmB,CAA0C;IACrE,OAAO,CAAC,iBAAiB,CAAwC;IACjE,OAAO,CAAC,YAAY,CAA2C;IAE/D,SAAS,QACA,MAAM,QACL,MAAM,YACH,MAAM,gBACF,MAAM,KACpB,QAAQ,IAAI,CAAC,CAad;IAEF,QAAQ,QACC,MAAM,YACF,MAAM,gB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BAAiB;IAI9D,2BAA2B;IAI3B,OAAO,CAAC,oBAAoB,CAiC1B;IAEF,OAAO,CAAC,2BAA2B,CAkDjC;CACL;AAiCD,eAAO,MAAM,KAAK,cAAqB,CAAC"}
@@ -19,3 +19,4 @@ type NativeAction = {
19
19
  export type ActionEventMapper = (event: ActionEvent) => ActionEvent | null;
20
20
  export declare const generateActionEventMapper: (eventMapper: ActionEventMapper | undefined) => EventMapper<RawAction, ActionEvent, NativeAction>;
21
21
  export {};
22
+ //# sourceMappingURL=actionEventMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionEventMapper.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/rum/eventMappers/actionEventMapper.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,KAAK,SAAS,GAAG;IACb,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,qBAAqB,CAAC;CACzC,CAAC;AAEF,KAAK,WAAW,GAAG,SAAS,GAAG,4BAA4B,CAAC;AAE5D,KAAK,YAAY,GAAG;IAChB,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,WAAW,GAAG,IAAI,CAAC;AAE3E,eAAO,MAAM,yBAAyB,gBACrB,iBAAiB,GAAG,SAAS,sDAOzC,CAAC"}
@@ -7,6 +7,7 @@ type RawError = {
7
7
  stacktrace: string;
8
8
  context: object;
9
9
  timestampMs: number;
10
+ fingerprint: string;
10
11
  };
11
12
  type ErrorEvent = RawError & AdditionalEventDataForMapper;
12
13
  type NativeError = {
@@ -15,7 +16,9 @@ type NativeError = {
15
16
  stacktrace: string;
16
17
  context: object;
17
18
  timestampMs: number;
19
+ fingerprint: string;
18
20
  };
19
21
  export type ErrorEventMapper = (event: ErrorEvent) => ErrorEvent | null;
20
22
  export declare const generateErrorEventMapper: (eventMapper: ErrorEventMapper | undefined) => EventMapper<RawError, ErrorEvent, NativeError>;
21
23
  export {};
24
+ //# sourceMappingURL=errorEventMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorEventMapper.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/rum/eventMappers/errorEventMapper.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,KAAK,QAAQ,GAAG;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,UAAU,GAAG,QAAQ,GAAG,4BAA4B,CAAC;AAE1D,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK,UAAU,GAAG,IAAI,CAAC;AAExE,eAAO,MAAM,wBAAwB,gBACpB,gBAAgB,GAAG,SAAS,mDAOxC,CAAC"}
@@ -22,3 +22,4 @@ type NativeResource = {
22
22
  export type ResourceEventMapper = (event: ResourceEvent) => ResourceEvent | null;
23
23
  export declare const generateResourceEventMapper: (eventMapper: ResourceEventMapper | undefined) => EventMapper<RawResource, ResourceEvent, NativeResource>;
24
24
  export {};
25
+ //# sourceMappingURL=resourceEventMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceEventMapper.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/rum/eventMappers/resourceEventMapper.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,KAAK,aAAa,GAAG,WAAW,GAAG,4BAA4B,CAAC;AAEhE,KAAK,cAAc,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAC9B,KAAK,EAAE,aAAa,KACnB,aAAa,GAAG,IAAI,CAAC;AAE1B,eAAO,MAAM,2BAA2B,gBACvB,mBAAmB,GAAG,SAAS,4DAO3C,CAAC"}
@@ -14,3 +14,4 @@ export declare class DdRumErrorTracking {
14
14
  static onConsoleError: (...params: unknown[]) => void;
15
15
  private static reportError;
16
16
  }
17
+ //# sourceMappingURL=DdRumErrorTracking.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdRumErrorTracking.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/rum/instrumentation/DdRumErrorTracking.tsx"],"names":[],"mappings":"AAsBA;;GAEG;AACH,qBAAa,kBAAkB;IAC3B,OAAO,CAAC,MAAM,CAAC,UAAU,CAAS;IAElC,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAAS;IAG/C,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAiE;IAGnG,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAiC;IAEnE;;OAEG;IACH,MAAM,CAAC,aAAa,IAAI,IAAI;IA8B5B,MAAM,CAAC,aAAa,UAAW,GAAG,YAAY,OAAO,KAAG,IAAI,CAuB1D;IAEF,MAAM,CAAC,cAAc,cAAe,OAAO,EAAE,KAAG,IAAI,CA2ClD;IAEF,OAAO,CAAC,MAAM,CAAC,WAAW,CAcxB;CACL"}
@@ -22,3 +22,4 @@ export declare class DdEventsInterceptor implements EventsInterceptor {
22
22
  private resolveElementTypeName;
23
23
  private findClosestActionLabel;
24
24
  }
25
+ //# sourceMappingURL=DdEventsInterceptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdEventsInterceptor.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/rum/instrumentation/interactionTracking/DdEventsInterceptor.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAKpD,MAAM,MAAM,0BAA0B,GAAG;IACrC;;SAEK;IACL,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;SAEK;IACL,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,qBAAa,mBAAoB,YAAW,iBAAiB;IACzD,MAAM,CAAC,kCAAkC,SAKK;IAE9C,OAAO,CAAC,0BAA0B,CAAoB;IAEtD,OAAO,CAAC,mBAAmB,CAAC,CAAS;IACrC,OAAO,CAAC,qBAAqB,CAAU;gBAE3B,OAAO,GAAE,0BAA+B;IAKpD,gBAAgB,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAqBtC,OAAO,CAAC,iBAAiB;IAazB,OAAO,CAAC,iBAAiB;IAoBzB,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,sBAAsB;CAkBjC"}
@@ -9,6 +9,7 @@ export declare class DdRumUserInteractionTracking {
9
9
  private static originalCreateElement;
10
10
  private static originalMemo;
11
11
  private static originalJsx;
12
+ private static originalDevJsx;
12
13
  private static patchCreateElementFunction;
13
14
  /**
14
15
  * Starts tracking user interactions and sends a RUM Action event every time a new interaction was detected.
@@ -18,3 +19,4 @@ export declare class DdRumUserInteractionTracking {
18
19
  static startTracking(options: DdEventsInterceptorOptions): void;
19
20
  static stopTracking(): void;
20
21
  }
22
+ //# sourceMappingURL=DdRumUserInteractionTracking.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DdRumUserInteractionTracking.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAMxE;;;GAGG;AACH,qBAAa,4BAA4B;IACrC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAS;IAClC,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAkD;IAClF,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAuB;IAC3D,OAAO,CAAC,MAAM,CAAC,YAAY,CAAc;IACzC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAQ;IAClC,OAAO,CAAC,MAAM,CAAC,cAAc,CAAQ;IAErC,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAuBvC;IAEF;;;;OAIG;IACH,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,0BAA0B,GAAG,IAAI;IA0F/D,MAAM,CAAC,YAAY;CActB"}
@@ -1,3 +1,4 @@
1
1
  export default interface EventsInterceptor {
2
2
  interceptOnPress(...args: any[]): void;
3
3
  }
4
+ //# sourceMappingURL=EventsInterceptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsInterceptor.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/rum/instrumentation/interactionTracking/EventsInterceptor.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,WAAW,iBAAiB;IACtC,gBAAgB,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;CAC1C"}
@@ -2,3 +2,4 @@ import type EventsInterceptor from './EventsInterceptor';
2
2
  export default class NoOpEventsInterceptor implements EventsInterceptor {
3
3
  interceptOnPress(..._args: any[]): void;
4
4
  }
5
+ //# sourceMappingURL=NoOpEventsInterceptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoOpEventsInterceptor.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/rum/instrumentation/interactionTracking/NoOpEventsInterceptor.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,qBAAsB,YAAW,iBAAiB;IAEnE,gBAAgB,CAAC,GAAG,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI;CAG1C"}
@@ -5,3 +5,4 @@
5
5
  * This is documented in https://github.com/DataDog/dd-sdk-reactnative/issues/419.
6
6
  */
7
7
  export declare const areObjectShallowEqual: (objectA: Record<string, unknown> | undefined | null, objectB: Record<string, unknown> | undefined | null) => boolean;
8
+ //# sourceMappingURL=ShallowObjectEqualityChecker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShallowObjectEqualityChecker.d.ts","sourceRoot":"","sources":["../../../../../../../../core/src/rum/instrumentation/interactionTracking/ShallowObjectEqualityChecker.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,YACrB,OAAO,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,WAC1C,OAAO,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,KACpD,OAgBF,CAAC"}