@frogbotai/piece-posthog 0.15.0 → 0.17.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 posthogActions: readonly ["create_event", "create_project"];
3
3
  export declare const posthogScopes: readonly [];
4
4
  export declare function createPosthog(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import * as module from '@activepieces/piece-posthog';
2
- import { createActivepiecesPiece } from "frogbot/pieces";
2
+ import { createActivepiecesPiece } from 'frogbot/pieces';
3
3
  export const posthogActions = ['create_event', 'create_project'];
4
4
  export const posthogScopes = [];
5
5
  export function createPosthog(config) {
6
6
  const piece = createActivepiecesPiece({
7
7
  module: module,
8
- service: "posthog",
9
- credentialType: "secret_text",
8
+ service: 'posthog',
9
+ credentialType: 'secret_text',
10
10
  defaultActions: posthogActions,
11
11
  scopes: posthogScopes,
12
12
  config,
13
13
  });
14
14
  return Object.assign(piece, {
15
15
  /** Create Event: Create an event inside a project */
16
- createEvent: piece.tool("create_event"),
16
+ createEvent: piece.tool('create_event'),
17
17
  /** Create Project: Create a posthog project */
18
- createProject: piece.tool("create_project"),
18
+ createProject: piece.tool('create_project'),
19
19
  /** Custom API Call: Make a custom API call to a specific endpoint */
20
- customApiCall: piece.tool("custom_api_call"),
20
+ customApiCall: piece.tool('custom_api_call'),
21
21
  });
22
22
  }
23
23
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-posthog",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "PostHog tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -22,11 +22,11 @@
22
22
  "@activepieces/piece-posthog": "0.4.4"
23
23
  },
24
24
  "peerDependencies": {
25
- "frogbot": "0.15.0"
25
+ "frogbot": "0.17.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "5.6.2",
29
- "frogbot": "0.15.0"
29
+ "frogbot": "0.17.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"