Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "big-uuid", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "An RFC 4112 conformant UUID generator creating v1, v3, v4, and v5 UUIDs.", | ||
@@ -5,0 +5,0 @@ "main": "dist/node.es6/index.js", |
@@ -15,3 +15,2 @@ /* An RFC 4112 UUID generator for generating IFIDs, or Interactive Fiction | ||
export * from './nodeIdentifierGetter'; | ||
export * from './numberAsLittleEndianHexStr'; | ||
export * from './timestampGetter'; | ||
@@ -18,0 +17,0 @@ export * from './uintArrayAsNumber'; |
@@ -234,13 +234,6 @@ import { | ||
const leHexToBeHex = (leHex: string) => ( | ||
parseInt( | ||
parseInt(leHex, 16).toString(2).split('').reverse().join(), | ||
2 | ||
).toString(16) | ||
); | ||
const timeLow = split[0]; | ||
const timeMid = split[1]; | ||
const timeHighAndVersion = split[2]; | ||
const timeLow = leHexToBeHex(split[0]); | ||
const timeMid = leHexToBeHex(split[1]); | ||
const timeHighAndVersion = leHexToBeHex(split[2]); | ||
const timeHigh = timeHighAndVersion.slice(0, 3); | ||
@@ -257,3 +250,3 @@ const version = timeHighAndVersion[4]; | ||
const clockSequenceHighAndReservedAndLow = leHexToBeHex(split[3]); | ||
const clockSequenceHighAndReservedAndLow = split[3]; | ||
const clockSequenceHighAndReservedHex = | ||
@@ -278,3 +271,3 @@ clockSequenceHighAndReservedAndLow.slice(0, 2); | ||
const nodeIdentifierHex = leHexToBeHex(split[4]); | ||
const nodeIdentifierHex = split[4]; | ||
const nodeIdentifierArr = []; | ||
@@ -281,0 +274,0 @@ for (let ii = 0; ii < 12; ii += 2) { |
370452
153
3373