@activepieces/pieces-framework 0.7.4 → 0.7.6

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,17 +1,17 @@
1
1
  {
2
2
  "name": "@activepieces/pieces-framework",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "0.26.8",
7
- "axios": "^1.6.0",
7
+ "axios": "^1.6.3",
8
8
  "dayjs": "1.11.9",
9
9
  "is-base64": "1.1.0",
10
10
  "lodash": "4.17.21",
11
11
  "nanoid": "3.3.6",
12
12
  "semver": "7.5.4",
13
- "@activepieces/shared": "0.10.34",
14
- "tslib": "2.6.1"
13
+ "@activepieces/shared": "0.10.51",
14
+ "tslib": "2.6.2"
15
15
  },
16
16
  "main": "./src/index.js"
17
17
  }
@@ -1,11 +1,12 @@
1
1
  /// <reference types="node" />
2
- import { AppConnectionValue, ExecutionType, FlowRunId, PauseMetadata, StopResponse, TriggerPayload } from "@activepieces/shared";
2
+ import { AppConnectionValue, ExecutionType, FlowRunId, PauseMetadata, Project, StopResponse, TriggerPayload } from "@activepieces/shared";
3
3
  import { TriggerStrategy } from "./trigger/trigger";
4
4
  import { NonAuthPiecePropertyMap, PieceAuthProperty, PiecePropValueSchema, PiecePropertyMap, StaticPropsValue } from "./property";
5
5
  type BaseContext<PieceAuth extends PieceAuthProperty, Props extends PiecePropertyMap> = {
6
6
  auth: PiecePropValueSchema<PieceAuth>;
7
7
  propsValue: StaticPropsValue<Props>;
8
8
  store: Store;
9
+ project: Pick<Project, 'id'>;
9
10
  };
10
11
  type AppWebhookTriggerHookContext<PieceAuth extends PieceAuthProperty, TriggerProps extends PiecePropertyMap> = BaseContext<PieceAuth, TriggerProps> & {
11
12
  webhookUrl: string;
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../packages/pieces/framework/src/lib/context.ts"],"names":[],"mappings":";;;AAmIA,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,iDAAiD;IACjD,oCAAsB,CAAA;IACtB,2BAAa,CAAA;AACjB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../packages/pieces/framework/src/lib/context.ts"],"names":[],"mappings":";;;AAoIA,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,iDAAiD;IACjD,oCAAsB,CAAA;IACtB,2BAAa,CAAA;AACjB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}