Comparing version 0.0.42 to 0.0.43
@@ -36,3 +36,3 @@ "use strict"; | ||
function createWasmFxnc() { | ||
const FXNC_VERSION = "0.0.27"; // CHECK | ||
const FXNC_VERSION = "0.0.34"; | ||
const FXNC_LIB_URL_BASE = `https://cdn.fxn.ai/fxnc/${FXNC_VERSION}`; | ||
@@ -39,0 +39,0 @@ return new Promise((resolve, reject) => { |
@@ -25,5 +25,8 @@ import type { FunctionConfig } from "./function"; | ||
export declare class FunctionClient { | ||
private readonly url; | ||
/** | ||
* Function API URL. | ||
*/ | ||
readonly url: string; | ||
private readonly auth; | ||
static readonly URL: string; | ||
private static readonly URL; | ||
/** | ||
@@ -30,0 +33,0 @@ * Create a Function API client. |
import type { User } from "./user"; | ||
import type { Dtype, Value } from "./value"; | ||
import type { Dtype } from "./value"; | ||
/** | ||
@@ -10,3 +10,3 @@ * Predictor access mode. | ||
*/ | ||
export type PredictorStatus = "PROVISIONING" | "ACTIVE" | "INVALID" | "ARCHIVED"; | ||
export type PredictorStatus = "COMPILING" | "ACTIVE" | "INVALID" | "ARCHIVED"; | ||
/** | ||
@@ -115,6 +115,2 @@ * Prediction function. | ||
/** | ||
* Parameter default value. | ||
*/ | ||
defaultValue?: Value; | ||
/** | ||
* Parameter JSON schema. | ||
@@ -121,0 +117,0 @@ * This is only populated for `list` and `dict` parameters. |
{ | ||
"name": "fxnjs", | ||
"version": "0.0.42", | ||
"version": "0.0.43", | ||
"description": "Run AI prediction functions in your JavaScript and Node.js apps.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8
642049
54782