ywana-core8 0.0.282 → 0.0.283

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.umd.js CHANGED
@@ -4441,6 +4441,10 @@
4441
4441
  }));
4442
4442
  };
4443
4443
 
4444
+ /**
4445
+ * Collection Page
4446
+ */
4447
+
4444
4448
  function _catch$1(body, recover) {
4445
4449
  try {
4446
4450
  var result = body();
@@ -4454,12 +4458,11 @@
4454
4458
 
4455
4459
  return result;
4456
4460
  }
4457
-
4458
- var http = HTTPClient(window.API || process.env.REACT_APP_API, Session);
4459
4461
  /**
4460
- * Collection Page
4462
+ * Collection List
4461
4463
  */
4462
4464
 
4465
+
4463
4466
  var CollectionPage = function CollectionPage(props) {
4464
4467
  var reload = function reload() {
4465
4468
  try {
@@ -4569,9 +4572,6 @@
4569
4572
  delay: delay
4570
4573
  })));
4571
4574
  };
4572
- /**
4573
- * Collection List
4574
- */
4575
4575
 
4576
4576
  var CollectionList = function CollectionList(props) {
4577
4577
  var select = function select(id) {
@@ -4821,7 +4821,7 @@
4821
4821
  */
4822
4822
 
4823
4823
 
4824
- var CollectionContext = function CollectionContext(url, field) {
4824
+ var CollectionContext = function CollectionContext(url, field, host) {
4825
4825
  var API = CollectionAPI(url);
4826
4826
  return {
4827
4827
  all: [],
@@ -4944,6 +4944,7 @@
4944
4944
  */
4945
4945
 
4946
4946
  var CollectionAPI = function CollectionAPI(url) {
4947
+ var http = HTTPClient(host || window.API || process.env.REACT_APP_API, Session);
4947
4948
  return {
4948
4949
  all: function all(filters) {
4949
4950
  var queryParams = "?";