chore: change the incorrect property name
This commit is contained in:
@@ -115,7 +115,7 @@ export class snowflakeIdv1 {
|
|||||||
|
|
||||||
// 5.MaxSeqNumber
|
// 5.MaxSeqNumber
|
||||||
if (options.maxSeqNumber == undefined || options.maxSeqNumber <= 0)
|
if (options.maxSeqNumber == undefined || options.maxSeqNumber <= 0)
|
||||||
options.maxSeqNumber = (1 << options.SeqBitLength) - 1
|
options.maxSeqNumber = (1 << options.seqBitLength) - 1
|
||||||
|
|
||||||
// 6.MinSeqNumber
|
// 6.MinSeqNumber
|
||||||
const MinSeqNumber = 5
|
const MinSeqNumber = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user