@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/blockchain_data.js +5 -4
- package/dist/browser/checkout/sdk.js +7 -7
- package/dist/browser/checkout/widgets.js +62 -62
- package/dist/checkout.d.ts +2 -0
- package/dist/checkout.js +18 -9
- package/dist/config.js +4 -3
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +363 -358
- package/dist/index.d.ts +2 -0
- package/dist/index.js +363 -358
- package/dist/orderbook.js +4 -3
- package/dist/passport.d.ts +1 -0
- package/dist/passport.js +386 -389
- package/dist/x.js +5 -4
- package/package.json +1 -1
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.
|
|
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) {
|
package/dist/passport.d.ts
CHANGED
|
@@ -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
|