bruce-models 2.2.6 → 2.2.8

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.
@@ -1017,11 +1017,6 @@
1017
1017
  MessageBroker.WebSocketBroker = WebSocketBroker;
1018
1018
  })(exports.MessageBroker || (exports.MessageBroker = {}));
1019
1019
 
1020
- /**
1021
- * This is the request handler for Cam/Idm Api,
1022
- * it should be passed to any method that wants to communicate with this particular api.
1023
- */
1024
- var GuardianApi;
1025
1020
  (function (GuardianApi) {
1026
1021
  class Api$$1 extends AbstractApi {
1027
1022
  constructor(params) {
@@ -1084,7 +1079,7 @@
1084
1079
  }
1085
1080
  }
1086
1081
  GuardianApi.Api = Api$$1;
1087
- })(GuardianApi || (GuardianApi = {}));
1082
+ })(exports.GuardianApi || (exports.GuardianApi = {}));
1088
1083
 
1089
1084
  (function (HostingLocation) {
1090
1085
  /**
@@ -1227,7 +1222,7 @@
1227
1222
  loadConfig = true;
1228
1223
  }
1229
1224
  if (!guardian && loadConfig) {
1230
- guardian = new GuardianApi.Api({
1225
+ guardian = new exports.GuardianApi.Api({
1231
1226
  env: this.env
1232
1227
  });
1233
1228
  }
@@ -1754,10 +1749,10 @@
1754
1749
  env = env ? env : this.env;
1755
1750
  const key = `${env}`;
1756
1751
  if (!this.guardian[key]) {
1757
- this.guardian[key] = new GuardianApi.Api({
1752
+ this.guardian[key] = new exports.GuardianApi.Api({
1758
1753
  env
1759
1754
  });
1760
- this.cam[key].SetSessionId(this.sessionId);
1755
+ this.guardian[key].SetSessionId(this.sessionId);
1761
1756
  }
1762
1757
  return this.guardian[key];
1763
1758
  }