diff --git a/LICENSE-3rdparty.csv b/LICENSE-3rdparty.csv index 688661b1b..883a02b6e 100644 --- a/LICENSE-3rdparty.csv +++ b/LICENSE-3rdparty.csv @@ -1,5 +1,6 @@ Component,Origin,License,Copyright prod,react-native,MIT,"Copyright (c) Facebook, Inc. and its affiliates." +dev,@apollo/client,MIT,"Copyright (c) 2022 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.)" dev,@babel/plugin-transform-runtime,MIT,"Copyright (c) 2014-present Sebastian McKenzie and other contributors" dev,@testing-library/react-native,MIT,"Copyright (c) 2018 Callstack and Rally Health" dev,@types/jest,MIT,"Copyrights are respective of each contributor listed at the beginning of each definition file." @@ -17,6 +18,7 @@ dev,eslint-plugin-prettier,MIT,"Copyright © 2017 Andres Suarez and Teddy Katz" dev,eslint-plugin-react,MIT,"Copyright (c) 2014 Yannick Croissant" dev,eslint-plugin-react-hooks,MIT,"Copyright (c) Facebook, Inc. and its affiliates." dev,eslint-plugin-react-native,MIT,"Copyright (c) 2015 Tom Hastjarjanto" +dev,graphql,MIT,"Copyright (c) GraphQL Contributors" dev,jest,MIT,"Copyright (c) Facebook, Inc. and its affiliates." dev,lerna,MIT,"Copyright (c) 2015-present Lerna Contributors" dev,pod-install,MIT,"Copyright (c) 2020-present 650 Industries, Inc. (aka Expo)" diff --git a/example-new-architecture/ios/Podfile.lock b/example-new-architecture/ios/Podfile.lock index d66d9ce72..42691fb31 100644 --- a/example-new-architecture/ios/Podfile.lock +++ b/example-new-architecture/ios/Podfile.lock @@ -11,7 +11,7 @@ PODS: - DatadogInternal (= 2.4.0) - DatadogRUM (2.4.0): - DatadogInternal (= 2.4.0) - - DatadogSDKReactNative (1.8.5): + - DatadogSDKReactNative (2.0.0-rc.0): - DatadogCore (~> 2.4.0) - DatadogCrashReporting (~> 2.4.0) - DatadogLogs (~> 2.4.0) @@ -964,7 +964,7 @@ SPEC CHECKSUMS: DatadogInternal: 5789bca7a0284b20655ba2a79738ac7d0cd56e70 DatadogLogs: 3b8c8778c32b780f916c2894b9d2c53bbf590803 DatadogRUM: 4207d091be536b888719969a7ca078e2c830819a - DatadogSDKReactNative: 075230b50bd8c75ea3101ae6ee28cede9624e7a7 + DatadogSDKReactNative: eb78e590ad1a972ba6ec617d693d0c9969f85caf DatadogTrace: ec75b1da1dcf9f5b574481a3773b296e0e1fda38 DatadogWebViewTracking: e7a5841f001f488fc0240d7cba1a984ab6c86e9a DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index d54145bfd..6037945f9 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -10,7 +10,7 @@ PODS: - DatadogInternal (= 2.4.0) - DatadogRUM (2.4.0): - DatadogInternal (= 2.4.0) - - DatadogSDKReactNative (1.8.5): + - DatadogSDKReactNative (2.0.0-rc.0): - DatadogCore (~> 2.4.0) - DatadogCrashReporting (~> 2.4.0) - DatadogLogs (~> 2.4.0) @@ -18,7 +18,7 @@ PODS: - DatadogTrace (~> 2.4.0) - DatadogWebViewTracking (~> 2.4.0) - React-Core - - DatadogSDKReactNative/Tests (1.8.5): + - DatadogSDKReactNative/Tests (2.0.0-rc.0): - DatadogCore (~> 2.4.0) - DatadogCrashReporting (~> 2.4.0) - DatadogLogs (~> 2.4.0) @@ -26,10 +26,10 @@ PODS: - DatadogTrace (~> 2.4.0) - DatadogWebViewTracking (~> 2.4.0) - React-Core - - DatadogSDKReactNativeSessionReplay (1.8.5): + - DatadogSDKReactNativeSessionReplay (2.0.0-rc.0): - DatadogSessionReplay (~> 2.4.0) - React-Core - - DatadogSDKReactNativeSessionReplay/Tests (1.8.5): + - DatadogSDKReactNativeSessionReplay/Tests (2.0.0-rc.0): - DatadogSessionReplay (~> 2.4.0) - React-Core - DatadogSessionReplay (2.4.0): @@ -574,8 +574,8 @@ SPEC CHECKSUMS: DatadogInternal: 5789bca7a0284b20655ba2a79738ac7d0cd56e70 DatadogLogs: 3b8c8778c32b780f916c2894b9d2c53bbf590803 DatadogRUM: 4207d091be536b888719969a7ca078e2c830819a - DatadogSDKReactNative: 30c85f8248e1c6c4f48bd4f953c03e4faa908d10 - DatadogSDKReactNativeSessionReplay: adbd462a4294466865cf4a8b19ded8f51f08c7dd + DatadogSDKReactNative: 1519ef46917db967b439705f24e7d2703fb91167 + DatadogSDKReactNativeSessionReplay: 3fa2bf53d09bb7f26d117a4c136e1efbedcb377b DatadogSessionReplay: 8d17ac983669b62e3dd9159cf4a04e98fcf9abeb DatadogTrace: ec75b1da1dcf9f5b574481a3773b296e0e1fda38 DatadogWebViewTracking: e7a5841f001f488fc0240d7cba1a984ab6c86e9a diff --git a/lerna.json b/lerna.json index 15d843403..a7f76c569 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "npmClient": "yarn", - "version": "1.8.5", + "version": "2.0.0-rc.0", "packages": [ "packages/*" ], diff --git a/packages/codepush/package.json b/packages/codepush/package.json index a36f7c165..60367e0a8 100644 --- a/packages/codepush/package.json +++ b/packages/codepush/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-code-push", - "version": "1.8.5", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to interact with Appcenter Codepush and Datadog", "keywords": [ "datadog", @@ -38,7 +38,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@datadog/mobile-react-native": "^1.8.5", + "@datadog/mobile-react-native": "^2.0.0-rc.0", "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.17.1", "react-native-code-push": "7.0.5" diff --git a/packages/core/android/src/test/kotlin/com/datadog/tools/unit/MockRumMonitor.kt b/packages/core/android/src/test/kotlin/com/datadog/tools/unit/MockRumMonitor.kt index 3e8dd03ff..2a861f58d 100644 --- a/packages/core/android/src/test/kotlin/com/datadog/tools/unit/MockRumMonitor.kt +++ b/packages/core/android/src/test/kotlin/com/datadog/tools/unit/MockRumMonitor.kt @@ -1,3 +1,9 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2016-Present Datadog, Inc. + */ + package com.datadog.tools.unit import com.datadog.android.rum.RumActionType diff --git a/packages/core/package.json b/packages/core/package.json index 33d6c1d84..f6432579e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native", - "version": "1.8.5", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", diff --git a/packages/core/release-content.txt b/packages/core/release-content.txt index d25402bd2..556e2416c 100644 --- a/packages/core/release-content.txt +++ b/packages/core/release-content.txt @@ -35,6 +35,7 @@ package/android/src/test/kotlin/com/datadog/reactnative/ProxyAuthenticatorTest.k package/android/src/test/kotlin/com/datadog/tools/unit/DdSdkConfigurationExt.kt package/android/src/test/kotlin/com/datadog/tools/unit/GenericAssert.kt package/android/src/test/kotlin/com/datadog/tools/unit/MapExt.kt +package/android/src/test/kotlin/com/datadog/tools/unit/MockRumMonitor.kt package/android/src/test/kotlin/com/datadog/tools/unit/ReflectUtils.kt package/android/src/test/kotlin/com/datadog/tools/unit/forge/ActionEventForgeryFactory.kt package/android/src/test/kotlin/com/datadog/tools/unit/forge/BaseConfigurator.kt @@ -68,6 +69,7 @@ package/ios/Sources/GlobalState.swift package/ios/Sources/JSRefreshRateListener.swift package/ios/Sources/QueueHolder.swift package/ios/Sources/RNDdSdkConfiguration.swift +package/ios/Sources/RUMMonitorInternalProtocol.swift package/jest/mock.js package/lib/commonjs/DdSdkReactNative.js package/lib/commonjs/DdSdkReactNative.js.map @@ -79,14 +81,8 @@ package/lib/commonjs/ProxyConfiguration.js package/lib/commonjs/ProxyConfiguration.js.map package/lib/commonjs/SdkVerbosity.js package/lib/commonjs/SdkVerbosity.js.map -package/lib/commonjs/TimeProvider.js -package/lib/commonjs/TimeProvider.js.map -package/lib/commonjs/Timer.js -package/lib/commonjs/Timer.js.map package/lib/commonjs/TrackingConsent.js package/lib/commonjs/TrackingConsent.js.map -package/lib/commonjs/errorUtils.js -package/lib/commonjs/errorUtils.js.map package/lib/commonjs/index.js package/lib/commonjs/index.js.map package/lib/commonjs/logs/DdLogs.js @@ -95,8 +91,6 @@ package/lib/commonjs/logs/eventMapper.js package/lib/commonjs/logs/eventMapper.js.map package/lib/commonjs/logs/types.js package/lib/commonjs/logs/types.js.map -package/lib/commonjs/longTasksUtils.js -package/lib/commonjs/longTasksUtils.js.map package/lib/commonjs/nativeModulesTypes.js package/lib/commonjs/nativeModulesTypes.js.map package/lib/commonjs/rum/DdRum.js @@ -129,6 +123,8 @@ package/lib/commonjs/rum/instrumentation/resourceTracking/distributedTracing/dis package/lib/commonjs/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.js.map package/lib/commonjs/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.js package/lib/commonjs/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.js.map +package/lib/commonjs/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.js +package/lib/commonjs/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.js.map package/lib/commonjs/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.js package/lib/commonjs/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.js.map package/lib/commonjs/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.js @@ -185,6 +181,16 @@ package/lib/commonjs/trace/DdTrace.js package/lib/commonjs/trace/DdTrace.js.map package/lib/commonjs/types.js package/lib/commonjs/types.js.map +package/lib/commonjs/utils/TimeProvider.js +package/lib/commonjs/utils/TimeProvider.js.map +package/lib/commonjs/utils/Timer.js +package/lib/commonjs/utils/Timer.js.map +package/lib/commonjs/utils/errorUtils.js +package/lib/commonjs/utils/errorUtils.js.map +package/lib/commonjs/utils/jsUtils.js +package/lib/commonjs/utils/jsUtils.js.map +package/lib/commonjs/utils/longTasksUtils.js +package/lib/commonjs/utils/longTasksUtils.js.map package/lib/commonjs/version.js package/lib/commonjs/version.js.map package/lib/module/DdSdkReactNative.js @@ -197,14 +203,8 @@ package/lib/module/ProxyConfiguration.js package/lib/module/ProxyConfiguration.js.map package/lib/module/SdkVerbosity.js package/lib/module/SdkVerbosity.js.map -package/lib/module/TimeProvider.js -package/lib/module/TimeProvider.js.map -package/lib/module/Timer.js -package/lib/module/Timer.js.map package/lib/module/TrackingConsent.js package/lib/module/TrackingConsent.js.map -package/lib/module/errorUtils.js -package/lib/module/errorUtils.js.map package/lib/module/index.js package/lib/module/index.js.map package/lib/module/logs/DdLogs.js @@ -213,8 +213,6 @@ package/lib/module/logs/eventMapper.js package/lib/module/logs/eventMapper.js.map package/lib/module/logs/types.js package/lib/module/logs/types.js.map -package/lib/module/longTasksUtils.js -package/lib/module/longTasksUtils.js.map package/lib/module/nativeModulesTypes.js package/lib/module/nativeModulesTypes.js.map package/lib/module/rum/DdRum.js @@ -247,6 +245,8 @@ package/lib/module/rum/instrumentation/resourceTracking/distributedTracing/distr package/lib/module/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.js.map package/lib/module/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.js package/lib/module/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.js.map +package/lib/module/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.js +package/lib/module/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.js.map package/lib/module/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.js package/lib/module/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.js.map package/lib/module/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.js @@ -303,6 +303,16 @@ package/lib/module/trace/DdTrace.js package/lib/module/trace/DdTrace.js.map package/lib/module/types.js package/lib/module/types.js.map +package/lib/module/utils/TimeProvider.js +package/lib/module/utils/TimeProvider.js.map +package/lib/module/utils/Timer.js +package/lib/module/utils/Timer.js.map +package/lib/module/utils/errorUtils.js +package/lib/module/utils/errorUtils.js.map +package/lib/module/utils/jsUtils.js +package/lib/module/utils/jsUtils.js.map +package/lib/module/utils/longTasksUtils.js +package/lib/module/utils/longTasksUtils.js.map package/lib/module/version.js package/lib/module/version.js.map package/lib/typescript/DdSdkReactNative.d.ts @@ -310,15 +320,11 @@ package/lib/typescript/DdSdkReactNativeConfiguration.d.ts package/lib/typescript/InternalLog.d.ts package/lib/typescript/ProxyConfiguration.d.ts package/lib/typescript/SdkVerbosity.d.ts -package/lib/typescript/TimeProvider.d.ts -package/lib/typescript/Timer.d.ts package/lib/typescript/TrackingConsent.d.ts -package/lib/typescript/errorUtils.d.ts package/lib/typescript/index.d.ts package/lib/typescript/logs/DdLogs.d.ts package/lib/typescript/logs/eventMapper.d.ts package/lib/typescript/logs/types.d.ts -package/lib/typescript/longTasksUtils.d.ts package/lib/typescript/nativeModulesTypes.d.ts package/lib/typescript/rum/DdRum.d.ts package/lib/typescript/rum/eventMappers/actionEventMapper.d.ts @@ -335,6 +341,7 @@ package/lib/typescript/rum/instrumentation/resourceTracking/DdRumResourceTrackin package/lib/typescript/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts package/lib/typescript/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts package/lib/typescript/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts +package/lib/typescript/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts package/lib/typescript/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts package/lib/typescript/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts package/lib/typescript/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts @@ -363,6 +370,11 @@ package/lib/typescript/specs/NativeDdSdk.d.ts package/lib/typescript/specs/NativeDdTrace.d.ts package/lib/typescript/trace/DdTrace.d.ts package/lib/typescript/types.d.ts +package/lib/typescript/utils/TimeProvider.d.ts +package/lib/typescript/utils/Timer.d.ts +package/lib/typescript/utils/errorUtils.d.ts +package/lib/typescript/utils/jsUtils.d.ts +package/lib/typescript/utils/longTasksUtils.d.ts package/lib/typescript/version.d.ts package/package.json package/scripts/replace-react-require.js @@ -371,30 +383,22 @@ package/src/DdSdkReactNativeConfiguration.tsx package/src/InternalLog.tsx package/src/ProxyConfiguration.tsx package/src/SdkVerbosity.tsx -package/src/TimeProvider.tsx -package/src/Timer.ts package/src/TrackingConsent.tsx package/src/__mocks__/InternalLog.tsx package/src/__tests__/DdSdkReactNative.test.tsx package/src/__tests__/DdSdkReactNativeConfiguration.test.ts package/src/__tests__/InternalLog.test.tsx -package/src/__tests__/TimeProvider.test.tsx -package/src/__tests__/Timer.test.ts -package/src/__tests__/errorUtils.test.ts -package/src/__tests__/longTasksUtils.test.ts package/src/__tests__/mock.test.ts package/src/__tests__/rum/instrumentation/DdEventsInterceptor.test.tsx package/src/__tests__/rum/instrumentation/DdRumErrorTracking.test.tsx package/src/__tests__/rum/instrumentation/DdRumUserInteractionTracking.test.tsx package/src/__tests__/rum/instrumentation/ShallowObjectEqualityChecker.test.ts -package/src/errorUtils.ts package/src/index.tsx package/src/logs/DdLogs.ts package/src/logs/__tests__/DdLogs.test.ts package/src/logs/__tests__/eventMapper.test.ts package/src/logs/eventMapper.ts package/src/logs/types.ts -package/src/longTasksUtils.ts package/src/nativeModulesTypes.ts package/src/rum/DdRum.ts package/src/rum/__tests__/DdRum.test.ts @@ -416,6 +420,8 @@ package/src/rum/instrumentation/resourceTracking/distributedTracing/__tests__/fi package/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.tsx package/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.ts package/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.ts +package/src/rum/instrumentation/resourceTracking/graphql/__tests__/graphqlHeaders.test.ts +package/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.ts package/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.ts package/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/__tests__/ResourceReporter.test.ts package/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/__tests__/__utils__/ResourceMockFactory.ts @@ -458,4 +464,14 @@ package/src/specs/NativeDdSdk.ts package/src/specs/NativeDdTrace.ts package/src/trace/DdTrace.ts package/src/types.tsx +package/src/utils/TimeProvider.tsx +package/src/utils/Timer.ts +package/src/utils/__mocks__/jsUtils.ts +package/src/utils/__tests__/TimeProvider.test.tsx +package/src/utils/__tests__/Timer.test.ts +package/src/utils/__tests__/errorUtils.test.ts +package/src/utils/__tests__/longTasksUtils.test.ts +package/src/utils/errorUtils.ts +package/src/utils/jsUtils.ts +package/src/utils/longTasksUtils.ts package/src/version.ts diff --git a/packages/core/src/version.ts b/packages/core/src/version.ts index 56b314142..fdd3468c5 100644 --- a/packages/core/src/version.ts +++ b/packages/core/src/version.ts @@ -1,2 +1,2 @@ // generated by genversion -export const version = '1.8.5'; +export const version = '2.0.0-rc.0'; diff --git a/packages/react-native-apollo-client/package.json b/packages/react-native-apollo-client/package.json index 3fda94157..5fd09da60 100644 --- a/packages/react-native-apollo-client/package.json +++ b/packages/react-native-apollo-client/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-apollo-client", - "version": "1.8.3", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to interact with Apollo Client and Datadog", "keywords": [ "datadog", diff --git a/packages/react-native-navigation/package.json b/packages/react-native-navigation/package.json index ad35e6b26..f32b58966 100644 --- a/packages/react-native-navigation/package.json +++ b/packages/react-native-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-navigation", - "version": "1.8.5", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", @@ -36,7 +36,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@datadog/mobile-react-native": "^1.8.5", + "@datadog/mobile-react-native": "^2.0.0-rc.0", "@testing-library/react-native": "7.0.2", "react-native-builder-bob": "0.17.1", "react-native-gesture-handler": "1.10.3", diff --git a/packages/react-native-navigation/release-content.txt b/packages/react-native-navigation/release-content.txt index eda6a61af..87ec3da7e 100644 --- a/packages/react-native-navigation/release-content.txt +++ b/packages/react-native-navigation/release-content.txt @@ -12,15 +12,11 @@ package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts package/lib/typescript/core/src/InternalLog.d.ts package/lib/typescript/core/src/ProxyConfiguration.d.ts package/lib/typescript/core/src/SdkVerbosity.d.ts -package/lib/typescript/core/src/TimeProvider.d.ts -package/lib/typescript/core/src/Timer.d.ts package/lib/typescript/core/src/TrackingConsent.d.ts -package/lib/typescript/core/src/errorUtils.d.ts package/lib/typescript/core/src/index.d.ts package/lib/typescript/core/src/logs/DdLogs.d.ts package/lib/typescript/core/src/logs/eventMapper.d.ts package/lib/typescript/core/src/logs/types.d.ts -package/lib/typescript/core/src/longTasksUtils.d.ts package/lib/typescript/core/src/nativeModulesTypes.d.ts package/lib/typescript/core/src/rum/DdRum.d.ts package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts @@ -37,6 +33,7 @@ package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResour package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts +package/lib/typescript/core/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts @@ -65,6 +62,11 @@ package/lib/typescript/core/src/specs/NativeDdSdk.d.ts package/lib/typescript/core/src/specs/NativeDdTrace.d.ts package/lib/typescript/core/src/trace/DdTrace.d.ts package/lib/typescript/core/src/types.d.ts +package/lib/typescript/core/src/utils/TimeProvider.d.ts +package/lib/typescript/core/src/utils/Timer.d.ts +package/lib/typescript/core/src/utils/errorUtils.d.ts +package/lib/typescript/core/src/utils/jsUtils.d.ts +package/lib/typescript/core/src/utils/longTasksUtils.d.ts package/lib/typescript/core/src/version.d.ts package/lib/typescript/react-native-navigation/src/index.d.ts package/lib/typescript/react-native-navigation/src/rum/instrumentation/DdRumReactNativeNavigationTracking.d.ts diff --git a/packages/react-native-session-replay/package.json b/packages/react-native-session-replay/package.json index d85022d61..af5e52de8 100644 --- a/packages/react-native-session-replay/package.json +++ b/packages/react-native-session-replay/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-session-replay", - "version": "1.8.5", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to enable session replay with Datadog", "keywords": [ "datadog", diff --git a/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts b/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts index 9adf6c885..ca4a32e8a 100644 --- a/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts +++ b/packages/react-native-session-replay/src/__tests__/SessionReplay.test.ts @@ -1,3 +1,9 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2016-Present Datadog, Inc. + */ + import { NativeModules } from 'react-native'; import { SessionReplay, SessionReplayPrivacy } from '../SessionReplay'; diff --git a/packages/react-native-webview/package.json b/packages/react-native-webview/package.json index 7858a567e..f6331396f 100644 --- a/packages/react-native-webview/package.json +++ b/packages/react-native-webview/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-native-webview", - "version": "1.8.5", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to interact with react-native-webview and Datadog", "keywords": [ "datadog", diff --git a/packages/react-navigation/package.json b/packages/react-navigation/package.json index feec71004..9e96f78db 100644 --- a/packages/react-navigation/package.json +++ b/packages/react-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@datadog/mobile-react-navigation", - "version": "1.8.5", + "version": "2.0.0-rc.0", "description": "A client-side React Native module to interact with Datadog", "keywords": [ "datadog", @@ -36,7 +36,7 @@ "prepare": "rm -rf lib && yarn bob build" }, "devDependencies": { - "@datadog/mobile-react-native": "^1.8.5", + "@datadog/mobile-react-native": "^2.0.0-rc.0", "@react-navigation/native-v5": "npm:@react-navigation/native@5.9.8", "@react-navigation/native-v6": "npm:@react-navigation/native@6.1.2", "@react-navigation/stack-v5": "npm:@react-navigation/stack@5.14.2", diff --git a/packages/react-navigation/release-content.txt b/packages/react-navigation/release-content.txt index 039ed2449..90a2e0390 100644 --- a/packages/react-navigation/release-content.txt +++ b/packages/react-navigation/release-content.txt @@ -16,15 +16,11 @@ package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts package/lib/typescript/core/src/InternalLog.d.ts package/lib/typescript/core/src/ProxyConfiguration.d.ts package/lib/typescript/core/src/SdkVerbosity.d.ts -package/lib/typescript/core/src/TimeProvider.d.ts -package/lib/typescript/core/src/Timer.d.ts package/lib/typescript/core/src/TrackingConsent.d.ts -package/lib/typescript/core/src/errorUtils.d.ts package/lib/typescript/core/src/index.d.ts package/lib/typescript/core/src/logs/DdLogs.d.ts package/lib/typescript/core/src/logs/eventMapper.d.ts package/lib/typescript/core/src/logs/types.d.ts -package/lib/typescript/core/src/longTasksUtils.d.ts package/lib/typescript/core/src/nativeModulesTypes.d.ts package/lib/typescript/core/src/rum/DdRum.d.ts package/lib/typescript/core/src/rum/eventMappers/actionEventMapper.d.ts @@ -41,6 +37,7 @@ package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResour package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/firstPartyHosts.d.ts +package/lib/typescript/core/src/rum/instrumentation/resourceTracking/graphql/graphqlHeaders.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/ResourceReporter.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/internalDevResourceBlocklist.d.ts package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/DatadogRumResource/resourceTiming.d.ts @@ -69,6 +66,11 @@ package/lib/typescript/core/src/specs/NativeDdSdk.d.ts package/lib/typescript/core/src/specs/NativeDdTrace.d.ts package/lib/typescript/core/src/trace/DdTrace.d.ts package/lib/typescript/core/src/types.d.ts +package/lib/typescript/core/src/utils/TimeProvider.d.ts +package/lib/typescript/core/src/utils/Timer.d.ts +package/lib/typescript/core/src/utils/errorUtils.d.ts +package/lib/typescript/core/src/utils/jsUtils.d.ts +package/lib/typescript/core/src/utils/longTasksUtils.d.ts package/lib/typescript/core/src/version.d.ts package/lib/typescript/react-navigation/src/index.d.ts package/lib/typescript/react-navigation/src/rum/instrumentation/DdRumReactNavigationTracking.d.ts diff --git a/yarn.lock b/yarn.lock index 9eee0efa8..d142b0762 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3562,7 +3562,7 @@ __metadata: version: 0.0.0-use.local resolution: "@datadog/mobile-react-native-code-push@workspace:packages/codepush" dependencies: - "@datadog/mobile-react-native": ^1.8.5 + "@datadog/mobile-react-native": ^2.0.0-rc.0 "@testing-library/react-native": 7.0.2 react-native-builder-bob: 0.17.1 react-native-code-push: 7.0.5 @@ -3578,7 +3578,7 @@ __metadata: version: 0.0.0-use.local resolution: "@datadog/mobile-react-native-navigation@workspace:packages/react-native-navigation" dependencies: - "@datadog/mobile-react-native": ^1.8.5 + "@datadog/mobile-react-native": ^2.0.0-rc.0 "@testing-library/react-native": 7.0.2 react-native-builder-bob: 0.17.1 react-native-gesture-handler: 1.10.3 @@ -3618,7 +3618,7 @@ __metadata: languageName: unknown linkType: soft -"@datadog/mobile-react-native@^1.8.5, @datadog/mobile-react-native@workspace:packages/core": +"@datadog/mobile-react-native@^2.0.0-rc.0, @datadog/mobile-react-native@workspace:packages/core": version: 0.0.0-use.local resolution: "@datadog/mobile-react-native@workspace:packages/core" dependencies: @@ -3634,7 +3634,7 @@ __metadata: version: 0.0.0-use.local resolution: "@datadog/mobile-react-navigation@workspace:packages/react-navigation" dependencies: - "@datadog/mobile-react-native": ^1.8.5 + "@datadog/mobile-react-native": ^2.0.0-rc.0 "@react-navigation/native-v5": "npm:@react-navigation/native@5.9.8" "@react-navigation/native-v6": "npm:@react-navigation/native@6.1.2" "@react-navigation/stack-v5": "npm:@react-navigation/stack@5.14.2"