@datadog/mobile-react-native-session-replay 2.4.0-alpha.0 → 2.4.1-alpha.0

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.
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
10
10
  s.license = package["license"]
11
11
  s.authors = package["author"]
12
12
 
13
- s.platforms = { :ios => "11.0", :tvos => "11.0" }
13
+ s.platforms = { :ios => "12.0", :tvos => "12.0" }
14
14
  s.source = { :git => "https://github.com/DataDog/dd-sdk-reactnative.git", :tag => "#{s.version}" }
15
15
 
16
16
 
@@ -14,6 +14,7 @@ var _reactNative = require("react-native");
14
14
  */
15
15
 
16
16
  /* eslint-disable @typescript-eslint/ban-types */
17
+ // eslint-disable-next-line func-names
17
18
  var _default = _reactNative.TurboModuleRegistry.get('DdSessionReplay');
18
19
 
19
20
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"sources":["NativeDdSessionReplay.ts"],"names":["TurboModuleRegistry","get"],"mappings":";;;;;;;AAQA;;AARA;AACA;AACA;AACA;AACA;;AAEA;eAuBeA,iCAAoBC,GAApB,CAA8B,iBAA9B,C","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/* eslint-disable @typescript-eslint/ban-types */\nimport type { TurboModule } from 'react-native';\nimport { TurboModuleRegistry } from 'react-native';\n\n/**\n * Do not import this Spec directly, use NativeSessionReplayType instead.\n */\nexport interface Spec extends TurboModule {\n readonly getConstants: () => {};\n\n /**\n * Enable session replay and start recording session.\n * @param replaySampleRate: The sample rate applied for session replay.\n * @param defaultPrivacyLevel: The privacy level used for replay.\n * @param customEndpoint: Custom server url for sending replay data.\n */\n enable(\n replaySampleRate: number,\n defaultPrivacyLevel: string,\n customEndpoint: string\n ): Promise<void>;\n}\n\nexport default TurboModuleRegistry.get<Spec>('DdSessionReplay');\n"]}
1
+ {"version":3,"sources":["NativeDdSessionReplay.ts"],"names":["TurboModuleRegistry","get"],"mappings":";;;;;;;AAQA;;AARA;AACA;AACA;AACA;AACA;;AAEA;AAuBA;eACeA,iCAAoBC,GAApB,CAA8B,iBAA9B,C","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/* eslint-disable @typescript-eslint/ban-types */\nimport type { TurboModule } from 'react-native';\nimport { TurboModuleRegistry } from 'react-native';\n\n/**\n * Do not import this Spec directly, use NativeSessionReplayType instead.\n */\nexport interface Spec extends TurboModule {\n readonly getConstants: () => {};\n\n /**\n * Enable session replay and start recording session.\n * @param replaySampleRate: The sample rate applied for session replay.\n * @param defaultPrivacyLevel: The privacy level used for replay.\n * @param customEndpoint: Custom server url for sending replay data.\n */\n enable(\n replaySampleRate: number,\n defaultPrivacyLevel: string,\n customEndpoint: string\n ): Promise<void>;\n}\n\n// eslint-disable-next-line func-names\nexport default TurboModuleRegistry.get<Spec>('DdSessionReplay');\n"]}
@@ -10,5 +10,6 @@ import { TurboModuleRegistry } from 'react-native';
10
10
  * Do not import this Spec directly, use NativeSessionReplayType instead.
11
11
  */
12
12
 
13
+ // eslint-disable-next-line func-names
13
14
  export default TurboModuleRegistry.get('DdSessionReplay');
14
15
  //# sourceMappingURL=NativeDdSessionReplay.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["NativeDdSessionReplay.ts"],"names":["TurboModuleRegistry","get"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AAEA,SAASA,mBAAT,QAAoC,cAApC;AAEA;AACA;AACA;;AAiBA,eAAeA,mBAAmB,CAACC,GAApB,CAA8B,iBAA9B,CAAf","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/* eslint-disable @typescript-eslint/ban-types */\nimport type { TurboModule } from 'react-native';\nimport { TurboModuleRegistry } from 'react-native';\n\n/**\n * Do not import this Spec directly, use NativeSessionReplayType instead.\n */\nexport interface Spec extends TurboModule {\n readonly getConstants: () => {};\n\n /**\n * Enable session replay and start recording session.\n * @param replaySampleRate: The sample rate applied for session replay.\n * @param defaultPrivacyLevel: The privacy level used for replay.\n * @param customEndpoint: Custom server url for sending replay data.\n */\n enable(\n replaySampleRate: number,\n defaultPrivacyLevel: string,\n customEndpoint: string\n ): Promise<void>;\n}\n\nexport default TurboModuleRegistry.get<Spec>('DdSessionReplay');\n"]}
1
+ {"version":3,"sources":["NativeDdSessionReplay.ts"],"names":["TurboModuleRegistry","get"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA;AAEA,SAASA,mBAAT,QAAoC,cAApC;AAEA;AACA;AACA;;AAiBA;AACA,eAAeA,mBAAmB,CAACC,GAApB,CAA8B,iBAA9B,CAAf","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/* eslint-disable @typescript-eslint/ban-types */\nimport type { TurboModule } from 'react-native';\nimport { TurboModuleRegistry } from 'react-native';\n\n/**\n * Do not import this Spec directly, use NativeSessionReplayType instead.\n */\nexport interface Spec extends TurboModule {\n readonly getConstants: () => {};\n\n /**\n * Enable session replay and start recording session.\n * @param replaySampleRate: The sample rate applied for session replay.\n * @param defaultPrivacyLevel: The privacy level used for replay.\n * @param customEndpoint: Custom server url for sending replay data.\n */\n enable(\n replaySampleRate: number,\n defaultPrivacyLevel: string,\n customEndpoint: string\n ): Promise<void>;\n}\n\n// eslint-disable-next-line func-names\nexport default TurboModuleRegistry.get<Spec>('DdSessionReplay');\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/mobile-react-native-session-replay",
3
- "version": "2.4.0-alpha.0",
3
+ "version": "2.4.1-alpha.0",
4
4
  "description": "A client-side React Native module to enable session replay with Datadog",
5
5
  "keywords": [
6
6
  "datadog",
@@ -27,4 +27,5 @@ export interface Spec extends TurboModule {
27
27
  ): Promise<void>;
28
28
  }
29
29
 
30
+ // eslint-disable-next-line func-names
30
31
  export default TurboModuleRegistry.get<Spec>('DdSessionReplay');