atom.io 0.32.0 → 0.32.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/data/dist/index.d.ts +8 -925
- package/data/dist/index.js +2 -2
- package/dist/{chunk-5F2V7S3B.js → chunk-HEEVASKG.js} +1 -1
- package/dist/{chunk-ECOMOMUN.js → chunk-KMBRCA5Q.js} +20 -19
- package/dist/{chunk-R3ZUK5EH.js → chunk-NDTM5IY3.js} +22 -11
- package/dist/{chunk-354XQWHH.js → chunk-QRPY4LSO.js} +5 -5
- package/dist/{chunk-GY2XQYZY.js → chunk-RXQWAO26.js} +50 -41
- package/dist/{chunk-Z2UJW4NQ.js → chunk-XN3EO2UT.js} +3 -3
- package/dist/{chunk-NF7FJKJD.js → chunk-YPME5OLO.js} +6 -4
- package/dist/index.d.ts +45 -516
- package/dist/index.js +1 -1
- package/eslint-plugin/dist/index.js +3 -3
- package/eslint-plugin/src/rules/explicit-state-types.ts +1 -0
- package/eslint-plugin/src/rules/synchronous-selector-dependencies.ts +1 -0
- package/eslint-plugin/src/walk.ts +1 -0
- package/internal/dist/index.d.ts +9 -657
- package/internal/dist/index.js +1 -1
- package/internal/src/join/join-internal.ts +1 -1
- package/internal/src/junction.ts +7 -4
- package/internal/src/lazy-map.ts +3 -1
- package/internal/src/set-state/emit-update.ts +3 -1
- package/internal/src/timeline/create-timeline.ts +2 -1
- package/internal/src/timeline/time-travel.ts +2 -1
- package/introspection/dist/index.d.ts +6 -922
- package/introspection/dist/index.js +2 -2
- package/introspection/src/auditor.ts +3 -3
- package/json/dist/index.d.ts +5 -899
- package/json/dist/index.js +1 -1
- package/package.json +10 -10
- package/react/dist/index.d.ts +3 -921
- package/react/dist/index.js +2 -2
- package/react-devtools/dist/index.d.ts +1 -26
- package/react-devtools/dist/index.js +28 -15
- package/react-devtools/src/Updates.tsx +12 -0
- package/react-devtools/src/json-editor/editors-by-type/utilities/cast-to-json.ts +2 -1
- package/realtime/dist/index.d.ts +8 -203
- package/realtime/dist/index.js +2 -2
- package/realtime/src/realtime-continuity.ts +5 -1
- package/realtime-client/dist/index.d.ts +21 -959
- package/realtime-client/dist/index.js +2 -2
- package/realtime-react/dist/index.d.ts +12 -166
- package/realtime-react/dist/index.js +4 -4
- package/realtime-server/dist/index.d.ts +27 -972
- package/realtime-server/dist/index.js +3 -3
- package/realtime-server/src/ipc-sockets/child-socket.ts +2 -0
- package/realtime-server/src/ipc-sockets/custom-socket.ts +6 -1
- package/realtime-server/src/realtime-server-stores/server-sync-store.ts +10 -2
- package/realtime-testing/dist/index.d.ts +3 -1091
- package/realtime-testing/dist/index.js +7 -7
- package/src/logger.ts +12 -4
- package/transceivers/set-rtx/dist/index.d.ts +6 -40
- package/transceivers/set-rtx/dist/index.js +1 -1
- package/transceivers/set-rtx/src/set-rtx.ts +4 -7
- package/web/dist/index.d.ts +1 -30
- package/react-devtools/src/json-editor/assets/Untitled-1.ai +2 -1436
- package/react-devtools/src/json-editor/assets/data-vis.ai +1 -1548
- package/react-devtools/src/json-editor/comp/json-editor-sketches.ai +5 -1449
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Auditor, Differ, Refinery, attachIntrospectionStates, diffArray, diffBoolean, diffNumber, diffObject, diffString, discoverType, isPlainObject, jsonRefinery, jsonTreeRefinery, prettyJson, primitiveRefinery, sprawl } from '../../dist/chunk-
|
|
2
|
-
import '../../dist/chunk-
|
|
1
|
+
export { Auditor, Differ, Refinery, attachIntrospectionStates, diffArray, diffBoolean, diffNumber, diffObject, diffString, discoverType, isPlainObject, jsonRefinery, jsonTreeRefinery, prettyJson, primitiveRefinery, sprawl } from '../../dist/chunk-KMBRCA5Q.js';
|
|
2
|
+
import '../../dist/chunk-RXQWAO26.js';
|
|
3
3
|
import '../../dist/chunk-XWL6SNVU.js';
|
|
@@ -23,6 +23,7 @@ export type ListResourcesParam = {
|
|
|
23
23
|
* @experimental
|
|
24
24
|
*/
|
|
25
25
|
export class Auditor {
|
|
26
|
+
public readonly store: Internal.Store
|
|
26
27
|
public auditorCreatedAt: number = performance.now()
|
|
27
28
|
public statesCreatedAt: Map<string, number> = new Map()
|
|
28
29
|
public readonly atomIndex: ReadonlySelectorToken<AtomTokenIndex>
|
|
@@ -37,9 +38,8 @@ export class Auditor {
|
|
|
37
38
|
/**
|
|
38
39
|
* @param {Store} store - The store to audit.
|
|
39
40
|
*/
|
|
40
|
-
public constructor(
|
|
41
|
-
|
|
42
|
-
) {
|
|
41
|
+
public constructor(store: Internal.Store = Internal.IMPLICIT.STORE) {
|
|
42
|
+
this.store = store
|
|
43
43
|
this.atomIndex = attachAtomIndex(this.store)
|
|
44
44
|
this.selectorIndex = attachSelectorIndex(this.store)
|
|
45
45
|
this.unsubscribeFromAtomCreation = this.store.on.atomCreation.subscribe(
|