Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@syncagent/js

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncagent/js - npm Package Compare versions

Comparing version
0.2.6
to
0.2.7
+2
-1
dist/index.js

@@ -75,2 +75,3 @@ "use strict";

// src/client.ts
var SYNCAGENT_API_URL = "https://syncagentdev.vercel.app";
var SyncAgentClient = class {

@@ -81,3 +82,3 @@ constructor(config) {

this.apiKey = config.apiKey;
this.baseUrl = (config.baseUrl || "https://syncagent.dev").replace(/\/$/, "");
this.baseUrl = (SYNCAGENT_API_URL || config.baseUrl).replace(/\/$/, "");
this.connectionString = config.connectionString;

@@ -84,0 +85,0 @@ this.tools = config.tools || {};

@@ -49,2 +49,3 @@ // src/stream.ts

// src/client.ts
var SYNCAGENT_API_URL = "https://syncagentdev.vercel.app";
var SyncAgentClient = class {

@@ -55,3 +56,3 @@ constructor(config) {

this.apiKey = config.apiKey;
this.baseUrl = (config.baseUrl || "https://syncagent.dev").replace(/\/$/, "");
this.baseUrl = (SYNCAGENT_API_URL || config.baseUrl).replace(/\/$/, "");
this.connectionString = config.connectionString;

@@ -58,0 +59,0 @@ this.tools = config.tools || {};

{
"name": "@syncagent/js",
"version": "0.2.6",
"version": "0.2.7",
"description": "SyncAgent JavaScript SDK — AI database agent for any app",

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