@imtbl/sdk 1.7.0 → 1.7.1

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$1 = (key) => {
4555
+ const getDetail = (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.7.0';
4587
+ const SDK_VERSION = '1.7.1';
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$1(Detail.RUNTIME_ID);
4630
+ const existingRuntimeId = getDetail(Detail.RUNTIME_ID);
4631
4631
  const body = {
4632
4632
  version: 1,
4633
4633
  data: {
@@ -4759,7 +4759,6 @@ 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));
4763
4762
 
4764
4763
  var Environment;
4765
4764
  (function (Environment) {
@@ -4786,7 +4785,7 @@ class APIError extends Error {
4786
4785
 
4787
4786
  /* eslint-disable implicit-arrow-linebreak */
4788
4787
  const defaultHeaders = {
4789
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.0',
4788
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.1',
4790
4789
  };
4791
4790
  /**
4792
4791
  * createAPIConfiguration to create a custom Configuration