Skip to content

Commit 33c8795

Browse files
committed
feat: loro 1.8.1
1 parent 0d6b82d commit 33c8795

File tree

6 files changed

+310
-66
lines changed

6 files changed

+310
-66
lines changed

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PODS:
88
- hermes-engine (0.79.2):
99
- hermes-engine/Pre-built (= 0.79.2)
1010
- hermes-engine/Pre-built (0.79.2)
11-
- loro-react-native (1.5.3):
11+
- loro-react-native (1.8.1):
1212
- DoubleConversion
1313
- glog
1414
- hermes-engine
@@ -1917,7 +1917,7 @@ SPEC CHECKSUMS:
19171917
fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd
19181918
glog: 5683914934d5b6e4240e497e0f4a3b42d1854183
19191919
hermes-engine: 314be5250afa5692b57b4dd1705959e1973a8ebe
1920-
loro-react-native: 3253f9ef585efd93280022e8dec34574051fc531
1920+
loro-react-native: 820cf3b5f7190d45e9b7815c2372aa337ee2f4eb
19211921
RCT-Folly: 36fe2295e44b10d831836cc0d1daec5f8abcf809
19221922
RCTDeprecation: 83ffb90c23ee5cea353bd32008a7bca100908f8c
19231923
RCTRequired: eb7c0aba998009f47a540bec9e9d69a54f68136e
@@ -1978,7 +1978,7 @@ SPEC CHECKSUMS:
19781978
React-timing: a90f4654cbda9c628614f9bee68967f1768bd6a5
19791979
React-utils: 51c4e71608b8133fecc9a15801d244ae7bdf3758
19801980
ReactAppDependencyProvider: d5dcc564f129632276bd3184e60f053fcd574d6b
1981-
ReactCodegen: b9c6802762046e8000655cee5ba22f6422620f03
1981+
ReactCodegen: fda99a79c866370190e162083a35602fdc314e5d
19821982
ReactCommon: 4d0da92a5eb8da86c08e3ec34bd23ab439fb2461
19831983
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
19841984
uniffi-bindgen-react-native: 018090e6c342b31e1189eb4d098860e9d44caa86

loro-rs/Cargo.lock

Lines changed: 30 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

loro-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name = "uniffi-bindgen"
1111
path = "src/uniffi-bindgen.rs"
1212

1313
[dependencies]
14-
loro-ffi = { version = "1.5.10" }
14+
loro-ffi = { version = "1.8.1" }
1515
uniffi = { version = "0.28.3" }
1616

1717
[build-dependencies]

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loro-react-native",
3-
"version": "1.5.4",
3+
"version": "1.8.1",
44
"description": "React native binding for Loro",
55
"main": "./lib/module/index.js",
66
"types": "./lib/typescript/src/index.d.ts",
@@ -174,4 +174,4 @@
174174
"dependencies": {
175175
"uniffi-bindgen-react-native": "0.28.3-5"
176176
}
177-
}
177+
}

src/generated/loro-ffi.ts

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,14 @@ interface NativeModuleInterface {
335335
other: bigint,
336336
uniffi_out_err: UniffiRustCallStatus
337337
): number;
338+
ubrn_uniffi_loro_ffi_fn_method_frontiers_is_empty(
339+
ptr: bigint,
340+
uniffi_out_err: UniffiRustCallStatus
341+
): number;
342+
ubrn_uniffi_loro_ffi_fn_method_frontiers_to_vec(
343+
ptr: bigint,
344+
uniffi_out_err: UniffiRustCallStatus
345+
): Uint8Array;
338346
ubrn_uniffi_loro_ffi_fn_clone_localephemerallistener(
339347
ptr: bigint,
340348
uniffi_out_err: UniffiRustCallStatus
@@ -697,10 +705,6 @@ interface NativeModuleInterface {
697705
ptr: bigint,
698706
uniffi_out_err: UniffiRustCallStatus
699707
): bigint;
700-
ubrn_uniffi_loro_ffi_fn_method_lorodoc_log_estimate_size(
701-
ptr: bigint,
702-
uniffi_out_err: UniffiRustCallStatus
703-
): void;
704708
ubrn_uniffi_loro_ffi_fn_method_lorodoc_minimize_frontiers(
705709
ptr: bigint,
706710
frontiers: bigint,
@@ -1789,6 +1793,22 @@ interface NativeModuleInterface {
17891793
onPush: Uint8Array,
17901794
uniffi_out_err: UniffiRustCallStatus
17911795
): void;
1796+
ubrn_uniffi_loro_ffi_fn_method_undomanager_top_redo_meta(
1797+
ptr: bigint,
1798+
uniffi_out_err: UniffiRustCallStatus
1799+
): Uint8Array;
1800+
ubrn_uniffi_loro_ffi_fn_method_undomanager_top_redo_value(
1801+
ptr: bigint,
1802+
uniffi_out_err: UniffiRustCallStatus
1803+
): Uint8Array;
1804+
ubrn_uniffi_loro_ffi_fn_method_undomanager_top_undo_meta(
1805+
ptr: bigint,
1806+
uniffi_out_err: UniffiRustCallStatus
1807+
): Uint8Array;
1808+
ubrn_uniffi_loro_ffi_fn_method_undomanager_top_undo_value(
1809+
ptr: bigint,
1810+
uniffi_out_err: UniffiRustCallStatus
1811+
): Uint8Array;
17921812
ubrn_uniffi_loro_ffi_fn_method_undomanager_undo(
17931813
ptr: bigint,
17941814
uniffi_out_err: UniffiRustCallStatus
@@ -2013,6 +2033,15 @@ interface NativeModuleInterface {
20132033
id: Uint8Array,
20142034
uniffi_out_err: UniffiRustCallStatus
20152035
): void;
2036+
ubrn_uniffi_loro_ffi_fn_method_versionvector_to_hashmap(
2037+
ptr: bigint,
2038+
uniffi_out_err: UniffiRustCallStatus
2039+
): Uint8Array;
2040+
ubrn_uniffi_loro_ffi_fn_method_versionvector_try_update_last(
2041+
ptr: bigint,
2042+
id: Uint8Array,
2043+
uniffi_out_err: UniffiRustCallStatus
2044+
): number;
20162045
ubrn_uniffi_loro_ffi_fn_func_decode_import_blob_meta(
20172046
bytes: Uint8Array,
20182047
checkChecksum: number,
@@ -2060,6 +2089,8 @@ interface NativeModuleInterface {
20602089
ubrn_uniffi_loro_ffi_checksum_method_fractionalindex_to_string(): number;
20612090
ubrn_uniffi_loro_ffi_checksum_method_frontiers_encode(): number;
20622091
ubrn_uniffi_loro_ffi_checksum_method_frontiers_eq(): number;
2092+
ubrn_uniffi_loro_ffi_checksum_method_frontiers_is_empty(): number;
2093+
ubrn_uniffi_loro_ffi_checksum_method_frontiers_to_vec(): number;
20632094
ubrn_uniffi_loro_ffi_checksum_method_localephemerallistener_on_ephemeral_update(): number;
20642095
ubrn_uniffi_loro_ffi_checksum_method_localupdatecallback_on_local_update(): number;
20652096
ubrn_uniffi_loro_ffi_checksum_method_lorocounter_decrement(): number;
@@ -2129,7 +2160,6 @@ interface NativeModuleInterface {
21292160
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_jsonpath(): number;
21302161
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_len_changes(): number;
21312162
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_len_ops(): number;
2132-
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_log_estimate_size(): number;
21332163
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_minimize_frontiers(): number;
21342164
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_oplog_frontiers(): number;
21352165
ubrn_uniffi_loro_ffi_checksum_method_lorodoc_oplog_vv(): number;
@@ -2322,6 +2352,10 @@ interface NativeModuleInterface {
23222352
ubrn_uniffi_loro_ffi_checksum_method_undomanager_set_merge_interval(): number;
23232353
ubrn_uniffi_loro_ffi_checksum_method_undomanager_set_on_pop(): number;
23242354
ubrn_uniffi_loro_ffi_checksum_method_undomanager_set_on_push(): number;
2355+
ubrn_uniffi_loro_ffi_checksum_method_undomanager_top_redo_meta(): number;
2356+
ubrn_uniffi_loro_ffi_checksum_method_undomanager_top_redo_value(): number;
2357+
ubrn_uniffi_loro_ffi_checksum_method_undomanager_top_undo_meta(): number;
2358+
ubrn_uniffi_loro_ffi_checksum_method_undomanager_top_undo_value(): number;
23252359
ubrn_uniffi_loro_ffi_checksum_method_undomanager_undo(): number;
23262360
ubrn_uniffi_loro_ffi_checksum_method_undomanager_undo_count(): number;
23272361
ubrn_uniffi_loro_ffi_checksum_method_unsubscriber_on_unsubscribe(): number;
@@ -2361,6 +2395,8 @@ interface NativeModuleInterface {
23612395
ubrn_uniffi_loro_ffi_checksum_method_versionvector_partial_cmp(): number;
23622396
ubrn_uniffi_loro_ffi_checksum_method_versionvector_set_end(): number;
23632397
ubrn_uniffi_loro_ffi_checksum_method_versionvector_set_last(): number;
2398+
ubrn_uniffi_loro_ffi_checksum_method_versionvector_to_hashmap(): number;
2399+
ubrn_uniffi_loro_ffi_checksum_method_versionvector_try_update_last(): number;
23642400
ubrn_uniffi_loro_ffi_checksum_constructor_awareness_new(): number;
23652401
ubrn_uniffi_loro_ffi_checksum_constructor_cursor_decode(): number;
23662402
ubrn_uniffi_loro_ffi_checksum_constructor_cursor_new(): number;

0 commit comments

Comments
 (0)