@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/cli.js
CHANGED
|
@@ -77603,7 +77603,7 @@ function createRunBudget(args) {
|
|
|
77603
77603
|
import { mkdir as mkdir15, writeFile as writeFile8 } from "node:fs/promises";
|
|
77604
77604
|
import { arch, platform, release } from "node:os";
|
|
77605
77605
|
import { join as join13 } from "node:path";
|
|
77606
|
-
var VAPI_CLIENT_VERSION = "0.9.
|
|
77606
|
+
var VAPI_CLIENT_VERSION = "0.9.7";
|
|
77607
77607
|
async function createSupportReport(options) {
|
|
77608
77608
|
const message = options.message.trim();
|
|
77609
77609
|
if (!message) throw new Error("Support report message must not be empty.");
|
|
@@ -95053,11 +95053,12 @@ function buildPayoutSiweMessage(args) {
|
|
|
95053
95053
|
);
|
|
95054
95054
|
}
|
|
95055
95055
|
function readProbeOperations(probe) {
|
|
95056
|
-
const operations = probe.operations;
|
|
95057
|
-
if (
|
|
95058
|
-
return
|
|
95059
|
-
|
|
95060
|
-
|
|
95056
|
+
const operations = (Array.isArray(probe.operations) ? probe.operations : []).filter(isOperation);
|
|
95057
|
+
if (operations.length > 0) return operations;
|
|
95058
|
+
return isOperation(probe.endpoint) ? [probe.endpoint] : [];
|
|
95059
|
+
}
|
|
95060
|
+
function isOperation(operation) {
|
|
95061
|
+
return isRecord6(operation) && typeof operation.name === "string" && operation.name.length > 0;
|
|
95061
95062
|
}
|
|
95062
95063
|
function readProbeRejection(probe) {
|
|
95063
95064
|
const rejection = probe.diagnostics?.rejection;
|
|
@@ -98308,7 +98309,7 @@ async function readProcessStdin() {
|
|
|
98308
98309
|
}
|
|
98309
98310
|
|
|
98310
98311
|
// src/version.ts
|
|
98311
|
-
var CLI_VERSION = "0.9.
|
|
98312
|
+
var CLI_VERSION = "0.9.7";
|
|
98312
98313
|
|
|
98313
98314
|
// src/status.ts
|
|
98314
98315
|
async function statusCommand(argv, json2, io, dependencies) {
|
|
@@ -107485,7 +107486,8 @@ function toListingEndpoint(operation, fallbackDescription) {
|
|
|
107485
107486
|
...operation.requestSchema === void 0 ? {} : { requestSchema: operation.requestSchema },
|
|
107486
107487
|
...optionalStringField(operation, "responseContentType"),
|
|
107487
107488
|
...optionalStringField(operation, "pathTemplate"),
|
|
107488
|
-
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters }
|
|
107489
|
+
...operation.pathParameters === void 0 ? {} : { pathParameters: operation.pathParameters },
|
|
107490
|
+
...optionalStringField(operation, "metadataEvidence")
|
|
107489
107491
|
};
|
|
107490
107492
|
}
|
|
107491
107493
|
function optionalStringField(operation, key2) {
|