@dittolive/ditto 4.5.0 → 4.5.1

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.
Files changed (269) hide show
  1. package/DittoReactNative.podspec +4 -3
  2. package/README.md +2 -2
  3. package/node/ditto.cjs.js +84 -51
  4. package/node/ditto.darwin-arm64.node +0 -0
  5. package/node/ditto.darwin-x64.node +0 -0
  6. package/node/ditto.linux-arm.node +0 -0
  7. package/node/ditto.linux-x64.node +0 -0
  8. package/node/ditto.win32-x64.node +0 -0
  9. package/node/transports.darwin-arm64.node +0 -0
  10. package/node/transports.darwin-x64.node +0 -0
  11. package/package.json +29 -29
  12. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  13. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  14. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  15. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/cache-v2-970081f7c58ab1625a1a.json +1303 -0
  16. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-e1bacde094ce7e389294.json +203 -0
  17. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-54964c7f44134b1cec4d.json +60 -0
  18. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
  19. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/index-2023-12-06T19-58-48-0479.json +92 -0
  20. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/target-cpp-Debug-a438adda6ad6df71f898.json +314 -0
  21. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.ninja_deps +0 -0
  22. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.ninja_log +21 -0
  23. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeCache.txt +393 -0
  24. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +79 -0
  25. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +90 -0
  26. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  27. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  28. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +113 -0
  29. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
  30. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  31. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
  32. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  33. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/CMakeOutput.log +320 -0
  34. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/TargetDirectories.txt +3 -0
  35. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cmake.check_cache +1 -0
  36. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Attachment.cpp.o +0 -0
  37. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Authentication.cpp.o +0 -0
  38. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Collection.cpp.o +0 -0
  39. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/DQL.cpp.o +0 -0
  40. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Document.cpp.o +0 -0
  41. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Identity.cpp.o +0 -0
  42. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Lifecycle.cpp.o +0 -0
  43. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/LiveQuery.cpp.o +0 -0
  44. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Logger.cpp.o +0 -0
  45. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Misc.cpp.o +0 -0
  46. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Presence.cpp.o +0 -0
  47. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/RetainableState.cpp.o +0 -0
  48. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/SmallPeerInfo.cpp.o +0 -0
  49. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Transports.cpp.o +0 -0
  50. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/TypedArray.cpp.o +0 -0
  51. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Utils.cpp.o +0 -0
  52. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/main.cpp.o +0 -0
  53. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/dittoffi/ifaddrs.cpp.o +0 -0
  54. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  55. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/rules.ninja +64 -0
  56. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/additional_project_files.txt +0 -0
  57. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/android_gradle_build.json +42 -0
  58. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/android_gradle_build_mini.json +31 -0
  59. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/build.ninja +297 -0
  60. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/build_file_index.txt +3 -0
  61. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/cmake_install.cmake +54 -0
  62. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/compile_commands.json +97 -0
  63. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/compile_commands.json.bin +0 -0
  64. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/configure_fingerprint.bin +8755 -0
  65. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/metadata_generation_command.txt +21 -0
  66. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/prefab_config.json +8 -0
  67. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/symbol_folder_index.txt +1 -0
  68. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  69. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  70. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  71. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/cache-v2-0cc74b41e95a51ba0457.json +1303 -0
  72. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-ee90fea936bce5771631.json +203 -0
  73. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-82fa8946198e6eba430b.json +60 -0
  74. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
  75. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/index-2023-12-06T19-58-48-0893.json +92 -0
  76. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/target-cpp-Debug-1e9d0b1a457f7fe5c618.json +314 -0
  77. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.ninja_deps +0 -0
  78. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.ninja_log +21 -0
  79. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeCache.txt +393 -0
  80. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +79 -0
  81. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +90 -0
  82. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  83. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  84. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +115 -0
  85. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
  86. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  87. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
  88. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  89. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/CMakeOutput.log +304 -0
  90. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/TargetDirectories.txt +3 -0
  91. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cmake.check_cache +1 -0
  92. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Attachment.cpp.o +0 -0
  93. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Authentication.cpp.o +0 -0
  94. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Collection.cpp.o +0 -0
  95. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/DQL.cpp.o +0 -0
  96. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Document.cpp.o +0 -0
  97. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Identity.cpp.o +0 -0
  98. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Lifecycle.cpp.o +0 -0
  99. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/LiveQuery.cpp.o +0 -0
  100. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Logger.cpp.o +0 -0
  101. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Misc.cpp.o +0 -0
  102. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Presence.cpp.o +0 -0
  103. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/RetainableState.cpp.o +0 -0
  104. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/SmallPeerInfo.cpp.o +0 -0
  105. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Transports.cpp.o +0 -0
  106. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/TypedArray.cpp.o +0 -0
  107. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Utils.cpp.o +0 -0
  108. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/main.cpp.o +0 -0
  109. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/dittoffi/ifaddrs.cpp.o +0 -0
  110. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  111. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/rules.ninja +64 -0
  112. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/additional_project_files.txt +0 -0
  113. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/android_gradle_build.json +42 -0
  114. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/android_gradle_build_mini.json +31 -0
  115. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/build.ninja +297 -0
  116. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/build_file_index.txt +3 -0
  117. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/cmake_install.cmake +54 -0
  118. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/compile_commands.json +97 -0
  119. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/compile_commands.json.bin +0 -0
  120. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/configure_fingerprint.bin +8755 -0
  121. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/metadata_generation_command.txt +21 -0
  122. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/prefab_config.json +8 -0
  123. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/symbol_folder_index.txt +1 -0
  124. package/react-native/android/.cxx/Debug/6p5m3p3q/hash_key.txt +28 -0
  125. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/ReactAndroid/ReactAndroidConfig.cmake +261 -0
  126. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +9 -0
  127. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
  128. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
  129. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/ReactAndroid/ReactAndroidConfig.cmake +261 -0
  130. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +9 -0
  131. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfig.cmake +9 -0
  132. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
  133. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/ReactAndroid/ReactAndroidConfig.cmake +261 -0
  134. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +9 -0
  135. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
  136. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
  137. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/ReactAndroid/ReactAndroidConfig.cmake +261 -0
  138. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +9 -0
  139. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfig.cmake +9 -0
  140. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +9 -0
  141. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  142. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  143. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  144. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/cache-v2-6c4a25b4c6713ffdc5da.json +1303 -0
  145. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/cmakeFiles-v1-f4200ba0f2ce507c91da.json +203 -0
  146. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/codemodel-v2-9ea6ff99336eeb9a9ce9.json +60 -0
  147. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
  148. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/index-2023-12-06T19-58-49-0301.json +92 -0
  149. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/target-cpp-Debug-a88e6d0219517e1d531b.json +314 -0
  150. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.ninja_deps +0 -0
  151. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.ninja_log +21 -0
  152. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeCache.txt +393 -0
  153. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +79 -0
  154. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +90 -0
  155. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  156. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  157. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +113 -0
  158. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
  159. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  160. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
  161. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  162. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/CMakeOutput.log +322 -0
  163. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/TargetDirectories.txt +3 -0
  164. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cmake.check_cache +1 -0
  165. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Attachment.cpp.o +0 -0
  166. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Authentication.cpp.o +0 -0
  167. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Collection.cpp.o +0 -0
  168. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/DQL.cpp.o +0 -0
  169. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Document.cpp.o +0 -0
  170. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Identity.cpp.o +0 -0
  171. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Lifecycle.cpp.o +0 -0
  172. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/LiveQuery.cpp.o +0 -0
  173. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Logger.cpp.o +0 -0
  174. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Misc.cpp.o +0 -0
  175. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Presence.cpp.o +0 -0
  176. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/RetainableState.cpp.o +0 -0
  177. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/SmallPeerInfo.cpp.o +0 -0
  178. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Transports.cpp.o +0 -0
  179. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/TypedArray.cpp.o +0 -0
  180. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Utils.cpp.o +0 -0
  181. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/main.cpp.o +0 -0
  182. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/dittoffi/ifaddrs.cpp.o +0 -0
  183. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  184. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/rules.ninja +64 -0
  185. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/additional_project_files.txt +0 -0
  186. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/android_gradle_build.json +42 -0
  187. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/android_gradle_build_mini.json +31 -0
  188. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/build.ninja +297 -0
  189. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/build_file_index.txt +3 -0
  190. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/cmake_install.cmake +54 -0
  191. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/compile_commands.json +97 -0
  192. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/compile_commands.json.bin +0 -0
  193. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/metadata_generation_command.txt +21 -0
  194. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/prefab_config.json +8 -0
  195. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/symbol_folder_index.txt +1 -0
  196. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  197. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  198. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  199. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/cache-v2-dae9c0e6f8d6c826f86e.json +1303 -0
  200. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-77b66408bf04fa403cf4.json +203 -0
  201. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/codemodel-v2-00d5bd5dc4a882f89004.json +60 -0
  202. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +14 -0
  203. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/index-2023-12-06T19-58-49-0701.json +92 -0
  204. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/target-cpp-Debug-ed2a7b63dedc1886a528.json +314 -0
  205. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.ninja_deps +0 -0
  206. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.ninja_log +21 -0
  207. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeCache.txt +393 -0
  208. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +79 -0
  209. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +90 -0
  210. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  211. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  212. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +113 -0
  213. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +803 -0
  214. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  215. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
  216. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  217. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/CMakeOutput.log +322 -0
  218. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/TargetDirectories.txt +3 -0
  219. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cmake.check_cache +1 -0
  220. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Attachment.cpp.o +0 -0
  221. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Authentication.cpp.o +0 -0
  222. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Collection.cpp.o +0 -0
  223. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/DQL.cpp.o +0 -0
  224. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Document.cpp.o +0 -0
  225. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Identity.cpp.o +0 -0
  226. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Lifecycle.cpp.o +0 -0
  227. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/LiveQuery.cpp.o +0 -0
  228. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Logger.cpp.o +0 -0
  229. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Misc.cpp.o +0 -0
  230. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Presence.cpp.o +0 -0
  231. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/RetainableState.cpp.o +0 -0
  232. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/SmallPeerInfo.cpp.o +0 -0
  233. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Transports.cpp.o +0 -0
  234. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/TypedArray.cpp.o +0 -0
  235. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/Utils.cpp.o +0 -0
  236. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/cpp/src/main.cpp.o +0 -0
  237. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/Users/teodorc/Projects/IntegrationTest/node_modules/@dittolive/ditto/react-native/dittoffi/ifaddrs.cpp.o +0 -0
  238. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  239. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/rules.ninja +64 -0
  240. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/additional_project_files.txt +0 -0
  241. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/android_gradle_build.json +42 -0
  242. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/android_gradle_build_mini.json +31 -0
  243. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/build.ninja +297 -0
  244. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/build_file_index.txt +3 -0
  245. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/cmake_install.cmake +54 -0
  246. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/compile_commands.json +97 -0
  247. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/compile_commands.json.bin +0 -0
  248. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/configure_fingerprint.bin +8755 -0
  249. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/metadata_generation_command.txt +21 -0
  250. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/prefab_config.json +8 -0
  251. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/symbol_folder_index.txt +1 -0
  252. package/react-native/android/.cxx/tools/debug/arm64-v8a/compile_commands.json +97 -0
  253. package/react-native/android/.cxx/tools/debug/armeabi-v7a/compile_commands.json +97 -0
  254. package/react-native/android/.cxx/tools/debug/x86/compile_commands.json +97 -0
  255. package/react-native/android/.cxx/tools/debug/x86_64/compile_commands.json +97 -0
  256. package/react-native/android/.gradle/8.5/checksums/checksums.lock +0 -0
  257. package/react-native/android/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  258. package/react-native/android/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  259. package/react-native/android/.gradle/8.5/fileChanges/last-build.bin +0 -0
  260. package/react-native/android/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  261. package/react-native/android/.gradle/8.5/gc.properties +0 -0
  262. package/react-native/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  263. package/react-native/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  264. package/react-native/android/.gradle/vcs-1/gc.properties +0 -0
  265. package/react-native/android/build.gradle +2 -2
  266. package/types/ditto.d.ts +0 -2
  267. package/web/ditto.es6.js +1 -1
  268. package/web/ditto.umd.js +1 -1
  269. package/web/ditto.wasm +0 -0
@@ -15,13 +15,14 @@ Pod::Spec.new do |s|
15
15
 
16
16
  s.platforms = { :ios => "14.0" }
17
17
 
18
- s.source = { :http => 'https://software.ditto.live/react-native/ditto/4.5.0/ios/DittoReactNative.xcframework.tar.gz' }
19
- s.vendored_frameworks = "DittoReactNative.xcframework"
18
+ s.source = { :http => 'https://software.ditto.live/react-native/ditto/4.5.1/ios/DittoReactNative.xcframework.tar.gz' }
20
19
 
21
20
  include_local_boost(s)
22
21
 
23
- s.source_files = "react-native/ios/**/*.{h,m,mm}", "react-native/cpp/**/*.{h,cpp,hpp}"
22
+ s.source_files = "react-native/ios/**/*.{h,m,mm}", "react-native/cpp/**/*.{h,cpp,hpp}",
24
23
  s.public_header_files = 'react-native/dittoffi/dittoffi.h', 'react-native/dittoffi/ifaddrs.h'
25
24
 
26
25
  s.dependency "React-Core"
26
+ s.dependency 'DittoReactNativeIOS'
27
+
27
28
  end
package/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  _Ditto is a cross-platform SDK that allows mobile, web, and IoT apps to sync
4
4
  with and even without connectivity._
5
5
 
6
- Version: **4.5.0**
6
+ Version: **4.5.1**
7
7
 
8
8
  For more information please visit [ditto.live](https://ditto.live), as well as the
9
- [API Reference](https://software.ditto.live/js/Ditto/4.5.0/api-reference/) for this particular version.
9
+ [API Reference](https://software.ditto.live/js/Ditto/4.5.1/api-reference/) for this particular version.
10
10
 
11
11
  ---
12
12
 
package/node/ditto.cjs.js CHANGED
@@ -439,6 +439,8 @@ function websocket_client_free_handle(...args) { return ditto.websocket_client_f
439
439
  function withOutBoxCBytes(...args) { return ditto.withOutBoxCBytes(...args) }
440
440
  function withOutPtr$1(...args) { return ditto.withOutPtr(...args) }
441
441
 
442
+ const isWebBuild = false;
443
+
442
444
  //
443
445
  // Copyright © 2023 DittoLive Incorporated. All rights reserved.
444
446
  //
@@ -1785,7 +1787,7 @@ class AttachmentToken {
1785
1787
 
1786
1788
  // NOTE: this is patched up with the actual build version by Jake task
1787
1789
  // build:package and has to be a valid semantic version as defined here: https://semver.org.
1788
- const fullBuildVersionString = '4.5.0-transports-behind-core';
1790
+ const fullBuildVersionString = '4.5.1-transports-behind-core';
1789
1791
 
1790
1792
  //
1791
1793
  // Copyright © 2021 DittoLive Incorporated. All rights reserved.
@@ -7819,7 +7821,7 @@ class Sync {
7819
7821
  // ---------------------------------------------------------- Internal ------
7820
7822
  /** @internal */
7821
7823
  get parameters() {
7822
- return this._parameters;
7824
+ return this.state.underlyingSyncParameters;
7823
7825
  }
7824
7826
  /** @internal */
7825
7827
  constructor(ditto) {
@@ -7842,7 +7844,6 @@ class Sync {
7842
7844
  const transportConfig = new TransportConfig();
7843
7845
  const parameters = { identity, transportConfig, ditto, isWebValid: false, isX509Valid: false, isSyncActive: false };
7844
7846
  this.ditto = ditto;
7845
- this._parameters = parameters;
7846
7847
  this.state = stateFrom(parameters);
7847
7848
  transportsInit();
7848
7849
  }
@@ -7886,15 +7887,14 @@ class Sync {
7886
7887
  }
7887
7888
  /** @internal */
7888
7889
  update(parameters) {
7889
- this._parameters = { ...parameters };
7890
7890
  // NOTE: updating is a two-step process. Given all parameters, we
7891
7891
  // first compute the final "state" we want the transports stuff to
7892
7892
  // be in via the `stateFrom()` function. We then take that "desired" state
7893
7893
  // and feed it into the various update methods, which essentially perform
7894
- // a diff on the state before and after, and update the low-lever transports
7894
+ // a diff on the state before and after, and update the low-level transports
7895
7895
  // machinery accordingly.
7896
7896
  const stateOld = this.state;
7897
- const stateNew = stateFrom(this.parameters);
7897
+ const stateNew = stateFrom(parameters);
7898
7898
  this.updatePeerToPeerBluetoothLE(stateOld, stateNew);
7899
7899
  this.updatePeerToPeerAWDL(stateOld, stateNew);
7900
7900
  this.updatePeerToPeerLAN(stateOld, stateNew);
@@ -8107,31 +8107,78 @@ class Sync {
8107
8107
  }
8108
8108
  }
8109
8109
  /**
8110
+ * Computes the effective transport config given a desired transport config and
8111
+ * some additional state.
8112
+ *
8113
+ * Disables all transports that are unavailable due to the runtime environment
8114
+ * or authentication requirements. Adds websocket URL for Ditto Cloud if
8115
+ * enabled.
8116
+ *
8117
+ * Throws if the target transport config enables sync but contains transports
8118
+ * that are not available in the current environment. Does not throw when
8119
+ * transports are enabled but not available due to authentication requirements.
8120
+ *
8110
8121
  * @private
8111
8122
  */
8112
8123
  function stateFrom(parameters) {
8113
- const ditto = parameters.ditto;
8124
+ // IMPORTANT: this function maps a set of sync parameters to an effective
8125
+ // transport config plus some extra state where need be. Make sure
8126
+ // to keep this function free of side-effects.
8127
+ var _a, _b;
8128
+ const identity = parameters.identity;
8129
+ const isSyncActive = parameters.isSyncActive;
8130
+ const isX509Valid = parameters.isX509Valid;
8131
+ const isWebValid = parameters.isWebValid;
8132
+ let appID;
8133
+ let customDittoCloudURL;
8134
+ let isDittoCloudSyncEnabled = false;
8135
+ if (identity.type === 'onlinePlayground' || identity.type === 'onlineWithAuthentication') {
8136
+ // NOTE: enableDittoCloudSync is true by default for any online identity.
8137
+ appID = identity.appID;
8138
+ customDittoCloudURL = (_a = identity.customDittoCloudURL) !== null && _a !== void 0 ? _a : null;
8139
+ isDittoCloudSyncEnabled = (_b = identity.enableDittoCloudSync) !== null && _b !== void 0 ? _b : true;
8140
+ }
8141
+ validateEnabledTransportsAvailable(parameters.ditto, parameters.transportConfig);
8142
+ const transportConfig = parameters.transportConfig.copy();
8143
+ if (!isSyncActive || !isX509Valid) {
8144
+ transportConfig.peerToPeer.bluetoothLE.isEnabled = false;
8145
+ transportConfig.peerToPeer.awdl.isEnabled = false;
8146
+ transportConfig.peerToPeer.lan.isEnabled = false;
8147
+ transportConfig.listen.tcp.isEnabled = false;
8148
+ transportConfig.connect.tcpServers = [];
8149
+ }
8150
+ if (!isSyncActive || !isWebValid) {
8151
+ transportConfig.connect.websocketURLs = [];
8152
+ }
8153
+ if (!isSyncActive) {
8154
+ transportConfig.listen.http.isEnabled = false;
8155
+ }
8156
+ // NOTE: we have to smuggle in an additional Ditto Cloud websocket URL to
8157
+ // connect to if cloud sync is enabled.
8158
+ if (isSyncActive && isWebValid && isDittoCloudSyncEnabled) {
8159
+ // @ts-ignore To fix this type error, refactor using a switch
8160
+ // statement, c.f.
8161
+ // https://github.com/getditto/ditto/blob/d35b6c1cb280cdd6368d14137c97609b9b9b9296/js/sources/sync.ts#L488
8162
+ const dittoCloudURL = customDittoCloudURL !== null && customDittoCloudURL !== void 0 ? customDittoCloudURL : defaultDittoCloudURL(appID);
8163
+ transportConfig.connect.websocketURLs.push(dittoCloudURL);
8164
+ }
8165
+ return {
8166
+ underlyingSyncParameters: parameters,
8167
+ effectiveTransportConfig: transportConfig.freeze(),
8168
+ };
8169
+ }
8170
+ /**
8171
+ * Validate that all enabled transports are available in the current environment
8172
+ * and throw an error if not.
8173
+ *
8174
+ * @private
8175
+ */
8176
+ function validateEnabledTransportsAvailable(ditto, transportConfig) {
8114
8177
  const dittoHandle = Bridge.ditto.handleFor(ditto);
8115
8178
  return ditto.deferClose(() => {
8116
- // IMPORTANT: this function maps a set of sync parameters to an effective
8117
- // transport config plus some extra state where need be. Make sure
8118
- // to keep this function free of side-effects.
8119
- var _a, _b;
8120
- const transportConfig = parameters.transportConfig.copy();
8121
- const identity = parameters.identity;
8122
- const isSyncActive = parameters.isSyncActive;
8123
- const isX509Valid = parameters.isX509Valid;
8124
- const isWebValid = parameters.isWebValid;
8125
- let appID;
8126
- let customDittoCloudURL;
8127
- let isDittoCloudSyncEnabled = false;
8128
- if (identity.type === 'onlinePlayground' || identity.type === 'onlineWithAuthentication') {
8129
- // NOTE: enableDittoCloudSync is true by default for any online identity.
8130
- appID = identity.appID;
8131
- customDittoCloudURL = (_a = identity.customDittoCloudURL) !== null && _a !== void 0 ? _a : null;
8132
- isDittoCloudSyncEnabled = (_b = identity.enableDittoCloudSync) !== null && _b !== void 0 ? _b : true;
8133
- }
8134
- // Not all P2P transports are always supported.
8179
+ // - BLE
8180
+ // - AWDL
8181
+ // - LAN / mDNS
8135
8182
  const unavailableButEnabledP2PTransports = [];
8136
8183
  const isBLEAvailable = transportsBLEIsAvailable(dittoHandle.deref());
8137
8184
  const isAWDLAvailable = transportsAWDLIsAvailable(dittoHandle.deref());
@@ -8148,29 +8195,17 @@ function stateFrom(parameters) {
8148
8195
  if (unavailableButEnabledP2PTransports.length > 0) {
8149
8196
  throw new Error(`The following P2P transports are enabled in the transport config but are not supported in the current environment: ${unavailableButEnabledP2PTransports.join(', ')}`);
8150
8197
  }
8151
- if (!isSyncActive || !isX509Valid) {
8152
- transportConfig.peerToPeer.bluetoothLE.isEnabled = false;
8153
- transportConfig.peerToPeer.awdl.isEnabled = false;
8154
- transportConfig.peerToPeer.lan.isEnabled = false;
8155
- transportConfig.listen.tcp.isEnabled = false;
8156
- transportConfig.connect.tcpServers = [];
8157
- }
8158
- if (!isSyncActive || !isWebValid) {
8159
- transportConfig.connect.websocketURLs = [];
8198
+ // - Websocket / HTTP
8199
+ // - TCP
8200
+ if (transportConfig.connect.tcpServers.length > 0 && isWebBuild) {
8201
+ throw new Error(`The transport config contains TCP servers, but this transport is not supported in web environments`);
8160
8202
  }
8161
- if (!isSyncActive) {
8162
- transportConfig.listen.http.isEnabled = false;
8203
+ if (transportConfig.listen.http.isEnabled && isWebBuild) {
8204
+ throw new Error(`The transport config contains an HTTP listener, which is not supported in web environments`);
8163
8205
  }
8164
- // NOTE: we have to smuggle in an additional Ditto Cloud websocket URL to
8165
- // connect to if cloud sync is enabled.
8166
- if (isSyncActive && isWebValid && isDittoCloudSyncEnabled) {
8167
- const dittoCloudURL = customDittoCloudURL !== null && customDittoCloudURL !== void 0 ? customDittoCloudURL : defaultDittoCloudURL(appID);
8168
- transportConfig.connect.websocketURLs.push(dittoCloudURL);
8206
+ if (transportConfig.listen.tcp.isEnabled && isWebBuild) {
8207
+ throw new Error(`The transport config contains a TCP listener, which is not supported in web environments`);
8169
8208
  }
8170
- return {
8171
- underlyingSyncParameters: parameters,
8172
- effectiveTransportConfig: transportConfig.freeze(),
8173
- };
8174
8209
  });
8175
8210
  }
8176
8211
 
@@ -8790,13 +8825,12 @@ class Ditto {
8790
8825
  else {
8791
8826
  this.auth = new NotAvailableAuthenticator(this.keepAlive);
8792
8827
  }
8793
- const transportConfig = this.makeDefaultTransportConfig();
8828
+ const transportConfig = this.makeDefaultTransportConfig().freeze();
8794
8829
  //
8795
8830
  // Assign instance properties.
8796
8831
  //
8797
8832
  this.appID = appID;
8798
8833
  this.siteID = siteID;
8799
- this._transportConfig = transportConfig.copy().freeze();
8800
8834
  this.isX509Valid = isX509Valid;
8801
8835
  this.isWebValid = isWebValid;
8802
8836
  this.sync = new Sync(this);
@@ -8997,7 +9031,7 @@ class Ditto {
8997
9031
  * @see {@link updateTransportConfig | updateTransportConfig()}
8998
9032
  */
8999
9033
  get transportConfig() {
9000
- return this._transportConfig;
9034
+ return this.sync.parameters.transportConfig;
9001
9035
  }
9002
9036
  /**
9003
9037
  * Assigns a new transports configuration. By default peer-to-peer transports
@@ -9009,8 +9043,7 @@ class Ditto {
9009
9043
  * @see {@link updateTransportConfig | updateTransportConfig()}
9010
9044
  */
9011
9045
  setTransportConfig(transportConfig) {
9012
- this._transportConfig = transportConfig.copy().freeze();
9013
- const transportConfigNew = this.transportConfig;
9046
+ const transportConfigNew = transportConfig.copy().freeze();
9014
9047
  const identity = this.identity;
9015
9048
  const isWebValid = this.isWebValid;
9016
9049
  const isX509Valid = this.isX509Valid;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
- "author" : {
3
- "email" : "contact@ditto.live",
4
- "name" : "DittoLive Incorporated.",
5
- "url" : "https://ditto.live"
2
+ "author": {
3
+ "email": "contact@ditto.live",
4
+ "name": "DittoLive Incorporated.",
5
+ "url": "https://ditto.live"
6
6
  },
7
- "browser" : "web/ditto.es6.js",
8
- "browser/umd" : "web/ditto.umd.js",
9
- "browserslist" : [
7
+ "browser": "web/ditto.es6.js",
8
+ "browser/umd": "web/ditto.umd.js",
9
+ "browserslist": [
10
10
  "defaults"
11
11
  ],
12
- "dependencies" : {
13
- "@ungap/weakrefs" : "^0.2.0",
14
- "cbor-js" : "^0.1.0",
15
- "cbor-redux" : "^1.0.0",
16
- "fastestsmallesttextencoderdecoder" : "^1.0.22"
12
+ "dependencies": {
13
+ "@ungap/weakrefs": "^0.2.0",
14
+ "cbor-js": "^0.1.0",
15
+ "cbor-redux": "^1.0.0",
16
+ "fastestsmallesttextencoderdecoder": "^1.0.22"
17
17
  },
18
- "description" : "Ditto is a cross-platform embeddable NoSQL database that can sync with or without an internet connection.",
19
- "devDependencies" : {
20
- "serve" : "^14.2.0"
18
+ "description": "Ditto is a cross-platform embeddable NoSQL database that can sync with or without an internet connection.",
19
+ "devDependencies": {
20
+ "serve": "^14.2.0"
21
21
  },
22
- "engines" : {
23
- "node" : ">=14"
22
+ "engines": {
23
+ "node": ">=14"
24
24
  },
25
- "homepage" : "https://ditto.live",
26
- "keywords" : [
25
+ "homepage": "https://ditto.live",
26
+ "keywords": [
27
27
  "ditto",
28
28
  "dittolive",
29
29
  "webassembly",
@@ -33,14 +33,14 @@
33
33
  "sync",
34
34
  "p2p"
35
35
  ],
36
- "license" : "SEE LICENSE IN LICENSE.md",
37
- "main" : "node/ditto.cjs.js",
38
- "name" : "@dittolive/ditto",
39
- "react-native" : "react-native/src/index.ts",
40
- "scripts" : {
41
- "play:node" : "node --experimental-repl-await --unhandled-rejections=strict playground.cjs",
42
- "play:web" : "npx serve --listen 5285"
36
+ "license": "SEE LICENSE IN LICENSE.md",
37
+ "main": "node/ditto.cjs.js",
38
+ "name": "@dittolive/ditto",
39
+ "react-native": "react-native/src/index.ts",
40
+ "scripts": {
41
+ "play:node": "node --experimental-repl-await --unhandled-rejections=strict playground.cjs",
42
+ "play:web": "npx serve --listen 5285"
43
43
  },
44
- "types" : "types/ditto.d.ts",
45
- "version" : "4.5.0"
46
- }
44
+ "types": "types/ditto.d.ts",
45
+ "version": "4.5.1"
46
+ }