We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75eefa4 commit 598c8c6Copy full SHA for 598c8c6
README.md
@@ -33,9 +33,9 @@ npm install underlords
33
import { ShareCodeV8 } from "underlords";
34
35
// Parse an Underlords share code to a ShareCodeV8 instance
36
-const shareCode =
+const shareCodeString =
37
"8qAMAAP4BAK4BAATjJ/5uAEZuAAAgEVM0LgAAAG0AbQAACwAAAP8BDAABCRsI/wAJARcBAQAOAQUBAQAGES0QbUBHOlcBEmoBAAFIACABaBABAyAAEAEpLAIgIAAwAAAGAgEgAAWCAHUR2gB0EQkBAQRjAAVyLBAAAgABBAMGdycAdy4fAK4BAA==";
38
-const shareCode = ShareCodeV8.fromBase64String(shareCode);
+const shareCode = ShareCodeV8.fromBase64String(shareCodeString);
39
40
// Log board unit at index 0x0
41
console.log(shareCode.boardUnitIDs[0][0]);
0 commit comments