bruce-models 5.3.8 → 5.3.9

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.
@@ -1459,7 +1459,7 @@
1459
1459
  this.bruce[key] = new exports.BruceApi.Api({
1460
1460
  accountId,
1461
1461
  env,
1462
- loadConfig: loadConfig != null ? true : loadConfig,
1462
+ loadConfig: loadConfig == null ? true : loadConfig,
1463
1463
  loadWebSocket: loadWebSocket,
1464
1464
  guardian: this.GetGuardianApi({
1465
1465
  env
@@ -14038,7 +14038,8 @@
14038
14038
  url: `ui.plugin/${pluginId}/file/index.jsc`,
14039
14039
  urlParams: {
14040
14040
  "version": String(cacheKey)
14041
- }
14041
+ },
14042
+ cdn: true
14042
14043
  })
14043
14044
  };
14044
14045
  }
@@ -14124,6 +14125,12 @@
14124
14125
  function GetRunFunction(params) {
14125
14126
  return __awaiter(this, void 0, void 0, function* () {
14126
14127
  let { containerId, container, pluginParams, pluginId, plugin, api, req } = params;
14128
+ if (!api) {
14129
+ api = exports.ENVIRONMENT.Api().GetBruceApi({
14130
+ loadConfig: true
14131
+ });
14132
+ }
14133
+ yield api.Loading;
14127
14134
  if (!containerId && container) {
14128
14135
  containerId = container.id;
14129
14136
  if (!containerId) {
@@ -14449,7 +14456,7 @@
14449
14456
  })(exports.DataSource || (exports.DataSource = {}));
14450
14457
 
14451
14458
  // This is updated with the package.json version on build.
14452
- const VERSION = "5.3.8";
14459
+ const VERSION = "5.3.9";
14453
14460
 
14454
14461
  exports.VERSION = VERSION;
14455
14462
  exports.AbstractApi = AbstractApi;