@activepieces/pieces-common
Advanced tools
Comparing version 0.2.15 to 0.2.16
{ | ||
"name": "@activepieces/pieces-common", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"type": "commonjs", | ||
"dependencies": { | ||
"@sinclair/typebox": "0.26.8", | ||
"axios": "1.6.7", | ||
"@anthropic-ai/sdk": "0.27.3", | ||
"@sinclair/typebox": "0.32.35", | ||
"axios": "1.7.4", | ||
"dayjs": "1.11.9", | ||
"is-base64": "1.1.0", | ||
"deepmerge": "4.3.1", | ||
"nanoid": "3.3.6", | ||
"openai": "4.47.1", | ||
"semver": "7.6.0", | ||
"@activepieces/pieces-framework": "0.7.32", | ||
"@activepieces/shared": "0.10.107", | ||
"tslib": "1.14.1" | ||
"@activepieces/pieces-framework": "0.7.34", | ||
"@activepieces/shared": "0.10.116", | ||
"tslib": "2.6.2" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -5,1 +5,2 @@ export * from './lib/authentication'; | ||
export * from './lib/polling'; | ||
export * from './lib/ai'; |
@@ -8,2 +8,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./lib/polling"), exports); | ||
tslib_1.__exportStar(require("./lib/ai"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -44,3 +44,3 @@ "use strict"; | ||
console.error('[HttpClient#sendRequest] error, responseStatus:', (_a = e.response) === null || _a === void 0 ? void 0 : _a.status); | ||
console.error('[HttpClient#sendRequest] error, responseBody:', (_b = e.response) === null || _b === void 0 ? void 0 : _b.data); | ||
console.error('[HttpClient#sendRequest] error, responseBody:', JSON.stringify((_b = e.response) === null || _b === void 0 ? void 0 : _b.data)); | ||
throw new http_error_1.HttpError(request.body, e); | ||
@@ -47,0 +47,0 @@ } |
@@ -6,3 +6,2 @@ "use strict"; | ||
const media_type_1 = require("./media-type"); | ||
const node_url_1 = require("node:url"); | ||
class BaseHttpClient { | ||
@@ -14,3 +13,3 @@ constructor(baseUrl, authenticationConverter) { | ||
getUrl(request) { | ||
const url = new node_url_1.URL(`${this.baseUrl}${request.url}`); | ||
const url = new URL(`${this.baseUrl}${request.url}`); | ||
const urlWithoutQueryParams = `${url.origin}${url.pathname}`; | ||
@@ -17,0 +16,0 @@ const queryParams = new URLSearchParams(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
81180
74
1244
11
+ Added@anthropic-ai/sdk@0.27.3
+ Addeddeepmerge@4.3.1
+ Addedopenai@4.47.1
+ Added@activepieces/pieces-framework@0.7.34(transitive)
+ Added@activepieces/shared@0.10.116(transitive)
+ Added@anthropic-ai/sdk@0.27.3(transitive)
+ Added@sinclair/typebox@0.31.280.32.35(transitive)
+ Added@types/node@18.19.65(transitive)
+ Added@types/node-fetch@2.6.12(transitive)
+ Addedabort-controller@3.0.0(transitive)
+ Addedagentkeepalive@4.5.0(transitive)
+ Addedaxios@1.7.4(transitive)
+ Addeddeepmerge@4.3.1(transitive)
+ Addedevent-target-shim@5.0.1(transitive)
+ Addedform-data-encoder@1.7.2(transitive)
+ Addedformdata-node@4.4.1(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedopenai@4.47.1(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedtslib@2.6.2(transitive)
+ Addedundici-types@5.26.5(transitive)
+ Addedweb-streams-polyfill@3.3.34.0.0-beta.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removedis-base64@1.1.0
- Removed@activepieces/pieces-framework@0.7.32(transitive)
- Removed@activepieces/shared@0.10.107(transitive)
- Removed@sinclair/typebox@0.26.8(transitive)
- Removedaxios@1.6.7(transitive)
- Removedis-base64@1.1.0(transitive)
Updated@sinclair/typebox@0.32.35
Updatedaxios@1.7.4
Updatedtslib@2.6.2