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.8 to 0.0.9

6

dist/index.d.ts

@@ -5,2 +5,4 @@ declare const TRANSACTION_ID_FIELD = "_xact_id";

declare const IS_MERGE_FIELD = "_is_merge";
declare const ID_FIELD = "id";
declare const ALL_ROW_ID_FIELDS: string[];

@@ -24,4 +26,4 @@ declare function mergeRowBatch<T extends {

declare function mergeDicts(mergeInto: Record<string, unknown>, mergeFrom: Record<string, unknown>): void;
declare function mergeDicts(mergeInto: Record<string, unknown>, mergeFrom: Record<string, unknown>): Record<string, unknown>;
export { CREATED_FIELD, IS_MERGE_FIELD, OBJECT_DELETE_FIELD, type Score, type Scorer, type ScorerArgs, TRANSACTION_ID_FIELD, mergeDicts, mergeRowBatch };
export { ALL_ROW_ID_FIELDS, CREATED_FIELD, ID_FIELD, IS_MERGE_FIELD, OBJECT_DELETE_FIELD, type Score, type Scorer, type ScorerArgs, TRANSACTION_ID_FIELD, mergeDicts, mergeRowBatch };

@@ -23,3 +23,5 @@ "use strict";

__export(src_exports, {
ALL_ROW_ID_FIELDS: () => ALL_ROW_ID_FIELDS,
CREATED_FIELD: () => CREATED_FIELD,
ID_FIELD: () => ID_FIELD,
IS_MERGE_FIELD: () => IS_MERGE_FIELD,

@@ -38,2 +40,10 @@ OBJECT_DELETE_FIELD: () => OBJECT_DELETE_FIELD,

var IS_MERGE_FIELD = "_is_merge";
var ID_FIELD = "id";
var ALL_ROW_ID_FIELDS = [
TRANSACTION_ID_FIELD,
OBJECT_DELETE_FIELD,
CREATED_FIELD,
IS_MERGE_FIELD,
ID_FIELD
];

@@ -53,2 +63,3 @@ // src/util.ts

}
return mergeInto;
}

@@ -99,3 +110,5 @@

0 && (module.exports = {
ALL_ROW_ID_FIELDS,
CREATED_FIELD,
ID_FIELD,
IS_MERGE_FIELD,

@@ -102,0 +115,0 @@ OBJECT_DELETE_FIELD,

{
"name": "@braintrust/core",
"version": "0.0.8",
"version": "0.0.9",
"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