@dittolive/ditto 4.5.1 → 4.5.2-rc.2

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 (486) hide show
  1. package/DittoReactNative.podspec +2 -5
  2. package/README.md +2 -2
  3. package/node/ditto.cjs.js +2 -9653
  4. package/node/ditto.cjs.js.map +1 -0
  5. package/node/ditto.cjs.pretty.js +9655 -0
  6. package/node/ditto.cjs.pretty.js.map +1 -0
  7. package/node/ditto.darwin-arm64.node +0 -0
  8. package/node/ditto.darwin-x64.node +0 -0
  9. package/node/ditto.linux-x64.node +0 -0
  10. package/node/transports.darwin-arm64.node +0 -0
  11. package/node/transports.darwin-x64.node +0 -0
  12. package/package.json +31 -26
  13. package/react-native/android/build.gradle +2 -19
  14. package/react-native/cpp/include/Arc.hpp +141 -0
  15. package/react-native/cpp/include/Lifecycle.h +2 -1
  16. package/react-native/cpp/include/Misc.h +2 -1
  17. package/react-native/cpp/include/SmallPeerInfo.h +2 -0
  18. package/react-native/cpp/src/Authentication.cpp +17 -14
  19. package/react-native/cpp/src/DQL.cpp +10 -8
  20. package/react-native/cpp/src/Lifecycle.cpp +37 -2
  21. package/react-native/cpp/src/LiveQuery.cpp +2 -3
  22. package/react-native/cpp/src/Misc.cpp +15 -3
  23. package/react-native/cpp/src/Presence.cpp +8 -6
  24. package/react-native/cpp/src/SmallPeerInfo.cpp +34 -0
  25. package/react-native/cpp/src/main.cpp +6 -3
  26. package/react-native/dittoffi/dittoffi.h +186 -184
  27. package/react-native/lib/commonjs/ditto.rn.js +14 -15
  28. package/react-native/lib/commonjs/ditto.rn.js.map +1 -1
  29. package/react-native/lib/commonjs/index.js +61 -14
  30. package/react-native/lib/commonjs/index.js.map +1 -1
  31. package/react-native/lib/module/ditto.rn.js +16 -11
  32. package/react-native/lib/module/ditto.rn.js.map +1 -1
  33. package/react-native/lib/module/index.js +24 -10
  34. package/react-native/lib/module/index.js.map +1 -1
  35. package/react-native/lib/typescript/ditto.rn.d.ts.map +1 -1
  36. package/react-native/src/sources/@environment.ts +0 -1
  37. package/react-native/src/sources/attachment-fetcher-manager.ts +15 -0
  38. package/react-native/src/sources/attachment-fetcher.ts +10 -0
  39. package/react-native/src/sources/attachment.ts +15 -0
  40. package/react-native/src/sources/augment.ts +12 -0
  41. package/react-native/src/sources/base-pending-cursor-operation.ts +2 -0
  42. package/react-native/src/sources/bridge.ts +5 -1
  43. package/react-native/src/sources/build-time-constants.ts +5 -1
  44. package/react-native/src/sources/counter.ts +5 -0
  45. package/react-native/src/sources/ditto.ts +46 -12
  46. package/react-native/src/sources/document-id.ts +1 -1
  47. package/react-native/src/sources/document-path.ts +5 -2
  48. package/react-native/src/sources/document.ts +2 -1
  49. package/react-native/src/sources/epilogue.ts +6 -0
  50. package/react-native/src/sources/error.ts +7 -2
  51. package/react-native/src/sources/ffi-error.ts +6 -1
  52. package/react-native/src/sources/ffi.ts +51 -11
  53. package/react-native/src/sources/init.ts +2 -1
  54. package/react-native/src/sources/internal.ts +3 -7
  55. package/react-native/src/sources/keep-alive.ts +6 -2
  56. package/react-native/src/sources/key-path.ts +4 -1
  57. package/react-native/src/sources/live-query-manager.ts +5 -4
  58. package/react-native/src/sources/live-query.ts +2 -0
  59. package/react-native/src/sources/main.ts +60 -0
  60. package/react-native/src/sources/observer-manager.ts +5 -2
  61. package/react-native/src/sources/observer.ts +3 -1
  62. package/react-native/src/sources/pending-id-specific-operation.ts +4 -2
  63. package/react-native/src/sources/presence-manager.ts +2 -1
  64. package/react-native/src/sources/presence.ts +0 -5
  65. package/react-native/src/sources/register.ts +5 -2
  66. package/react-native/src/sources/small-peer-info.ts +1 -0
  67. package/react-native/src/sources/store-observer.ts +1 -0
  68. package/react-native/src/sources/store.ts +24 -4
  69. package/react-native/src/sources/subscription-manager.ts +2 -1
  70. package/react-native/src/sources/subscription.ts +1 -0
  71. package/react-native/src/sources/sync.ts +110 -46
  72. package/react-native/src/sources/transport-config.ts +2 -0
  73. package/react-native/src/sources/websocket-client.ts +1 -0
  74. package/react-native/src/sources/write-transaction-pending-id-specific-operation.ts +2 -0
  75. package/react-native/src/sources/write-transaction.ts +2 -0
  76. package/types/ditto.d.ts.map +1 -0
  77. package/web/ditto.es6.js +1 -1
  78. package/web/ditto.es6.js.map +1 -0
  79. package/web/ditto.es6.pretty.js +12600 -0
  80. package/web/ditto.es6.pretty.js.map +1 -0
  81. package/web/ditto.umd.js +1 -1
  82. package/web/ditto.umd.js.map +1 -0
  83. package/web/ditto.umd.pretty.js +12669 -0
  84. package/web/ditto.umd.pretty.js.map +1 -0
  85. package/web/ditto.wasm +0 -0
  86. package/node/ditto.linux-arm.node +0 -0
  87. package/node/ditto.win32-x64.node +0 -0
  88. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  89. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  90. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  91. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/cache-v2-970081f7c58ab1625a1a.json +0 -1303
  92. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/cmakeFiles-v1-e1bacde094ce7e389294.json +0 -203
  93. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/codemodel-v2-54964c7f44134b1cec4d.json +0 -60
  94. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +0 -14
  95. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/index-2023-12-06T19-58-48-0479.json +0 -92
  96. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.cmake/api/v1/reply/target-cpp-Debug-a438adda6ad6df71f898.json +0 -314
  97. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.ninja_deps +0 -0
  98. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/.ninja_log +0 -21
  99. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeCache.txt +0 -393
  100. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +0 -79
  101. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +0 -90
  102. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  103. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  104. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +0 -113
  105. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +0 -803
  106. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  107. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -791
  108. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  109. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/CMakeOutput.log +0 -320
  110. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/TargetDirectories.txt +0 -3
  111. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cmake.check_cache +0 -1
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  131. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/CMakeFiles/rules.ninja +0 -64
  132. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/additional_project_files.txt +0 -0
  133. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/android_gradle_build.json +0 -42
  134. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/android_gradle_build_mini.json +0 -31
  135. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/build.ninja +0 -297
  136. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/build_file_index.txt +0 -3
  137. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/cmake_install.cmake +0 -54
  138. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/compile_commands.json +0 -97
  139. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/compile_commands.json.bin +0 -0
  140. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/configure_fingerprint.bin +0 -8755
  141. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/metadata_generation_command.txt +0 -21
  142. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/prefab_config.json +0 -8
  143. package/react-native/android/.cxx/Debug/6p5m3p3q/arm64-v8a/symbol_folder_index.txt +0 -1
  144. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  145. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  146. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  147. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/cache-v2-0cc74b41e95a51ba0457.json +0 -1303
  148. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/cmakeFiles-v1-ee90fea936bce5771631.json +0 -203
  149. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/codemodel-v2-82fa8946198e6eba430b.json +0 -60
  150. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +0 -14
  151. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/index-2023-12-06T19-58-48-0893.json +0 -92
  152. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.cmake/api/v1/reply/target-cpp-Debug-1e9d0b1a457f7fe5c618.json +0 -314
  153. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.ninja_deps +0 -0
  154. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/.ninja_log +0 -21
  155. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeCache.txt +0 -393
  156. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +0 -79
  157. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +0 -90
  158. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  159. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  160. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +0 -115
  161. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +0 -803
  162. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  163. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -791
  164. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  165. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/CMakeOutput.log +0 -304
  166. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/TargetDirectories.txt +0 -3
  167. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cmake.check_cache +0 -1
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  187. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/CMakeFiles/rules.ninja +0 -64
  188. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/additional_project_files.txt +0 -0
  189. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/android_gradle_build.json +0 -42
  190. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/android_gradle_build_mini.json +0 -31
  191. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/build.ninja +0 -297
  192. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/build_file_index.txt +0 -3
  193. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/cmake_install.cmake +0 -54
  194. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/compile_commands.json +0 -97
  195. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/compile_commands.json.bin +0 -0
  196. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/configure_fingerprint.bin +0 -8755
  197. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/metadata_generation_command.txt +0 -21
  198. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/prefab_config.json +0 -8
  199. package/react-native/android/.cxx/Debug/6p5m3p3q/armeabi-v7a/symbol_folder_index.txt +0 -1
  200. package/react-native/android/.cxx/Debug/6p5m3p3q/hash_key.txt +0 -28
  201. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/ReactAndroid/ReactAndroidConfig.cmake +0 -261
  202. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +0 -9
  203. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfig.cmake +0 -9
  204. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/arm64-v8a/prefab/lib/aarch64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +0 -9
  205. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/ReactAndroid/ReactAndroidConfig.cmake +0 -261
  206. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +0 -9
  207. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfig.cmake +0 -9
  208. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/armeabi-v7a/prefab/lib/arm-linux-androideabi/cmake/fbjni/fbjniConfigVersion.cmake +0 -9
  209. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/ReactAndroid/ReactAndroidConfig.cmake +0 -261
  210. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +0 -9
  211. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfig.cmake +0 -9
  212. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86/prefab/lib/i686-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +0 -9
  213. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/ReactAndroid/ReactAndroidConfig.cmake +0 -261
  214. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/ReactAndroid/ReactAndroidConfigVersion.cmake +0 -9
  215. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfig.cmake +0 -9
  216. package/react-native/android/.cxx/Debug/6p5m3p3q/prefab/x86_64/prefab/lib/x86_64-linux-android/cmake/fbjni/fbjniConfigVersion.cmake +0 -9
  217. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  218. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  219. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  220. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/cache-v2-6c4a25b4c6713ffdc5da.json +0 -1303
  221. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/cmakeFiles-v1-f4200ba0f2ce507c91da.json +0 -203
  222. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/codemodel-v2-9ea6ff99336eeb9a9ce9.json +0 -60
  223. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +0 -14
  224. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/index-2023-12-06T19-58-49-0301.json +0 -92
  225. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.cmake/api/v1/reply/target-cpp-Debug-a88e6d0219517e1d531b.json +0 -314
  226. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.ninja_deps +0 -0
  227. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/.ninja_log +0 -21
  228. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeCache.txt +0 -393
  229. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +0 -79
  230. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +0 -90
  231. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  232. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  233. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +0 -113
  234. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +0 -803
  235. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  236. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -791
  237. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  238. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/CMakeOutput.log +0 -322
  239. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/TargetDirectories.txt +0 -3
  240. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cmake.check_cache +0 -1
  241. 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
  242. 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
  243. 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
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. 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
  251. 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
  252. 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
  253. 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
  254. 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
  255. 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
  256. 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
  257. 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
  258. 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
  259. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  260. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/CMakeFiles/rules.ninja +0 -64
  261. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/additional_project_files.txt +0 -0
  262. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/android_gradle_build.json +0 -42
  263. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/android_gradle_build_mini.json +0 -31
  264. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/build.ninja +0 -297
  265. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/build_file_index.txt +0 -3
  266. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/cmake_install.cmake +0 -54
  267. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/compile_commands.json +0 -97
  268. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/compile_commands.json.bin +0 -0
  269. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/metadata_generation_command.txt +0 -21
  270. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/prefab_config.json +0 -8
  271. package/react-native/android/.cxx/Debug/6p5m3p3q/x86/symbol_folder_index.txt +0 -1
  272. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/query/client-agp/cache-v2 +0 -0
  273. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/query/client-agp/cmakeFiles-v1 +0 -0
  274. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/query/client-agp/codemodel-v2 +0 -0
  275. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/cache-v2-dae9c0e6f8d6c826f86e.json +0 -1303
  276. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/cmakeFiles-v1-77b66408bf04fa403cf4.json +0 -203
  277. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/codemodel-v2-00d5bd5dc4a882f89004.json +0 -60
  278. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +0 -14
  279. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/index-2023-12-06T19-58-49-0701.json +0 -92
  280. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.cmake/api/v1/reply/target-cpp-Debug-ed2a7b63dedc1886a528.json +0 -314
  281. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.ninja_deps +0 -0
  282. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/.ninja_log +0 -21
  283. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeCache.txt +0 -393
  284. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCCompiler.cmake +0 -79
  285. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeCXXCompiler.cmake +0 -90
  286. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_C.bin +0 -0
  287. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeDetermineCompilerABI_CXX.bin +0 -0
  288. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CMakeSystem.cmake +0 -113
  289. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.c +0 -803
  290. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdC/CMakeCCompilerId.o +0 -0
  291. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -791
  292. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/3.22.1-g37088a8/CompilerIdCXX/CMakeCXXCompilerId.o +0 -0
  293. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/CMakeOutput.log +0 -322
  294. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/TargetDirectories.txt +0 -3
  295. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cmake.check_cache +0 -1
  296. 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
  297. 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
  298. 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
  299. 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
  300. 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
  301. 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
  302. 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
  303. 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
  304. 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
  305. 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
  306. 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
  307. 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
  308. 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
  309. 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
  310. 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
  311. 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
  312. 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
  313. 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
  314. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/cpp.dir/cpp-adapter.cpp.o +0 -0
  315. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/CMakeFiles/rules.ninja +0 -64
  316. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/additional_project_files.txt +0 -0
  317. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/android_gradle_build.json +0 -42
  318. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/android_gradle_build_mini.json +0 -31
  319. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/build.ninja +0 -297
  320. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/build_file_index.txt +0 -3
  321. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/cmake_install.cmake +0 -54
  322. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/compile_commands.json +0 -97
  323. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/compile_commands.json.bin +0 -0
  324. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/configure_fingerprint.bin +0 -8755
  325. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/metadata_generation_command.txt +0 -21
  326. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/prefab_config.json +0 -8
  327. package/react-native/android/.cxx/Debug/6p5m3p3q/x86_64/symbol_folder_index.txt +0 -1
  328. package/react-native/android/.cxx/tools/debug/arm64-v8a/compile_commands.json +0 -97
  329. package/react-native/android/.cxx/tools/debug/armeabi-v7a/compile_commands.json +0 -97
  330. package/react-native/android/.cxx/tools/debug/x86/compile_commands.json +0 -97
  331. package/react-native/android/.cxx/tools/debug/x86_64/compile_commands.json +0 -97
  332. package/react-native/android/.gradle/8.5/checksums/checksums.lock +0 -0
  333. package/react-native/android/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  334. package/react-native/android/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  335. package/react-native/android/.gradle/8.5/fileChanges/last-build.bin +0 -0
  336. package/react-native/android/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  337. package/react-native/android/.gradle/8.5/gc.properties +0 -0
  338. package/react-native/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  339. package/react-native/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  340. package/react-native/android/.gradle/vcs-1/gc.properties +0 -0
  341. package/react-native/boost/boost/assert.hpp +0 -85
  342. package/react-native/boost/boost/config/abi/borland_prefix.hpp +0 -27
  343. package/react-native/boost/boost/config/abi/borland_suffix.hpp +0 -12
  344. package/react-native/boost/boost/config/abi/msvc_prefix.hpp +0 -22
  345. package/react-native/boost/boost/config/abi/msvc_suffix.hpp +0 -8
  346. package/react-native/boost/boost/config/abi_prefix.hpp +0 -25
  347. package/react-native/boost/boost/config/abi_suffix.hpp +0 -25
  348. package/react-native/boost/boost/config/assert_cxx03.hpp +0 -211
  349. package/react-native/boost/boost/config/assert_cxx11.hpp +0 -209
  350. package/react-native/boost/boost/config/assert_cxx14.hpp +0 -47
  351. package/react-native/boost/boost/config/assert_cxx17.hpp +0 -62
  352. package/react-native/boost/boost/config/assert_cxx20.hpp +0 -59
  353. package/react-native/boost/boost/config/assert_cxx98.hpp +0 -23
  354. package/react-native/boost/boost/config/auto_link.hpp +0 -525
  355. package/react-native/boost/boost/config/compiler/borland.hpp +0 -339
  356. package/react-native/boost/boost/config/compiler/clang.hpp +0 -366
  357. package/react-native/boost/boost/config/compiler/clang_version.hpp +0 -83
  358. package/react-native/boost/boost/config/compiler/codegear.hpp +0 -385
  359. package/react-native/boost/boost/config/compiler/comeau.hpp +0 -59
  360. package/react-native/boost/boost/config/compiler/common_edg.hpp +0 -183
  361. package/react-native/boost/boost/config/compiler/compaq_cxx.hpp +0 -19
  362. package/react-native/boost/boost/config/compiler/cray.hpp +0 -446
  363. package/react-native/boost/boost/config/compiler/diab.hpp +0 -26
  364. package/react-native/boost/boost/config/compiler/digitalmars.hpp +0 -143
  365. package/react-native/boost/boost/config/compiler/gcc.hpp +0 -383
  366. package/react-native/boost/boost/config/compiler/gcc_xml.hpp +0 -114
  367. package/react-native/boost/boost/config/compiler/greenhills.hpp +0 -28
  368. package/react-native/boost/boost/config/compiler/hp_acc.hpp +0 -149
  369. package/react-native/boost/boost/config/compiler/intel.hpp +0 -577
  370. package/react-native/boost/boost/config/compiler/kai.hpp +0 -33
  371. package/react-native/boost/boost/config/compiler/metrowerks.hpp +0 -198
  372. package/react-native/boost/boost/config/compiler/mpw.hpp +0 -140
  373. package/react-native/boost/boost/config/compiler/nvcc.hpp +0 -61
  374. package/react-native/boost/boost/config/compiler/pathscale.hpp +0 -138
  375. package/react-native/boost/boost/config/compiler/pgi.hpp +0 -23
  376. package/react-native/boost/boost/config/compiler/sgi_mipspro.hpp +0 -29
  377. package/react-native/boost/boost/config/compiler/sunpro_cc.hpp +0 -222
  378. package/react-native/boost/boost/config/compiler/vacpp.hpp +0 -186
  379. package/react-native/boost/boost/config/compiler/visualc.hpp +0 -391
  380. package/react-native/boost/boost/config/compiler/xlcpp.hpp +0 -299
  381. package/react-native/boost/boost/config/compiler/xlcpp_zos.hpp +0 -173
  382. package/react-native/boost/boost/config/detail/cxx_composite.hpp +0 -203
  383. package/react-native/boost/boost/config/detail/posix_features.hpp +0 -95
  384. package/react-native/boost/boost/config/detail/select_compiler_config.hpp +0 -157
  385. package/react-native/boost/boost/config/detail/select_platform_config.hpp +0 -147
  386. package/react-native/boost/boost/config/detail/select_stdlib_config.hpp +0 -121
  387. package/react-native/boost/boost/config/detail/suffix.hpp +0 -1294
  388. package/react-native/boost/boost/config/header_deprecated.hpp +0 -26
  389. package/react-native/boost/boost/config/helper_macros.hpp +0 -37
  390. package/react-native/boost/boost/config/no_tr1/cmath.hpp +0 -28
  391. package/react-native/boost/boost/config/no_tr1/complex.hpp +0 -28
  392. package/react-native/boost/boost/config/no_tr1/functional.hpp +0 -28
  393. package/react-native/boost/boost/config/no_tr1/memory.hpp +0 -28
  394. package/react-native/boost/boost/config/no_tr1/utility.hpp +0 -28
  395. package/react-native/boost/boost/config/platform/aix.hpp +0 -33
  396. package/react-native/boost/boost/config/platform/amigaos.hpp +0 -15
  397. package/react-native/boost/boost/config/platform/beos.hpp +0 -26
  398. package/react-native/boost/boost/config/platform/bsd.hpp +0 -83
  399. package/react-native/boost/boost/config/platform/cloudabi.hpp +0 -18
  400. package/react-native/boost/boost/config/platform/cray.hpp +0 -18
  401. package/react-native/boost/boost/config/platform/cygwin.hpp +0 -71
  402. package/react-native/boost/boost/config/platform/haiku.hpp +0 -31
  403. package/react-native/boost/boost/config/platform/hpux.hpp +0 -87
  404. package/react-native/boost/boost/config/platform/irix.hpp +0 -31
  405. package/react-native/boost/boost/config/platform/linux.hpp +0 -106
  406. package/react-native/boost/boost/config/platform/macos.hpp +0 -87
  407. package/react-native/boost/boost/config/platform/qnxnto.hpp +0 -31
  408. package/react-native/boost/boost/config/platform/solaris.hpp +0 -31
  409. package/react-native/boost/boost/config/platform/symbian.hpp +0 -97
  410. package/react-native/boost/boost/config/platform/vms.hpp +0 -25
  411. package/react-native/boost/boost/config/platform/vxworks.hpp +0 -422
  412. package/react-native/boost/boost/config/platform/wasm.hpp +0 -23
  413. package/react-native/boost/boost/config/platform/win32.hpp +0 -90
  414. package/react-native/boost/boost/config/platform/zos.hpp +0 -32
  415. package/react-native/boost/boost/config/pragma_message.hpp +0 -31
  416. package/react-native/boost/boost/config/requires_threads.hpp +0 -92
  417. package/react-native/boost/boost/config/stdlib/dinkumware.hpp +0 -324
  418. package/react-native/boost/boost/config/stdlib/libcomo.hpp +0 -93
  419. package/react-native/boost/boost/config/stdlib/libcpp.hpp +0 -180
  420. package/react-native/boost/boost/config/stdlib/libstdcpp3.hpp +0 -482
  421. package/react-native/boost/boost/config/stdlib/modena.hpp +0 -79
  422. package/react-native/boost/boost/config/stdlib/msl.hpp +0 -98
  423. package/react-native/boost/boost/config/stdlib/roguewave.hpp +0 -208
  424. package/react-native/boost/boost/config/stdlib/sgi.hpp +0 -168
  425. package/react-native/boost/boost/config/stdlib/stlport.hpp +0 -258
  426. package/react-native/boost/boost/config/stdlib/vacpp.hpp +0 -74
  427. package/react-native/boost/boost/config/stdlib/xlcpp_zos.hpp +0 -61
  428. package/react-native/boost/boost/config/user.hpp +0 -133
  429. package/react-native/boost/boost/config/warning_disable.hpp +0 -47
  430. package/react-native/boost/boost/config/workaround.hpp +0 -305
  431. package/react-native/boost/boost/config.hpp +0 -67
  432. package/react-native/boost/boost/cstdint.hpp +0 -556
  433. package/react-native/boost/boost/intrusive_ptr.hpp +0 -18
  434. package/react-native/boost/boost/smart_ptr/detail/atomic_count.hpp +0 -103
  435. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp +0 -79
  436. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +0 -63
  437. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +0 -88
  438. package/react-native/boost/boost/smart_ptr/detail/atomic_count_nt.hpp +0 -66
  439. package/react-native/boost/boost/smart_ptr/detail/atomic_count_pt.hpp +0 -104
  440. package/react-native/boost/boost/smart_ptr/detail/atomic_count_spin.hpp +0 -69
  441. package/react-native/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +0 -67
  442. package/react-native/boost/boost/smart_ptr/detail/atomic_count_sync.hpp +0 -72
  443. package/react-native/boost/boost/smart_ptr/detail/atomic_count_win32.hpp +0 -70
  444. package/react-native/boost/boost/smart_ptr/detail/local_counted_base.hpp +0 -148
  445. package/react-native/boost/boost/smart_ptr/detail/local_sp_deleter.hpp +0 -91
  446. package/react-native/boost/boost/smart_ptr/detail/operator_bool.hpp +0 -64
  447. package/react-native/boost/boost/smart_ptr/detail/requires_cxx11.hpp +0 -23
  448. package/react-native/boost/boost/smart_ptr/detail/shared_count.hpp +0 -707
  449. package/react-native/boost/boost/smart_ptr/detail/sp_convertible.hpp +0 -92
  450. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base.hpp +0 -92
  451. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +0 -163
  452. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp +0 -152
  453. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +0 -185
  454. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +0 -148
  455. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +0 -170
  456. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +0 -200
  457. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +0 -194
  458. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +0 -179
  459. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +0 -186
  460. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp +0 -119
  461. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp +0 -147
  462. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +0 -174
  463. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp +0 -141
  464. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +0 -147
  465. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp +0 -165
  466. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +0 -163
  467. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp +0 -140
  468. package/react-native/boost/boost/smart_ptr/detail/sp_counted_impl.hpp +0 -309
  469. package/react-native/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp +0 -40
  470. package/react-native/boost/boost/smart_ptr/detail/sp_forward.hpp +0 -52
  471. package/react-native/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +0 -27
  472. package/react-native/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +0 -69
  473. package/react-native/boost/boost/smart_ptr/detail/sp_interlocked.hpp +0 -173
  474. package/react-native/boost/boost/smart_ptr/detail/sp_noexcept.hpp +0 -48
  475. package/react-native/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp +0 -45
  476. package/react-native/boost/boost/smart_ptr/detail/sp_obsolete.hpp +0 -32
  477. package/react-native/boost/boost/smart_ptr/detail/sp_thread_pause.hpp +0 -51
  478. package/react-native/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp +0 -104
  479. package/react-native/boost/boost/smart_ptr/detail/sp_thread_yield.hpp +0 -100
  480. package/react-native/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp +0 -58
  481. package/react-native/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp +0 -49
  482. package/react-native/boost/boost/smart_ptr/intrusive_ptr.hpp +0 -409
  483. package/react-native/boost/boost/smart_ptr/intrusive_ref_counter.hpp +0 -188
  484. package/react-native/cpp/include/RetainableState.h +0 -24
  485. package/react-native/cpp/src/RetainableState.cpp +0 -15
  486. package/react-native/scripts/ruby/include_local_boost.rb +0 -78
@@ -3248,6 +3248,8 @@ typedef enum DittoSdkTransportsError {
3248
3248
  DITTO_SDK_TRANSPORTS_ERROR_GENERIC = 1,
3249
3249
  /** <No documentation available> */
3250
3250
  DITTO_SDK_TRANSPORTS_ERROR_UNAVAILABLE = 2,
3251
+ /** <No documentation available> */
3252
+ DITTO_SDK_TRANSPORTS_ERROR_MISSING_BLUETOOTH_INFO_PLIST_ENTRY = 3,
3251
3253
  } DittoSdkTransportsError_t;
3252
3254
 
3253
3255
  /** <No documentation available> */
@@ -3306,7 +3308,7 @@ DittoSdkTransportsError_t *
3306
3308
  /* fn */ ditto_sdk_transports_error_new (void);
3307
3309
 
3308
3310
  /** \brief
3309
- * Frees the output of `ditto_sdk_transports_new_error`.
3311
+ * Obtain the value of a pointer to `DittoSdkTransportsError`
3310
3312
  */
3311
3313
  DittoSdkTransportsError_t
3312
3314
  /* fn */ ditto_sdk_transports_error_value (
@@ -3675,6 +3677,162 @@ char *
3675
3677
  /* fn */ ditto_transports_diagnostics (
3676
3678
  CDitto_t const * ditto);
3677
3679
 
3680
+ /** \brief
3681
+ * Make an UninitializedDitto object as an opaque pointer.
3682
+ *
3683
+ * This object serves as an intermediate object that allows database access.
3684
+ * This allows the SDK to check if a pre-existing site ID has been persisted.
3685
+ */
3686
+ UninitializedDitto_t *
3687
+ /* fn */ ditto_uninitialized_ditto_make (
3688
+ char const * working_dir);
3689
+
3690
+ /** <No documentation available> */
3691
+ typedef struct Erased Erased_t;
3692
+
3693
+ /** \brief
3694
+ * An FFI-safe `Poll<()>`.
3695
+ */
3696
+ /** \remark Has the same ABI as `int8_t` **/
3697
+ #ifdef DOXYGEN
3698
+ typedef
3699
+ #endif
3700
+ enum PollFuture {
3701
+ /** <No documentation available> */
3702
+ POLL_FUTURE_COMPLETED = 0,
3703
+ /** <No documentation available> */
3704
+ POLL_FUTURE_PENDING = -1,
3705
+ }
3706
+ #ifndef DOXYGEN
3707
+ ; typedef int8_t
3708
+ #endif
3709
+ PollFuture_t;
3710
+
3711
+ /** \brief
3712
+ * The layout of `core::task::wake::Context` is opaque/subject to changes.
3713
+ */
3714
+ typedef struct Opaque_Context Opaque_Context_t;
3715
+
3716
+ /** <No documentation available> */
3717
+ typedef struct FfiFutureVTable {
3718
+ /** <No documentation available> */
3719
+ void (*release_vptr)(Erased_t *);
3720
+
3721
+ /** <No documentation available> */
3722
+ PollFuture_t (*dyn_poll)(Erased_t *, Opaque_Context_t *);
3723
+ } FfiFutureVTable_t;
3724
+
3725
+ /** <No documentation available> */
3726
+ typedef struct VirtualPtr__Erased_ptr_FfiFutureVTable {
3727
+ /** <No documentation available> */
3728
+ Erased_t * ptr;
3729
+
3730
+ /** <No documentation available> */
3731
+ FfiFutureVTable_t vtable;
3732
+ } VirtualPtr__Erased_ptr_FfiFutureVTable_t;
3733
+
3734
+ /** \brief
3735
+ * `Box<dyn 'static + Send + FnMut() -> Ret>`
3736
+ */
3737
+ typedef struct BoxDynFnMut0_void {
3738
+ /** <No documentation available> */
3739
+ void * env_ptr;
3740
+
3741
+ /** <No documentation available> */
3742
+ void (*call)(void *);
3743
+
3744
+ /** <No documentation available> */
3745
+ void (*free)(void *);
3746
+ } BoxDynFnMut0_void_t;
3747
+
3748
+ /** <No documentation available> */
3749
+ typedef struct DropGlueVTable {
3750
+ /** <No documentation available> */
3751
+ void (*release_vptr)(Erased_t *);
3752
+ } DropGlueVTable_t;
3753
+
3754
+ /** <No documentation available> */
3755
+ typedef struct VirtualPtr__Erased_ptr_DropGlueVTable {
3756
+ /** <No documentation available> */
3757
+ Erased_t * ptr;
3758
+
3759
+ /** <No documentation available> */
3760
+ DropGlueVTable_t vtable;
3761
+ } VirtualPtr__Erased_ptr_DropGlueVTable_t;
3762
+
3763
+ /** <No documentation available> */
3764
+ typedef struct FfiFutureExecutorVTable {
3765
+ /** <No documentation available> */
3766
+ void (*release_vptr)(Erased_t *);
3767
+
3768
+ /** <No documentation available> */
3769
+ Erased_t * (*retain_vptr)(Erased_t const *);
3770
+
3771
+ /** <No documentation available> */
3772
+ VirtualPtr__Erased_ptr_FfiFutureVTable_t (*dyn_spawn)(Erased_t const *, VirtualPtr__Erased_ptr_FfiFutureVTable_t);
3773
+
3774
+ /** <No documentation available> */
3775
+ VirtualPtr__Erased_ptr_FfiFutureVTable_t (*dyn_spawn_blocking)(Erased_t const *, BoxDynFnMut0_void_t);
3776
+
3777
+ /** <No documentation available> */
3778
+ void (*dyn_block_on)(Erased_t const *, VirtualPtr__Erased_ptr_FfiFutureVTable_t);
3779
+
3780
+ /** <No documentation available> */
3781
+ VirtualPtr__Erased_ptr_DropGlueVTable_t (*dyn_enter)(Erased_t const *);
3782
+ } FfiFutureExecutorVTable_t;
3783
+
3784
+ /** <No documentation available> */
3785
+ typedef struct VirtualPtr__Erased_ptr_FfiFutureExecutorVTable {
3786
+ /** <No documentation available> */
3787
+ Erased_t * ptr;
3788
+
3789
+ /** <No documentation available> */
3790
+ FfiFutureExecutorVTable_t vtable;
3791
+ } VirtualPtr__Erased_ptr_FfiFutureExecutorVTable_t;
3792
+
3793
+ /** <No documentation available> */
3794
+ typedef struct StaticDropGlueVTable {
3795
+ /** <No documentation available> */
3796
+ void (*release_vptr)(Erased_t *);
3797
+
3798
+ /** <No documentation available> */
3799
+ Erased_t * (*retain_vptr)(Erased_t const *);
3800
+ } StaticDropGlueVTable_t;
3801
+
3802
+ /** <No documentation available> */
3803
+ typedef struct VirtualPtr__Erased_ptr_StaticDropGlueVTable {
3804
+ /** <No documentation available> */
3805
+ Erased_t * ptr;
3806
+
3807
+ /** <No documentation available> */
3808
+ StaticDropGlueVTable_t vtable;
3809
+ } VirtualPtr__Erased_ptr_StaticDropGlueVTable_t;
3810
+
3811
+ /** \brief
3812
+ * A `dyn` type-erased (and thus completely layout agnostic
3813
+ * (_e.g._, tokio-agnostic)) and yet FFI-compatible version of an `async`
3814
+ * runtime executor.
3815
+ *
3816
+ * Keep it in sync with `rust/dittolive-ditto-sys/lib.rs`!
3817
+ */
3818
+ typedef struct DynExecutor {
3819
+ /** \brief
3820
+ * The main object used to spawn futures and whatnot.
3821
+ */
3822
+ VirtualPtr__Erased_ptr_FfiFutureExecutorVTable_t handle;
3823
+
3824
+ /** \brief
3825
+ * The drop glue potentially driving the shutdown of the runtime.
3826
+ */
3827
+ VirtualPtr__Erased_ptr_StaticDropGlueVTable_t _runtime;
3828
+ } DynExecutor_t;
3829
+
3830
+ /** <No documentation available> */
3831
+ UninitializedDitto_t *
3832
+ /* fn */ ditto_uninitialized_ditto_make_with_executor (
3833
+ char const * working_dir,
3834
+ DynExecutor_t executor);
3835
+
3678
3836
  /** <No documentation available> */
3679
3837
  void
3680
3838
  /* fn */ ditto_unregister_local_auth_server (
@@ -3715,6 +3873,33 @@ void
3715
3873
  /* fn */ ditto_vec_usizes_free (
3716
3874
  Vec_size_t usizes);
3717
3875
 
3876
+ /** <No documentation available> */
3877
+ typedef enum LicenseVerificationResult {
3878
+ /** <No documentation available> */
3879
+ LICENSE_VERIFICATION_RESULT_LICENSE_OK = 0,
3880
+ /** <No documentation available> */
3881
+ LICENSE_VERIFICATION_RESULT_VERIFICATION_FAILED = -1,
3882
+ /** <No documentation available> */
3883
+ LICENSE_VERIFICATION_RESULT_LICENSE_EXPIRED = -2,
3884
+ /** <No documentation available> */
3885
+ LICENSE_VERIFICATION_RESULT_UNSUPPORTED_FUTURE_VERSION = -3,
3886
+ } LicenseVerificationResult_t;
3887
+
3888
+ /** \brief
3889
+ * Verify a base64 encoded license string
3890
+ *
3891
+ * # Parameters
3892
+ * - `license`: A base64 encoded license string. This should be the output of
3893
+ * `ditto_licenser::license_mgr::generate()`.
3894
+ * - `out_error_msg`: An optional error message out parameter which will be written to if the
3895
+ * license verification. This error message is simplified and appropriate to show directly to an
3896
+ * SDK user.
3897
+ */
3898
+ LicenseVerificationResult_t
3899
+ /* fn */ ditto_verify_license (
3900
+ char const * license,
3901
+ char * * out_err_msg);
3902
+
3718
3903
  /** \brief
3719
3904
  * The SDK requests to drop its handle to the WifiAware discovery transport
3720
3905
  *
@@ -4459,109 +4644,6 @@ void
4459
4644
  Vec_char_ptr_t *
4460
4645
  /* fn */ new_c_string_vec (void);
4461
4646
 
4462
- /** <No documentation available> */
4463
- typedef struct Erased Erased_t;
4464
-
4465
- /** \brief
4466
- * An FFI-safe `Poll<()>`.
4467
- */
4468
- /** \remark Has the same ABI as `int8_t` **/
4469
- #ifdef DOXYGEN
4470
- typedef
4471
- #endif
4472
- enum PollFuture {
4473
- /** <No documentation available> */
4474
- POLL_FUTURE_COMPLETED = 0,
4475
- /** <No documentation available> */
4476
- POLL_FUTURE_PENDING = -1,
4477
- }
4478
- #ifndef DOXYGEN
4479
- ; typedef int8_t
4480
- #endif
4481
- PollFuture_t;
4482
-
4483
- /** \brief
4484
- * The layout of `core::task::wake::Context` is opaque/subject to changes.
4485
- */
4486
- typedef struct Opaque_Context Opaque_Context_t;
4487
-
4488
- /** <No documentation available> */
4489
- typedef struct FfiFutureVTable {
4490
- /** <No documentation available> */
4491
- void (*release_vptr)(Erased_t *);
4492
-
4493
- /** <No documentation available> */
4494
- PollFuture_t (*dyn_poll)(Erased_t *, Opaque_Context_t *);
4495
- } FfiFutureVTable_t;
4496
-
4497
- /** <No documentation available> */
4498
- typedef struct VirtualPtr__Erased_ptr_FfiFutureVTable {
4499
- /** <No documentation available> */
4500
- Erased_t * ptr;
4501
-
4502
- /** <No documentation available> */
4503
- FfiFutureVTable_t vtable;
4504
- } VirtualPtr__Erased_ptr_FfiFutureVTable_t;
4505
-
4506
- /** \brief
4507
- * `Box<dyn 'static + Send + FnMut() -> Ret>`
4508
- */
4509
- typedef struct BoxDynFnMut0_void {
4510
- /** <No documentation available> */
4511
- void * env_ptr;
4512
-
4513
- /** <No documentation available> */
4514
- void (*call)(void *);
4515
-
4516
- /** <No documentation available> */
4517
- void (*free)(void *);
4518
- } BoxDynFnMut0_void_t;
4519
-
4520
- /** <No documentation available> */
4521
- typedef struct DropGlueVTable {
4522
- /** <No documentation available> */
4523
- void (*release_vptr)(Erased_t *);
4524
- } DropGlueVTable_t;
4525
-
4526
- /** <No documentation available> */
4527
- typedef struct VirtualPtr__Erased_ptr_DropGlueVTable {
4528
- /** <No documentation available> */
4529
- Erased_t * ptr;
4530
-
4531
- /** <No documentation available> */
4532
- DropGlueVTable_t vtable;
4533
- } VirtualPtr__Erased_ptr_DropGlueVTable_t;
4534
-
4535
- /** <No documentation available> */
4536
- typedef struct FfiFutureExecutorVTable {
4537
- /** <No documentation available> */
4538
- void (*release_vptr)(Erased_t *);
4539
-
4540
- /** <No documentation available> */
4541
- Erased_t * (*retain_vptr)(Erased_t const *);
4542
-
4543
- /** <No documentation available> */
4544
- VirtualPtr__Erased_ptr_FfiFutureVTable_t (*dyn_spawn)(Erased_t const *, VirtualPtr__Erased_ptr_FfiFutureVTable_t);
4545
-
4546
- /** <No documentation available> */
4547
- VirtualPtr__Erased_ptr_FfiFutureVTable_t (*dyn_spawn_blocking)(Erased_t const *, BoxDynFnMut0_void_t);
4548
-
4549
- /** <No documentation available> */
4550
- void (*dyn_block_on)(Erased_t const *, VirtualPtr__Erased_ptr_FfiFutureVTable_t);
4551
-
4552
- /** <No documentation available> */
4553
- VirtualPtr__Erased_ptr_DropGlueVTable_t (*dyn_enter)(Erased_t const *);
4554
- } FfiFutureExecutorVTable_t;
4555
-
4556
- /** <No documentation available> */
4557
- typedef struct VirtualPtr__Erased_ptr_FfiFutureExecutorVTable {
4558
- /** <No documentation available> */
4559
- Erased_t * ptr;
4560
-
4561
- /** <No documentation available> */
4562
- FfiFutureExecutorVTable_t vtable;
4563
- } VirtualPtr__Erased_ptr_FfiFutureExecutorVTable_t;
4564
-
4565
4647
  /** <No documentation available> */
4566
4648
  typedef struct FfiFnMutVTable {
4567
4649
  /** <No documentation available> */
@@ -4603,86 +4685,6 @@ void
4603
4685
  /* fn */ static_tcp_client_free_handle (
4604
4686
  TransportHandle_StaticTcpClientPlatformEvent_t * handle);
4605
4687
 
4606
- /** \brief
4607
- * Make an UninitializedDitto object as an opaque pointer.
4608
- *
4609
- * This object serves as an intermediate object that allows database access.
4610
- * This allows the SDK to check if a pre-existing site ID has been persisted.
4611
- */
4612
- UninitializedDitto_t *
4613
- /* fn */ uninitialized_ditto_make (
4614
- char const * working_dir);
4615
-
4616
- /** <No documentation available> */
4617
- typedef struct StaticDropGlueVTable {
4618
- /** <No documentation available> */
4619
- void (*release_vptr)(Erased_t *);
4620
-
4621
- /** <No documentation available> */
4622
- Erased_t * (*retain_vptr)(Erased_t const *);
4623
- } StaticDropGlueVTable_t;
4624
-
4625
- /** <No documentation available> */
4626
- typedef struct VirtualPtr__Erased_ptr_StaticDropGlueVTable {
4627
- /** <No documentation available> */
4628
- Erased_t * ptr;
4629
-
4630
- /** <No documentation available> */
4631
- StaticDropGlueVTable_t vtable;
4632
- } VirtualPtr__Erased_ptr_StaticDropGlueVTable_t;
4633
-
4634
- /** \brief
4635
- * A `dyn` type-erased (and thus completely layout agnostic
4636
- * (_e.g._, tokio-agnostic)) and yet FFI-compatible version of an `async`
4637
- * runtime executor.
4638
- *
4639
- * Keep it in sync with `rust/dittolive-ditto-sys/lib.rs`!
4640
- */
4641
- typedef struct DynExecutor {
4642
- /** \brief
4643
- * The main object used to spawn futures and whatnot.
4644
- */
4645
- VirtualPtr__Erased_ptr_FfiFutureExecutorVTable_t handle;
4646
-
4647
- /** \brief
4648
- * The drop glue potentially driving the shutdown of the runtime.
4649
- */
4650
- VirtualPtr__Erased_ptr_StaticDropGlueVTable_t _runtime;
4651
- } DynExecutor_t;
4652
-
4653
- /** <No documentation available> */
4654
- UninitializedDitto_t *
4655
- /* fn */ uninitialized_ditto_make_with_executor (
4656
- char const * working_dir,
4657
- DynExecutor_t executor);
4658
-
4659
- /** <No documentation available> */
4660
- typedef enum LicenseVerificationResult {
4661
- /** <No documentation available> */
4662
- LICENSE_VERIFICATION_RESULT_LICENSE_OK = 0,
4663
- /** <No documentation available> */
4664
- LICENSE_VERIFICATION_RESULT_VERIFICATION_FAILED = -1,
4665
- /** <No documentation available> */
4666
- LICENSE_VERIFICATION_RESULT_LICENSE_EXPIRED = -2,
4667
- /** <No documentation available> */
4668
- LICENSE_VERIFICATION_RESULT_UNSUPPORTED_FUTURE_VERSION = -3,
4669
- } LicenseVerificationResult_t;
4670
-
4671
- /** \brief
4672
- * Verify a base64 encoded license string
4673
- *
4674
- * # Parameters
4675
- * - `license`: A base64 encoded license string. This should be the output of
4676
- * `ditto_licenser::license_mgr::generate()`.
4677
- * - `out_error_msg`: An optional error message out parameter which will be written to if the
4678
- * license verification. This error message is simplified and appropriate to show directly to an
4679
- * SDK user.
4680
- */
4681
- LicenseVerificationResult_t
4682
- /* fn */ verify_license (
4683
- char const * license,
4684
- char * * out_err_msg);
4685
-
4686
4688
  /** \brief
4687
4689
  * The SDK requests to drop its handle to this WebSocket Client transport
4688
4690
  */
@@ -12,14 +12,10 @@ exports.setDeadlockTimeout = setDeadlockTimeout;
12
12
  var _reactNative = require("react-native");
13
13
  var _weakrefs = require("@ungap/weakrefs");
14
14
  require("fastestsmallesttextencoderdecoder");
15
- // HACK: We're currently filling weakrefs with a broken implementation that is
16
- // leaking. (#10730)
17
- // @ts-ignore No types provided by the 3rd party
18
- // No need to define types for each of them as these will not be used anywhere,
19
- // but rather just pollute and require maintenance. It's good to highlight that
20
- // these will be exported, though.
15
+ // import { fullBuildVersionString } from '../../sources/build-time-constants';
16
+
21
17
  const dittoCore = global;
22
- const isLoaded = typeof dittoCore.getDeviceName === 'function';
18
+ const isLoaded = typeof dittoCore.ditto_sdk_transports_init === 'function';
23
19
  if (!isLoaded) {
24
20
  var _NativeModules$DittoR;
25
21
  const result = (_NativeModules$DittoR = _reactNative.NativeModules.DittoRNSDK) === null || _NativeModules$DittoR === void 0 ? void 0 : _NativeModules$DittoR.install();
@@ -27,9 +23,6 @@ if (!isLoaded) {
27
23
  throw new Error('JSI bindings were not installed for: DittoRNSDK Module');
28
24
  }
29
25
 
30
- // We're queueing JSI background tasks and poll them at specific intervals,
31
- // as JSI doesn't give us a proper solution (yet).
32
- // TODO: Improve / fine-tune workaround. (#10685)
33
26
  setInterval(() => {
34
27
  dittoCore.ditto_tick();
35
28
  }, 50);
@@ -39,6 +32,12 @@ if (!isLoaded) {
39
32
  if (typeof global.FinalizationRegistry === 'undefined' && typeof _weakrefs.FinalizationGroup !== 'undefined') {
40
33
  global.FinalizationRegistry = _weakrefs.FinalizationGroup;
41
34
  }
35
+ const platformName = _reactNative.Platform.select({
36
+ ios: 'Ios',
37
+ android: 'Android',
38
+ default: 'Unknown'
39
+ });
40
+ dittoCore.ditto_init_sdk_version(platformName, 'JavaScript', '4.5.2');
42
41
  }
43
42
 
44
43
  // Export JSI methods.
@@ -48,10 +47,6 @@ Object.keys(dittoCore)
48
47
  exports[key] = dittoCore[key];
49
48
  });
50
49
 
51
- //
52
- // Needed as for JS SDK API's.
53
- //
54
-
55
50
  // Decorated implementation with an extra step of setting the context for
56
51
  // Transports to work on Android.
57
52
  function ditto_sdk_transports_init(transportsErrorPointer) {
@@ -76,11 +71,15 @@ function getMissingAndroidPermissions() {
76
71
  }
77
72
  return dittoCore.ditto_sdk_transports_android_missing_permissions();
78
73
  }
74
+
75
+ //
76
+ // Needed as for JS SDK API's.
77
+ //
78
+
79
79
  function boxCStringIntoString(something) {
80
80
  return something;
81
81
  }
82
82
  function boxCBytesIntoBuffer(cborBytes) {
83
- // @ts-ignore
84
83
  const bytes = dittoCore.sliceBoxedToUInt8Array(cborBytes);
85
84
  return bytes ? new Uint8Array(bytes) : null;
86
85
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_weakrefs","dittoCore","global","isLoaded","getDeviceName","_NativeModules$DittoR","result","NativeModules","DittoRNSDK","install","Error","setInterval","ditto_tick","FinalizationRegistry","FinalizationGroup","Object","keys","filter","key","forEach","exports","ditto_sdk_transports_init","transportsErrorPointer","Platform","OS","res","ditto_sdk_transports_set_android_context","getMissingAndroidPermissions","ditto_sdk_transports_android_missing_permissions","boxCStringIntoString","something","boxCBytesIntoBuffer","cborBytes","bytes","sliceBoxedToUInt8Array","Uint8Array","getDeadlockTimeout","setDeadlockTimeout"],"sourceRoot":"../../src","sources":["ditto.rn.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIA,IAAAC,SAAA,GAAAD,OAAA;AACAA,OAAA;AAJA;AACA;AACA;AAIA;AACA;AACA;AAmBA,MAAME,SAAS,GAAGC,MAAkC;AACpD,MAAMC,QAAQ,GAAG,OAAOF,SAAS,CAACG,aAAa,KAAK,UAAU;AAC9D,IAAI,CAACD,QAAQ,EAAE;EAAA,IAAAE,qBAAA;EACb,MAAMC,MAAM,IAAAD,qBAAA,GAAGE,0BAAa,CAACC,UAAU,cAAAH,qBAAA,uBAAxBA,qBAAA,CAA0BI,OAAO,CAAC,CAAC;EAElD,IAAI,CAACH,MAAM,EAAE;IACX,MAAM,IAAII,KAAK,CAAC,wDAAwD,CAAC;EAC3E;;EAEA;EACA;EACA;EACAC,WAAW,CAAC,MAAM;IAChBV,SAAS,CAACW,UAAU,CAAC,CAAC;EACxB,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA;EACA,IACE,OAAOV,MAAM,CAACW,oBAAoB,KAAK,WAAW,IAClD,OAAOC,2BAAiB,KAAK,WAAW,EACxC;IACAZ,MAAM,CAACW,oBAAoB,GAAGC,2BAAiB;EACjD;AACF;;AAEA;AACAC,MAAM,CAACC,IAAI,CAACf,SAAS;AACnB;AAAA,CACCgB,MAAM,CAAEC,GAAG,IAAKA,GAAG,KAAK,2BAA2B,CAAC,CACpDC,OAAO,CAAED,GAAG,IAAK;EAChBE,OAAO,CAACF,GAAG,CAAC,GAAGjB,SAAS,CAACiB,GAAG,CAAwB;AACtD,CAAC,CAAC;;AAEJ;AACA;AACA;;AAEA;AACA;AACO,SAASG,yBAAyBA,CACvCC,sBAA2B,EAClB;EACT,IAAIC,qBAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;IAC7B,MAAMC,GAAG,GAAGxB,SAAS,CAACyB,wCAAwC,CAAC,CAAC;IAChE,IAAI,CAACD,GAAG,EAAE;MACR,MAAM,IAAIf,KAAK,CACb,0FACF,CAAC;IACH;EACF;EAEA,OAAOT,SAAS,CAACoB,yBAAyB,CAACC,sBAAsB,CAAC;AACpE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASK,4BAA4BA,CAAA,EAAiB;EAC3D,IAAIJ,qBAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;IAC7B,OAAO,EAAE;EACX;EACA,OAAOvB,SAAS,CAAC2B,gDAAgD,CAAC,CAAC;AACrE;AAEO,SAASC,oBAAoBA,CAACC,SAAc,EAAE;EACnD,OAAOA,SAAS;AAClB;AAEO,SAASC,mBAAmBA,CAACC,SAAc,EAAE;EAClD;EACA,MAAMC,KAAK,GAAGhC,SAAS,CAACiC,sBAAsB,CAACF,SAAS,CAAC;EACzD,OAAOC,KAAK,GAAG,IAAIE,UAAU,CAACF,KAAK,CAAC,GAAG,IAAI;AAC7C;AAEO,SAASG,kBAAkBA,CAAA,EAAW;EAC3C,OAAO,CAAC;AACV;AAEO,SAASC,kBAAkBA,CAACP,SAAc,EAAE;EACjD,OAAOA,SAAS;AAClB"}
1
+ {"version":3,"names":["_reactNative","require","_weakrefs","dittoCore","global","isLoaded","ditto_sdk_transports_init","_NativeModules$DittoR","result","NativeModules","DittoRNSDK","install","Error","setInterval","ditto_tick","FinalizationRegistry","FinalizationGroup","platformName","Platform","select","ios","android","default","ditto_init_sdk_version","Object","keys","filter","key","forEach","exports","transportsErrorPointer","OS","res","ditto_sdk_transports_set_android_context","getMissingAndroidPermissions","ditto_sdk_transports_android_missing_permissions","boxCStringIntoString","something","boxCBytesIntoBuffer","cborBytes","bytes","sliceBoxedToUInt8Array","Uint8Array","getDeadlockTimeout","setDeadlockTimeout"],"sourceRoot":"../../src","sources":["ditto.rn.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,SAAA,GAAAD,OAAA;AACAA,OAAA;AANA;;AAEA;AACA;AACA;AAIA;AAEA;AACA;AACA;AAoBA,MAAME,SAAS,GAAGC,MAAkC;AAEpD,MAAMC,QAAQ,GAAG,OAAOF,SAAS,CAACG,yBAAyB,KAAK,UAAU;AAC1E,IAAI,CAACD,QAAQ,EAAE;EAAA,IAAAE,qBAAA;EACb,MAAMC,MAAM,IAAAD,qBAAA,GAAGE,0BAAa,CAACC,UAAU,cAAAH,qBAAA,uBAAxBA,qBAAA,CAA0BI,OAAO,CAAC,CAAC;EAElD,IAAI,CAACH,MAAM,EAAE;IACX,MAAM,IAAII,KAAK,CAAC,wDAAwD,CAAC;EAC3E;;EAEA;EACA;EACA;EACAC,WAAW,CAAC,MAAM;IAChBV,SAAS,CAACW,UAAU,CAAC,CAAC;EACxB,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA;EACA,IACE,OAAOV,MAAM,CAACW,oBAAoB,KAAK,WAAW,IAClD,OAAOC,2BAAiB,KAAK,WAAW,EACxC;IACAZ,MAAM,CAACW,oBAAoB,GAAGC,2BAAiB;EACjD;EAEA,MAAMC,YAAiB,GAAGC,qBAAQ,CAACC,MAAM,CAAC;IACxCC,GAAG,EAAE,KAAK;IACVC,OAAO,EAAE,SAAS;IAClBC,OAAO,EAAE;EACX,CAAC,CAAC;EAEFnB,SAAS,CAACoB,sBAAsB,CAACN,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC;AACvE;;AAEA;AACAO,MAAM,CAACC,IAAI,CAACtB,SAAS;AACnB;AAAA,CACCuB,MAAM,CAAEC,GAAG,IAAKA,GAAG,KAAK,2BAA2B,CAAC,CACpDC,OAAO,CAAED,GAAG,IAAK;EAChBE,OAAO,CAACF,GAAG,CAAC,GAAGxB,SAAS,CAACwB,GAAG,CAAwB;AACtD,CAAC,CAAC;;AAEJ;AACA;AACO,SAASrB,yBAAyBA,CACvCwB,sBAA2B,EAClB;EACT,IAAIZ,qBAAQ,CAACa,EAAE,KAAK,SAAS,EAAE;IAC7B,MAAMC,GAAG,GAAG7B,SAAS,CAAC8B,wCAAwC,CAAC,CAAC;IAChE,IAAI,CAACD,GAAG,EAAE;MACR,MAAM,IAAIpB,KAAK,CACb,0FACF,CAAC;IACH;EACF;EACA,OAAOT,SAAS,CAACG,yBAAyB,CAACwB,sBAAsB,CAAC;AACpE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASI,4BAA4BA,CAAA,EAAiB;EAC3D,IAAIhB,qBAAQ,CAACa,EAAE,KAAK,SAAS,EAAE;IAC7B,OAAO,EAAE;EACX;EACA,OAAO5B,SAAS,CAACgC,gDAAgD,CAAC,CAAC;AACrE;;AAEA;AACA;AACA;;AAEO,SAASC,oBAAoBA,CAACC,SAAc,EAAE;EACnD,OAAOA,SAAS;AAClB;AAEO,SAASC,mBAAmBA,CAACC,SAAc,EAAE;EAClD,MAAMC,KAAK,GAAGrC,SAAS,CAACsC,sBAAsB,CAACF,SAAS,CAAC;EACzD,OAAOC,KAAK,GAAG,IAAIE,UAAU,CAACF,KAAK,CAAC,GAAG,IAAI;AAC7C;AAEO,SAASG,kBAAkBA,CAAA,EAAW;EAC3C,OAAO,CAAC;AACV;AAEO,SAASC,kBAAkBA,CAACP,SAAc,EAAE;EACjD,OAAOA,SAAS;AAClB"}
@@ -1,14 +1,61 @@
1
- export {getMissingAndroidPermissions} from './ditto.rn';
2
- export {TransportConfig} from '../../sources/transport-config';
3
- export {Ditto} from '../../sources/ditto';
4
- export {Logger} from '../../sources/logger';
5
-
6
- export type {AuthenticationHandler} from '../../sources/authenticator';
7
- export type {Identity} from '../../sources/identity';
8
- export type {QueryResult} from '../../sources/query-result';
9
- export type {QueryResultItem} from '../../sources/query-result-item';
10
- export type {LogLevel} from '../../sources/logger';
11
-
12
- export * from '../../sources/epilogue';
13
- ('use strict');
14
- //# sourceMappingURL=index.js.map
1
+ // // RN API
2
+
3
+ // export { getMissingAndroidPermissions } from './ditto.rn';
4
+
5
+ // // JS API
6
+
7
+ // // export * from '../../sources/keep-alive';
8
+
9
+ // export * from '../../sources/essentials';
10
+ // // export * from '../../sources/counter';
11
+ // // export * from '../../sources/register';
12
+ // // export * from '../../sources/attachment-token';
13
+
14
+ // // export * from '../../sources/init';
15
+ // export * from '../../sources/logger';
16
+ // export * from '../../sources/document-id';
17
+ // export * from '../../sources/observer';
18
+
19
+ // // export * from '../../sources/base-pending-cursor-operation';
20
+ // // export * from '../../sources/base-pending-id-specific-operation';
21
+ // export * from '../../sources/authenticator';
22
+ // export * from '../../sources/identity';
23
+ // export * from '../../sources/ditto';
24
+ // export * from '../../sources/store-observer';
25
+ // // export * from '../../sources/collection';
26
+ // // export * from '../../sources/collection-interface';
27
+ // // export * from '../../sources/collections-event';
28
+ // // export * from '../../sources/document-path';
29
+ // // export * from '../../sources/document';
30
+ // export * from '../../sources/sync';
31
+ // export * from '../../sources/sync-subscription';
32
+ // export * from '../../sources/error';
33
+ // export * from '../../sources/error-codes';
34
+ // export * from '../../sources/query-result-item';
35
+ // export * from '../../sources/query-result';
36
+ // // export * from '../../sources/live-query-event';
37
+ // // export * from '../../sources/live-query';
38
+ // // export * from '../../sources/attachment';
39
+ // // export * from '../../sources/attachment-fetcher';
40
+ // // export * from '../../sources/attachment-fetch-event';
41
+ // // export * from '../../sources/pending-cursor-operation';
42
+ // // export * from '../../sources/pending-id-specific-operation';
43
+ // // export * from '../../sources/pending-collections-operation';
44
+ // export * from '../../sources/small-peer-info';
45
+ // export * from '../../sources/store';
46
+ // export * from '../../sources/presence';
47
+ // // export * from '../../sources/subscription';
48
+ // // export * from '../../sources/test-helpers';
49
+ // export * from '../../sources/transport-config';
50
+ // // export * from '../../sources/update-result';
51
+ // // export * from '../../sources/update-results-map';
52
+ // // export * from '../../sources/write-transaction';
53
+ // // export * from '../../sources/write-transaction-collection';
54
+ // // export * from '../../sources/write-transaction-pending-cursor-operation';
55
+ // // export * from '../../sources/write-transaction-pending-id-specific-operation';
56
+ // export * from '../../sources/epilogue';
57
+
58
+ // // TEMPORARY: exported to deal with non-canonical IDs.
59
+ // // export * from '../../sources/cbor';
60
+ "use strict";
61
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AAAA"}
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AAAA"}
@@ -1,15 +1,17 @@
1
1
  import { NativeModules, Platform } from 'react-native';
2
- // HACK: We're currently filling weakrefs with a broken implementation that is
3
- // leaking. (#10730)
2
+ // import { fullBuildVersionString } from '../../sources/build-time-constants';
3
+
4
4
  // @ts-ignore No types provided by the 3rd party
5
5
  import { FinalizationGroup } from '@ungap/weakrefs';
6
6
  import 'fastestsmallesttextencoderdecoder';
7
7
 
8
+ // import type { Language, Platform as SDKPlatform } from '../../sources/ffi';
9
+
8
10
  // No need to define types for each of them as these will not be used anywhere,
9
11
  // but rather just pollute and require maintenance. It's good to highlight that
10
12
  // these will be exported, though.
11
13
  const dittoCore = global;
12
- const isLoaded = typeof dittoCore.getDeviceName === 'function';
14
+ const isLoaded = typeof dittoCore.ditto_sdk_transports_init === 'function';
13
15
  if (!isLoaded) {
14
16
  var _NativeModules$DittoR;
15
17
  const result = (_NativeModules$DittoR = NativeModules.DittoRNSDK) === null || _NativeModules$DittoR === void 0 ? void 0 : _NativeModules$DittoR.install();
@@ -17,9 +19,6 @@ if (!isLoaded) {
17
19
  throw new Error('JSI bindings were not installed for: DittoRNSDK Module');
18
20
  }
19
21
 
20
- // We're queueing JSI background tasks and poll them at specific intervals,
21
- // as JSI doesn't give us a proper solution (yet).
22
- // TODO: Improve / fine-tune workaround. (#10685)
23
22
  setInterval(() => {
24
23
  dittoCore.ditto_tick();
25
24
  }, 50);
@@ -29,6 +28,12 @@ if (!isLoaded) {
29
28
  if (typeof global.FinalizationRegistry === 'undefined' && typeof FinalizationGroup !== 'undefined') {
30
29
  global.FinalizationRegistry = FinalizationGroup;
31
30
  }
31
+ const platformName = Platform.select({
32
+ ios: 'Ios',
33
+ android: 'Android',
34
+ default: 'Unknown'
35
+ });
36
+ dittoCore.ditto_init_sdk_version(platformName, 'JavaScript', '4.5.2');
32
37
  }
33
38
 
34
39
  // Export JSI methods.
@@ -38,10 +43,6 @@ Object.keys(dittoCore)
38
43
  exports[key] = dittoCore[key];
39
44
  });
40
45
 
41
- //
42
- // Needed as for JS SDK API's.
43
- //
44
-
45
46
  // Decorated implementation with an extra step of setting the context for
46
47
  // Transports to work on Android.
47
48
  export function ditto_sdk_transports_init(transportsErrorPointer) {
@@ -66,11 +67,15 @@ export function getMissingAndroidPermissions() {
66
67
  }
67
68
  return dittoCore.ditto_sdk_transports_android_missing_permissions();
68
69
  }
70
+
71
+ //
72
+ // Needed as for JS SDK API's.
73
+ //
74
+
69
75
  export function boxCStringIntoString(something) {
70
76
  return something;
71
77
  }
72
78
  export function boxCBytesIntoBuffer(cborBytes) {
73
- // @ts-ignore
74
79
  const bytes = dittoCore.sliceBoxedToUInt8Array(cborBytes);
75
80
  return bytes ? new Uint8Array(bytes) : null;
76
81
  }
@@ -1 +1 @@
1
- {"version":3,"names":["NativeModules","Platform","FinalizationGroup","dittoCore","global","isLoaded","getDeviceName","_NativeModules$DittoR","result","DittoRNSDK","install","Error","setInterval","ditto_tick","FinalizationRegistry","Object","keys","filter","key","forEach","exports","ditto_sdk_transports_init","transportsErrorPointer","OS","res","ditto_sdk_transports_set_android_context","getMissingAndroidPermissions","ditto_sdk_transports_android_missing_permissions","boxCStringIntoString","something","boxCBytesIntoBuffer","cborBytes","bytes","sliceBoxedToUInt8Array","Uint8Array","getDeadlockTimeout","setDeadlockTimeout"],"sourceRoot":"../../src","sources":["ditto.rn.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAyB,cAAc;AACvE;AACA;AACA;AACA,SAASC,iBAAiB,QAAQ,iBAAiB;AACnD,OAAO,mCAAmC;;AAE1C;AACA;AACA;AAmBA,MAAMC,SAAS,GAAGC,MAAkC;AACpD,MAAMC,QAAQ,GAAG,OAAOF,SAAS,CAACG,aAAa,KAAK,UAAU;AAC9D,IAAI,CAACD,QAAQ,EAAE;EAAA,IAAAE,qBAAA;EACb,MAAMC,MAAM,IAAAD,qBAAA,GAAGP,aAAa,CAACS,UAAU,cAAAF,qBAAA,uBAAxBA,qBAAA,CAA0BG,OAAO,CAAC,CAAC;EAElD,IAAI,CAACF,MAAM,EAAE;IACX,MAAM,IAAIG,KAAK,CAAC,wDAAwD,CAAC;EAC3E;;EAEA;EACA;EACA;EACAC,WAAW,CAAC,MAAM;IAChBT,SAAS,CAACU,UAAU,CAAC,CAAC;EACxB,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA;EACA,IACE,OAAOT,MAAM,CAACU,oBAAoB,KAAK,WAAW,IAClD,OAAOZ,iBAAiB,KAAK,WAAW,EACxC;IACAE,MAAM,CAACU,oBAAoB,GAAGZ,iBAAiB;EACjD;AACF;;AAEA;AACAa,MAAM,CAACC,IAAI,CAACb,SAAS;AACnB;AAAA,CACCc,MAAM,CAAEC,GAAG,IAAKA,GAAG,KAAK,2BAA2B,CAAC,CACpDC,OAAO,CAAED,GAAG,IAAK;EAChBE,OAAO,CAACF,GAAG,CAAC,GAAGf,SAAS,CAACe,GAAG,CAAwB;AACtD,CAAC,CAAC;;AAEJ;AACA;AACA;;AAEA;AACA;AACA,OAAO,SAASG,yBAAyBA,CACvCC,sBAA2B,EAClB;EACT,IAAIrB,QAAQ,CAACsB,EAAE,KAAK,SAAS,EAAE;IAC7B,MAAMC,GAAG,GAAGrB,SAAS,CAACsB,wCAAwC,CAAC,CAAC;IAChE,IAAI,CAACD,GAAG,EAAE;MACR,MAAM,IAAIb,KAAK,CACb,0FACF,CAAC;IACH;EACF;EAEA,OAAOR,SAAS,CAACkB,yBAAyB,CAACC,sBAAsB,CAAC;AACpE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASI,4BAA4BA,CAAA,EAAiB;EAC3D,IAAIzB,QAAQ,CAACsB,EAAE,KAAK,SAAS,EAAE;IAC7B,OAAO,EAAE;EACX;EACA,OAAOpB,SAAS,CAACwB,gDAAgD,CAAC,CAAC;AACrE;AAEA,OAAO,SAASC,oBAAoBA,CAACC,SAAc,EAAE;EACnD,OAAOA,SAAS;AAClB;AAEA,OAAO,SAASC,mBAAmBA,CAACC,SAAc,EAAE;EAClD;EACA,MAAMC,KAAK,GAAG7B,SAAS,CAAC8B,sBAAsB,CAACF,SAAS,CAAC;EACzD,OAAOC,KAAK,GAAG,IAAIE,UAAU,CAACF,KAAK,CAAC,GAAG,IAAI;AAC7C;AAEA,OAAO,SAASG,kBAAkBA,CAAA,EAAW;EAC3C,OAAO,CAAC;AACV;AAEA,OAAO,SAASC,kBAAkBA,CAACP,SAAc,EAAE;EACjD,OAAOA,SAAS;AAClB"}
1
+ {"version":3,"names":["NativeModules","Platform","FinalizationGroup","dittoCore","global","isLoaded","ditto_sdk_transports_init","_NativeModules$DittoR","result","DittoRNSDK","install","Error","setInterval","ditto_tick","FinalizationRegistry","platformName","select","ios","android","default","ditto_init_sdk_version","Object","keys","filter","key","forEach","exports","transportsErrorPointer","OS","res","ditto_sdk_transports_set_android_context","getMissingAndroidPermissions","ditto_sdk_transports_android_missing_permissions","boxCStringIntoString","something","boxCBytesIntoBuffer","cborBytes","bytes","sliceBoxedToUInt8Array","Uint8Array","getDeadlockTimeout","setDeadlockTimeout"],"sourceRoot":"../../src","sources":["ditto.rn.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAyB,cAAc;AACvE;;AAEA;AACA;AACA;AACA,SAASC,iBAAiB,QAAQ,iBAAiB;AACnD,OAAO,mCAAmC;;AAE1C;;AAEA;AACA;AACA;AAoBA,MAAMC,SAAS,GAAGC,MAAkC;AAEpD,MAAMC,QAAQ,GAAG,OAAOF,SAAS,CAACG,yBAAyB,KAAK,UAAU;AAC1E,IAAI,CAACD,QAAQ,EAAE;EAAA,IAAAE,qBAAA;EACb,MAAMC,MAAM,IAAAD,qBAAA,GAAGP,aAAa,CAACS,UAAU,cAAAF,qBAAA,uBAAxBA,qBAAA,CAA0BG,OAAO,CAAC,CAAC;EAElD,IAAI,CAACF,MAAM,EAAE;IACX,MAAM,IAAIG,KAAK,CAAC,wDAAwD,CAAC;EAC3E;;EAEA;EACA;EACA;EACAC,WAAW,CAAC,MAAM;IAChBT,SAAS,CAACU,UAAU,CAAC,CAAC;EACxB,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA;EACA,IACE,OAAOT,MAAM,CAACU,oBAAoB,KAAK,WAAW,IAClD,OAAOZ,iBAAiB,KAAK,WAAW,EACxC;IACAE,MAAM,CAACU,oBAAoB,GAAGZ,iBAAiB;EACjD;EAEA,MAAMa,YAAiB,GAAGd,QAAQ,CAACe,MAAM,CAAC;IACxCC,GAAG,EAAE,KAAK;IACVC,OAAO,EAAE,SAAS;IAClBC,OAAO,EAAE;EACX,CAAC,CAAC;EAEFhB,SAAS,CAACiB,sBAAsB,CAACL,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC;AACvE;;AAEA;AACAM,MAAM,CAACC,IAAI,CAACnB,SAAS;AACnB;AAAA,CACCoB,MAAM,CAAEC,GAAG,IAAKA,GAAG,KAAK,2BAA2B,CAAC,CACpDC,OAAO,CAAED,GAAG,IAAK;EAChBE,OAAO,CAACF,GAAG,CAAC,GAAGrB,SAAS,CAACqB,GAAG,CAAwB;AACtD,CAAC,CAAC;;AAEJ;AACA;AACA,OAAO,SAASlB,yBAAyBA,CACvCqB,sBAA2B,EAClB;EACT,IAAI1B,QAAQ,CAAC2B,EAAE,KAAK,SAAS,EAAE;IAC7B,MAAMC,GAAG,GAAG1B,SAAS,CAAC2B,wCAAwC,CAAC,CAAC;IAChE,IAAI,CAACD,GAAG,EAAE;MACR,MAAM,IAAIlB,KAAK,CACb,0FACF,CAAC;IACH;EACF;EACA,OAAOR,SAAS,CAACG,yBAAyB,CAACqB,sBAAsB,CAAC;AACpE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASI,4BAA4BA,CAAA,EAAiB;EAC3D,IAAI9B,QAAQ,CAAC2B,EAAE,KAAK,SAAS,EAAE;IAC7B,OAAO,EAAE;EACX;EACA,OAAOzB,SAAS,CAAC6B,gDAAgD,CAAC,CAAC;AACrE;;AAEA;AACA;AACA;;AAEA,OAAO,SAASC,oBAAoBA,CAACC,SAAc,EAAE;EACnD,OAAOA,SAAS;AAClB;AAEA,OAAO,SAASC,mBAAmBA,CAACC,SAAc,EAAE;EAClD,MAAMC,KAAK,GAAGlC,SAAS,CAACmC,sBAAsB,CAACF,SAAS,CAAC;EACzD,OAAOC,KAAK,GAAG,IAAIE,UAAU,CAACF,KAAK,CAAC,GAAG,IAAI;AAC7C;AAEA,OAAO,SAASG,kBAAkBA,CAAA,EAAW;EAC3C,OAAO,CAAC;AACV;AAEA,OAAO,SAASC,kBAAkBA,CAACP,SAAc,EAAE;EACjD,OAAOA,SAAS;AAClB"}