Socket
Book a DemoInstallSign in
Socket

@inferable/cli

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inferable/cli - npm Package Compare versions

Comparing version

to
0.11.0

12

bin/client/contract.js

@@ -380,3 +380,12 @@ "use strict";

message: zod_1.z.string().optional(),
test: zod_1.z.boolean().default(false),
test: zod_1.z
.object({
enabled: zod_1.z.boolean().default(false),
mocks: zod_1.z
.record(zod_1.z.object({
output: zod_1.z.object({}).passthrough(),
}))
.optional(),
})
.optional(),
template: zod_1.z

@@ -460,2 +469,3 @@ .object({

pending: zod_1.z.boolean().default(false),
displayableContext: zod_1.z.record(zod_1.z.string()).nullable(),
})),

@@ -462,0 +472,0 @@ 401: zod_1.z.undefined(),

2

bin/commands/run.js

@@ -80,3 +80,3 @@ "use strict";

env: {
INFERABLE_API_URL: apiURL,
INFERABLE_API_ENDPOINT: apiURL,
INFERABLE_API_SECRET: apiSecret,

@@ -83,0 +83,0 @@ INFERABLE_CLUSTER_ID: cluster,

@@ -572,3 +572,10 @@ export declare const client: {

message?: string | undefined;
test?: boolean | undefined;
test?: {
enabled?: boolean | undefined;
mocks?: Record<string, {
output: {} & {
[k: string]: unknown;
};
}> | undefined;
} | undefined;
template?: {

@@ -686,2 +693,3 @@ id: string;

pending: boolean;
displayableContext: Record<string, string> | null;
}[];

@@ -688,0 +696,0 @@ headers: Headers;

@@ -6,2 +6,8 @@ # Change Log

# 0.11.0 (2024-09-04)
### Features
- Return mock function results ([#388](https://github.com/inferablehq/inferable/issues/388)) ([c5a3ced](https://github.com/inferablehq/inferable/commit/c5a3ced24aecec528ec39b1f31f62181f0841c69))
# 0.10.0 (2024-09-03)

@@ -8,0 +14,0 @@

{
"name": "@inferable/cli",
"version": "0.10.0",
"version": "0.11.0",
"description": "CLI for inferable.ai",

@@ -54,3 +54,3 @@ "bin": {

},
"gitHead": "24b610a96f3f93dc90e0edd131f1e8f7318d2bef"
"gitHead": "823a3e09f5df759aa8a68eb72ced9d3b70eb5ee9"
}

@@ -400,3 +400,14 @@ import { initContract } from "@ts-rest/core";

message: z.string().optional(),
test: z.boolean().default(false),
test: z
.object({
enabled: z.boolean().default(false),
mocks: z
.record(
z.object({
output: z.object({}).passthrough(),
}),
)
.optional(),
})
.optional(),
template: z

@@ -483,2 +494,3 @@ .object({

pending: z.boolean().default(false),
displayableContext: z.record(z.string()).nullable(),
}),

@@ -485,0 +497,0 @@ ),

@@ -69,3 +69,3 @@ import { CommandModule } from "yargs";

env: {
INFERABLE_API_URL: apiURL,
INFERABLE_API_ENDPOINT: apiURL,
INFERABLE_API_SECRET: apiSecret,

@@ -72,0 +72,0 @@ INFERABLE_CLUSTER_ID: cluster,

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 not supported yet