@squidcloud/cli 1.0.432 → 1.0.434
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/index.js
CHANGED
|
@@ -414,7 +414,7 @@ function cliui(opts, _mixin) {
|
|
|
414
414
|
|
|
415
415
|
// Bootstrap cliui with CommonJS dependencies:
|
|
416
416
|
const stringWidth = __webpack_require__(4813);
|
|
417
|
-
const stripAnsi = __webpack_require__(
|
|
417
|
+
const stripAnsi = __webpack_require__(8395);
|
|
418
418
|
const wrap = __webpack_require__(5365);
|
|
419
419
|
function ui(opts) {
|
|
420
420
|
return cliui(opts, {
|
|
@@ -11628,6 +11628,7 @@ exports.CONNECTOR_IDS = [
|
|
|
11628
11628
|
'google_drive',
|
|
11629
11629
|
'hubspot',
|
|
11630
11630
|
'jira',
|
|
11631
|
+
'jira_jsm',
|
|
11631
11632
|
'linear',
|
|
11632
11633
|
'mail',
|
|
11633
11634
|
'salesforce',
|
|
@@ -14197,24 +14198,6 @@ module.exports = class DescriptionFilePlugin {
|
|
|
14197
14198
|
};
|
|
14198
14199
|
|
|
14199
14200
|
|
|
14200
|
-
/***/ },
|
|
14201
|
-
|
|
14202
|
-
/***/ 4198
|
|
14203
|
-
(module) {
|
|
14204
|
-
|
|
14205
|
-
"use strict";
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
module.exports = ({onlyFirst = false} = {}) => {
|
|
14209
|
-
const pattern = [
|
|
14210
|
-
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
|
14211
|
-
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
|
|
14212
|
-
].join('|');
|
|
14213
|
-
|
|
14214
|
-
return new RegExp(pattern, onlyFirst ? undefined : 'g');
|
|
14215
|
-
};
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
14201
|
/***/ },
|
|
14219
14202
|
|
|
14220
14203
|
/***/ 4199
|
|
@@ -14895,18 +14878,6 @@ module.exports = function hasSymbols() {
|
|
|
14895
14878
|
};
|
|
14896
14879
|
|
|
14897
14880
|
|
|
14898
|
-
/***/ },
|
|
14899
|
-
|
|
14900
|
-
/***/ 4383
|
|
14901
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
14902
|
-
|
|
14903
|
-
"use strict";
|
|
14904
|
-
|
|
14905
|
-
const ansiRegex = __webpack_require__(4448);
|
|
14906
|
-
|
|
14907
|
-
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|
|
14908
|
-
|
|
14909
|
-
|
|
14910
14881
|
/***/ },
|
|
14911
14882
|
|
|
14912
14883
|
/***/ 4434
|
|
@@ -14915,24 +14886,6 @@ module.exports = string => typeof string === 'string' ? string.replace(ansiRegex
|
|
|
14915
14886
|
"use strict";
|
|
14916
14887
|
module.exports = require("events");
|
|
14917
14888
|
|
|
14918
|
-
/***/ },
|
|
14919
|
-
|
|
14920
|
-
/***/ 4448
|
|
14921
|
-
(module) {
|
|
14922
|
-
|
|
14923
|
-
"use strict";
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
module.exports = ({onlyFirst = false} = {}) => {
|
|
14927
|
-
const pattern = [
|
|
14928
|
-
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
|
14929
|
-
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
|
|
14930
|
-
].join('|');
|
|
14931
|
-
|
|
14932
|
-
return new RegExp(pattern, onlyFirst ? undefined : 'g');
|
|
14933
|
-
};
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
14889
|
/***/ },
|
|
14937
14890
|
|
|
14938
14891
|
/***/ 4464
|
|
@@ -16549,6 +16502,24 @@ module.exports = class ImportsFieldPlugin {
|
|
|
16549
16502
|
module.exports = Math.min;
|
|
16550
16503
|
|
|
16551
16504
|
|
|
16505
|
+
/***/ },
|
|
16506
|
+
|
|
16507
|
+
/***/ 4764
|
|
16508
|
+
(module) {
|
|
16509
|
+
|
|
16510
|
+
"use strict";
|
|
16511
|
+
|
|
16512
|
+
|
|
16513
|
+
module.exports = ({onlyFirst = false} = {}) => {
|
|
16514
|
+
const pattern = [
|
|
16515
|
+
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
|
16516
|
+
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
|
|
16517
|
+
].join('|');
|
|
16518
|
+
|
|
16519
|
+
return new RegExp(pattern, onlyFirst ? undefined : 'g');
|
|
16520
|
+
};
|
|
16521
|
+
|
|
16522
|
+
|
|
16552
16523
|
/***/ },
|
|
16553
16524
|
|
|
16554
16525
|
/***/ 4813
|
|
@@ -16556,7 +16527,7 @@ module.exports = Math.min;
|
|
|
16556
16527
|
|
|
16557
16528
|
"use strict";
|
|
16558
16529
|
|
|
16559
|
-
const stripAnsi = __webpack_require__(
|
|
16530
|
+
const stripAnsi = __webpack_require__(8395);
|
|
16560
16531
|
const isFullwidthCodePoint = __webpack_require__(7396);
|
|
16561
16532
|
const emojiRegex = __webpack_require__(5895);
|
|
16562
16533
|
|
|
@@ -18568,7 +18539,7 @@ module.exports = (obj, opts) => {
|
|
|
18568
18539
|
"use strict";
|
|
18569
18540
|
|
|
18570
18541
|
const stringWidth = __webpack_require__(4813);
|
|
18571
|
-
const stripAnsi = __webpack_require__(
|
|
18542
|
+
const stripAnsi = __webpack_require__(8395);
|
|
18572
18543
|
const ansiStyles = __webpack_require__(8341);
|
|
18573
18544
|
|
|
18574
18545
|
const ESCAPES = new Set([
|
|
@@ -22286,18 +22257,6 @@ AsyncParallelBailHook.prototype = null;
|
|
|
22286
22257
|
module.exports = AsyncParallelBailHook;
|
|
22287
22258
|
|
|
22288
22259
|
|
|
22289
|
-
/***/ },
|
|
22290
|
-
|
|
22291
|
-
/***/ 6077
|
|
22292
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
22293
|
-
|
|
22294
|
-
"use strict";
|
|
22295
|
-
|
|
22296
|
-
const ansiRegex = __webpack_require__(4198);
|
|
22297
|
-
|
|
22298
|
-
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|
|
22299
|
-
|
|
22300
|
-
|
|
22301
22260
|
/***/ },
|
|
22302
22261
|
|
|
22303
22262
|
/***/ 6152
|
|
@@ -23712,6 +23671,7 @@ exports.INTEGRATION_TYPES = [
|
|
|
23712
23671
|
'graphql',
|
|
23713
23672
|
'hubspot',
|
|
23714
23673
|
'jira',
|
|
23674
|
+
'jira_jsm',
|
|
23715
23675
|
'jwt_hmac',
|
|
23716
23676
|
'jwt_rsa',
|
|
23717
23677
|
'kafka',
|
|
@@ -30701,7 +30661,7 @@ function exitWithError(...messages) {
|
|
|
30701
30661
|
(module) {
|
|
30702
30662
|
|
|
30703
30663
|
"use strict";
|
|
30704
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
30664
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.434","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","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.434","adm-zip":"^0.5.16","copy-webpack-plugin":"^12.0.2","decompress":"^4.2.1","nodemon":"^3.1.9","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.101.3","zip-webpack-plugin":"^4.0.1"},"devDependencies":{"@types/adm-zip":"^0.5.7","@types/decompress":"^4.2.7","@types/node":"^20.19.9","terminal-link":"^3.0.0"}}');
|
|
30705
30665
|
|
|
30706
30666
|
/***/ },
|
|
30707
30667
|
|
|
@@ -30875,6 +30835,18 @@ Object.defineProperty(module, 'exports', {
|
|
|
30875
30835
|
});
|
|
30876
30836
|
|
|
30877
30837
|
|
|
30838
|
+
/***/ },
|
|
30839
|
+
|
|
30840
|
+
/***/ 8395
|
|
30841
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
30842
|
+
|
|
30843
|
+
"use strict";
|
|
30844
|
+
|
|
30845
|
+
const ansiRegex = __webpack_require__(4764);
|
|
30846
|
+
|
|
30847
|
+
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|
|
30848
|
+
|
|
30849
|
+
|
|
30878
30850
|
/***/ },
|
|
30879
30851
|
|
|
30880
30852
|
/***/ 8398
|
|
@@ -929,6 +929,17 @@ export class MyService extends SquidService {
|
|
|
929
929
|
|
|
930
930
|
**Webhook URL:** `https://<appId>.<region>.squid.cloud/webhooks/<webhook-id>`
|
|
931
931
|
|
|
932
|
+
**Client - Get webhook URL:**
|
|
933
|
+
```typescript
|
|
934
|
+
// Get URL for a specific webhook
|
|
935
|
+
const webhookUrl = squid.getWebhookUrl('github-events');
|
|
936
|
+
// Returns: https://<appId>.<region>.squid.cloud/webhooks/github-events
|
|
937
|
+
|
|
938
|
+
// Get base webhooks URL (no webhook ID)
|
|
939
|
+
const baseUrl = squid.getWebhookUrl();
|
|
940
|
+
// Returns: https://<appId>.<region>.squid.cloud/webhooks
|
|
941
|
+
```
|
|
942
|
+
|
|
932
943
|
**Client - Call webhook programmatically (optional):**
|
|
933
944
|
```typescript
|
|
934
945
|
// Usually webhooks are called by external services, but you can also call them from client
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.434",
|
|
4
4
|
"description": "The Squid CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"node": ">=18.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@squidcloud/local-backend": "^1.0.
|
|
31
|
+
"@squidcloud/local-backend": "^1.0.434",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^12.0.2",
|
|
34
34
|
"decompress": "^4.2.1",
|