tinybase 5.0.0-beta.24 → 5.0.0-beta.25
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.
- package/cjs/common/index.cjs +9 -1
- package/cjs/common/with-schemas/index.cjs +9 -1
- package/cjs/es6/common/index.cjs +9 -1
- package/cjs/es6/common/with-schemas/index.cjs +9 -1
- package/cjs/es6/index.cjs +12 -5
- package/cjs/es6/mergeable-store/index.cjs +11 -4
- package/cjs/es6/mergeable-store/with-schemas/index.cjs +11 -4
- package/cjs/es6/metrics/index.cjs +3 -2
- package/cjs/es6/metrics/with-schemas/index.cjs +3 -2
- package/cjs/es6/min/common/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs.gz +0 -0
- package/cjs/es6/min/common/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/index.cjs +1 -1
- package/cjs/es6/min/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/metrics/index.cjs +1 -1
- package/cjs/es6/min/metrics/index.cjs.gz +0 -0
- package/cjs/es6/min/metrics/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/metrics/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-browser/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-browser/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-browser/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-browser/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-indexed-db/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-indexed-db/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-indexed-db/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-indexed-db/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/queries/index.cjs +1 -1
- package/cjs/es6/min/queries/index.cjs.gz +0 -0
- package/cjs/es6/min/queries/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/queries/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/persisters/persister-browser/index.cjs +2 -1
- package/cjs/es6/persisters/persister-browser/with-schemas/index.cjs +2 -1
- package/cjs/es6/persisters/persister-indexed-db/index.cjs +2 -1
- package/cjs/es6/persisters/persister-indexed-db/with-schemas/index.cjs +2 -1
- package/cjs/es6/queries/index.cjs +3 -2
- package/cjs/es6/queries/with-schemas/index.cjs +3 -2
- package/cjs/es6/synchronizers/index.cjs +9 -2
- package/cjs/es6/synchronizers/synchronizer-local/index.cjs +9 -2
- package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +9 -2
- package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +9 -2
- package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +9 -2
- package/cjs/es6/synchronizers/with-schemas/index.cjs +9 -2
- package/cjs/es6/ui-react-dom/index.cjs +3 -1
- package/cjs/es6/ui-react-dom/with-schemas/index.cjs +3 -1
- package/cjs/es6/ui-react-inspector/index.cjs +6 -3
- package/cjs/es6/ui-react-inspector/with-schemas/index.cjs +6 -3
- package/cjs/es6/with-schemas/index.cjs +12 -5
- package/cjs/index.cjs +12 -5
- package/cjs/mergeable-store/index.cjs +11 -4
- package/cjs/mergeable-store/with-schemas/index.cjs +11 -4
- package/cjs/metrics/index.cjs +3 -2
- package/cjs/metrics/with-schemas/index.cjs +3 -2
- package/cjs/min/common/index.cjs +1 -1
- package/cjs/min/common/index.cjs.gz +0 -0
- package/cjs/min/common/with-schemas/index.cjs +1 -1
- package/cjs/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/index.cjs +1 -1
- package/cjs/min/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/index.cjs +1 -1
- package/cjs/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/metrics/index.cjs +1 -1
- package/cjs/min/metrics/index.cjs.gz +0 -0
- package/cjs/min/metrics/with-schemas/index.cjs +1 -1
- package/cjs/min/metrics/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-browser/index.cjs +1 -1
- package/cjs/min/persisters/persister-browser/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-browser/with-schemas/index.cjs +1 -1
- package/cjs/min/persisters/persister-browser/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-indexed-db/index.cjs +1 -1
- package/cjs/min/persisters/persister-indexed-db/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-indexed-db/with-schemas/index.cjs +1 -1
- package/cjs/min/persisters/persister-indexed-db/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/queries/index.cjs +1 -1
- package/cjs/min/queries/index.cjs.gz +0 -0
- package/cjs/min/queries/with-schemas/index.cjs +1 -1
- package/cjs/min/queries/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/index.cjs +1 -1
- package/cjs/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/index.cjs +1 -1
- package/cjs/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/with-schemas/index.cjs +1 -1
- package/cjs/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/persisters/persister-browser/index.cjs +2 -1
- package/cjs/persisters/persister-browser/with-schemas/index.cjs +2 -1
- package/cjs/persisters/persister-indexed-db/index.cjs +2 -1
- package/cjs/persisters/persister-indexed-db/with-schemas/index.cjs +2 -1
- package/cjs/queries/index.cjs +3 -2
- package/cjs/queries/with-schemas/index.cjs +3 -2
- package/cjs/synchronizers/index.cjs +9 -2
- package/cjs/synchronizers/synchronizer-local/index.cjs +9 -2
- package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +9 -2
- package/cjs/synchronizers/synchronizer-ws-client/index.cjs +9 -2
- package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +9 -2
- package/cjs/synchronizers/with-schemas/index.cjs +9 -2
- package/cjs/ui-react-dom/index.cjs +3 -1
- package/cjs/ui-react-dom/with-schemas/index.cjs +3 -1
- package/cjs/ui-react-inspector/index.cjs +6 -3
- package/cjs/ui-react-inspector/with-schemas/index.cjs +6 -3
- package/cjs/with-schemas/index.cjs +12 -5
- package/common/index.js +9 -1
- package/common/with-schemas/index.js +9 -1
- package/es6/common/index.js +9 -1
- package/es6/common/with-schemas/index.js +9 -1
- package/es6/index.js +12 -5
- package/es6/mergeable-store/index.js +11 -4
- package/es6/mergeable-store/with-schemas/index.js +11 -4
- package/es6/metrics/index.js +3 -2
- package/es6/metrics/with-schemas/index.js +3 -2
- package/es6/min/common/index.js +1 -1
- package/es6/min/common/index.js.gz +0 -0
- package/es6/min/common/with-schemas/index.js +1 -1
- package/es6/min/common/with-schemas/index.js.gz +0 -0
- package/es6/min/index.js +1 -1
- package/es6/min/index.js.gz +0 -0
- package/es6/min/mergeable-store/index.js +1 -1
- package/es6/min/mergeable-store/index.js.gz +0 -0
- package/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/es6/min/metrics/index.js +1 -1
- package/es6/min/metrics/index.js.gz +0 -0
- package/es6/min/metrics/with-schemas/index.js +1 -1
- package/es6/min/metrics/with-schemas/index.js.gz +0 -0
- package/es6/min/persisters/persister-browser/index.js +1 -1
- package/es6/min/persisters/persister-browser/index.js.gz +0 -0
- package/es6/min/persisters/persister-browser/with-schemas/index.js +1 -1
- package/es6/min/persisters/persister-browser/with-schemas/index.js.gz +0 -0
- package/es6/min/persisters/persister-indexed-db/index.js +1 -1
- package/es6/min/persisters/persister-indexed-db/index.js.gz +0 -0
- package/es6/min/persisters/persister-indexed-db/with-schemas/index.js +1 -1
- package/es6/min/persisters/persister-indexed-db/with-schemas/index.js.gz +0 -0
- package/es6/min/queries/index.js +1 -1
- package/es6/min/queries/index.js.gz +0 -0
- package/es6/min/queries/with-schemas/index.js +1 -1
- package/es6/min/queries/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/index.js +1 -1
- package/es6/min/synchronizers/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-dom/index.js +1 -1
- package/es6/min/ui-react-dom/index.js.gz +0 -0
- package/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/index.js +1 -1
- package/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/es6/min/with-schemas/index.js +1 -1
- package/es6/min/with-schemas/index.js.gz +0 -0
- package/es6/persisters/persister-browser/index.js +2 -1
- package/es6/persisters/persister-browser/with-schemas/index.js +2 -1
- package/es6/persisters/persister-indexed-db/index.js +2 -1
- package/es6/persisters/persister-indexed-db/with-schemas/index.js +2 -1
- package/es6/queries/index.js +3 -2
- package/es6/queries/with-schemas/index.js +3 -2
- package/es6/synchronizers/index.js +9 -2
- package/es6/synchronizers/synchronizer-local/index.js +9 -2
- package/es6/synchronizers/synchronizer-local/with-schemas/index.js +9 -2
- package/es6/synchronizers/synchronizer-ws-client/index.js +9 -2
- package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +9 -2
- package/es6/synchronizers/with-schemas/index.js +9 -2
- package/es6/ui-react-dom/index.js +3 -1
- package/es6/ui-react-dom/with-schemas/index.js +3 -1
- package/es6/ui-react-inspector/index.js +6 -3
- package/es6/ui-react-inspector/with-schemas/index.js +6 -3
- package/es6/with-schemas/index.js +12 -5
- package/index.js +12 -5
- package/mergeable-store/index.js +11 -4
- package/mergeable-store/with-schemas/index.js +11 -4
- package/metrics/index.js +3 -2
- package/metrics/with-schemas/index.js +3 -2
- package/min/common/index.js +1 -1
- package/min/common/index.js.gz +0 -0
- package/min/common/with-schemas/index.js +1 -1
- package/min/common/with-schemas/index.js.gz +0 -0
- package/min/index.js +1 -1
- package/min/index.js.gz +0 -0
- package/min/mergeable-store/index.js +1 -1
- package/min/mergeable-store/index.js.gz +0 -0
- package/min/mergeable-store/with-schemas/index.js +1 -1
- package/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/min/metrics/index.js +1 -1
- package/min/metrics/index.js.gz +0 -0
- package/min/metrics/with-schemas/index.js +1 -1
- package/min/metrics/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-browser/index.js +1 -1
- package/min/persisters/persister-browser/index.js.gz +0 -0
- package/min/persisters/persister-browser/with-schemas/index.js +1 -1
- package/min/persisters/persister-browser/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-indexed-db/index.js +1 -1
- package/min/persisters/persister-indexed-db/index.js.gz +0 -0
- package/min/persisters/persister-indexed-db/with-schemas/index.js +1 -1
- package/min/persisters/persister-indexed-db/with-schemas/index.js.gz +0 -0
- package/min/queries/index.js +1 -1
- package/min/queries/index.js.gz +0 -0
- package/min/queries/with-schemas/index.js +1 -1
- package/min/queries/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/index.js +1 -1
- package/min/synchronizers/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/index.js +1 -1
- package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/with-schemas/index.js +1 -1
- package/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom/index.js +1 -1
- package/min/ui-react-dom/index.js.gz +0 -0
- package/min/ui-react-dom/with-schemas/index.js +1 -1
- package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-react-inspector/index.js +1 -1
- package/min/ui-react-inspector/index.js.gz +0 -0
- package/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/min/with-schemas/index.js +1 -1
- package/min/with-schemas/index.js.gz +0 -0
- package/package.json +1 -1
- package/persisters/persister-browser/index.js +2 -1
- package/persisters/persister-browser/with-schemas/index.js +2 -1
- package/persisters/persister-indexed-db/index.js +2 -1
- package/persisters/persister-indexed-db/with-schemas/index.js +2 -1
- package/queries/index.js +3 -2
- package/queries/with-schemas/index.js +3 -2
- package/readme.md +2 -2
- package/synchronizers/index.js +9 -2
- package/synchronizers/synchronizer-local/index.js +9 -2
- package/synchronizers/synchronizer-local/with-schemas/index.js +9 -2
- package/synchronizers/synchronizer-ws-client/index.js +9 -2
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +9 -2
- package/synchronizers/with-schemas/index.js +9 -2
- package/ui-react-dom/index.js +3 -1
- package/ui-react-dom/with-schemas/index.js +3 -1
- package/ui-react-inspector/index.js +6 -3
- package/ui-react-inspector/with-schemas/index.js +6 -3
- package/umd/common/index.js +9 -1
- package/umd/common/with-schemas/index.js +9 -1
- package/umd/es6/common/index.js +9 -1
- package/umd/es6/common/with-schemas/index.js +9 -1
- package/umd/es6/index.js +12 -5
- package/umd/es6/mergeable-store/index.js +11 -4
- package/umd/es6/mergeable-store/with-schemas/index.js +11 -4
- package/umd/es6/metrics/index.js +3 -2
- package/umd/es6/metrics/with-schemas/index.js +3 -2
- package/umd/es6/min/common/index.js +1 -1
- package/umd/es6/min/common/index.js.gz +0 -0
- package/umd/es6/min/common/with-schemas/index.js +1 -1
- package/umd/es6/min/common/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/index.js +1 -1
- package/umd/es6/min/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/index.js +1 -1
- package/umd/es6/min/mergeable-store/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/metrics/index.js +1 -1
- package/umd/es6/min/metrics/index.js.gz +0 -0
- package/umd/es6/min/metrics/with-schemas/index.js +1 -1
- package/umd/es6/min/metrics/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-browser/index.js +1 -1
- package/umd/es6/min/persisters/persister-browser/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-browser/with-schemas/index.js +1 -1
- package/umd/es6/min/persisters/persister-browser/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-indexed-db/index.js +1 -1
- package/umd/es6/min/persisters/persister-indexed-db/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-indexed-db/with-schemas/index.js +1 -1
- package/umd/es6/min/persisters/persister-indexed-db/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/queries/index.js +1 -1
- package/umd/es6/min/queries/index.js.gz +0 -0
- package/umd/es6/min/queries/with-schemas/index.js +1 -1
- package/umd/es6/min/queries/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/index.js +1 -1
- package/umd/es6/min/synchronizers/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/index.js +1 -1
- package/umd/es6/min/ui-react-dom/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/with-schemas/index.js +1 -1
- package/umd/es6/min/with-schemas/index.js.gz +0 -0
- package/umd/es6/persisters/persister-browser/index.js +2 -1
- package/umd/es6/persisters/persister-browser/with-schemas/index.js +2 -1
- package/umd/es6/persisters/persister-indexed-db/index.js +2 -1
- package/umd/es6/persisters/persister-indexed-db/with-schemas/index.js +2 -1
- package/umd/es6/queries/index.js +3 -2
- package/umd/es6/queries/with-schemas/index.js +3 -2
- package/umd/es6/synchronizers/index.js +9 -2
- package/umd/es6/synchronizers/synchronizer-local/index.js +9 -2
- package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +9 -2
- package/umd/es6/synchronizers/synchronizer-ws-client/index.js +9 -2
- package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +9 -2
- package/umd/es6/synchronizers/with-schemas/index.js +9 -2
- package/umd/es6/ui-react-dom/index.js +3 -1
- package/umd/es6/ui-react-dom/with-schemas/index.js +3 -1
- package/umd/es6/ui-react-inspector/index.js +6 -3
- package/umd/es6/ui-react-inspector/with-schemas/index.js +6 -3
- package/umd/es6/with-schemas/index.js +12 -5
- package/umd/index.js +12 -5
- package/umd/mergeable-store/index.js +11 -4
- package/umd/mergeable-store/with-schemas/index.js +11 -4
- package/umd/metrics/index.js +3 -2
- package/umd/metrics/with-schemas/index.js +3 -2
- package/umd/min/common/index.js +1 -1
- package/umd/min/common/index.js.gz +0 -0
- package/umd/min/common/with-schemas/index.js +1 -1
- package/umd/min/common/with-schemas/index.js.gz +0 -0
- package/umd/min/index.js +1 -1
- package/umd/min/index.js.gz +0 -0
- package/umd/min/mergeable-store/index.js +1 -1
- package/umd/min/mergeable-store/index.js.gz +0 -0
- package/umd/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/min/metrics/index.js +1 -1
- package/umd/min/metrics/index.js.gz +0 -0
- package/umd/min/metrics/with-schemas/index.js +1 -1
- package/umd/min/metrics/with-schemas/index.js.gz +0 -0
- package/umd/min/persisters/persister-browser/index.js +1 -1
- package/umd/min/persisters/persister-browser/index.js.gz +0 -0
- package/umd/min/persisters/persister-browser/with-schemas/index.js +1 -1
- package/umd/min/persisters/persister-browser/with-schemas/index.js.gz +0 -0
- package/umd/min/persisters/persister-indexed-db/index.js +1 -1
- package/umd/min/persisters/persister-indexed-db/index.js.gz +0 -0
- package/umd/min/persisters/persister-indexed-db/with-schemas/index.js +1 -1
- package/umd/min/persisters/persister-indexed-db/with-schemas/index.js.gz +0 -0
- package/umd/min/queries/index.js +1 -1
- package/umd/min/queries/index.js.gz +0 -0
- package/umd/min/queries/with-schemas/index.js +1 -1
- package/umd/min/queries/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/index.js +1 -1
- package/umd/min/synchronizers/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-dom/index.js +1 -1
- package/umd/min/ui-react-dom/index.js.gz +0 -0
- package/umd/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/index.js +1 -1
- package/umd/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/min/with-schemas/index.js +1 -1
- package/umd/min/with-schemas/index.js.gz +0 -0
- package/umd/persisters/persister-browser/index.js +2 -1
- package/umd/persisters/persister-browser/with-schemas/index.js +2 -1
- package/umd/persisters/persister-indexed-db/index.js +2 -1
- package/umd/persisters/persister-indexed-db/with-schemas/index.js +2 -1
- package/umd/queries/index.js +3 -2
- package/umd/queries/with-schemas/index.js +3 -2
- package/umd/synchronizers/index.js +9 -2
- package/umd/synchronizers/synchronizer-local/index.js +9 -2
- package/umd/synchronizers/synchronizer-local/with-schemas/index.js +9 -2
- package/umd/synchronizers/synchronizer-ws-client/index.js +9 -2
- package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +9 -2
- package/umd/synchronizers/with-schemas/index.js +9 -2
- package/umd/ui-react-dom/index.js +3 -1
- package/umd/ui-react-dom/with-schemas/index.js +3 -1
- package/umd/ui-react-inspector/index.js +6 -3
- package/umd/ui-react-inspector/with-schemas/index.js +6 -3
- package/umd/with-schemas/index.js +12 -5
- package/with-schemas/index.js +12 -5
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
const EMPTY_STRING = '';
|
|
13
13
|
|
|
14
14
|
const promise = Promise;
|
|
15
|
+
const GLOBAL = globalThis;
|
|
16
|
+
const math = Math;
|
|
17
|
+
const mathFloor = math.floor;
|
|
15
18
|
const isUndefined = (thing) => thing == void 0;
|
|
16
19
|
const ifNotUndefined = (value, then, otherwise) =>
|
|
17
20
|
isUndefined(value) ? otherwise?.() : then(value);
|
|
@@ -71,7 +74,7 @@
|
|
|
71
74
|
return mapGet(map, key);
|
|
72
75
|
};
|
|
73
76
|
|
|
74
|
-
new
|
|
77
|
+
new GLOBAL.TextEncoder();
|
|
75
78
|
|
|
76
79
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
77
80
|
const getLatestTime = (time1, time2) =>
|
|
@@ -265,9 +268,13 @@
|
|
|
265
268
|
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
266
269
|
const encode = (num) => ENCODE[num & MASK6];
|
|
267
270
|
|
|
271
|
+
const getRandomValues = GLOBAL.crypto
|
|
272
|
+
? (array) => GLOBAL.crypto.getRandomValues(array)
|
|
273
|
+
: /* istanbul ignore next */
|
|
274
|
+
(array) => arrayMap(array, () => mathFloor(math.random() * 256));
|
|
268
275
|
const getUniqueId = (length = 16) =>
|
|
269
276
|
arrayReduce(
|
|
270
|
-
|
|
277
|
+
getRandomValues(new Uint8Array(length)),
|
|
271
278
|
(uniqueId, number) => uniqueId + encode(number),
|
|
272
279
|
'',
|
|
273
280
|
);
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
const CURRENT_TARGET = 'currentTarget';
|
|
24
24
|
const _VALUE = 'value';
|
|
25
25
|
|
|
26
|
+
const math = Math;
|
|
27
|
+
const mathMin = math.min;
|
|
26
28
|
const isFiniteNumber = isFinite;
|
|
27
29
|
const isUndefined = (thing) => thing == void 0;
|
|
28
30
|
const isTypeStringOrBoolean = (type) => type == STRING || type == BOOLEAN;
|
|
@@ -780,7 +782,7 @@
|
|
|
780
782
|
),
|
|
781
783
|
offset + 1,
|
|
782
784
|
' to ',
|
|
783
|
-
|
|
785
|
+
mathMin(total, offset + limit),
|
|
784
786
|
' of ',
|
|
785
787
|
),
|
|
786
788
|
total,
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
const CURRENT_TARGET = 'currentTarget';
|
|
24
24
|
const _VALUE = 'value';
|
|
25
25
|
|
|
26
|
+
const math = Math;
|
|
27
|
+
const mathMin = math.min;
|
|
26
28
|
const isFiniteNumber = isFinite;
|
|
27
29
|
const isUndefined = (thing) => thing == void 0;
|
|
28
30
|
const isTypeStringOrBoolean = (type) => type == STRING || type == BOOLEAN;
|
|
@@ -780,7 +782,7 @@
|
|
|
780
782
|
),
|
|
781
783
|
offset + 1,
|
|
782
784
|
' to ',
|
|
783
|
-
|
|
785
|
+
mathMin(total, offset + limit),
|
|
784
786
|
' of ',
|
|
785
787
|
),
|
|
786
788
|
total,
|
|
@@ -41,7 +41,11 @@
|
|
|
41
41
|
const UNDEFINED = '\uFFFC';
|
|
42
42
|
const id = (key) => EMPTY_STRING + key;
|
|
43
43
|
|
|
44
|
-
const
|
|
44
|
+
const GLOBAL = globalThis;
|
|
45
|
+
const WINDOW = GLOBAL.window;
|
|
46
|
+
const math = Math;
|
|
47
|
+
const mathMin = math.min;
|
|
48
|
+
const mathFloor = math.floor;
|
|
45
49
|
const isFiniteNumber = isFinite;
|
|
46
50
|
const isInstanceOf = (thing, cls) => thing instanceof cls;
|
|
47
51
|
const isUndefined = (thing) => thing == void 0;
|
|
@@ -1039,7 +1043,7 @@
|
|
|
1039
1043
|
),
|
|
1040
1044
|
offset + 1,
|
|
1041
1045
|
' to ',
|
|
1042
|
-
|
|
1046
|
+
mathMin(total, offset + limit),
|
|
1043
1047
|
' of ',
|
|
1044
1048
|
),
|
|
1045
1049
|
total,
|
|
@@ -1795,7 +1799,6 @@
|
|
|
1795
1799
|
};
|
|
1796
1800
|
|
|
1797
1801
|
const STORAGE = 'storage';
|
|
1798
|
-
const WINDOW = globalThis.window;
|
|
1799
1802
|
const createStoragePersister = (
|
|
1800
1803
|
store,
|
|
1801
1804
|
storageName,
|
|
@@ -41,7 +41,11 @@
|
|
|
41
41
|
const UNDEFINED = '\uFFFC';
|
|
42
42
|
const id = (key) => EMPTY_STRING + key;
|
|
43
43
|
|
|
44
|
-
const
|
|
44
|
+
const GLOBAL = globalThis;
|
|
45
|
+
const WINDOW = GLOBAL.window;
|
|
46
|
+
const math = Math;
|
|
47
|
+
const mathMin = math.min;
|
|
48
|
+
const mathFloor = math.floor;
|
|
45
49
|
const isFiniteNumber = isFinite;
|
|
46
50
|
const isInstanceOf = (thing, cls) => thing instanceof cls;
|
|
47
51
|
const isUndefined = (thing) => thing == void 0;
|
|
@@ -1039,7 +1043,7 @@
|
|
|
1039
1043
|
),
|
|
1040
1044
|
offset + 1,
|
|
1041
1045
|
' to ',
|
|
1042
|
-
|
|
1046
|
+
mathMin(total, offset + limit),
|
|
1043
1047
|
' of ',
|
|
1044
1048
|
),
|
|
1045
1049
|
total,
|
|
@@ -1795,7 +1799,6 @@
|
|
|
1795
1799
|
};
|
|
1796
1800
|
|
|
1797
1801
|
const STORAGE = 'storage';
|
|
1798
|
-
const WINDOW = globalThis.window;
|
|
1799
1802
|
const createStoragePersister = (
|
|
1800
1803
|
store,
|
|
1801
1804
|
storageName,
|
|
@@ -44,8 +44,11 @@
|
|
|
44
44
|
const strEndsWith = (str, suffix) => str.endsWith(suffix);
|
|
45
45
|
|
|
46
46
|
const promise = Promise;
|
|
47
|
-
const
|
|
48
|
-
const
|
|
47
|
+
const GLOBAL = globalThis;
|
|
48
|
+
const math = Math;
|
|
49
|
+
const mathMax = math.max;
|
|
50
|
+
const mathMin = math.min;
|
|
51
|
+
const mathFloor = math.floor;
|
|
49
52
|
const isFiniteNumber = isFinite;
|
|
50
53
|
const isInstanceOf = (thing, cls) => thing instanceof cls;
|
|
51
54
|
const isUndefined = (thing) => thing == void 0;
|
|
@@ -774,11 +777,15 @@
|
|
|
774
777
|
const encode = (num) => ENCODE[num & MASK6];
|
|
775
778
|
const decode = (str, pos) => mapGet(DECODE, str[pos]) ?? 0;
|
|
776
779
|
|
|
780
|
+
const getRandomValues = GLOBAL.crypto
|
|
781
|
+
? (array) => GLOBAL.crypto.getRandomValues(array)
|
|
782
|
+
: /* istanbul ignore next */
|
|
783
|
+
(array) => arrayMap(array, () => mathFloor(math.random() * 256));
|
|
777
784
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
778
785
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
779
786
|
const getUniqueId = (length = 16) =>
|
|
780
787
|
arrayReduce(
|
|
781
|
-
|
|
788
|
+
getRandomValues(new Uint8Array(length)),
|
|
782
789
|
(uniqueId, number) => uniqueId + encode(number),
|
|
783
790
|
'',
|
|
784
791
|
);
|
|
@@ -1347,7 +1354,7 @@
|
|
|
1347
1354
|
return objFreeze(persister);
|
|
1348
1355
|
};
|
|
1349
1356
|
|
|
1350
|
-
const textEncoder = new
|
|
1357
|
+
const textEncoder = new GLOBAL.TextEncoder();
|
|
1351
1358
|
const getHash = (value) => {
|
|
1352
1359
|
let hash = 2166136261;
|
|
1353
1360
|
arrayForEach(textEncoder.encode(value), (char) => {
|
|
@@ -3667,7 +3674,7 @@
|
|
|
3667
3674
|
logicalTime = mathMax(
|
|
3668
3675
|
previousLogicalTime,
|
|
3669
3676
|
remoteLogicalTime,
|
|
3670
|
-
|
|
3677
|
+
GLOBAL.HLC_TIME ?? Date.now(),
|
|
3671
3678
|
);
|
|
3672
3679
|
lastCounter =
|
|
3673
3680
|
logicalTime == previousLogicalTime
|
package/with-schemas/index.js
CHANGED
|
@@ -33,8 +33,11 @@ const strStartsWith = (str, prefix) => str.startsWith(prefix);
|
|
|
33
33
|
const strEndsWith = (str, suffix) => str.endsWith(suffix);
|
|
34
34
|
|
|
35
35
|
const promise = Promise;
|
|
36
|
-
const
|
|
37
|
-
const
|
|
36
|
+
const GLOBAL = globalThis;
|
|
37
|
+
const math = Math;
|
|
38
|
+
const mathMax = math.max;
|
|
39
|
+
const mathMin = math.min;
|
|
40
|
+
const mathFloor = math.floor;
|
|
38
41
|
const isFiniteNumber = isFinite;
|
|
39
42
|
const isInstanceOf = (thing, cls) => thing instanceof cls;
|
|
40
43
|
const isUndefined = (thing) => thing == void 0;
|
|
@@ -756,11 +759,15 @@ const DECODE = mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
|
756
759
|
const encode = (num) => ENCODE[num & MASK6];
|
|
757
760
|
const decode = (str, pos) => mapGet(DECODE, str[pos]) ?? 0;
|
|
758
761
|
|
|
762
|
+
const getRandomValues = GLOBAL.crypto
|
|
763
|
+
? (array) => GLOBAL.crypto.getRandomValues(array)
|
|
764
|
+
: /* istanbul ignore next */
|
|
765
|
+
(array) => arrayMap(array, () => mathFloor(math.random() * 256));
|
|
759
766
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
760
767
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
761
768
|
const getUniqueId = (length = 16) =>
|
|
762
769
|
arrayReduce(
|
|
763
|
-
|
|
770
|
+
getRandomValues(new Uint8Array(length)),
|
|
764
771
|
(uniqueId, number) => uniqueId + encode(number),
|
|
765
772
|
'',
|
|
766
773
|
);
|
|
@@ -1313,7 +1320,7 @@ const createCustomPersister = (
|
|
|
1313
1320
|
return objFreeze(persister);
|
|
1314
1321
|
};
|
|
1315
1322
|
|
|
1316
|
-
const textEncoder = new
|
|
1323
|
+
const textEncoder = new GLOBAL.TextEncoder();
|
|
1317
1324
|
const getHash = (value) => {
|
|
1318
1325
|
let hash = 2166136261;
|
|
1319
1326
|
arrayForEach(textEncoder.encode(value), (char) => {
|
|
@@ -3589,7 +3596,7 @@ const getHlcFunctions = (uniqueId) => {
|
|
|
3589
3596
|
logicalTime = mathMax(
|
|
3590
3597
|
previousLogicalTime,
|
|
3591
3598
|
remoteLogicalTime,
|
|
3592
|
-
|
|
3599
|
+
GLOBAL.HLC_TIME ?? Date.now(),
|
|
3593
3600
|
);
|
|
3594
3601
|
lastCounter =
|
|
3595
3602
|
logicalTime == previousLogicalTime
|