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

openpipe

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openpipe - npm Package Compare versions

Comparing version 0.27.0 to 0.28.0

client-de057eb3.d.ts

2

client.d.ts

@@ -1,3 +0,3 @@

export { O as default } from './client-31519bf4.js';
export { O as default } from './client-de057eb3.js';
import './shared-e8f532eb.js';
import 'openai';

@@ -465,3 +465,4 @@ var __accessCheck = (obj, member, msg) => {

/**
* Update tags for logged calls matching the provided filters
* @deprecated
* DEPRECATED: use "/logs/update-metadata" instead
* @param requestBody

@@ -480,2 +481,16 @@ * @returns any Successful response

/**
* Update tags metadata for logged calls matching the provided filters.
* @param requestBody
* @returns any Successful response
* @throws ApiError
*/
updateLogMetadata(requestBody) {
return this.httpRequest.request({
method: "POST",
url: "/logs/update-metadata",
body: requestBody,
mediaType: "application/json"
});
}
/**
* Get the latest logged call (only for local testing)

@@ -634,2 +649,5 @@ * @returns any Successful response

}
updateLogMetadata(...params) {
return this.baseClient.default.updateLogMetadata(...params);
}
report(...params) {

@@ -636,0 +654,0 @@ return this.baseClient.default.report(...params);

@@ -10,5 +10,5 @@ export { o as openai } from './openai.js';

import 'openai/streaming';
import './client-31519bf4.js';
import './client-de057eb3.js';
import 'openai/resources/beta/beta';
import 'openai/resources/beta/chat/completions';
import 'openai/lib/parser';

@@ -585,3 +585,4 @@ var __defProp = Object.defineProperty;

/**
* Update tags for logged calls matching the provided filters
* @deprecated
* DEPRECATED: use "/logs/update-metadata" instead
* @param requestBody

@@ -600,2 +601,16 @@ * @returns any Successful response

/**
* Update tags metadata for logged calls matching the provided filters.
* @param requestBody
* @returns any Successful response
* @throws ApiError
*/
updateLogMetadata(requestBody) {
return this.httpRequest.request({
method: "POST",
url: "/logs/update-metadata",
body: requestBody,
mediaType: "application/json"
});
}
/**
* Get the latest logged call (only for local testing)

@@ -747,3 +762,3 @@ * @returns any Successful response

name: "openpipe-dev",
version: "0.27.0",
version: "0.28.0",
type: "module",

@@ -790,3 +805,3 @@ description: "LLM metrics and inference",

"node-fetch": "2.7.0",
openai: "^4.62.1"
openai: "^4.67.1"
},

@@ -832,2 +847,5 @@ devDependencies: {

}
updateLogMetadata(...params) {
return this.baseClient.default.updateLogMetadata(...params);
}
report(...params) {

@@ -1078,3 +1096,4 @@ return this.baseClient.default.report(...params);

}
const response = await super.create(body, options);
const openAICompatibleBody = body.metadata && !body.store ? { ...body, metadata: void 0 } : body;
const response = await super.create(openAICompatibleBody, options);
return this._handleResponse(response, body, { openpipe }, requestedAt);

@@ -1081,0 +1100,0 @@ } catch (error) {

@@ -6,3 +6,3 @@ import * as openai_resources from 'openai/resources';

import { WrappedStream } from './openai/streaming.js';
import { O as OpenPipe, D as DefaultService } from './client-31519bf4.js';
import { O as OpenPipe, D as DefaultService } from './client-de057eb3.js';
import { Stream } from 'openai/streaming';

@@ -9,0 +9,0 @@ import { O as OpenPipeMeta, a as OpenPipeConfig, b as OpenPipeArgs } from './shared-e8f532eb.js';

@@ -576,3 +576,4 @@ var __accessCheck = (obj, member, msg) => {

/**
* Update tags for logged calls matching the provided filters
* @deprecated
* DEPRECATED: use "/logs/update-metadata" instead
* @param requestBody

@@ -591,2 +592,16 @@ * @returns any Successful response

/**
* Update tags metadata for logged calls matching the provided filters.
* @param requestBody
* @returns any Successful response
* @throws ApiError
*/
updateLogMetadata(requestBody) {
return this.httpRequest.request({
method: "POST",
url: "/logs/update-metadata",
body: requestBody,
mediaType: "application/json"
});
}
/**
* Get the latest logged call (only for local testing)

@@ -738,3 +753,3 @@ * @returns any Successful response

name: "openpipe-dev",
version: "0.27.0",
version: "0.28.0",
type: "module",

@@ -781,3 +796,3 @@ description: "LLM metrics and inference",

"node-fetch": "2.7.0",
openai: "^4.62.1"
openai: "^4.67.1"
},

@@ -823,2 +838,5 @@ devDependencies: {

}
updateLogMetadata(...params) {
return this.baseClient.default.updateLogMetadata(...params);
}
report(...params) {

@@ -1069,3 +1087,4 @@ return this.baseClient.default.report(...params);

}
const response = await super.create(body, options);
const openAICompatibleBody = body.metadata && !body.store ? { ...body, metadata: void 0 } : body;
const response = await super.create(openAICompatibleBody, options);
return this._handleResponse(response, body, { openpipe }, requestedAt);

@@ -1072,0 +1091,0 @@ } catch (error) {

{
"name": "openpipe",
"version": "0.27.0",
"version": "0.28.0",
"type": "module",

@@ -19,3 +19,3 @@ "description": "LLM metrics and inference",

"node-fetch": "2.7.0",
"openai": "^4.62.1"
"openai": "^4.67.1"
},

@@ -22,0 +22,0 @@ "devDependencies": {

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

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

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

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