@powersync/web 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js-_journeyapp-89f0ba.index.umd.js +1867 -0
  2. package/dist/_journeyapps_wa-sqlite-_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js-_journeyapp-89f0ba.index.umd.js.map +1 -0
  3. package/dist/_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js-_journeyapps_wa-sqlite_src_example-2530150.index.umd.js +555 -0
  4. package/dist/_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js-_journeyapps_wa-sqlite_src_example-2530150.index.umd.js.map +1 -0
  5. package/dist/_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js-_journeyapps_wa-sqlite_src_example-2530151.index.umd.js +555 -0
  6. package/dist/_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js-_journeyapps_wa-sqlite_src_example-2530151.index.umd.js.map +1 -0
  7. package/dist/index.umd.js +4575 -43416
  8. package/dist/index.umd.js.map +1 -1
  9. package/dist/worker/SharedSyncImplementation.umd.js +402 -2053
  10. package/dist/worker/SharedSyncImplementation.umd.js.map +1 -1
  11. package/dist/worker/WASQLiteDB.umd.js +449 -2104
  12. package/dist/worker/WASQLiteDB.umd.js.map +1 -1
  13. package/dist/worker/{node_modules_bson_lib_bson_mjs.umd.js → node_modules_pnpm_bson_6_10_4_node_modules_bson_lib_bson_mjs.umd.js} +6 -6
  14. package/dist/worker/node_modules_pnpm_bson_6_10_4_node_modules_bson_lib_bson_mjs.umd.js.map +1 -0
  15. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_mc-wa-s-3a94cf.umd.js +44 -0
  16. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_mc-wa-s-3a94cf.umd.js.map +1 -0
  17. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_mc-wa-s-868779.umd.js +44 -0
  18. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_mc-wa-s-868779.umd.js.map +1 -0
  19. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_wa-sqli-f60d0d.umd.js +44 -0
  20. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_wa-sqli-f60d0d.umd.js.map +1 -0
  21. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_wa-sqlite_mjs.umd.js +44 -0
  22. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_dist_wa-sqlite_mjs.umd.js.map +1 -0
  23. package/dist/worker/{node_modules_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js.umd.js → node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_src_examples-0d2437.umd.js} +24 -24
  24. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_src_examples-0d2437.umd.js.map +1 -0
  25. package/dist/worker/{node_modules_journeyapps_wa-sqlite_src_examples_OPFSCoopSyncVFS_js.umd.js → node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_src_examples-1d4e74.umd.js} +18 -18
  26. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_src_examples-1d4e74.umd.js.map +1 -0
  27. package/dist/worker/{node_modules_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js.umd.js → node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_src_examples-3622cf.umd.js} +18 -18
  28. package/dist/worker/node_modules_pnpm_journeyapps_wa-sqlite_1_4_1_node_modules_journeyapps_wa-sqlite_src_examples-3622cf.umd.js.map +1 -0
  29. package/lib/package.json +26 -22
  30. package/lib/src/db/NavigatorTriggerClaimManager.d.ts +6 -0
  31. package/lib/src/db/NavigatorTriggerClaimManager.js +20 -0
  32. package/lib/src/db/PowerSyncDatabase.d.ts +5 -2
  33. package/lib/src/db/PowerSyncDatabase.js +46 -8
  34. package/lib/src/db/adapters/AbstractWebPowerSyncDatabaseOpenFactory.d.ts +1 -1
  35. package/lib/src/db/adapters/AbstractWebPowerSyncDatabaseOpenFactory.js +1 -1
  36. package/lib/src/db/adapters/AbstractWebSQLOpenFactory.d.ts +2 -2
  37. package/lib/src/db/adapters/AbstractWebSQLOpenFactory.js +2 -2
  38. package/lib/src/db/adapters/AsyncDatabaseConnection.d.ts +1 -1
  39. package/lib/src/db/adapters/LockedAsyncDatabaseAdapter.d.ts +4 -4
  40. package/lib/src/db/adapters/LockedAsyncDatabaseAdapter.js +8 -4
  41. package/lib/src/db/adapters/WebDBAdapter.d.ts +5 -2
  42. package/lib/src/db/adapters/WorkerWrappedAsyncDatabaseConnection.d.ts +2 -2
  43. package/lib/src/db/adapters/wa-sqlite/InternalWASQLiteDBAdapter.d.ts +12 -0
  44. package/lib/src/db/adapters/wa-sqlite/InternalWASQLiteDBAdapter.js +19 -0
  45. package/lib/src/db/adapters/wa-sqlite/WASQLiteConnection.d.ts +2 -2
  46. package/lib/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.d.ts +4 -4
  47. package/lib/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.js +6 -6
  48. package/lib/src/db/adapters/wa-sqlite/WASQLiteOpenFactory.d.ts +4 -4
  49. package/lib/src/db/adapters/wa-sqlite/WASQLiteOpenFactory.js +7 -7
  50. package/lib/src/db/adapters/wa-sqlite/WASQLitePowerSyncDatabaseOpenFactory.d.ts +1 -1
  51. package/lib/src/db/adapters/wa-sqlite/WASQLitePowerSyncDatabaseOpenFactory.js +3 -3
  52. package/lib/src/db/sync/SharedWebStreamingSyncImplementation.d.ts +5 -5
  53. package/lib/src/db/sync/SharedWebStreamingSyncImplementation.js +5 -5
  54. package/lib/src/db/sync/WebRemote.js +1 -1
  55. package/lib/src/db/sync/WebStreamingSyncImplementation.d.ts +1 -1
  56. package/lib/src/db/sync/WebStreamingSyncImplementation.js +1 -1
  57. package/lib/src/index.d.ts +12 -12
  58. package/lib/src/index.js +12 -12
  59. package/lib/src/worker/db/SharedWASQLiteConnection.d.ts +2 -2
  60. package/lib/src/worker/db/WASQLiteDB.worker.js +3 -3
  61. package/lib/src/worker/db/WorkerWASQLiteConnection.d.ts +2 -2
  62. package/lib/src/worker/db/WorkerWASQLiteConnection.js +1 -1
  63. package/lib/src/worker/db/open-worker-database.d.ts +2 -2
  64. package/lib/src/worker/db/open-worker-database.js +1 -1
  65. package/lib/src/worker/sync/BroadcastLogger.d.ts +1 -1
  66. package/lib/src/worker/sync/SharedSyncImplementation.d.ts +4 -4
  67. package/lib/src/worker/sync/SharedSyncImplementation.js +5 -5
  68. package/lib/src/worker/sync/SharedSyncImplementation.worker.js +2 -2
  69. package/lib/src/worker/sync/WorkerClient.d.ts +1 -1
  70. package/lib/src/worker/sync/WorkerClient.js +2 -2
  71. package/lib/tsconfig.tsbuildinfo +1 -1
  72. package/package.json +21 -17
  73. package/src/db/NavigatorTriggerClaimManager.ts +23 -0
  74. package/src/db/PowerSyncDatabase.ts +53 -9
  75. package/src/db/adapters/AbstractWebPowerSyncDatabaseOpenFactory.ts +1 -1
  76. package/src/db/adapters/AbstractWebSQLOpenFactory.ts +3 -3
  77. package/src/db/adapters/AsyncDatabaseConnection.ts +1 -1
  78. package/src/db/adapters/LockedAsyncDatabaseAdapter.ts +13 -9
  79. package/src/db/adapters/WebDBAdapter.ts +6 -2
  80. package/src/db/adapters/WorkerWrappedAsyncDatabaseConnection.ts +2 -2
  81. package/src/db/adapters/wa-sqlite/InternalWASQLiteDBAdapter.ts +23 -0
  82. package/src/db/adapters/wa-sqlite/WASQLiteConnection.ts +2 -2
  83. package/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.ts +8 -8
  84. package/src/db/adapters/wa-sqlite/WASQLiteOpenFactory.ts +8 -8
  85. package/src/db/adapters/wa-sqlite/WASQLitePowerSyncDatabaseOpenFactory.ts +3 -3
  86. package/src/db/sync/SharedWebStreamingSyncImplementation.ts +7 -7
  87. package/src/db/sync/WebRemote.ts +1 -1
  88. package/src/db/sync/WebStreamingSyncImplementation.ts +2 -2
  89. package/src/index.ts +12 -12
  90. package/src/worker/db/SharedWASQLiteConnection.ts +2 -2
  91. package/src/worker/db/WASQLiteDB.worker.ts +5 -5
  92. package/src/worker/db/WorkerWASQLiteConnection.ts +2 -2
  93. package/src/worker/db/open-worker-database.ts +2 -2
  94. package/src/worker/sync/BroadcastLogger.ts +1 -1
  95. package/src/worker/sync/SharedSyncImplementation.ts +9 -9
  96. package/src/worker/sync/SharedSyncImplementation.worker.ts +2 -2
  97. package/src/worker/sync/WorkerClient.ts +2 -2
  98. package/dist/worker/node_modules_bson_lib_bson_mjs.umd.js.map +0 -1
  99. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_mc-wa-sqlite-async_mjs.umd.js +0 -44
  100. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_mc-wa-sqlite-async_mjs.umd.js.map +0 -1
  101. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_mc-wa-sqlite_mjs.umd.js +0 -44
  102. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_mc-wa-sqlite_mjs.umd.js.map +0 -1
  103. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.umd.js +0 -44
  104. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.umd.js.map +0 -1
  105. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_wa-sqlite_mjs.umd.js +0 -44
  106. package/dist/worker/node_modules_journeyapps_wa-sqlite_dist_wa-sqlite_mjs.umd.js.map +0 -1
  107. package/dist/worker/node_modules_journeyapps_wa-sqlite_src_examples_AccessHandlePoolVFS_js.umd.js.map +0 -1
  108. package/dist/worker/node_modules_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js.umd.js.map +0 -1
  109. package/dist/worker/node_modules_journeyapps_wa-sqlite_src_examples_OPFSCoopSyncVFS_js.umd.js.map +0 -1
  110. /package/bin/{powersync.js → powersync.cjs} +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.