@frogbotai/piece-http 0.14.0 → 0.16.0

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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type PieceFactoryConfig } from "frogbot/pieces";
1
+ import { type PieceFactoryConfig } from 'frogbot/pieces';
2
2
  export declare const httpActions: readonly ["send_request", "parse_url"];
3
3
  export declare const httpScopes: readonly [];
4
4
  export declare function createHttp(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as module from '@activepieces/piece-http';
2
- import { createActivepiecesPiece } from "frogbot/pieces";
2
+ import { createActivepiecesPiece } from 'frogbot/pieces';
3
3
  export const httpActions = ['send_request', 'parse_url'];
4
4
  export const httpScopes = [];
5
5
  export function createHttp(config) {
6
6
  const piece = createActivepiecesPiece({
7
7
  module: module,
8
- service: "http",
9
- credentialType: "none",
8
+ service: 'http',
9
+ credentialType: 'none',
10
10
  defaultActions: httpActions,
11
11
  scopes: httpScopes,
12
12
  config,
@@ -14,9 +14,9 @@ export function createHttp(config) {
14
14
  });
15
15
  return Object.assign(piece, {
16
16
  /** Send HTTP request: Send HTTP request */
17
- sendRequest: piece.tool("send_request"),
17
+ sendRequest: piece.tool('send_request'),
18
18
  /** Parse URL: Extract the domain, path, and query parameters from a URL. */
19
- parseUrl: piece.tool("parse_url"),
19
+ parseUrl: piece.tool('parse_url'),
20
20
  });
21
21
  }
22
22
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-http",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "HTTP tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -22,11 +22,11 @@
22
22
  "@activepieces/piece-http": "0.11.11"
23
23
  },
24
24
  "peerDependencies": {
25
- "frogbot": "0.14.0"
25
+ "frogbot": "0.16.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "5.6.2",
29
- "frogbot": "0.14.0"
29
+ "frogbot": "0.16.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"