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

@singlestore/elegance-sdk

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@singlestore/elegance-sdk - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "@singlestore/elegance-sdk",
"version": "0.0.5",
"version": "0.0.6",
"license": "Apache-2.0",

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

@@ -242,8 +242,9 @@ import * as _OpenAI from 'openai';

type EleganceServerClient<T extends ConnectionTypes> = ReturnType<typeof createEleganceServerClient<T>>;
type EleganceServerClientConfig<T extends ConnectionTypes> = {
connection: ConnectionConfigsMap[T];
openai?: ClientOptions;
};
declare function createRouteHandler<T extends Record<string, any>>(controllers: T): <K extends keyof T>(route: K, ...args: Parameters<T[K]["execute"]>) => ReturnType<T[K]["execute"]>;
declare function createEleganceServerClient<T extends ConnectionTypes>(type: T, config: {
connection: ConnectionConfigsMap[T];
openai?: ClientOptions;
}): {
declare function createEleganceServerClient<T extends ConnectionTypes, C extends EleganceServerClientConfig<T> = EleganceServerClientConfig<T>>(type: T, config: C): {
connection: Connection<T>;

@@ -458,2 +459,2 @@ controllers: {

export { EleganceServerClient, Routes, createEleganceServerClient, createRouteHandler };
export { EleganceServerClient, EleganceServerClientConfig, Routes, createEleganceServerClient, createRouteHandler };
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