@polka-codes/cli 0.9.21 → 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
|
@@ -49181,7 +49181,7 @@ var {
|
|
|
49181
49181
|
Help
|
|
49182
49182
|
} = import__.default;
|
|
49183
49183
|
// package.json
|
|
49184
|
-
var version = "0.9.
|
|
49184
|
+
var version = "0.9.22";
|
|
49185
49185
|
|
|
49186
49186
|
// ../../node_modules/@inquirer/core/dist/esm/lib/key.js
|
|
49187
49187
|
var isUpKey = (key) => key.name === "up" || key.name === "k" || key.ctrl && key.name === "p";
|
|
@@ -104368,7 +104368,7 @@ var getProvider = (_agentName, _config, options = {}) => {
|
|
|
104368
104368
|
const data2 = await readFile(resolvedPath);
|
|
104369
104369
|
const mediaType2 = $lookup(resolvedPath) || "application/octet-stream";
|
|
104370
104370
|
return {
|
|
104371
|
-
base64Data: data2.
|
|
104371
|
+
base64Data: data2.toString("base64"),
|
|
104372
104372
|
mediaType: mediaType2
|
|
104373
104373
|
};
|
|
104374
104374
|
}
|
|
@@ -104379,7 +104379,7 @@ var getProvider = (_agentName, _config, options = {}) => {
|
|
|
104379
104379
|
const data = await response.arrayBuffer();
|
|
104380
104380
|
const mediaType = $lookup(url3) || "application/octet-stream";
|
|
104381
104381
|
return {
|
|
104382
|
-
base64Data: Buffer.from(data).
|
|
104382
|
+
base64Data: Buffer.from(data).toString("base64"),
|
|
104383
104383
|
mediaType
|
|
104384
104384
|
};
|
|
104385
104385
|
},
|