@linktr.ee/create-link-app 1.1.2 → 1.1.4

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.
@@ -37,9 +37,13 @@ async function packProject() {
37
37
  });
38
38
  archive.on('warning', (err) => {
39
39
  if (err?.code === 'ENOENT') {
40
- // package, lock files and tsconfig may or may not exist
40
+ // package, lock files, tsconfig, and schema files may or may not exist
41
41
  const fileName = path_1.default.basename(err.path);
42
- if (fileName === 'package.json' || fileName === 'package-lock.json' || fileName === 'yarn.lock' || fileName === 'tsconfig.json') {
42
+ if (fileName === 'package.json' ||
43
+ fileName === 'package-lock.json' ||
44
+ fileName === 'yarn.lock' ||
45
+ fileName === 'tsconfig.json' ||
46
+ fileName.endsWith('.jtd.json')) {
43
47
  return;
44
48
  }
45
49
  }
@@ -10,7 +10,7 @@ const root = document.getElementById('root');
10
10
  // First set up event handler for extension data
11
11
  window.addEventListener('message', function handler(event) {
12
12
  if (!__ALLOW_ANY_ORIGIN__) {
13
- if (!/^https:\/\/(qa\.)?linktr.ee$/.test(event.origin))
13
+ if (!/^https:\/\/(qa\.)?linktr.ee$|^https:\/\/linktree\.local$/.test(event.origin))
14
14
  return;
15
15
  }
16
16
  if (event.data?.type !== 'extension-data')
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.2",
2
+ "version": "1.1.4",
3
3
  "commands": {
4
4
  "build": {
5
5
  "id": "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linktr.ee/create-link-app",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Create a Link App on Linktr.ee.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Linktree",