@buenos-nachos/time-sync 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @buenos-nachos/time-sync
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5fdc201: Updated wording on `Snapshot.date` to be less misleading.
8
+
3
9
  ## 0.5.0
4
10
 
5
11
  ### Breaking Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buenos-nachos/time-sync",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": "Michael Smith <hello@nachos.dev> (https://www.nachos.dev)",
package/src/TimeSync.ts CHANGED
@@ -113,7 +113,9 @@ export interface SubscriptionInitOptions {
113
113
  */
114
114
  export interface Snapshot {
115
115
  /**
116
- * The date that was last dispatched to all subscribers.
116
+ * The date that TimeSync last processed. This will always match the date that
117
+ * was last dispatched to all subscribers, but if no updates have been issued,
118
+ * this value will match the date used to instantiate the TimeSync.
117
119
  */
118
120
  readonly date: ReadonlyDate;
119
121