1
0
mirror of synced 2025-11-06 03:20:55 +08:00

chore: change the incorrect property name

This commit is contained in:
hhk-png
2023-09-20 19:06:32 +08:00
parent 0783aba37a
commit aeec09a32a

View File

@@ -115,7 +115,7 @@ export class snowflakeIdv1 {
// 5.MaxSeqNumber
if (options.maxSeqNumber == undefined || options.maxSeqNumber <= 0)
options.maxSeqNumber = (1 << options.SeqBitLength) - 1
options.maxSeqNumber = (1 << options.seqBitLength) - 1
// 6.MinSeqNumber
const MinSeqNumber = 5