@polka-codes/runner 0.9.20 → 0.9.22
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30458,7 +30458,7 @@ var {
|
|
|
30458
30458
|
Help
|
|
30459
30459
|
} = import__.default;
|
|
30460
30460
|
// package.json
|
|
30461
|
-
var version = "0.9.
|
|
30461
|
+
var version = "0.9.22";
|
|
30462
30462
|
|
|
30463
30463
|
// src/runner.ts
|
|
30464
30464
|
import { execSync } from "node:child_process";
|
|
@@ -73725,7 +73725,7 @@ var getProvider = (_agentName, _config, options = {}) => {
|
|
|
73725
73725
|
const data2 = await readFile(resolvedPath);
|
|
73726
73726
|
const mediaType2 = $lookup(resolvedPath) || "application/octet-stream";
|
|
73727
73727
|
return {
|
|
73728
|
-
base64Data: data2.
|
|
73728
|
+
base64Data: data2.toString("base64"),
|
|
73729
73729
|
mediaType: mediaType2
|
|
73730
73730
|
};
|
|
73731
73731
|
}
|
|
@@ -73736,7 +73736,7 @@ var getProvider = (_agentName, _config, options = {}) => {
|
|
|
73736
73736
|
const data = await response.arrayBuffer();
|
|
73737
73737
|
const mediaType = $lookup(url3) || "application/octet-stream";
|
|
73738
73738
|
return {
|
|
73739
|
-
base64Data: Buffer.from(data).
|
|
73739
|
+
base64Data: Buffer.from(data).toString("base64"),
|
|
73740
73740
|
mediaType
|
|
73741
73741
|
};
|
|
73742
73742
|
},
|