@imtbl/sdk 1.6.0 → 1.7.0

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/orderbook.js CHANGED
@@ -99,7 +99,7 @@ const storeDetail = (key, value) => {
99
99
  };
100
100
  setItem(Store.RUNTIME, RUNTIME_DETAILS);
101
101
  };
102
- const getDetail = (key) => {
102
+ const getDetail$1 = (key) => {
103
103
  // Handle the scenario where detail is a falsy value
104
104
  if (RUNTIME_DETAILS[key] === undefined) {
105
105
  return undefined;
@@ -131,7 +131,7 @@ const flattenProperties = (properties) => {
131
131
  };
132
132
 
133
133
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
134
- const SDK_VERSION = '1.6.0';
134
+ const SDK_VERSION = '1.7.0';
135
135
  const getReferrer = () => {
136
136
  if (isNode()) {
137
137
  return '';
@@ -174,7 +174,7 @@ const initialise = async () => {
174
174
  initialised = true;
175
175
  try {
176
176
  const runtimeDetails = flattenProperties(getRuntimeDetails());
177
- const existingRuntimeId = getDetail(Detail.RUNTIME_ID);
177
+ const existingRuntimeId = getDetail$1(Detail.RUNTIME_ID);
178
178
  const body = {
179
179
  version: 1,
180
180
  data: {
@@ -306,6 +306,7 @@ const setPublishableApiKeyFn = (publishableApiKey) => {
306
306
  storeDetail(Detail.PUBLISHABLE_API_KEY, publishableApiKey);
307
307
  };
308
308
  errorBoundary(getGlobalisedValue('setPublishableApiKey', setPublishableApiKeyFn));
309
+ errorBoundary(getGlobalisedValue('getDetail', getDetail$1));
309
310
 
310
311
  var Environment;
311
312
  (function (Environment) {
@@ -21087,6 +21087,7 @@ declare class Passport {
21087
21087
  private readonly multiRollupApiClients;
21088
21088
  private readonly passportImxProviderFactory;
21089
21089
  private readonly passportEventEmitter;
21090
+ private readonly guardianClient;
21090
21091
  constructor(passportModuleConfiguration: PassportModuleConfiguration);
21091
21092
  /**
21092
21093
  * @deprecated The method `login` with an argument of `{ useCachedSession: true }` should be used in conjunction with