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

@foundationui/smart-input

Package Overview
Dependencies
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundationui/smart-input - npm Package Compare versions

Comparing version 1.0.60 to 1.0.61

6

dist/cjs/SmartInput.d.ts

@@ -32,6 +32,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style.
* You may accomplish the same thing by passing a `userId` property in the `context` object.
* The ID of the user using the input. Providing this helps the model learn a particular user's style,
* including if they prefer not to use completions at all.
*/
userId?: string | number;
userId?: string;
/**

@@ -38,0 +38,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions.

@@ -49,3 +49,3 @@ import { ICompletionResponse } from './protocol';

}): void;
sendEvents: (text: string, context: any) => void;
sendEvents: (text: string, context: any, userId?: string | undefined) => void;
}

@@ -32,6 +32,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style.
* You may accomplish the same thing by passing a `userId` property in the `context` object.
* The ID of the user using the input. Providing this helps the model learn a particular user's style,
* including if they prefer not to use completions at all.
*/
userId?: string | number;
userId?: string;
/**

@@ -38,0 +38,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions.

@@ -49,3 +49,3 @@ import { ICompletionResponse } from './protocol';

}): void;
sendEvents: (text: string, context: any) => void;
sendEvents: (text: string, context: any, userId?: string | undefined) => void;
}

@@ -33,6 +33,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style.
* You may accomplish the same thing by passing a `userId` property in the `context` object.
* The ID of the user using the input. Providing this helps the model learn a particular user's style,
* including if they prefer not to use completions at all.
*/
userId?: string | number;
userId?: string;
/**

@@ -39,0 +39,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions.

@@ -32,6 +32,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react';

/**
* The ID of the user using the input. Providing this helps the model learn a particular user's style.
* You may accomplish the same thing by passing a `userId` property in the `context` object.
* The ID of the user using the input. Providing this helps the model learn a particular user's style,
* including if they prefer not to use completions at all.
*/
userId?: string | number;
userId?: string;
/**

@@ -38,0 +38,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions.

@@ -49,3 +49,3 @@ import { ICompletionResponse } from './protocol';

}): void;
sendEvents: (text: string, context: any) => void;
sendEvents: (text: string, context: any, userId?: string | undefined) => void;
}
{
"name": "@foundationui/smart-input",
"version": "1.0.60",
"version": "1.0.61",
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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