1
0
mirror of synced 2026-04-19 06:48:39 +08:00

Merge pull request #82 from hhk-png/master

chore: change the incorrect property name
This commit is contained in:
yitter
2023-12-07 17:02:38 +08:00
committed by GitHub

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