papiers 0.1.1 → 0.1.2

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 +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5580,7 +5580,6 @@ async function readProcessSecretLine(prompt) {
5580
5580
  }
5581
5581
  stderr.write(prompt);
5582
5582
  const wasRaw = stdin.isRaw === true;
5583
- const wasPaused = stdin.isPaused();
5584
5583
  setRawMode(true);
5585
5584
  stdin.resume();
5586
5585
  return await new Promise((resolveLine, rejectLine) => {
@@ -5594,9 +5593,7 @@ async function readProcessSecretLine(prompt) {
5594
5593
  stdin.off("data", onData);
5595
5594
  stdin.off("error", onError);
5596
5595
  setRawMode(wasRaw);
5597
- if (wasPaused) {
5598
- stdin.pause();
5599
- }
5596
+ stdin.pause();
5600
5597
  stderr.write("\n");
5601
5598
  if (error) {
5602
5599
  rejectLine(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "papiers",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Read-only CLI for your Papiers library.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://papiers.ai",