vapi-network 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/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -77605,7 +77605,7 @@ function createRunBudget(args) {
|
|
|
77605
77605
|
import { mkdir as mkdir15, writeFile as writeFile8 } from "node:fs/promises";
|
|
77606
77606
|
import { arch, platform, release } from "node:os";
|
|
77607
77607
|
import { join as join13 } from "node:path";
|
|
77608
|
-
var VAPI_CLIENT_VERSION = "0.9.
|
|
77608
|
+
var VAPI_CLIENT_VERSION = "0.9.7";
|
|
77609
77609
|
async function createSupportReport(options) {
|
|
77610
77610
|
const message = options.message.trim();
|
|
77611
77611
|
if (!message) throw new Error("Support report message must not be empty.");
|
|
@@ -95049,11 +95049,12 @@ function buildPayoutSiweMessage(args) {
|
|
|
95049
95049
|
);
|
|
95050
95050
|
}
|
|
95051
95051
|
function readProbeOperations(probe) {
|
|
95052
|
-
const operations = probe.operations;
|
|
95053
|
-
if (
|
|
95054
|
-
return
|
|
95055
|
-
|
|
95056
|
-
|
|
95052
|
+
const operations = (Array.isArray(probe.operations) ? probe.operations : []).filter(isOperation);
|
|
95053
|
+
if (operations.length > 0) return operations;
|
|
95054
|
+
return isOperation(probe.endpoint) ? [probe.endpoint] : [];
|
|
95055
|
+
}
|
|
95056
|
+
function isOperation(operation) {
|
|
95057
|
+
return isRecord6(operation) && typeof operation.name === "string" && operation.name.length > 0;
|
|
95057
95058
|
}
|
|
95058
95059
|
function readProbeRejection(probe) {
|
|
95059
95060
|
const rejection = probe.diagnostics?.rejection;
|
|
@@ -98304,7 +98305,7 @@ async function readProcessStdin() {
|
|
|
98304
98305
|
}
|
|
98305
98306
|
|
|
98306
98307
|
// ../cli/src/version.ts
|
|
98307
|
-
var CLI_VERSION = "0.9.
|
|
98308
|
+
var CLI_VERSION = "0.9.7";
|
|
98308
98309
|
|
|
98309
98310
|
// ../cli/src/status.ts
|
|
98310
98311
|
async function statusCommand(argv, json2, io, dependencies) {
|
|
@@ -107481,7 +107482,8 @@ function toListingEndpoint(operation, fallbackDescription) {
|
|
|
107481
107482
|
...operation.requestSchema === void 0 ? {} : { requestSchema: operation.requestSchema },
|
|
107482
107483
|
...optionalStringField(operation, "responseContentType"),
|
|
107483
107484
|
...optionalStringField(operation, "pathTemplate"),
|
|
107484
|
-
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters }
|
|
107485
|
+
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters },
|
|
107486
|
+
...optionalStringField(operation, "metadataEvidence")
|
|
107485
107487
|
};
|
|
107486
107488
|
}
|
|
107487
107489
|
function optionalStringField(operation, key2) {
|