react-native-clarity 3.0.4 → 3.1.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.
package/ios/Clarity.h CHANGED
@@ -1,12 +1,5 @@
1
-
2
- #ifdef RCT_NEW_ARCH_ENABLED
3
- #import "RNClaritySpec.h"
4
-
5
- @interface Clarity : NSObject <NativeClaritySpec>
6
- #else
7
1
  #import <React/RCTBridgeModule.h>
8
2
 
9
3
  @interface Clarity : NSObject <RCTBridgeModule>
10
- #endif
11
4
 
12
5
  @end
package/ios/Clarity.m CHANGED
@@ -119,13 +119,4 @@ RCT_EXPORT_METHOD(getCurrentSessionUrl:(RCTPromiseResolveBlock)resolve
119
119
  return LogLevelNone;
120
120
  }
121
121
 
122
- // Don't compile this code when we build for the old architecture.
123
- #ifdef RCT_NEW_ARCH_ENABLED
124
- - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
125
- (const facebook::react::ObjCTurboModule::InitParams &)params
126
- {
127
- return std::make_shared<facebook::react::NativeClaritySpecJSI>(params);
128
- }
129
- #endif
130
-
131
122
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-clarity",
3
- "version": "3.0.4",
3
+ "version": "3.1.0",
4
4
  "description": "A plugin to provide the Clarity experience for the React Native applications.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.source_files = "ios/**/*.{h,m,mm}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "Clarity", '2.1.2'
20
+ s.dependency "Clarity", '2.2.0'
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then