Skip to content

Commit

Permalink
chore: update ubrn to 0.28.3-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Dec 20, 2024
1 parent b5378fa commit 3dbdb19
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 26 deletions.
3 changes: 0 additions & 3 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ target 'ReactNativeMatrixSdkExample' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

# TODO: Remove once the pod has been published
pod 'uniffi-bindgen-react-native', :path => '../../node_modules/uniffi-bindgen-react-native'

target 'ReactNativeMatrixSdkExampleTests' do
inherit! :complete
# Pods for testing
Expand Down
15 changes: 7 additions & 8 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1510,8 +1510,8 @@ PODS:
- React-perflogger (= 0.76.1)
- React-utils (= 0.76.1)
- SocketRocket (0.7.1)
- uniffi-bindgen-react-native (0.28.2-0):
- React
- uniffi-bindgen-react-native (0.28.3-1):
- React-Core
- unomed-react-native-matrix-sdk (0.3.0):
- DoubleConversion
- glog
Expand All @@ -1532,6 +1532,7 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- uniffi-bindgen-react-native (= 0.28.3-1)
- Yoga
- Yoga (0.0.0)

Expand Down Expand Up @@ -1600,13 +1601,13 @@ DEPENDENCIES:
- React-utils (from `../node_modules/react-native/ReactCommon/react/utils`)
- ReactCodegen (from `build/generated/ios`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- uniffi-bindgen-react-native (from `../../node_modules/uniffi-bindgen-react-native`)
- unomed-react-native-matrix-sdk (from `../..`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)

SPEC REPOS:
trunk:
- SocketRocket
- uniffi-bindgen-react-native

EXTERNAL SOURCES:
boost:
Expand Down Expand Up @@ -1734,8 +1735,6 @@ EXTERNAL SOURCES:
:path: build/generated/ios
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
uniffi-bindgen-react-native:
:path: "../../node_modules/uniffi-bindgen-react-native"
unomed-react-native-matrix-sdk:
:path: "../.."
Yoga:
Expand Down Expand Up @@ -1805,10 +1804,10 @@ SPEC CHECKSUMS:
ReactCodegen: 865bafc5c17ec2181620ced1a32c39c38ab2951d
ReactCommon: 422e364463f33e336fc4db196aeb50fd801d90d6
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
uniffi-bindgen-react-native: caa3b0ec0a5c904fbc334fc63144146079ce3934
unomed-react-native-matrix-sdk: 355459cab93fc56ec27a05a036362ea16513ddc3
uniffi-bindgen-react-native: 29959d30509f56394fca1cbce568000ab0de8642
unomed-react-native-matrix-sdk: bb06ecb9acb6a29b2d7887acf50e7db6d92f3eb9
Yoga: db69236006b8b1c6d55ab453390c882306cbf219

PODFILE CHECKSUM: 49b187f74553462550d36ec0be911b8ed042c199
PODFILE CHECKSUM: f31d96f710b5116b3170327449261b387e616e6d

COCOAPODS: 1.16.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"release-it": "^15.0.0",
"turbo": "^1.10.7",
"typescript": "^5.2.2",
"uniffi-bindgen-react-native": "https://github.com/jhugman/uniffi-bindgen-react-native#c6f21855628db57719cb31fb0a4c5316a6d0c9b7"
"uniffi-bindgen-react-native": "0.28.3-1"
},
"resolutions": {
"@types/react": "^18.2.44"
Expand Down
7 changes: 6 additions & 1 deletion src/generated/matrix_sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ import {

// Get converters from the other files, if any.

const uniffiIsDebug = process.env.uniffiIsDebug !== 'production' || false;
const uniffiIsDebug =
// @ts-ignore -- The process global might not be defined
typeof process !== 'object' ||
// @ts-ignore -- The process global might not be defined
process?.env?.NODE_ENV !== 'production' ||
false;
// Public interface members begin here.

/**
Expand Down
7 changes: 6 additions & 1 deletion src/generated/matrix_sdk_base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ import {

// Get converters from the other files, if any.

const uniffiIsDebug = process.env.uniffiIsDebug !== 'production' || false;
const uniffiIsDebug =
// @ts-ignore -- The process global might not be defined
typeof process !== 'object' ||
// @ts-ignore -- The process global might not be defined
process?.env?.NODE_ENV !== 'production' ||
false;
// Public interface members begin here.

const stringToArrayBuffer = (s: string): ArrayBuffer =>
Expand Down
7 changes: 6 additions & 1 deletion src/generated/matrix_sdk_common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ import {

// Get converters from the other files, if any.

const uniffiIsDebug = process.env.uniffiIsDebug !== 'production' || false;
const uniffiIsDebug =
// @ts-ignore -- The process global might not be defined
typeof process !== 'object' ||
// @ts-ignore -- The process global might not be defined
process?.env?.NODE_ENV !== 'production' ||
false;
// Public interface members begin here.

const stringToArrayBuffer = (s: string): ArrayBuffer =>
Expand Down
7 changes: 6 additions & 1 deletion src/generated/matrix_sdk_crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ import {

// Get converters from the other files, if any.

const uniffiIsDebug = process.env.uniffiIsDebug !== 'production' || false;
const uniffiIsDebug =
// @ts-ignore -- The process global might not be defined
typeof process !== 'object' ||
// @ts-ignore -- The process global might not be defined
process?.env?.NODE_ENV !== 'production' ||
false;
// Public interface members begin here.

/**
Expand Down
7 changes: 6 additions & 1 deletion src/generated/matrix_sdk_ffi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,12 @@ const {
FfiConverterTypeRoomPinnedEventsChange,
} = uniffiMatrixSdkUiModule.converters;

const uniffiIsDebug = process.env.uniffiIsDebug !== 'production' || false;
const uniffiIsDebug =
// @ts-ignore -- The process global might not be defined
typeof process !== 'object' ||
// @ts-ignore -- The process global might not be defined
process?.env?.NODE_ENV !== 'production' ||
false;
// Public interface members begin here.

/**
Expand Down
7 changes: 6 additions & 1 deletion src/generated/matrix_sdk_ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ import {

// Get converters from the other files, if any.

const uniffiIsDebug = process.env.uniffiIsDebug !== 'production' || false;
const uniffiIsDebug =
// @ts-ignore -- The process global might not be defined
typeof process !== 'object' ||
// @ts-ignore -- The process global might not be defined
process?.env?.NODE_ENV !== 'production' ||
false;
// Public interface members begin here.

const stringToArrayBuffer = (s: string): ArrayBuffer =>
Expand Down
3 changes: 2 additions & 1 deletion unomed-react-native-matrix-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Pod::Spec.new do |s|
s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/unomed-dev/react-native-matrix-sdk.git", :tag => "#{s.version}" }

s.source_files = "ios/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}", "cpp/generated/**/*.{hpp,cpp,c,h}"
s.source_files = "ios/**/*.{h,m,mm}", "ios/generated/**/*.{h,m,mm}", "cpp/**/*.{hpp,cpp,c,h}", "cpp/generated/**/*.{hpp,cpp,c,h}"
s.vendored_frameworks = "build/RnMatrixRustSdk.xcframework"
s.dependency "uniffi-bindgen-react-native", "0.28.3-1"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4482,7 +4482,7 @@ __metadata:
release-it: ^15.0.0
turbo: ^1.10.7
typescript: ^5.2.2
uniffi-bindgen-react-native: "https://github.com/jhugman/uniffi-bindgen-react-native#c6f21855628db57719cb31fb0a4c5316a6d0c9b7"
uniffi-bindgen-react-native: 0.28.3-1
peerDependencies:
react: "*"
react-native: "*"
Expand Down Expand Up @@ -14066,13 +14066,13 @@ __metadata:
languageName: node
linkType: hard

"uniffi-bindgen-react-native@https://github.com/jhugman/uniffi-bindgen-react-native#c6f21855628db57719cb31fb0a4c5316a6d0c9b7":
version: 0.28.2-0
resolution: "uniffi-bindgen-react-native@https://github.com/jhugman/uniffi-bindgen-react-native.git#commit=c6f21855628db57719cb31fb0a4c5316a6d0c9b7"
"uniffi-bindgen-react-native@npm:0.28.3-1":
version: 0.28.3-1
resolution: "uniffi-bindgen-react-native@npm:0.28.3-1"
bin:
ubrn: ./bin/cli.cjs
uniffi-bindgen-react-native: ./bin/cli.cjs
checksum: 2be2625507e7db7324adcbff3cf00feb6e7456191259b9a589f3ebcf12bc0bdabf9fa2b8ecb20a64021495daf7e0c6cd8ddd98d61b2efec27ed32d6c7f97fcb9
ubrn: bin/cli.cjs
uniffi-bindgen-react-native: bin/cli.cjs
checksum: ce2dce1b65af02aa5c83be32d63d9a2dc6f05fcc09ba36c04da85cfb4742a5b1d5040013452c27b6b6c5ec9416657dafe2bab76daf6b8ef42250c5d51e648ad1
languageName: node
linkType: hard

Expand Down

0 comments on commit 3dbdb19

Please sign in to comment.