@activepieces/pieces-common 0.10.0 → 0.10.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/pieces-common",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "type": "commonjs",
5
5
  "dependencies": {
6
6
  "@sinclair/typebox": "0.34.11",
@@ -12,8 +12,8 @@
12
12
  "semver": "7.6.0",
13
13
  "socket.io-client": "4.8.1",
14
14
  "zod": "4.1.13",
15
- "@activepieces/pieces-framework": "0.22.0",
16
- "@activepieces/shared": "0.28.0",
15
+ "@activepieces/pieces-framework": "0.22.3",
16
+ "@activepieces/shared": "0.30.4",
17
17
  "tslib": "2.6.2"
18
18
  },
19
19
  "resolutions": {
@@ -3,7 +3,7 @@ import { HttpHeaders, HttpMethod, QueryParams } from '../http';
3
3
  export declare const getAccessTokenOrThrow: (auth: OAuth2PropertyValue | undefined) => string;
4
4
  type BaseUrlGetter<PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined> = (auth?: AppConnectionValueForAuthProperty<ExtractPieceAuthPropertyTypeForMethods<PieceAuth>>) => string;
5
5
  export declare function createCustomApiCallAction<PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined>({ auth, baseUrl, authMapping, description, displayName, name, props, extraProps, authLocation, }: {
6
- auth: PieceAuth;
6
+ auth?: PieceAuth;
7
7
  baseUrl: BaseUrlGetter<PieceAuth>;
8
8
  authMapping?: (auth: AppConnectionValueForAuthProperty<ExtractPieceAuthPropertyTypeForMethods<PieceAuth>>, propsValue: StaticPropsValue<any>) => Promise<HttpHeaders | QueryParams>;
9
9
  description?: string | null;
@@ -21,7 +21,7 @@ export declare function createCustomApiCallAction<PieceAuth extends PieceAuthPro
21
21
  extraProps?: InputPropertyMap;
22
22
  authLocation?: 'headers' | 'queryParams';
23
23
  }): import("@activepieces/pieces-framework").IAction<PieceAuth, {
24
- url: import("@activepieces/pieces-framework").DynamicProperties<true, PieceAuth>;
24
+ url: import("@activepieces/pieces-framework").DynamicProperties<true, PieceAuth | undefined>;
25
25
  method: StaticDropdownProperty<HttpMethod, false> | StaticDropdownProperty<HttpMethod, true>;
26
26
  headers: import("@activepieces/pieces-framework").ObjectProperty<false> | import("@activepieces/pieces-framework").ObjectProperty<true>;
27
27
  queryParams: import("@activepieces/pieces-framework").ObjectProperty<false> | import("@activepieces/pieces-framework").ObjectProperty<true>;