@imtbl/sdk 1.6.1 → 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.
@@ -4552,7 +4552,7 @@ const storeDetail = (key, value) => {
4552
4552
  };
4553
4553
  setItem(Store.RUNTIME, RUNTIME_DETAILS);
4554
4554
  };
4555
- const getDetail = (key) => {
4555
+ const getDetail$1 = (key) => {
4556
4556
  // Handle the scenario where detail is a falsy value
4557
4557
  if (RUNTIME_DETAILS[key] === undefined) {
4558
4558
  return undefined;
@@ -4584,7 +4584,7 @@ const flattenProperties = (properties) => {
4584
4584
  };
4585
4585
 
4586
4586
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
4587
- const SDK_VERSION = '1.6.1';
4587
+ const SDK_VERSION = '1.7.0';
4588
4588
  const getReferrer = () => {
4589
4589
  if (isNode()) {
4590
4590
  return '';
@@ -4627,7 +4627,7 @@ const initialise = async () => {
4627
4627
  initialised = true;
4628
4628
  try {
4629
4629
  const runtimeDetails = flattenProperties(getRuntimeDetails());
4630
- const existingRuntimeId = getDetail(Detail.RUNTIME_ID);
4630
+ const existingRuntimeId = getDetail$1(Detail.RUNTIME_ID);
4631
4631
  const body = {
4632
4632
  version: 1,
4633
4633
  data: {
@@ -4759,6 +4759,7 @@ const setPublishableApiKeyFn = (publishableApiKey) => {
4759
4759
  storeDetail(Detail.PUBLISHABLE_API_KEY, publishableApiKey);
4760
4760
  };
4761
4761
  errorBoundary(getGlobalisedValue('setPublishableApiKey', setPublishableApiKeyFn));
4762
+ errorBoundary(getGlobalisedValue('getDetail', getDetail$1));
4762
4763
 
4763
4764
  var Environment;
4764
4765
  (function (Environment) {
@@ -4785,7 +4786,7 @@ class APIError extends Error {
4785
4786
 
4786
4787
  /* eslint-disable implicit-arrow-linebreak */
4787
4788
  const defaultHeaders = {
4788
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.6.1',
4789
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.0',
4789
4790
  };
4790
4791
  /**
4791
4792
  * createAPIConfiguration to create a custom Configuration