teamplay 0.5.0-alpha.20 → 0.5.0-alpha.21

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.
@@ -1,6 +1,4 @@
1
- import { isCompatEnv } from './compatEnv.js';
2
- const DEFAULT_COMPAT_SUBSCRIPTION_GC_DELAY = 3000;
3
- const DEFAULT_SUBSCRIPTION_GC_DELAY = 0;
1
+ const DEFAULT_SUBSCRIPTION_GC_DELAY = 3000;
4
2
  let subscriptionGcDelay = getDefaultSubscriptionGcDelay();
5
3
  export function getSubscriptionGcDelay() {
6
4
  return subscriptionGcDelay;
@@ -17,9 +15,7 @@ export function setSubscriptionGcDelay(ms) {
17
15
  return subscriptionGcDelay;
18
16
  }
19
17
  export function getDefaultSubscriptionGcDelay() {
20
- return isCompatEnv()
21
- ? DEFAULT_COMPAT_SUBSCRIPTION_GC_DELAY
22
- : DEFAULT_SUBSCRIPTION_GC_DELAY;
18
+ return DEFAULT_SUBSCRIPTION_GC_DELAY;
23
19
  }
24
20
  export function __resetSubscriptionGcDelayForTests() {
25
21
  subscriptionGcDelay = getDefaultSubscriptionGcDelay();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamplay",
3
- "version": "0.5.0-alpha.20",
3
+ "version": "0.5.0-alpha.21",
4
4
  "description": "Full-stack signals ORM with multiplayer",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -134,5 +134,5 @@
134
134
  ]
135
135
  },
136
136
  "license": "MIT",
137
- "gitHead": "f1a50d980e3748d58b85e565c0dc40291a4806f0"
137
+ "gitHead": "9a68b281123d93db5af433fc3e76c6e086b09ac5"
138
138
  }