@secondts/bark-react-native 0.24.0 → 0.26.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.
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
 
18
18
  s.source_files = "ios/*.{h,m,mm,swift}", "ios/generated/build/generated/ios/RNBarkReactNativeSpec/**/*.h", "ios/generated/build/generated/ios/RNBarkReactNativeSpecJSI.h", "ios/generated/build/generated/ios/RNBarkReactNativeSpecJSI-generated.cpp", "ios/generated/build/generated/ios/react/**/*.{h,cpp}", "cpp/**/*.{hpp,cpp,c,h}", "cpp/generated/**/*.{hpp,cpp,c,h}"
19
19
  s.vendored_frameworks = "build/RnBark.xcframework"
20
- s.dependency "uniffi-bindgen-react-native", "0.31.0-2"
20
+ s.dependency "uniffi-bindgen-react-native", "0.31.0-5"
21
21
 
22
22
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
23
23
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
package/README.md CHANGED
@@ -11,6 +11,8 @@ Bark is an implementation of the Ark protocol on bitcoin, led by [Second](https:
11
11
 
12
12
  ## Installation
13
13
 
14
+ Requires React Native 0.75+ (Expo SDK 52+) with the New Architecture enabled and Hermes, the default JavaScript engine.
15
+
14
16
  ### Expo
15
17
 
16
18
  1. Install the package:
@@ -60,7 +62,7 @@ npx expo install @secondts/bark-react-native@beta
60
62
 
61
63
  ```bash
62
64
  # Or install a specific beta version
63
- npx expo install @secondts/bark-react-native@0.23.0
65
+ npx expo install @secondts/bark-react-native@0.26.0
64
66
  ```
65
67
 
66
68
  For bare React Native projects, use:
@@ -1,14 +1,14 @@
1
1
  // Generated by uniffi-bindgen-react-native
2
2
  package com.barkreactnative
3
3
 
4
- import com.facebook.react.TurboReactPackage
4
+ import com.facebook.react.BaseReactPackage
5
5
  import com.facebook.react.bridge.NativeModule
6
6
  import com.facebook.react.bridge.ReactApplicationContext
7
7
  import com.facebook.react.module.model.ReactModuleInfo
8
8
  import com.facebook.react.module.model.ReactModuleInfoProvider
9
9
  import java.util.HashMap
10
10
 
11
- class BarkReactNativePackage : TurboReactPackage() {
11
+ class BarkReactNativePackage : BaseReactPackage() {
12
12
  override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {
13
13
  return if (name == BarkReactNativeModule.NAME) {
14
14
  BarkReactNativeModule(reactContext)