We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a81525 commit b4da17eCopy full SHA for b4da17e
src/ext/process-response.ts
@@ -10,6 +10,8 @@ import {
10
} from "../models/index.js";
11
import {Text} from "./text.js";
12
import {Images} from "./images.js";
13
+// @ts-ignore
14
+import converter from "base64-arraybuffer";
15
16
17
export class Response {
@@ -38,6 +40,11 @@ export class Response {
38
40
this.images = new Images(imagesResult.Images)
39
41
}
42
43
+
44
+ public decodedLog(): string | undefined {
45
+ const log = this.lowLvlResponse.log
46
+ return log ? String.fromCharCode.apply(null, new Uint8Array(converter.decode(log))) : undefined;
47
+ }
48
49
50
export class LowLvlResponse implements ProcessResponse {
0 commit comments