@squidcloud/cli 1.0.345 → 1.0.347

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1703,8 +1703,9 @@ module.exports = require("os");
1703
1703
  "use strict";
1704
1704
 
1705
1705
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1706
+ exports.KOTLIN_CONTROLLERS = void 0;
1706
1707
  exports.getApplicationUrl = getApplicationUrl;
1707
- const kotlinControllers = [
1708
+ exports.KOTLIN_CONTROLLERS = [
1708
1709
  'aiData',
1709
1710
  'api',
1710
1711
  'application',
@@ -1712,7 +1713,6 @@ const kotlinControllers = [
1712
1713
  'auth',
1713
1714
  'backend-function',
1714
1715
  'connector',
1715
- 'extraction',
1716
1716
  'integration',
1717
1717
  'internal-storage',
1718
1718
  'internalCodeExecutor',
@@ -1730,6 +1730,7 @@ const kotlinControllers = [
1730
1730
  'webhooks',
1731
1731
  'ws',
1732
1732
  'personalStorage',
1733
+ 'internal-extraction',
1733
1734
  ];
1734
1735
  function getApplicationUrl(regionPrefix, appId, path) {
1735
1736
  const baseUrl = 'https://squid.cloud';
@@ -1738,7 +1739,7 @@ function getApplicationUrl(regionPrefix, appId, path) {
1738
1739
  const controller = path.replace(/^\//g, '').split('/')[0] || '';
1739
1740
  if (isLocal(regionPrefix)) {
1740
1741
  parsedBaseUrl.protocol = 'http';
1741
- parsedBaseUrl.port = kotlinControllers.includes(controller) ? '8001' : '8000';
1742
+ parsedBaseUrl.port = exports.KOTLIN_CONTROLLERS.includes(controller) ? '8001' : '8000';
1742
1743
  if (isAndroid(regionPrefix)) {
1743
1744
  parsedBaseUrl.host = '10.0.2.2';
1744
1745
  }
@@ -22767,7 +22768,7 @@ function exitWithError(...messages) {
22767
22768
  /***/ ((module) => {
22768
22769
 
22769
22770
  "use strict";
22770
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.345","description":"The Squid CLI","main":"dist/index.js","scripts":{"start":"node dist/index.js","start-ts":"ts-node -r tsconfig-paths/register src/index.ts","prebuild":"rimraf dist","build":"webpack --mode=production","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production","lint":"eslint","link":"npm run build && chmod 755 dist/index.js && npm link","watch":"webpack --watch","deploy":"npm run build && npm pack --silent | xargs -I {} mv {} package.tgz && npm install -g package.tgz && rm -rf package.tgz","publish:public":"npm run build && npm publish --access public"},"files":["dist/**/*"],"bin":{"squid":"dist/index.js"},"keywords":[],"author":"","license":"ISC","engines":{"node":">=18.0.0"},"dependencies":{"@squidcloud/local-backend":"^1.0.345","copy-webpack-plugin":"^12.0.2","decompress":"^4.2.1","nodemon":"^3.1.3","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.96.0","zip-webpack-plugin":"^4.0.1"},"devDependencies":{"@types/decompress":"^4.2.7","@types/node":"^20.16.10","terminal-link":"^3.0.0"}}');
22771
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.347","description":"The Squid CLI","main":"dist/index.js","scripts":{"start":"node dist/index.js","start-ts":"ts-node -r tsconfig-paths/register src/index.ts","prebuild":"rimraf dist","build":"webpack --mode=production","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production","lint":"eslint","link":"npm run build && chmod 755 dist/index.js && npm link","watch":"webpack --watch","deploy":"npm run build && npm pack --silent | xargs -I {} mv {} package.tgz && npm install -g package.tgz && rm -rf package.tgz","publish:public":"npm run build && npm publish --access public"},"files":["dist/**/*"],"bin":{"squid":"dist/index.js"},"keywords":[],"author":"","license":"ISC","engines":{"node":">=18.0.0"},"dependencies":{"@squidcloud/local-backend":"^1.0.347","copy-webpack-plugin":"^12.0.2","decompress":"^4.2.1","nodemon":"^3.1.3","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.96.0","zip-webpack-plugin":"^4.0.1"},"devDependencies":{"@types/decompress":"^4.2.7","@types/node":"^20.16.10","terminal-link":"^3.0.0"}}');
22771
22772
 
22772
22773
  /***/ }),
22773
22774
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/cli",
3
- "version": "1.0.345",
3
+ "version": "1.0.347",
4
4
  "description": "The Squid CLI",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "node": ">=18.0.0"
30
30
  },
31
31
  "dependencies": {
32
- "@squidcloud/local-backend": "^1.0.345",
32
+ "@squidcloud/local-backend": "^1.0.347",
33
33
  "copy-webpack-plugin": "^12.0.2",
34
34
  "decompress": "^4.2.1",
35
35
  "nodemon": "^3.1.3",