@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/x.js CHANGED
@@ -104,7 +104,7 @@ const storeDetail = (key, value) => {
104
104
  };
105
105
  setItem(Store.RUNTIME, RUNTIME_DETAILS);
106
106
  };
107
- const getDetail = (key) => {
107
+ const getDetail$1 = (key) => {
108
108
  // Handle the scenario where detail is a falsy value
109
109
  if (RUNTIME_DETAILS[key] === undefined) {
110
110
  return undefined;
@@ -136,7 +136,7 @@ const flattenProperties = (properties) => {
136
136
  };
137
137
 
138
138
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
139
- const SDK_VERSION = '1.6.0';
139
+ const SDK_VERSION = '1.7.0';
140
140
  const getReferrer = () => {
141
141
  if (isNode()) {
142
142
  return '';
@@ -179,7 +179,7 @@ const initialise = async () => {
179
179
  initialised = true;
180
180
  try {
181
181
  const runtimeDetails = flattenProperties(getRuntimeDetails());
182
- const existingRuntimeId = getDetail(Detail.RUNTIME_ID);
182
+ const existingRuntimeId = getDetail$1(Detail.RUNTIME_ID);
183
183
  const body = {
184
184
  version: 1,
185
185
  data: {
@@ -311,6 +311,7 @@ const setPublishableApiKeyFn = (publishableApiKey) => {
311
311
  storeDetail(Detail.PUBLISHABLE_API_KEY, publishableApiKey);
312
312
  };
313
313
  errorBoundary(getGlobalisedValue('setPublishableApiKey', setPublishableApiKeyFn));
314
+ errorBoundary(getGlobalisedValue('getDetail', getDetail$1));
314
315
 
315
316
  var Environment;
316
317
  (function (Environment) {
@@ -327,7 +328,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
327
328
  chainID,
328
329
  coreContractAddress,
329
330
  registrationContractAddress,
330
- sdkVersion: 'ts-immutable-sdk-1.6.0',
331
+ sdkVersion: 'ts-immutable-sdk-1.7.0',
331
332
  });
332
333
  /**
333
334
  * Sets `sdkVersion` at the time of build
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "1.6.0",
4
+ "version": "1.7.0",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",