+2
-7
src/applets/SonyToUnfoldedHex.ts
+2
-7
src/applets/SonyToUnfoldedHex.ts
···
1
-
import { question, type PromptValidator } from "@topcli/prompts";
1
+
import { question } from "@topcli/prompts";
2
2
import type { Applet } from "../Applet.ts";
3
+
import { combineBits, reverseBits } from "../util/bit-manipulation.ts";
3
4
import {
4
-
createIntPromptValidator,
5
5
createUintPromptValidator,
6
6
nonNegativeIntPromptValidator,
7
7
} from "../util/prompts.ts";
8
-
import {
9
-
combineBits,
10
-
getMaxUnsignedInt,
11
-
reverseBits,
12
-
} from "../util/bit-manipulation.ts";
13
8
import {
14
9
SONY_PROTOCOL_12_BITS,
15
10
SONY_PROTOCOL_15_BITS,
+1
-1
src/applets/UnfoldedHexToSony.ts
+1
-1
src/applets/UnfoldedHexToSony.ts
···
1
-
import { question, type PromptValidator } from "@topcli/prompts";
1
+
import { question } from "@topcli/prompts";
2
2
import type { Applet } from "../Applet.js";
3
3
import { DATA_LENGTH_BITS_TO_SONY_PROTOCOL_VARIATION } from "../util/sony.ts";
4
4
import { extractBits } from "../util/bit-manipulation.ts";