@squidcloud/cli 1.0.432 → 1.0.433
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
|
@@ -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',
|
|
@@ -23712,6 +23713,7 @@ exports.INTEGRATION_TYPES = [
|
|
|
23712
23713
|
'graphql',
|
|
23713
23714
|
'hubspot',
|
|
23714
23715
|
'jira',
|
|
23716
|
+
'jira_jsm',
|
|
23715
23717
|
'jwt_hmac',
|
|
23716
23718
|
'jwt_rsa',
|
|
23717
23719
|
'kafka',
|
|
@@ -30701,7 +30703,7 @@ function exitWithError(...messages) {
|
|
|
30701
30703
|
(module) {
|
|
30702
30704
|
|
|
30703
30705
|
"use strict";
|
|
30704
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
30706
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.433","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.433","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
30707
|
|
|
30706
30708
|
/***/ },
|
|
30707
30709
|
|
|
@@ -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.433",
|
|
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.433",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^12.0.2",
|
|
34
34
|
"decompress": "^4.2.1",
|