@buenos-nachos/time-sync 0.5.2 → 0.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/package.json +4 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,85 @@
1
+ # @buenos-nachos/time-sync
2
+
3
+ ## 0.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - e401ae4: further updated which files are included in NPM packages
8
+
9
+ ## 0.5.2
10
+
11
+ ### Patch Changes
12
+
13
+ - a2a6843: Removed test files from NPM builds.
14
+
15
+ ## 0.5.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 5fdc201: Updated wording on `Snapshot.date` to be less misleading.
20
+
21
+ ## 0.5.0
22
+
23
+ ### Breaking Changes
24
+
25
+ - c3986e9: revamped all state management and APIs to be based on monotonic time
26
+ - c3986e9: Removed `registeredAt` and `intervalLastFulfilledAt` properties from `SubscriptionContext` and added monotonic `registeredAtMs`
27
+ - c3986e9: Added monotonic `lastUpdatedAt` property to `Snapshot` type.
28
+
29
+ ## 0.4.1
30
+
31
+ ### Patch Changes
32
+
33
+ - 5f37f1a: refactored class to remove private setSnapshost method
34
+
35
+ ## 0.4.0
36
+
37
+ ### Breaking Changes
38
+
39
+ - 663479e: Removed `isSubscribed` property from context and made all other context properties readonly.
40
+
41
+ ## 0.3.2
42
+
43
+ ### Patch Changes
44
+
45
+ - b8fbaf8: cleanup up comments and types for exported class, methods, and types.
46
+
47
+ ## 0.3.1
48
+
49
+ ### Patch Changes
50
+
51
+ - 5fce018: switched internal implementations to use Date.now more often to reduce memory usage
52
+
53
+ ## 0.3.0
54
+
55
+ ### Breaking Changes
56
+
57
+ - 122f6c1: Updated `SubscriptionContext.timeSync` type to be readonly and non-nullable, and renamed `SubscriptionContext.isLive` to `SubscriptionContext.isSubscribed`.
58
+
59
+ ## 0.2.0
60
+
61
+ ### Breaking Changes
62
+
63
+ - 2f527dd: Changed the default value of `allowDuplicateFunctionCalls` from `false` to `true`
64
+
65
+ ### Minor Changes
66
+
67
+ - 5f86fac: Added second parameter to `onUpdate` callback. This value is a value of type `SubscriptionContext` and provides information about the current subscription.
68
+
69
+ ## 0.1.2
70
+
71
+ ### Patch Changes
72
+
73
+ - 6189eb2: add README to root directory
74
+
75
+ ## 0.1.1
76
+
77
+ ### Patch Changes
78
+
79
+ - f18d71c: fix: specified module type as ESM
80
+
81
+ ## 0.1.0
82
+
83
+ ### Minor Changes
84
+
85
+ - 8be4b26: Initial release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buenos-nachos/time-sync",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": "Michael Smith <hello@nachos.dev> (https://www.nachos.dev)",
@@ -16,7 +16,9 @@
16
16
  "ui"
17
17
  ],
18
18
  "files": [
19
- "./src"
19
+ "./src",
20
+ "./dist",
21
+ "CHANGELOG.md"
20
22
  ],
21
23
  "sideEffects": false,
22
24
  "main": "./dist/index.js",