as-model 0.2.6 → 0.2.8
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/dist/index.js +2 -1
- package/esm/store/instance.js +1 -1
- package/esm/updater/token.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -336,6 +336,7 @@ function createToken() {
|
|
|
336
336
|
}
|
|
337
337
|
return token.value !== value;
|
|
338
338
|
},
|
|
339
|
+
tokenIdentifier,
|
|
339
340
|
value
|
|
340
341
|
};
|
|
341
342
|
}
|
|
@@ -1061,7 +1062,7 @@ function extractInstance(updater, wrapper, cache, opts) {
|
|
|
1061
1062
|
});
|
|
1062
1063
|
}
|
|
1063
1064
|
var proxiedInstance = generateInstance();
|
|
1064
|
-
if (wrapper == null
|
|
1065
|
+
if (wrapper == null) {
|
|
1065
1066
|
return proxiedInstance;
|
|
1066
1067
|
}
|
|
1067
1068
|
if (wrapper === defaultSelector) {
|
package/esm/store/instance.js
CHANGED
|
@@ -164,7 +164,7 @@ function extractInstance(updater, wrapper, cache, opts) {
|
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
const proxiedInstance = generateInstance();
|
|
167
|
-
if (wrapper == null
|
|
167
|
+
if (wrapper == null) {
|
|
168
168
|
return proxiedInstance;
|
|
169
169
|
}
|
|
170
170
|
if (wrapper === defaultSelector) {
|
package/esm/updater/token.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isToken } from "../validation";
|
|
2
|
+
import { tokenIdentifier } from "../identifiers";
|
|
2
3
|
function createToken() {
|
|
3
4
|
const value = {};
|
|
4
5
|
return {
|
|
@@ -8,6 +9,7 @@ function createToken() {
|
|
|
8
9
|
}
|
|
9
10
|
return token.value !== value;
|
|
10
11
|
},
|
|
12
|
+
tokenIdentifier,
|
|
11
13
|
value
|
|
12
14
|
};
|
|
13
15
|
}
|