shinkansen-relay 1.0.324 → 1.0.326
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 +1 -1
- package/src/relay/initiate/index.mjs +4 -0
- package/tsconfig.json +1 -1
package/package.json
CHANGED
|
@@ -27,8 +27,12 @@ export default function initiate ({ now = {}, was = {} } = {}) {
|
|
|
27
27
|
|
|
28
28
|
const HAS_ALPHA = !!alpha
|
|
29
29
|
const HAS_OMEGA = !!omega
|
|
30
|
+
|
|
31
|
+
log(now, HAS_ALPHA, HAS_OMEGA)
|
|
32
|
+
|
|
30
33
|
const HAS_ALPHA_CHANGED = Reflect.get(was, ALPHA) !== alpha
|
|
31
34
|
const HAS_OMEGA_CHANGED = Reflect.get(was, OMEGA) !== omega
|
|
35
|
+
|
|
32
36
|
const WAS_ALPHA_DEFINED = Reflect.has(was, ALPHA)
|
|
33
37
|
const WAS_OMEGA_DEFINED = Reflect.has(was, OMEGA)
|
|
34
38
|
|