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

@braintrust/core

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braintrust/core - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

16

dist/index.d.ts
declare const TRANSACTION_ID_FIELD = "_xact_id";
declare const OBJECT_DELETE_FIELD = "_object_delete";
declare const CREATED_FIELD = "created";
declare const ID_FIELD = "id";
declare const IS_MERGE_FIELD = "_is_merge";
declare const ID_FIELD = "id";
declare const MERGE_PATHS_FIELD = "_merge_paths";
declare const AUDIT_SOURCE_FIELD = "_audit_source";
declare const AUDIT_METADATA_FIELD = "_audit_metadata";
declare const VALID_SOURCES: readonly ["app", "api", "external"];
type Source = (typeof VALID_SOURCES)[number];
type Source = typeof VALID_SOURCES[number];
declare const PARENT_ID_FIELD = "_parent_id";

@@ -32,2 +33,11 @@ declare const ALL_ROW_ID_FIELDS: string[];

export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, CREATED_FIELD, ID_FIELD, IS_MERGE_FIELD, OBJECT_DELETE_FIELD, PARENT_ID_FIELD, type Score, type Scorer, type ScorerArgs, type Source, TRANSACTION_ID_FIELD, VALID_SOURCES, mergeDicts, mergeRowBatch };
declare enum SpanTypeAttribute {
LLM = "llm",
SCORE = "score",
FUNCTION = "function",
EVAL = "eval",
TASK = "task",
TOOL = "tool"
}
export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, CREATED_FIELD, ID_FIELD, IS_MERGE_FIELD, MERGE_PATHS_FIELD, OBJECT_DELETE_FIELD, PARENT_ID_FIELD, type Score, type Scorer, type ScorerArgs, type Source, SpanTypeAttribute, TRANSACTION_ID_FIELD, VALID_SOURCES, mergeDicts, mergeRowBatch };

@@ -29,4 +29,6 @@ "use strict";

IS_MERGE_FIELD: () => IS_MERGE_FIELD,
MERGE_PATHS_FIELD: () => MERGE_PATHS_FIELD,
OBJECT_DELETE_FIELD: () => OBJECT_DELETE_FIELD,
PARENT_ID_FIELD: () => PARENT_ID_FIELD,
SpanTypeAttribute: () => SpanTypeAttribute,
TRANSACTION_ID_FIELD: () => TRANSACTION_ID_FIELD,

@@ -43,4 +45,5 @@ VALID_SOURCES: () => VALID_SOURCES,

var CREATED_FIELD = "created";
var ID_FIELD = "id";
var IS_MERGE_FIELD = "_is_merge";
var ID_FIELD = "id";
var MERGE_PATHS_FIELD = "_merge_paths";
var AUDIT_SOURCE_FIELD = "_audit_source";

@@ -51,7 +54,8 @@ var AUDIT_METADATA_FIELD = "_audit_metadata";

var ALL_ROW_ID_FIELDS = [
ID_FIELD,
TRANSACTION_ID_FIELD,
OBJECT_DELETE_FIELD,
CREATED_FIELD,
IS_MERGE_FIELD,
ID_FIELD
MERGE_PATHS_FIELD,
OBJECT_DELETE_FIELD
];

@@ -116,2 +120,13 @@

}
// src/span_types.ts
var SpanTypeAttribute = /* @__PURE__ */ ((SpanTypeAttribute2) => {
SpanTypeAttribute2["LLM"] = "llm";
SpanTypeAttribute2["SCORE"] = "score";
SpanTypeAttribute2["FUNCTION"] = "function";
SpanTypeAttribute2["EVAL"] = "eval";
SpanTypeAttribute2["TASK"] = "task";
SpanTypeAttribute2["TOOL"] = "tool";
return SpanTypeAttribute2;
})(SpanTypeAttribute || {});
// Annotate the CommonJS export names for ESM import in node:

@@ -125,4 +140,6 @@ 0 && (module.exports = {

IS_MERGE_FIELD,
MERGE_PATHS_FIELD,
OBJECT_DELETE_FIELD,
PARENT_ID_FIELD,
SpanTypeAttribute,
TRANSACTION_ID_FIELD,

@@ -129,0 +146,0 @@ VALID_SOURCES,

2

package.json
{
"name": "@braintrust/core",
"version": "0.0.11",
"version": "0.0.12",
"description": "Shared core dependencies for Braintrust packages",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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