mobx-keystone-asyncstore
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -105,2 +105,5 @@ "use strict"; | ||
} | ||
get values() { | ||
return [...this.containers.values()]; | ||
} | ||
onInit() { | ||
@@ -177,3 +180,3 @@ const dispose = mobx_1.reaction(() => !this.isPending && this.fetchQueue.length > 0, (shouldFetch) => __awaiter(this, void 0, void 0, function* () { | ||
} | ||
return Object.values(this.containers).map((c) => c); | ||
return this.values; | ||
} | ||
@@ -194,2 +197,5 @@ }; | ||
__decorate([ | ||
mobx_1.computed | ||
], BaseAsyncStore.prototype, "values", null); | ||
__decorate([ | ||
mobx_keystone_1.modelFlow | ||
@@ -196,0 +202,0 @@ ], BaseAsyncStore.prototype, "fetchOne", void 0); |
{ | ||
"name": "mobx-keystone-asyncstore", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"author": "Marcus Ekwall <marcus.ekwall@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35561
549