ywana-core8 0.0.873 → 0.0.875
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.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +2 -1
package/dist/index.cjs
CHANGED
@@ -7134,7 +7134,7 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
|
|
7134
7134
|
try {
|
7135
7135
|
var _this = this;
|
7136
7136
|
var _temp4 = _catch$4(function () {
|
7137
|
-
return Promise.resolve(API.all(null, page)).then(function (data) {
|
7137
|
+
return Promise.resolve(API.all(null, null, page)).then(function (data) {
|
7138
7138
|
_this.all = field ? data[field] : data;
|
7139
7139
|
});
|
7140
7140
|
}, function (error) {
|
@@ -7203,7 +7203,9 @@ var CollectionContext$1 = function CollectionContext(url, field, host, page, fet
|
|
7203
7203
|
});
|
7204
7204
|
});
|
7205
7205
|
}, function (error) {
|
7206
|
-
|
7206
|
+
return Promise.resolve(_this4.load()).then(function () {
|
7207
|
+
console.log(error);
|
7208
|
+
});
|
7207
7209
|
});
|
7208
7210
|
return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);
|
7209
7211
|
} catch (e) {
|