Didn't respect uuid v4
masseuro opened this issue · comments
Aurélien Masfrand commented
in xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
y have to be [89ab]
Danny commented
I guess I misunderstood the spec, I see what you mean, x can be 0123456789abcdef and y needs to be 89ab. I'll refactor the service, and add some unit tests!
Danny commented
@masseuro v4 compliance verified, thanks for pointing that out.
https://github.com/daniellmb/angular-uuid-service/blob/master/test/spec/angular-uuid-service.spec.js#L67