@webkrafters/eagleeye 1.0.0-beta.2 → 1.0.0-beta.3

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/README.md CHANGED
@@ -86,7 +86,7 @@ const useStream = context.stream;
86
86
  // for more on selectorMap - https://eagleeye.js.org/concepts/selector-map/
87
87
  const channel1 = useStream(SelectorMap?);
88
88
  const channel2 = useStream(SelectorMap?);
89
- // check whether a channel still defunct or still active
89
+ // check whether a channel is still active or defunt
90
90
  if( channel1.closed ) { ... };
91
91
  // access the current data value monitored by this channel
92
92
  console.log( 'data', channel1.data );
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { Changes as BaseChanges, Immutable as AutoImmutable, Value } from '@webkrafters/auto-immutable';
2
2
  import { FULL_STATE_SELECTOR } from './constants';
3
3
  import { createEagleEye, Channel } from './main';
4
- export type { BaseType, ClearCommand, KeyType, MoveCommand, PushCommand, ReplaceCommand, SetCommand, SpliceCommand, TagCommand, TagType, UpdateStats, UpdatePayload, UpdatePayloadArray } from '@webkrafters/auto-immutable';
4
+ export type { BaseType, ClearCommand, Immutable as AutoImmutable, KeyType, MoveCommand, PushCommand, ReplaceCommand, SetCommand, SpliceCommand, TagCommand, TagType, UpdateStats, UpdatePayload, UpdatePayloadArray } from '@webkrafters/auto-immutable';
5
5
  export type State = Value;
6
6
  export type ShutdownMonitor = (reason: ShutdownReason) => void;
7
7
  export type Listener = <T extends State>(changes: Changes<T>, changedPathsTokens: Readonly<Array<Array<string>>>, netChanges: Readonly<T>, mayHaveChangesAt: (pathTokens: Array<string>) => boolean) => void;
package/package.json CHANGED
@@ -97,7 +97,7 @@
97
97
  "test:watch": "eslint --fix && jest --updateSnapshot --watchAll"
98
98
  },
99
99
  "types": "dist/index.d.ts",
100
- "version": "1.0.0-beta.2",
100
+ "version": "1.0.0-beta.3",
101
101
  "dependencies": {
102
102
  "@webkrafters/auto-immutable": "^2.0.5"
103
103
  }