tinybase 5.3.0 → 5.3.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.
- package/cjs/common/index.cjs +5 -7
- package/cjs/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/common/index.cjs +5 -7
- package/cjs/es6/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/index.cjs +18 -12
- package/cjs/es6/indexes/index.cjs +0 -6
- package/cjs/es6/indexes/with-schemas/index.cjs +0 -6
- package/cjs/es6/mergeable-store/index.cjs +17 -11
- package/cjs/es6/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/es6/metrics/index.cjs +1 -1
- package/cjs/es6/metrics/with-schemas/index.cjs +1 -1
- 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/indexes/index.cjs +1 -1
- package/cjs/es6/min/indexes/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/indexes/with-schemas/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/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/store/index.cjs +1 -1
- package/cjs/es6/min/store/index.cjs.gz +0 -0
- package/cjs/es6/min/store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/store/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-broadcast-channel/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/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/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/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/tools/index.cjs +1 -1
- package/cjs/es6/min/tools/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/index.cjs +1 -1
- package/cjs/es6/min/ui-react/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react/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-pglite/index.cjs +1 -1
- package/cjs/es6/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/queries/index.cjs +1 -1
- package/cjs/es6/queries/with-schemas/index.cjs +1 -1
- package/cjs/es6/store/index.cjs +0 -6
- package/cjs/es6/store/with-schemas/index.cjs +0 -6
- package/cjs/es6/synchronizers/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/es6/tools/index.cjs +7 -4
- package/cjs/es6/tools/with-schemas/index.cjs +7 -4
- package/cjs/es6/ui-react/index.cjs +101 -109
- package/cjs/es6/ui-react/with-schemas/index.cjs +101 -109
- package/cjs/es6/ui-react-dom/index.cjs +14 -8
- package/cjs/es6/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/es6/ui-react-inspector/index.cjs +18 -16
- package/cjs/es6/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/es6/with-schemas/index.cjs +18 -12
- package/cjs/index.cjs +18 -12
- package/cjs/indexes/index.cjs +0 -6
- package/cjs/indexes/with-schemas/index.cjs +0 -6
- package/cjs/mergeable-store/index.cjs +17 -11
- package/cjs/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/metrics/index.cjs +1 -1
- package/cjs/metrics/with-schemas/index.cjs +1 -1
- 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/indexes/index.cjs +1 -1
- package/cjs/min/indexes/index.cjs.gz +0 -0
- package/cjs/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/min/indexes/with-schemas/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/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/store/index.cjs +1 -1
- package/cjs/min/store/index.cjs.gz +0 -0
- package/cjs/min/store/with-schemas/index.cjs +1 -1
- package/cjs/min/store/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-broadcast-channel/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/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/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/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/tools/index.cjs +1 -1
- package/cjs/min/tools/index.cjs.gz +0 -0
- package/cjs/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react/index.cjs +1 -1
- package/cjs/min/ui-react/index.cjs.gz +0 -0
- package/cjs/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react/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-pglite/index.cjs +1 -1
- package/cjs/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/queries/index.cjs +1 -1
- package/cjs/queries/with-schemas/index.cjs +1 -1
- package/cjs/store/index.cjs +0 -6
- package/cjs/store/with-schemas/index.cjs +0 -6
- package/cjs/synchronizers/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/tools/index.cjs +7 -4
- package/cjs/tools/with-schemas/index.cjs +7 -4
- package/cjs/ui-react/index.cjs +97 -107
- package/cjs/ui-react/with-schemas/index.cjs +97 -107
- package/cjs/ui-react-dom/index.cjs +14 -8
- package/cjs/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/ui-react-inspector/index.cjs +18 -16
- package/cjs/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/with-schemas/index.cjs +18 -12
- package/common/index.js +5 -7
- package/common/with-schemas/index.js +5 -7
- package/es6/common/index.js +5 -7
- package/es6/common/with-schemas/index.js +5 -7
- package/es6/index.js +18 -12
- package/es6/indexes/index.js +0 -6
- package/es6/indexes/with-schemas/index.js +0 -6
- package/es6/mergeable-store/index.js +17 -11
- package/es6/mergeable-store/with-schemas/index.js +17 -11
- package/es6/metrics/index.js +1 -1
- package/es6/metrics/with-schemas/index.js +1 -1
- 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/indexes/index.js +1 -1
- package/es6/min/indexes/index.js.gz +0 -0
- package/es6/min/indexes/with-schemas/index.js +1 -1
- package/es6/min/indexes/with-schemas/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/persisters/persister-pglite/index.js +1 -1
- package/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/es6/min/store/index.js +1 -1
- package/es6/min/store/index.js.gz +0 -0
- package/es6/min/store/with-schemas/index.js +1 -1
- package/es6/min/store/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-broadcast-channel/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/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/synchronizer-ws-server/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/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/tools/index.js +1 -1
- package/es6/min/tools/index.js.gz +0 -0
- package/es6/min/tools/with-schemas/index.js +1 -1
- package/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react/index.js +1 -1
- package/es6/min/ui-react/index.js.gz +0 -0
- package/es6/min/ui-react/with-schemas/index.js +1 -1
- package/es6/min/ui-react/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-pglite/index.js +1 -1
- package/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/queries/index.js +1 -1
- package/es6/queries/with-schemas/index.js +1 -1
- package/es6/store/index.js +0 -6
- package/es6/store/with-schemas/index.js +0 -6
- package/es6/synchronizers/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/es6/synchronizers/with-schemas/index.js +5 -7
- package/es6/tools/index.js +7 -4
- package/es6/tools/with-schemas/index.js +7 -4
- package/es6/ui-react/index.js +101 -109
- package/es6/ui-react/with-schemas/index.js +101 -109
- package/es6/ui-react-dom/index.js +14 -8
- package/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/es6/ui-react-inspector/index.js +18 -16
- package/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/es6/with-schemas/index.js +18 -12
- package/index.js +18 -12
- package/indexes/index.js +0 -6
- package/indexes/with-schemas/index.js +0 -6
- package/mergeable-store/index.js +17 -11
- package/mergeable-store/with-schemas/index.js +17 -11
- package/metrics/index.js +1 -1
- package/metrics/with-schemas/index.js +1 -1
- 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/indexes/index.js +1 -1
- package/min/indexes/index.js.gz +0 -0
- package/min/indexes/with-schemas/index.js +1 -1
- package/min/indexes/with-schemas/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/persisters/persister-pglite/index.js +1 -1
- package/min/persisters/persister-pglite/index.js.gz +0 -0
- package/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/min/store/index.js +1 -1
- package/min/store/index.js.gz +0 -0
- package/min/store/with-schemas/index.js +1 -1
- package/min/store/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-broadcast-channel/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/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/synchronizer-ws-server/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/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/tools/index.js +1 -1
- package/min/tools/index.js.gz +0 -0
- package/min/tools/with-schemas/index.js +1 -1
- package/min/tools/with-schemas/index.js.gz +0 -0
- package/min/ui-react/index.js +1 -1
- package/min/ui-react/index.js.gz +0 -0
- package/min/ui-react/with-schemas/index.js +1 -1
- package/min/ui-react/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 +5 -5
- package/persisters/persister-pglite/index.js +1 -1
- package/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/queries/index.js +1 -1
- package/queries/with-schemas/index.js +1 -1
- package/readme.md +14 -14
- package/releases.md +24 -24
- package/store/index.js +0 -6
- package/store/with-schemas/index.js +0 -6
- package/synchronizers/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-local/index.js +5 -7
- package/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/synchronizers/with-schemas/index.js +5 -7
- package/tools/index.js +7 -4
- package/tools/with-schemas/index.js +7 -4
- package/ui-react/index.js +97 -107
- package/ui-react/with-schemas/index.js +97 -107
- package/ui-react-dom/index.js +14 -8
- package/ui-react-dom/with-schemas/index.js +14 -8
- package/ui-react-inspector/index.js +18 -16
- package/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/common/index.js +5 -7
- package/umd/common/with-schemas/index.js +5 -7
- package/umd/es6/common/index.js +5 -7
- package/umd/es6/common/with-schemas/index.js +5 -7
- package/umd/es6/index.js +18 -12
- package/umd/es6/indexes/index.js +0 -6
- package/umd/es6/indexes/with-schemas/index.js +0 -6
- package/umd/es6/mergeable-store/index.js +17 -11
- package/umd/es6/mergeable-store/with-schemas/index.js +17 -11
- package/umd/es6/metrics/index.js +1 -1
- package/umd/es6/metrics/with-schemas/index.js +1 -1
- 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/indexes/index.js +1 -1
- package/umd/es6/min/indexes/index.js.gz +0 -0
- package/umd/es6/min/indexes/with-schemas/index.js +1 -1
- package/umd/es6/min/indexes/with-schemas/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/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/store/index.js +1 -1
- package/umd/es6/min/store/index.js.gz +0 -0
- package/umd/es6/min/store/with-schemas/index.js +1 -1
- package/umd/es6/min/store/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-broadcast-channel/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/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/synchronizer-ws-server/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/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/tools/index.js +1 -1
- package/umd/es6/min/tools/index.js.gz +0 -0
- package/umd/es6/min/tools/with-schemas/index.js +1 -1
- package/umd/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react/index.js +1 -1
- package/umd/es6/min/ui-react/index.js.gz +0 -0
- package/umd/es6/min/ui-react/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react/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-pglite/index.js +1 -1
- package/umd/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/queries/index.js +1 -1
- package/umd/es6/queries/with-schemas/index.js +1 -1
- package/umd/es6/store/index.js +0 -6
- package/umd/es6/store/with-schemas/index.js +0 -6
- package/umd/es6/synchronizers/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/with-schemas/index.js +5 -7
- package/umd/es6/tools/index.js +7 -4
- package/umd/es6/tools/with-schemas/index.js +7 -4
- package/umd/es6/ui-react/index.js +101 -118
- package/umd/es6/ui-react/with-schemas/index.js +101 -118
- package/umd/es6/ui-react-dom/index.js +14 -8
- package/umd/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/es6/ui-react-inspector/index.js +18 -16
- package/umd/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/es6/with-schemas/index.js +18 -12
- package/umd/index.js +18 -12
- package/umd/indexes/index.js +0 -6
- package/umd/indexes/with-schemas/index.js +0 -6
- package/umd/mergeable-store/index.js +17 -11
- package/umd/mergeable-store/with-schemas/index.js +17 -11
- package/umd/metrics/index.js +1 -1
- package/umd/metrics/with-schemas/index.js +1 -1
- 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/indexes/index.js +1 -1
- package/umd/min/indexes/index.js.gz +0 -0
- package/umd/min/indexes/with-schemas/index.js +1 -1
- package/umd/min/indexes/with-schemas/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/persisters/persister-pglite/index.js +1 -1
- package/umd/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/min/store/index.js +1 -1
- package/umd/min/store/index.js.gz +0 -0
- package/umd/min/store/with-schemas/index.js +1 -1
- package/umd/min/store/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-broadcast-channel/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/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/synchronizer-ws-server/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/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/tools/index.js +1 -1
- package/umd/min/tools/index.js.gz +0 -0
- package/umd/min/tools/with-schemas/index.js +1 -1
- package/umd/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react/index.js +1 -1
- package/umd/min/ui-react/index.js.gz +0 -0
- package/umd/min/ui-react/with-schemas/index.js +1 -1
- package/umd/min/ui-react/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-pglite/index.js +1 -1
- package/umd/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/queries/index.js +1 -1
- package/umd/queries/with-schemas/index.js +1 -1
- package/umd/store/index.js +0 -6
- package/umd/store/with-schemas/index.js +0 -6
- package/umd/synchronizers/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/synchronizers/with-schemas/index.js +5 -7
- package/umd/tools/index.js +7 -4
- package/umd/tools/with-schemas/index.js +7 -4
- package/umd/ui-react/index.js +97 -110
- package/umd/ui-react/with-schemas/index.js +97 -110
- package/umd/ui-react-dom/index.js +14 -8
- package/umd/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/ui-react-inspector/index.js +18 -16
- package/umd/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/with-schemas/index.js +18 -12
- package/with-schemas/index.js +18 -12
|
@@ -1114,7 +1114,7 @@ const createPglitePersister = async (
|
|
|
1114
1114
|
store,
|
|
1115
1115
|
configOrStoreTableName,
|
|
1116
1116
|
async (sql, params = []) => (await pglite.query(sql, params)).rows,
|
|
1117
|
-
async (channel, listener) => pglite.listen(channel, listener),
|
|
1117
|
+
async (channel, listener) => await pglite.listen(channel, listener),
|
|
1118
1118
|
async (unlisten) => {
|
|
1119
1119
|
try {
|
|
1120
1120
|
await unlisten();
|
|
@@ -1114,7 +1114,7 @@ const createPglitePersister = async (
|
|
|
1114
1114
|
store,
|
|
1115
1115
|
configOrStoreTableName,
|
|
1116
1116
|
async (sql, params = []) => (await pglite.query(sql, params)).rows,
|
|
1117
|
-
async (channel, listener) => pglite.listen(channel, listener),
|
|
1117
|
+
async (channel, listener) => await pglite.listen(channel, listener),
|
|
1118
1118
|
async (unlisten) => {
|
|
1119
1119
|
try {
|
|
1120
1120
|
await unlisten();
|
package/cjs/queries/index.cjs
CHANGED
package/cjs/store/index.cjs
CHANGED
|
@@ -304,12 +304,6 @@ const jsonStringWithMap = (obj) =>
|
|
|
304
304
|
isInstanceOf(value, Map) ? object.fromEntries([...value]) : value,
|
|
305
305
|
);
|
|
306
306
|
|
|
307
|
-
const ENCODE =
|
|
308
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
309
|
-
EMPTY_STRING,
|
|
310
|
-
);
|
|
311
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
312
|
-
|
|
313
307
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
314
308
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
315
309
|
|
|
@@ -304,12 +304,6 @@ const jsonStringWithMap = (obj) =>
|
|
|
304
304
|
isInstanceOf(value, Map) ? object.fromEntries([...value]) : value,
|
|
305
305
|
);
|
|
306
306
|
|
|
307
|
-
const ENCODE =
|
|
308
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
309
|
-
EMPTY_STRING,
|
|
310
|
-
);
|
|
311
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
312
|
-
|
|
313
307
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
314
308
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
315
309
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -93,8 +95,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
93
95
|
},
|
|
94
96
|
);
|
|
95
97
|
|
|
96
|
-
new GLOBAL.TextEncoder();
|
|
97
|
-
|
|
98
98
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
99
99
|
const getLatestTime = (time1, time2) =>
|
|
100
100
|
/* istanbul ignore next */
|
|
@@ -406,11 +406,9 @@ const createCustomPersister = (
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
const MASK6 = 63;
|
|
409
|
-
const ENCODE =
|
|
410
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
409
|
+
const ENCODE = strSplit(
|
|
410
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
411
|
+
);
|
|
414
412
|
const encode = (num) => ENCODE[num & MASK6];
|
|
415
413
|
|
|
416
414
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -93,8 +95,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
93
95
|
},
|
|
94
96
|
);
|
|
95
97
|
|
|
96
|
-
new GLOBAL.TextEncoder();
|
|
97
|
-
|
|
98
98
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
99
99
|
const getLatestTime = (time1, time2) =>
|
|
100
100
|
/* istanbul ignore next */
|
|
@@ -406,11 +406,9 @@ const createCustomPersister = (
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
const MASK6 = 63;
|
|
409
|
-
const ENCODE =
|
|
410
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
409
|
+
const ENCODE = strSplit(
|
|
410
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
411
|
+
);
|
|
414
412
|
const encode = (num) => ENCODE[num & MASK6];
|
|
415
413
|
|
|
416
414
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -93,8 +95,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
93
95
|
},
|
|
94
96
|
);
|
|
95
97
|
|
|
96
|
-
new GLOBAL.TextEncoder();
|
|
97
|
-
|
|
98
98
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
99
99
|
const getLatestTime = (time1, time2) =>
|
|
100
100
|
/* istanbul ignore next */
|
|
@@ -406,11 +406,9 @@ const createCustomPersister = (
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
const MASK6 = 63;
|
|
409
|
-
const ENCODE =
|
|
410
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
409
|
+
const ENCODE = strSplit(
|
|
410
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
411
|
+
);
|
|
414
412
|
const encode = (num) => ENCODE[num & MASK6];
|
|
415
413
|
|
|
416
414
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -95,8 +97,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
95
97
|
},
|
|
96
98
|
);
|
|
97
99
|
|
|
98
|
-
new GLOBAL.TextEncoder();
|
|
99
|
-
|
|
100
100
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
101
101
|
const getLatestTime = (time1, time2) =>
|
|
102
102
|
/* istanbul ignore next */
|
|
@@ -408,11 +408,9 @@ const createCustomPersister = (
|
|
|
408
408
|
};
|
|
409
409
|
|
|
410
410
|
const MASK6 = 63;
|
|
411
|
-
const ENCODE =
|
|
412
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
413
|
-
|
|
414
|
-
);
|
|
415
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
411
|
+
const ENCODE = strSplit(
|
|
412
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
413
|
+
);
|
|
416
414
|
const encode = (num) => ENCODE[num & MASK6];
|
|
417
415
|
|
|
418
416
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -95,8 +97,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
95
97
|
},
|
|
96
98
|
);
|
|
97
99
|
|
|
98
|
-
new GLOBAL.TextEncoder();
|
|
99
|
-
|
|
100
100
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
101
101
|
const getLatestTime = (time1, time2) =>
|
|
102
102
|
/* istanbul ignore next */
|
|
@@ -408,11 +408,9 @@ const createCustomPersister = (
|
|
|
408
408
|
};
|
|
409
409
|
|
|
410
410
|
const MASK6 = 63;
|
|
411
|
-
const ENCODE =
|
|
412
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
413
|
-
|
|
414
|
-
);
|
|
415
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
411
|
+
const ENCODE = strSplit(
|
|
412
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
413
|
+
);
|
|
416
414
|
const encode = (num) => ENCODE[num & MASK6];
|
|
417
415
|
|
|
418
416
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
4
|
const UTF8 = 'utf8';
|
|
5
5
|
const UNDEFINED = '\uFFFC';
|
|
6
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
7
|
+
str.split(separator, limit);
|
|
6
8
|
|
|
7
9
|
const promise = Promise;
|
|
8
10
|
const GLOBAL = globalThis;
|
|
@@ -119,8 +121,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
119
121
|
},
|
|
120
122
|
);
|
|
121
123
|
|
|
122
|
-
new GLOBAL.TextEncoder();
|
|
123
|
-
|
|
124
124
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
125
125
|
const getLatestTime = (time1, time2) =>
|
|
126
126
|
/* istanbul ignore next */
|
|
@@ -432,11 +432,9 @@ const createCustomPersister = (
|
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
const MASK6 = 63;
|
|
435
|
-
const ENCODE =
|
|
436
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
437
|
-
|
|
438
|
-
);
|
|
439
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
435
|
+
const ENCODE = strSplit(
|
|
436
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
437
|
+
);
|
|
440
438
|
const encode = (num) => ENCODE[num & MASK6];
|
|
441
439
|
|
|
442
440
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
4
|
const UTF8 = 'utf8';
|
|
5
5
|
const UNDEFINED = '\uFFFC';
|
|
6
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
7
|
+
str.split(separator, limit);
|
|
6
8
|
|
|
7
9
|
const promise = Promise;
|
|
8
10
|
const GLOBAL = globalThis;
|
|
@@ -119,8 +121,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
119
121
|
},
|
|
120
122
|
);
|
|
121
123
|
|
|
122
|
-
new GLOBAL.TextEncoder();
|
|
123
|
-
|
|
124
124
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
125
125
|
const getLatestTime = (time1, time2) =>
|
|
126
126
|
/* istanbul ignore next */
|
|
@@ -432,11 +432,9 @@ const createCustomPersister = (
|
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
const MASK6 = 63;
|
|
435
|
-
const ENCODE =
|
|
436
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
437
|
-
|
|
438
|
-
);
|
|
439
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
435
|
+
const ENCODE = strSplit(
|
|
436
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
437
|
+
);
|
|
440
438
|
const encode = (num) => ENCODE[num & MASK6];
|
|
441
439
|
|
|
442
440
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -4,6 +4,8 @@ const EMPTY_STRING = '';
|
|
|
4
4
|
const UTF8 = 'utf8';
|
|
5
5
|
const UNDEFINED = '\uFFFC';
|
|
6
6
|
const strMatch = (str, regex) => str?.match(regex);
|
|
7
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
8
|
+
str.split(separator, limit);
|
|
7
9
|
|
|
8
10
|
const promise = Promise;
|
|
9
11
|
const GLOBAL = globalThis;
|
|
@@ -128,8 +130,6 @@ const createPayload = (toClientId, ...args) =>
|
|
|
128
130
|
const createRawPayload = (toClientId, remainder) =>
|
|
129
131
|
toClientId + MESSAGE_SEPARATOR + remainder;
|
|
130
132
|
|
|
131
|
-
new GLOBAL.TextEncoder();
|
|
132
|
-
|
|
133
133
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
134
134
|
const getLatestTime = (time1, time2) =>
|
|
135
135
|
/* istanbul ignore next */
|
|
@@ -431,11 +431,9 @@ const createCustomPersister = (
|
|
|
431
431
|
};
|
|
432
432
|
|
|
433
433
|
const MASK6 = 63;
|
|
434
|
-
const ENCODE =
|
|
435
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
436
|
-
|
|
437
|
-
);
|
|
438
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
434
|
+
const ENCODE = strSplit(
|
|
435
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
436
|
+
);
|
|
439
437
|
const encode = (num) => ENCODE[num & MASK6];
|
|
440
438
|
|
|
441
439
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -4,6 +4,8 @@ const EMPTY_STRING = '';
|
|
|
4
4
|
const UTF8 = 'utf8';
|
|
5
5
|
const UNDEFINED = '\uFFFC';
|
|
6
6
|
const strMatch = (str, regex) => str?.match(regex);
|
|
7
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
8
|
+
str.split(separator, limit);
|
|
7
9
|
|
|
8
10
|
const promise = Promise;
|
|
9
11
|
const GLOBAL = globalThis;
|
|
@@ -128,8 +130,6 @@ const createPayload = (toClientId, ...args) =>
|
|
|
128
130
|
const createRawPayload = (toClientId, remainder) =>
|
|
129
131
|
toClientId + MESSAGE_SEPARATOR + remainder;
|
|
130
132
|
|
|
131
|
-
new GLOBAL.TextEncoder();
|
|
132
|
-
|
|
133
133
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
134
134
|
const getLatestTime = (time1, time2) =>
|
|
135
135
|
/* istanbul ignore next */
|
|
@@ -431,11 +431,9 @@ const createCustomPersister = (
|
|
|
431
431
|
};
|
|
432
432
|
|
|
433
433
|
const MASK6 = 63;
|
|
434
|
-
const ENCODE =
|
|
435
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
436
|
-
|
|
437
|
-
);
|
|
438
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
434
|
+
const ENCODE = strSplit(
|
|
435
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
436
|
+
);
|
|
439
437
|
const encode = (num) => ENCODE[num & MASK6];
|
|
440
438
|
|
|
441
439
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const EMPTY_STRING = '';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -93,8 +95,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
93
95
|
},
|
|
94
96
|
);
|
|
95
97
|
|
|
96
|
-
new GLOBAL.TextEncoder();
|
|
97
|
-
|
|
98
98
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
99
99
|
const getLatestTime = (time1, time2) =>
|
|
100
100
|
/* istanbul ignore next */
|
|
@@ -406,11 +406,9 @@ const createCustomPersister = (
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
const MASK6 = 63;
|
|
409
|
-
const ENCODE =
|
|
410
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
409
|
+
const ENCODE = strSplit(
|
|
410
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
411
|
+
);
|
|
414
412
|
const encode = (num) => ENCODE[num & MASK6];
|
|
415
413
|
|
|
416
414
|
const getRandomValues = GLOBAL.crypto
|
package/cjs/tools/index.cjs
CHANGED
|
@@ -25,6 +25,10 @@ const CELL_IDS = CELL + IDS;
|
|
|
25
25
|
const VALUE = 'Value';
|
|
26
26
|
const VALUES = VALUE + 's';
|
|
27
27
|
const VALUE_IDS = VALUE + IDS;
|
|
28
|
+
const TRANSACTION = 'Transaction';
|
|
29
|
+
const PARTIAL = 'Partial';
|
|
30
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
31
|
+
str.split(separator, limit);
|
|
28
32
|
|
|
29
33
|
const promise = Promise;
|
|
30
34
|
const isFiniteNumber = isFinite;
|
|
@@ -121,7 +125,6 @@ const LISTENER_ = lower(LISTENER);
|
|
|
121
125
|
const OPTIONAL_COLON = '?: ';
|
|
122
126
|
const OR_UNDEFINED = ' | undefined';
|
|
123
127
|
const NON_NULLABLE = 'NonNullable';
|
|
124
|
-
const PARTIAL = 'Partial';
|
|
125
128
|
const PROPS = 'Props';
|
|
126
129
|
const PROVIDER = 'Provider';
|
|
127
130
|
const REGISTERS_A_LISTENER = `Registers a ${LISTENER_} that will be called`;
|
|
@@ -132,7 +135,6 @@ const SET = 'Set';
|
|
|
132
135
|
const SORTED_ARGS = ', descending?: boolean, offset?: number, limit?: number';
|
|
133
136
|
const SQUARE_BRACKETS = '[]';
|
|
134
137
|
const THE_STORE = 'the Store';
|
|
135
|
-
const TRANSACTION = 'Transaction';
|
|
136
138
|
const TRANSACTION_ = lower(TRANSACTION);
|
|
137
139
|
const TRANSACTION_DOC =
|
|
138
140
|
'Execute a ' + TRANSACTION_ + ' to make multiple mutations';
|
|
@@ -291,7 +293,7 @@ const flat = (array) => array.flat(1e3);
|
|
|
291
293
|
const camel = (str, firstCap = 0) =>
|
|
292
294
|
arrayJoin(
|
|
293
295
|
arrayMap(
|
|
294
|
-
str
|
|
296
|
+
strSplit(str, NON_ALPHANUMERIC),
|
|
295
297
|
(word, w) =>
|
|
296
298
|
(w > 0 || firstCap ? upper : lower)(slice(word, 0, 1)) + slice(word, 1),
|
|
297
299
|
),
|
|
@@ -299,7 +301,8 @@ const camel = (str, firstCap = 0) =>
|
|
|
299
301
|
const snake = (str) =>
|
|
300
302
|
upper(
|
|
301
303
|
arrayJoin(
|
|
302
|
-
(
|
|
304
|
+
strSplit(
|
|
305
|
+
str && !NON_ALPHA.test(str[0]) ? str : ' ' + str,
|
|
303
306
|
NON_ALPHANUMERIC,
|
|
304
307
|
),
|
|
305
308
|
'_',
|
|
@@ -25,6 +25,10 @@ const CELL_IDS = CELL + IDS;
|
|
|
25
25
|
const VALUE = 'Value';
|
|
26
26
|
const VALUES = VALUE + 's';
|
|
27
27
|
const VALUE_IDS = VALUE + IDS;
|
|
28
|
+
const TRANSACTION = 'Transaction';
|
|
29
|
+
const PARTIAL = 'Partial';
|
|
30
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
31
|
+
str.split(separator, limit);
|
|
28
32
|
|
|
29
33
|
const promise = Promise;
|
|
30
34
|
const isFiniteNumber = isFinite;
|
|
@@ -121,7 +125,6 @@ const LISTENER_ = lower(LISTENER);
|
|
|
121
125
|
const OPTIONAL_COLON = '?: ';
|
|
122
126
|
const OR_UNDEFINED = ' | undefined';
|
|
123
127
|
const NON_NULLABLE = 'NonNullable';
|
|
124
|
-
const PARTIAL = 'Partial';
|
|
125
128
|
const PROPS = 'Props';
|
|
126
129
|
const PROVIDER = 'Provider';
|
|
127
130
|
const REGISTERS_A_LISTENER = `Registers a ${LISTENER_} that will be called`;
|
|
@@ -132,7 +135,6 @@ const SET = 'Set';
|
|
|
132
135
|
const SORTED_ARGS = ', descending?: boolean, offset?: number, limit?: number';
|
|
133
136
|
const SQUARE_BRACKETS = '[]';
|
|
134
137
|
const THE_STORE = 'the Store';
|
|
135
|
-
const TRANSACTION = 'Transaction';
|
|
136
138
|
const TRANSACTION_ = lower(TRANSACTION);
|
|
137
139
|
const TRANSACTION_DOC =
|
|
138
140
|
'Execute a ' + TRANSACTION_ + ' to make multiple mutations';
|
|
@@ -291,7 +293,7 @@ const flat = (array) => array.flat(1e3);
|
|
|
291
293
|
const camel = (str, firstCap = 0) =>
|
|
292
294
|
arrayJoin(
|
|
293
295
|
arrayMap(
|
|
294
|
-
str
|
|
296
|
+
strSplit(str, NON_ALPHANUMERIC),
|
|
295
297
|
(word, w) =>
|
|
296
298
|
(w > 0 || firstCap ? upper : lower)(slice(word, 0, 1)) + slice(word, 1),
|
|
297
299
|
),
|
|
@@ -299,7 +301,8 @@ const camel = (str, firstCap = 0) =>
|
|
|
299
301
|
const snake = (str) =>
|
|
300
302
|
upper(
|
|
301
303
|
arrayJoin(
|
|
302
|
-
(
|
|
304
|
+
strSplit(
|
|
305
|
+
str && !NON_ALPHA.test(str[0]) ? str : ' ' + str,
|
|
303
306
|
NON_ALPHANUMERIC,
|
|
304
307
|
),
|
|
305
308
|
'_',
|