@vapi-network/cli 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +10 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/dist/publish-client.d.ts +10 -2
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -77604,7 +77604,7 @@ function createRunBudget(args) {
|
|
|
77604
77604
|
import { mkdir as mkdir15, writeFile as writeFile8 } from "node:fs/promises";
|
|
77605
77605
|
import { arch, platform, release } from "node:os";
|
|
77606
77606
|
import { join as join13 } from "node:path";
|
|
77607
|
-
var VAPI_CLIENT_VERSION = "0.9.
|
|
77607
|
+
var VAPI_CLIENT_VERSION = "0.9.7";
|
|
77608
77608
|
async function createSupportReport(options) {
|
|
77609
77609
|
const message = options.message.trim();
|
|
77610
77610
|
if (!message) throw new Error("Support report message must not be empty.");
|
|
@@ -95048,11 +95048,12 @@ function buildPayoutSiweMessage(args) {
|
|
|
95048
95048
|
);
|
|
95049
95049
|
}
|
|
95050
95050
|
function readProbeOperations(probe) {
|
|
95051
|
-
const operations = probe.operations;
|
|
95052
|
-
if (
|
|
95053
|
-
return
|
|
95054
|
-
|
|
95055
|
-
|
|
95051
|
+
const operations = (Array.isArray(probe.operations) ? probe.operations : []).filter(isOperation);
|
|
95052
|
+
if (operations.length > 0) return operations;
|
|
95053
|
+
return isOperation(probe.endpoint) ? [probe.endpoint] : [];
|
|
95054
|
+
}
|
|
95055
|
+
function isOperation(operation) {
|
|
95056
|
+
return isRecord6(operation) && typeof operation.name === "string" && operation.name.length > 0;
|
|
95056
95057
|
}
|
|
95057
95058
|
function readProbeRejection(probe) {
|
|
95058
95059
|
const rejection = probe.diagnostics?.rejection;
|
|
@@ -98303,7 +98304,7 @@ async function readProcessStdin() {
|
|
|
98303
98304
|
}
|
|
98304
98305
|
|
|
98305
98306
|
// src/version.ts
|
|
98306
|
-
var CLI_VERSION = "0.9.
|
|
98307
|
+
var CLI_VERSION = "0.9.7";
|
|
98307
98308
|
|
|
98308
98309
|
// src/status.ts
|
|
98309
98310
|
async function statusCommand(argv, json2, io, dependencies) {
|
|
@@ -107480,7 +107481,8 @@ function toListingEndpoint(operation, fallbackDescription) {
|
|
|
107480
107481
|
...operation.requestSchema === void 0 ? {} : { requestSchema: operation.requestSchema },
|
|
107481
107482
|
...optionalStringField(operation, "responseContentType"),
|
|
107482
107483
|
...optionalStringField(operation, "pathTemplate"),
|
|
107483
|
-
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters }
|
|
107484
|
+
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters },
|
|
107485
|
+
...optionalStringField(operation, "metadataEvidence")
|
|
107484
107486
|
};
|
|
107485
107487
|
}
|
|
107486
107488
|
function optionalStringField(operation, key2) {
|