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/index.js
CHANGED
|
@@ -78150,7 +78150,7 @@ function createRunBudget(args) {
|
|
|
78150
78150
|
import { mkdir as mkdir15, writeFile as writeFile8 } from "node:fs/promises";
|
|
78151
78151
|
import { arch, platform, release } from "node:os";
|
|
78152
78152
|
import { join as join13 } from "node:path";
|
|
78153
|
-
var VAPI_CLIENT_VERSION = "0.9.
|
|
78153
|
+
var VAPI_CLIENT_VERSION = "0.9.7";
|
|
78154
78154
|
async function createSupportReport(options) {
|
|
78155
78155
|
const message = options.message.trim();
|
|
78156
78156
|
if (!message) throw new Error("Support report message must not be empty.");
|
|
@@ -96296,11 +96296,12 @@ function buildPayoutSiweMessage(args) {
|
|
|
96296
96296
|
);
|
|
96297
96297
|
}
|
|
96298
96298
|
function readProbeOperations(probe) {
|
|
96299
|
-
const operations = probe.operations;
|
|
96300
|
-
if (
|
|
96301
|
-
return
|
|
96302
|
-
|
|
96303
|
-
|
|
96299
|
+
const operations = (Array.isArray(probe.operations) ? probe.operations : []).filter(isOperation);
|
|
96300
|
+
if (operations.length > 0) return operations;
|
|
96301
|
+
return isOperation(probe.endpoint) ? [probe.endpoint] : [];
|
|
96302
|
+
}
|
|
96303
|
+
function isOperation(operation) {
|
|
96304
|
+
return isRecord6(operation) && typeof operation.name === "string" && operation.name.length > 0;
|
|
96304
96305
|
}
|
|
96305
96306
|
function readProbeRejection(probe) {
|
|
96306
96307
|
const rejection = probe.diagnostics?.rejection;
|
|
@@ -99551,7 +99552,7 @@ async function readProcessStdin() {
|
|
|
99551
99552
|
}
|
|
99552
99553
|
|
|
99553
99554
|
// ../cli/src/version.ts
|
|
99554
|
-
var CLI_VERSION = "0.9.
|
|
99555
|
+
var CLI_VERSION = "0.9.7";
|
|
99555
99556
|
|
|
99556
99557
|
// ../cli/src/status.ts
|
|
99557
99558
|
async function statusCommand(argv, json2, io, dependencies) {
|
|
@@ -108728,7 +108729,8 @@ function toListingEndpoint(operation, fallbackDescription) {
|
|
|
108728
108729
|
...operation.requestSchema === void 0 ? {} : { requestSchema: operation.requestSchema },
|
|
108729
108730
|
...optionalStringField(operation, "responseContentType"),
|
|
108730
108731
|
...optionalStringField(operation, "pathTemplate"),
|
|
108731
|
-
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters }
|
|
108732
|
+
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters },
|
|
108733
|
+
...optionalStringField(operation, "metadataEvidence")
|
|
108732
108734
|
};
|
|
108733
108735
|
}
|
|
108734
108736
|
function optionalStringField(operation, key2) {
|