@mochabug/adaptkit 0.12.15 → 0.12.17
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/bin/index.js +6 -9
- package/bin/publish.d.ts.map +1 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -1851,10 +1851,7 @@ async function sendPlugin(manifest, client, metadata) {
|
|
|
1851
1851
|
await send(vertex.config);
|
|
1852
1852
|
}
|
|
1853
1853
|
await stream.requests.complete();
|
|
1854
|
-
|
|
1855
|
-
const trailers = await stream.trailers;
|
|
1856
|
-
const headers = await stream.trailers;
|
|
1857
|
-
printRpcSuccess(status, headers, trailers);
|
|
1854
|
+
printRpcSuccess(await stream.status, await stream.headers, await stream.trailers);
|
|
1858
1855
|
}
|
|
1859
1856
|
async function emulate(manifest, host) {
|
|
1860
1857
|
const transport = new GrpcTransport({
|
|
@@ -1909,12 +1906,12 @@ function printRpcSuccess(status, headers, trailers) {
|
|
|
1909
1906
|
? chalk.bold.white('Details: ') + chalk.greenBright(status.detail)
|
|
1910
1907
|
: chalk.gray('No Details Provided');
|
|
1911
1908
|
const headerInfo = chalk.bold.white('Headers:\n') +
|
|
1912
|
-
(headers
|
|
1913
|
-
? chalk.blue(JSON.stringify(headers
|
|
1909
|
+
(headers
|
|
1910
|
+
? chalk.blue(JSON.stringify(headers, null, 2))
|
|
1914
1911
|
: chalk.gray(' No Metadata'));
|
|
1915
1912
|
const trailerInfo = chalk.bold.white('Trailers:\n') +
|
|
1916
|
-
(trailers
|
|
1917
|
-
? chalk.blue(JSON.stringify(trailers
|
|
1913
|
+
(trailers
|
|
1914
|
+
? chalk.blue(JSON.stringify(trailers, null, 2))
|
|
1918
1915
|
: chalk.gray(' No Trailers'));
|
|
1919
1916
|
console.log(line);
|
|
1920
1917
|
console.log(title);
|
|
@@ -2112,7 +2109,7 @@ function handleVersion(bump, cmd) {
|
|
|
2112
2109
|
}
|
|
2113
2110
|
async function main() {
|
|
2114
2111
|
const notifier = updateNotifier({
|
|
2115
|
-
pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.12.
|
|
2112
|
+
pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.12.17"}')
|
|
2116
2113
|
});
|
|
2117
2114
|
notifier.notify({ isGlobal: true, defer: false });
|
|
2118
2115
|
program
|
package/bin/publish.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../src/publish.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,QAAQ,EAET,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../src/publish.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,QAAQ,EAET,MAAM,kDAAkD,CAAC;AAgM1D,wBAAsB,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,iBAkB7D;AAED,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,iBA0BlB"}
|