@imtbl/sdk 1.35.1-alpha → 1.35.2-alpha.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.
package/dist/passport.js CHANGED
@@ -11459,7 +11459,7 @@ class MultiRollupApiClients {
11459
11459
  }
11460
11460
 
11461
11461
  // eslint-disable-next-line @typescript-eslint/naming-convention
11462
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.35.1-alpha' };
11462
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.35.2-alpha.1' };
11463
11463
  const createConfig$1 = ({ basePath, headers, }) => {
11464
11464
  if (!basePath.trim()) {
11465
11465
  throw Error('basePath can not be empty');
@@ -11638,7 +11638,7 @@ const flattenProperties = (properties) => {
11638
11638
  };
11639
11639
 
11640
11640
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
11641
- const SDK_VERSION = '1.35.1-alpha';
11641
+ const SDK_VERSION = '1.35.2-alpha.1';
11642
11642
  const getFrameParentDomain = () => {
11643
11643
  if (isNode()) {
11644
11644
  return '';
@@ -12028,7 +12028,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
12028
12028
  /* eslint-disable @typescript-eslint/naming-convention */
12029
12029
  class ApiConfiguration extends index$2.Configuration {
12030
12030
  }
12031
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.35.1-alpha' };
12031
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.35.2-alpha.1' };
12032
12032
  /**
12033
12033
  * @dev use createImmutableXConfiguration instead
12034
12034
  */
@@ -12067,7 +12067,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
12067
12067
  chainID,
12068
12068
  coreContractAddress,
12069
12069
  registrationContractAddress,
12070
- sdkVersion: 'ts-immutable-sdk-1.35.1-alpha',
12070
+ sdkVersion: 'ts-immutable-sdk-1.35.2-alpha.1',
12071
12071
  baseConfig,
12072
12072
  });
12073
12073
  const production = ({ baseConfig }) => createImmutableXConfiguration({
@@ -21211,6 +21211,7 @@ const getOverlay = (contents) => `
21211
21211
  height: 100% !important;
21212
21212
  background: rgba(13, 13, 13, 0.48) !important;
21213
21213
  backdrop-filter: blur(28px) !important;
21214
+ -webkit-backdrop-filter: blur(28px) !important;
21214
21215
  display: flex !important;
21215
21216
  flex-direction: column !important;
21216
21217
  justify-content: center !important;
@@ -21239,6 +21240,19 @@ const getOverlay = (contents) => `
21239
21240
  </div>
21240
21241
  </div>
21241
21242
  `;
21243
+ function addLink({ id, href, rel, crossOrigin, }) {
21244
+ const fullId = `${PASSPORT_OVERLAY_ID}-${id}`;
21245
+ if (!document.getElementById(fullId)) {
21246
+ const link = document.createElement('link');
21247
+ link.id = fullId;
21248
+ link.href = href;
21249
+ if (rel)
21250
+ link.rel = rel;
21251
+ if (crossOrigin)
21252
+ link.crossOrigin = crossOrigin;
21253
+ document.head.appendChild(link);
21254
+ }
21255
+ }
21242
21256
  const getBlockedOverlay = () => getOverlay(getBlockedContents());
21243
21257
  const getGenericOverlay = () => getOverlay(getGenericContents());
21244
21258
 
@@ -21280,6 +21294,9 @@ class Overlay {
21280
21294
  }
21281
21295
  appendOverlay() {
21282
21296
  if (!this.overlay) {
21297
+ addLink({ id: 'link-googleapis', href: 'https://fonts.googleapis.com' });
21298
+ addLink({ id: 'link-gstatic', href: 'https://fonts.gstatic.com', crossOrigin: 'anonymous' });
21299
+ addLink({ id: 'link-roboto', href: 'https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap', rel: 'stylesheet' });
21283
21300
  const overlay = document.createElement('div');
21284
21301
  overlay.innerHTML = this.isBlockedOverlay ? getBlockedOverlay() : getGenericOverlay();
21285
21302
  document.body.insertAdjacentElement('beforeend', overlay);
package/dist/webhook.js CHANGED
@@ -129,7 +129,7 @@ const flattenProperties = (properties) => {
129
129
  };
130
130
 
131
131
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
132
- const SDK_VERSION = '1.35.1-alpha';
132
+ const SDK_VERSION = '1.35.2-alpha.1';
133
133
  const getFrameParentDomain = () => {
134
134
  if (isNode()) {
135
135
  return '';
@@ -357,7 +357,7 @@ const init = async (body, env, handlers) => {
357
357
  return reject(err);
358
358
  }
359
359
  // check for topic arn prefix
360
- if (!message.TopicArn.startsWith(allowedTopicArnPrefix[env])) {
360
+ if (!msg.TopicArn.startsWith(allowedTopicArnPrefix[env])) {
361
361
  throw new Error('Invalid topic arn');
362
362
  }
363
363
  if (message?.Type === 'SubscriptionConfirmation') {
package/dist/x.js CHANGED
@@ -9003,7 +9003,7 @@ const flattenProperties = (properties) => {
9003
9003
  };
9004
9004
 
9005
9005
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
9006
- const SDK_VERSION = '1.35.1-alpha';
9006
+ const SDK_VERSION = '1.35.2-alpha.1';
9007
9007
  const getFrameParentDomain = () => {
9008
9008
  if (isNode()) {
9009
9009
  return '';
@@ -9269,7 +9269,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
9269
9269
  /* eslint-disable @typescript-eslint/naming-convention */
9270
9270
  class ApiConfiguration extends index$2.Configuration {
9271
9271
  }
9272
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.35.1-alpha' };
9272
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.35.2-alpha.1' };
9273
9273
  /**
9274
9274
  * @dev use createImmutableXConfiguration instead
9275
9275
  */
@@ -9308,7 +9308,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9308
9308
  chainID,
9309
9309
  coreContractAddress,
9310
9310
  registrationContractAddress,
9311
- sdkVersion: 'ts-immutable-sdk-1.35.1-alpha',
9311
+ sdkVersion: 'ts-immutable-sdk-1.35.2-alpha.1',
9312
9312
  baseConfig,
9313
9313
  });
9314
9314
  const production = ({ baseConfig }) => createImmutableXConfiguration({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "1.35.1-alpha",
4
+ "version": "1.35.2-alpha.1",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
@@ -140,8 +140,7 @@
140
140
  "main": "./dist/index.cjs",
141
141
  "module": "./dist/index.js",
142
142
  "optionalDependencies": {
143
- "pg": "^8.11.5",
144
- "prisma": "^5.13.0"
143
+ "pg": "^8.11.5"
145
144
  },
146
145
  "overrides": {
147
146
  "@openzeppelin/contracts": "3.4.2-solc-0.7"