@foundationui/smart-input
Advanced tools
Comparing version 1.0.89 to 1.0.90
@@ -19,2 +19,4 @@ import React from 'react'; | ||
foundationModel: { | ||
model: string; | ||
user: string | undefined; | ||
saveCompletion: (input: string, context?: string | undefined) => Promise<number | void>; | ||
@@ -21,0 +23,0 @@ getCompletion: (input: string, context?: string | undefined) => Promise<import("@foundationui/react-hooks").ICompletionResponse | null>; |
@@ -19,2 +19,4 @@ import React from 'react'; | ||
foundationModel: { | ||
model: string; | ||
user: string | undefined; | ||
saveCompletion: (input: string, context?: string | undefined) => Promise<number | void>; | ||
@@ -21,0 +23,0 @@ getCompletion: (input: string, context?: string | undefined) => Promise<import("@foundationui/react-hooks").ICompletionResponse | null>; |
@@ -167,2 +167,4 @@ import React, { HTMLAttributes, MutableRefObject } from 'react'; | ||
foundationModel: { | ||
model: string; | ||
user: string | undefined; | ||
saveCompletion: (input: string, context?: string | undefined) => Promise<number | void>; | ||
@@ -169,0 +171,0 @@ getCompletion: (input: string, context?: string | undefined) => Promise<_foundationui_react_hooks.ICompletionResponse | null>; |
@@ -19,2 +19,4 @@ import React from 'react'; | ||
foundationModel: { | ||
model: string; | ||
user: string | undefined; | ||
saveCompletion: (input: string, context?: string | undefined) => Promise<number | void>; | ||
@@ -21,0 +23,0 @@ getCompletion: (input: string, context?: string | undefined) => Promise<import("@foundationui/react-hooks").ICompletionResponse | null>; |
{ | ||
"name": "@foundationui/smart-input", | ||
"version": "1.0.89", | ||
"version": "1.0.90", | ||
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.", | ||
@@ -38,3 +38,3 @@ "type": "module", | ||
"dependencies": { | ||
"@foundationui/react-hooks": "^0.0.2", | ||
"@foundationui/react-hooks": "^0.0.5", | ||
"slate": "^0.87.0", | ||
@@ -41,0 +41,0 @@ "slate-react": "^0.88.0" |
@@ -97,5 +97,5 @@ # `<SmartInput>` | ||
```bash | ||
curl -X POST https://api.foundation-ui.com/smartinput/data \ | ||
curl -X POST https://api.foundation-ui.com/platform/data \ | ||
-H 'Content-Type: application/json' \ | ||
-H 'X-Model-Secret: <your model secret>' \ | ||
-H 'X-Api-Key: <your api key>' \ | ||
-d @- <<BODY | ||
@@ -102,0 +102,0 @@ { |
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
594337
3269
+ Added@foundationui/react-hooks@0.0.5(transitive)
- Removed@foundationui/react-hooks@0.0.2(transitive)