@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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. 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.21";
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.toBase64(),
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).toBase64(),
104382
+ base64Data: Buffer.from(data).toString("base64"),
104383
104383
  mediaType
104384
104384
  };
104385
104385
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli",
3
- "version": "0.9.21",
3
+ "version": "0.9.22",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",