bruce-models 5.4.1 → 5.4.3

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.
@@ -745,7 +745,8 @@
745
745
  url += ".host/";
746
746
  break;
747
747
  default:
748
- throw ("Specified Environment is not valid. SuppliedEnv=" + env);
748
+ console.warn("Supplied environment does not match default options. You will need to set the base url manually. SuppliedEnv=" + env);
749
+ return;
749
750
  }
750
751
  this.baseUrl = url;
751
752
  }
@@ -851,6 +852,9 @@
851
852
  this.loadCancelled = false;
852
853
  // Indicates if loading the regional configuration was already called.
853
854
  this.configLoadAttempted = false;
855
+ // Indicates if the init process has finished loading.
856
+ // While this is not resolved requests will be in a pending state.
857
+ this.loadProm = Promise.resolve();
854
858
  let { accountId, env, guardian, loadRegionalBaseUrl, loadConfig, loadWebSocket, dummy } = params;
855
859
  this.accountId = accountId;
856
860
  this.env = env !== null && env !== void 0 ? env : exports.Api.EEnv.PROD;
@@ -14460,7 +14464,7 @@
14460
14464
  })(exports.DataSource || (exports.DataSource = {}));
14461
14465
 
14462
14466
  // This is updated with the package.json version on build.
14463
- const VERSION = "5.4.1";
14467
+ const VERSION = "5.4.3";
14464
14468
 
14465
14469
  exports.VERSION = VERSION;
14466
14470
  exports.AbstractApi = AbstractApi;