@hasna/connectors 1.4.0 → 1.4.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/bin/index.js +293 -967
- package/bin/mcp.js +11 -3
- package/bin/serve.js +11 -3
- package/connectors/googlephotos/src/cli/index.ts +1 -1
- package/connectors/yousearch/README.md +1 -1
- package/connectors/zendesk/CLAUDE.md +1 -1
- package/connectors/zendesk/Makefile +3 -1
- package/connectors/zendesk/README.md +3 -2
- package/connectors/zendesk/SCAFFOLD.md +2 -2
- package/connectors/zendesk/nginx-connector.conf +8 -8
- package/connectors/zendesk/nginx.conf +8 -8
- package/connectors/zendesk/src/cli/index.ts +19 -8
- package/connectors/zendesk/src/server/index.ts +1 -1
- package/connectors/zendesk/src/utils/config.test.ts +70 -0
- package/connectors/zendesk/src/utils/config.ts +12 -2
- package/connectors/zendesk/src/utils/remote-url.test.ts +72 -0
- package/dashboard/dist/assets/index-DlEljRrW.js +285 -0
- package/dashboard/dist/index.html +1 -1
- package/dist/index.js +11 -3
- package/package.json +11 -3
- package/connectors/tiktok-events-api/.test-home/.bun/install/cache/@t@/b0fec00ef4c1a326.pile +0 -0
- package/dashboard/dist/assets/index-XPlN-9Xy.js +0 -280
- package/dist/cli/commands/sync.d.ts +0 -2
- package/dist/db/pg-migrations.d.ts +0 -6
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Hasna Connectors</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DlEljRrW.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-D7ZVhmHr.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/dist/index.js
CHANGED
|
@@ -5764,7 +5764,7 @@ function extractGoogleError(body) {
|
|
|
5764
5764
|
// package.json
|
|
5765
5765
|
var package_default = {
|
|
5766
5766
|
name: "@hasna/connectors",
|
|
5767
|
-
version: "1.4.
|
|
5767
|
+
version: "1.4.1",
|
|
5768
5768
|
description: "Open source connector library - Install API connectors with a single command",
|
|
5769
5769
|
type: "module",
|
|
5770
5770
|
bin: {
|
|
@@ -5777,7 +5777,15 @@ var package_default = {
|
|
|
5777
5777
|
"dist/",
|
|
5778
5778
|
"dashboard/dist/",
|
|
5779
5779
|
"connectors/",
|
|
5780
|
-
"README.md"
|
|
5780
|
+
"README.md",
|
|
5781
|
+
"!connectors/**/.test-home/**",
|
|
5782
|
+
"!connectors/**/node_modules/**",
|
|
5783
|
+
"!connectors/**/bun.lock",
|
|
5784
|
+
"!connectors/**/package-lock.json",
|
|
5785
|
+
"!connectors/**/yarn.lock",
|
|
5786
|
+
"!connectors/**/pnpm-lock.yaml",
|
|
5787
|
+
"!connectors/**/.env",
|
|
5788
|
+
"!connectors/**/.env.local"
|
|
5781
5789
|
],
|
|
5782
5790
|
exports: {
|
|
5783
5791
|
".": {
|
|
@@ -5792,7 +5800,7 @@ var package_default = {
|
|
|
5792
5800
|
main: "./dist/index.js",
|
|
5793
5801
|
types: "./dist/index.d.ts",
|
|
5794
5802
|
scripts: {
|
|
5795
|
-
build: "cd dashboard && bun run build && cd .. && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external conf && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/serve.js --target bun && bun build ./src/index.ts --outdir ./dist --target bun && bun build ./src/social/index.ts --outfile ./dist/social/index.js --target bun && tsc --emitDeclarationOnly --outDir ./dist && tsc -p tsconfig.social.json",
|
|
5803
|
+
build: "cd dashboard && bun run build && cd .. && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external conf --external @hasna/events && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/serve.js --target bun && bun build ./src/index.ts --outdir ./dist --target bun && bun build ./src/social/index.ts --outfile ./dist/social/index.js --target bun && tsc --emitDeclarationOnly --outDir ./dist && tsc -p tsconfig.social.json",
|
|
5796
5804
|
"build:dashboard": "cd dashboard && bun run build",
|
|
5797
5805
|
postinstall: 'mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ "$SKIP_DASHBOARD" = "1" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)',
|
|
5798
5806
|
dev: "bun run ./src/cli/index.tsx",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/connectors",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Open source connector library - Install API connectors with a single command",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,15 @@
|
|
|
13
13
|
"dist/",
|
|
14
14
|
"dashboard/dist/",
|
|
15
15
|
"connectors/",
|
|
16
|
-
"README.md"
|
|
16
|
+
"README.md",
|
|
17
|
+
"!connectors/**/.test-home/**",
|
|
18
|
+
"!connectors/**/node_modules/**",
|
|
19
|
+
"!connectors/**/bun.lock",
|
|
20
|
+
"!connectors/**/package-lock.json",
|
|
21
|
+
"!connectors/**/yarn.lock",
|
|
22
|
+
"!connectors/**/pnpm-lock.yaml",
|
|
23
|
+
"!connectors/**/.env",
|
|
24
|
+
"!connectors/**/.env.local"
|
|
17
25
|
],
|
|
18
26
|
"exports": {
|
|
19
27
|
".": {
|
|
@@ -28,7 +36,7 @@
|
|
|
28
36
|
"main": "./dist/index.js",
|
|
29
37
|
"types": "./dist/index.d.ts",
|
|
30
38
|
"scripts": {
|
|
31
|
-
"build": "cd dashboard && bun run build && cd .. && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external conf && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/serve.js --target bun && bun build ./src/index.ts --outdir ./dist --target bun && bun build ./src/social/index.ts --outfile ./dist/social/index.js --target bun && tsc --emitDeclarationOnly --outDir ./dist && tsc -p tsconfig.social.json",
|
|
39
|
+
"build": "cd dashboard && bun run build && cd .. && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external conf --external @hasna/events && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/serve.js --target bun && bun build ./src/index.ts --outdir ./dist --target bun && bun build ./src/social/index.ts --outfile ./dist/social/index.js --target bun && tsc --emitDeclarationOnly --outDir ./dist && tsc -p tsconfig.social.json",
|
|
32
40
|
"build:dashboard": "cd dashboard && bun run build",
|
|
33
41
|
"postinstall": "mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ \"$SKIP_DASHBOARD\" = \"1\" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)",
|
|
34
42
|
"dev": "bun run ./src/cli/index.tsx",
|