@buenos-nachos/time-sync 0.5.2 → 0.5.4

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