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