@activepieces/piece-reddit 0.0.8 → 0.1.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/package.json CHANGED
@@ -1,27 +1,23 @@
1
1
  {
2
2
  "name": "@activepieces/piece-reddit",
3
- "version": "0.0.8",
3
+ "version": "0.1.1",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.34.11",
6
- "axios": "1.8.3",
6
+ "ai": "^6.0.0",
7
+ "axios": "1.13.1",
7
8
  "axios-retry": "4.4.1",
8
9
  "deepmerge-ts": "7.1.0",
10
+ "form-data": "4.0.4",
11
+ "i18next": "23.13.0",
9
12
  "mime-types": "2.1.35",
10
13
  "nanoid": "3.3.8",
11
14
  "semver": "7.6.0",
12
- "zod": "3.25.76",
13
- "@activepieces/pieces-common": "0.7.0",
14
- "@activepieces/pieces-framework": "0.20.1",
15
- "@activepieces/shared": "0.20.1",
16
- "tslib": "2.8.1"
17
- },
18
- "overrides": {
19
- "@tryfabric/martian": {
20
- "@notionhq/client": "$@notionhq/client"
21
- },
22
- "vite": {
23
- "rollup": "npm:@rollup/wasm-node"
24
- }
15
+ "socket.io-client": "4.8.1",
16
+ "zod": "4.1.13",
17
+ "@activepieces/pieces-common": "0.11.2",
18
+ "@activepieces/pieces-framework": "0.24.0",
19
+ "@activepieces/shared": "0.32.0",
20
+ "tslib": "2.6.2"
25
21
  },
26
22
  "resolutions": {
27
23
  "rollup": "npm:@rollup/wasm-node"
package/src/i18n/de.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "Methode",
38
38
  "Headers": "Kopfzeilen",
39
39
  "Query Parameters": "Abfrageparameter",
40
+ "Body Type": "Körpertyp",
40
41
  "Body": "Körper",
41
42
  "Response is Binary ?": "Antwort ist binär?",
42
43
  "No Error on Failure": "Kein Fehler bei Fehler",
43
44
  "Timeout (in seconds)": "Timeout (in Sekunden)",
45
+ "Follow redirects": "Weiterleitungen folgen",
44
46
  "Select the category of posts to retrieve": "Wählen Sie die Kategorie der zu empfangenen Beiträge",
45
47
  "The subreddit to fetch posts from": "Das Subreddit zum Abrufen von Beiträgen",
46
48
  "Number of posts to fetch (max 100)": "Anzahl der zu holenden Beiträge (max 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID des zu löschenden Reddit-Beitrags (z.B. \"abc123\" oder \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID des zu löschenden Reddit-Kommentars (z.B. \"def456\" oder \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
63
- "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
65
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
64
66
  "Hot": "Heiß",
65
67
  "New": "Neu",
66
68
  "Top": "Oben",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "PATCH",
74
76
  "PUT": "PUT",
75
77
  "DELETE": "LÖSCHEN",
76
- "HEAD": "HEAD"
78
+ "HEAD": "HEAD",
79
+ "None": "Keine",
80
+ "JSON": "JSON",
81
+ "Form Data": "Formulardaten",
82
+ "Raw": "Rohe"
77
83
  }
package/src/i18n/es.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "Método",
38
38
  "Headers": "Encabezados",
39
39
  "Query Parameters": "Parámetros de consulta",
40
+ "Body Type": "Tipo de cuerpo",
40
41
  "Body": "Cuerpo",
41
42
  "Response is Binary ?": "¿Respuesta es binaria?",
42
43
  "No Error on Failure": "No hay ningún error en fallo",
43
44
  "Timeout (in seconds)": "Tiempo de espera (en segundos)",
45
+ "Follow redirects": "Seguir redirecciones",
44
46
  "Select the category of posts to retrieve": "Seleccione la categoría de publicaciones a recuperar",
45
47
  "The subreddit to fetch posts from": "El subreddit para obtener mensajes de",
46
48
  "Number of posts to fetch (max 100)": "Número de publicaciones a buscar (máx. 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID de la publicación de Reddit a eliminar (por ejemplo, \"abc123\" o \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID del comentario de Reddit a eliminar (por ejemplo, \"def456\" o \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
63
- "Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
65
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
64
66
  "Hot": "Calor",
65
67
  "New": "Nuevo",
66
68
  "Top": "Subir",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "PATCH",
74
76
  "PUT": "PUT",
75
77
  "DELETE": "BORRAR",
76
- "HEAD": "LIMPIO"
78
+ "HEAD": "LIMPIO",
79
+ "None": "Ninguna",
80
+ "JSON": "JSON",
81
+ "Form Data": "Datos de Formulario",
82
+ "Raw": "Rápido"
77
83
  }
package/src/i18n/fr.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "Méthode",
38
38
  "Headers": "En-têtes",
39
39
  "Query Parameters": "Paramètres de requête",
40
+ "Body Type": "Body Type",
40
41
  "Body": "Corps",
41
42
  "Response is Binary ?": "La réponse est Binaire ?",
42
43
  "No Error on Failure": "Aucune erreur en cas d'échec",
43
44
  "Timeout (in seconds)": "Délai d'expiration (en secondes)",
45
+ "Follow redirects": "Suivre les redirections",
44
46
  "Select the category of posts to retrieve": "Sélectionnez la catégorie de messages à récupérer",
45
47
  "The subreddit to fetch posts from": "Le subreddit pour récupérer les messages de",
46
48
  "Number of posts to fetch (max 100)": "Nombre de messages à récupérer (max 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID du message Reddit à supprimer (par exemple, \"abc123\" ou \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID du commentaire Reddit à supprimer (par exemple, \"def456\" ou \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
63
- "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
65
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
64
66
  "Hot": "Chaud",
65
67
  "New": "Nouveau",
66
68
  "Top": "En haut",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "PATCH",
74
76
  "PUT": "PUT",
75
77
  "DELETE": "DELETE",
76
- "HEAD": "HEAD"
78
+ "HEAD": "HEAD",
79
+ "None": "Aucun",
80
+ "JSON": "JSON",
81
+ "Form Data": "Données du formulaire",
82
+ "Raw": "Brut"
77
83
  }
package/src/i18n/ja.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "方法",
38
38
  "Headers": "ヘッダー",
39
39
  "Query Parameters": "クエリパラメータ",
40
+ "Body Type": "ボディタイプ",
40
41
  "Body": "本文",
41
42
  "Response is Binary ?": "応答はバイナリですか?",
42
43
  "No Error on Failure": "失敗時にエラーはありません",
43
44
  "Timeout (in seconds)": "タイムアウト(秒)",
45
+ "Follow redirects": "リダイレクトをフォローする",
44
46
  "Select the category of posts to retrieve": "取得する投稿のカテゴリを選択してください",
45
47
  "The subreddit to fetch posts from": "投稿を取得する Subreddit",
46
48
  "Number of posts to fetch (max 100)": "取得する投稿の数 (最大 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "削除する Reddit 投稿の ID (例: \"abc123\" または \"t3_abc123\")。",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "削除する Reddit コメントの ID (例: \"def456\" または \"t1_def456\")。",
62
64
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
63
- "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
65
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
64
66
  "Hot": "ホット",
65
67
  "New": "新規作成",
66
68
  "Top": "上",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "PATCH",
74
76
  "PUT": "PUT",
75
77
  "DELETE": "削除",
76
- "HEAD": "頭"
78
+ "HEAD": "頭",
79
+ "None": "なし",
80
+ "JSON": "JSON",
81
+ "Form Data": "フォームデータ",
82
+ "Raw": "Raw"
77
83
  }
package/src/i18n/nl.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "Methode",
38
38
  "Headers": "Kopteksten",
39
39
  "Query Parameters": "Query parameters",
40
+ "Body Type": "Type lichaam",
40
41
  "Body": "Lichaam",
41
42
  "Response is Binary ?": "Antwoord is binair?",
42
43
  "No Error on Failure": "Geen fout bij fout",
43
44
  "Timeout (in seconds)": "Time-out (in seconden)",
45
+ "Follow redirects": "Volg omleidingen",
44
46
  "Select the category of posts to retrieve": "Selecteer de categorie van berichten om op te halen",
45
47
  "The subreddit to fetch posts from": "De subreddit om posts van te halen",
46
48
  "Number of posts to fetch (max 100)": "Aantal berichten om op te halen (max 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID van het Reddit-bericht om te verwijderen (bijv. \"abc123\" of \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID van de Reddit-reactie om te verwijderen (bijv. \"def456\" of \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
63
- "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
65
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
64
66
  "Hot": "Populair",
65
67
  "New": "Nieuw",
66
68
  "Top": "Bovenkant",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "BEKIJK",
74
76
  "PUT": "PUT",
75
77
  "DELETE": "VERWIJDEREN",
76
- "HEAD": "HOOFD"
78
+ "HEAD": "HOOFD",
79
+ "None": "geen",
80
+ "JSON": "JSON",
81
+ "Form Data": "Formulieren gegevens",
82
+ "Raw": "Onbewerkte"
77
83
  }
package/src/i18n/pt.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "Método",
38
38
  "Headers": "Cabeçalhos",
39
39
  "Query Parameters": "Parâmetros da consulta",
40
+ "Body Type": "Tipo de Corpo",
40
41
  "Body": "Conteúdo",
41
42
  "Response is Binary ?": "A resposta é binária ?",
42
43
  "No Error on Failure": "Nenhum erro no Failure",
43
44
  "Timeout (in seconds)": "Tempo limite (em segundos)",
45
+ "Follow redirects": "Seguir redirecionamentos",
44
46
  "Select the category of posts to retrieve": "Selecione a categoria de mensagens para recuperar",
45
47
  "The subreddit to fetch posts from": "O subreddit do qual buscar as postagens de",
46
48
  "Number of posts to fetch (max 100)": "Número de posts para buscar (máx. 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID da postagem no Reddit a ser apagada (por exemplo, \"abc123\" ou \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID do comentário do Reddit a ser excluído (ex: \"def456\" ou \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
63
- "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
65
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
64
66
  "Hot": "Quente",
65
67
  "New": "Novidades",
66
68
  "Top": "Superior",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "COMPRAR",
74
76
  "PUT": "COLOCAR",
75
77
  "DELETE": "EXCLUIR",
76
- "HEAD": "CABEÇA"
78
+ "HEAD": "CABEÇA",
79
+ "None": "Nenhuma",
80
+ "JSON": "JSON",
81
+ "Form Data": "Dados de Formulário",
82
+ "Raw": "RAW"
77
83
  }
@@ -37,10 +37,12 @@
37
37
  "Method": "Method",
38
38
  "Headers": "Headers",
39
39
  "Query Parameters": "Query Parameters",
40
+ "Body Type": "Body Type",
40
41
  "Body": "Body",
41
42
  "Response is Binary ?": "Response is Binary ?",
42
43
  "No Error on Failure": "No Error on Failure",
43
44
  "Timeout (in seconds)": "Timeout (in seconds)",
45
+ "Follow redirects": "Follow redirects",
44
46
  "Select the category of posts to retrieve": "Select the category of posts to retrieve",
45
47
  "The subreddit to fetch posts from": "The subreddit to fetch posts from",
46
48
  "Number of posts to fetch (max 100)": "Number of posts to fetch (max 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
63
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
65
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
64
66
  "Hot": "Hot",
65
67
  "New": "New",
66
68
  "Top": "Top",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "PATCH",
74
76
  "PUT": "PUT",
75
77
  "DELETE": "DELETE",
76
- "HEAD": "HEAD"
78
+ "HEAD": "HEAD",
79
+ "None": "None",
80
+ "JSON": "JSON",
81
+ "Form Data": "Form Data",
82
+ "Raw": "Raw"
77
83
  }
package/src/i18n/zh.json CHANGED
@@ -37,10 +37,12 @@
37
37
  "Method": "方法",
38
38
  "Headers": "信头",
39
39
  "Query Parameters": "查询参数",
40
+ "Body Type": "Body Type",
40
41
  "Body": "正文内容",
41
42
  "Response is Binary ?": "Response is Binary ?",
42
43
  "No Error on Failure": "失败时没有错误",
43
44
  "Timeout (in seconds)": "超时(秒)",
45
+ "Follow redirects": "Follow redirects",
44
46
  "Select the category of posts to retrieve": "Select the category of posts to retrieve",
45
47
  "The subreddit to fetch posts from": "The subreddit to fetch posts from",
46
48
  "Number of posts to fetch (max 100)": "Number of posts to fetch (max 100)",
@@ -60,7 +62,7 @@
60
62
  "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").": "ID of the Reddit post to delete (e.g., \"abc123\" or \"t3_abc123\").",
61
63
  "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").": "ID of the Reddit comment to delete (e.g., \"def456\" or \"t1_def456\").",
62
64
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
63
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
65
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
64
66
  "Hot": "Hot",
65
67
  "New": "New",
66
68
  "Top": "Top",
@@ -73,5 +75,9 @@
73
75
  "PATCH": "PATCH",
74
76
  "PUT": "弹出",
75
77
  "DELETE": "删除",
76
- "HEAD": "黑色"
78
+ "HEAD": "黑色",
79
+ "None": "无",
80
+ "JSON": "JSON",
81
+ "Form Data": "表单数据",
82
+ "Raw": "原始文件"
77
83
  }