Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/pieces-common

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/pieces-common - npm Package Compare versions

Comparing version 0.2.15 to 0.2.16

src/lib/ai/index.d.ts

16

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc