Closed lonk closed 5 years ago
Just to confirm one final thing @lonk: this is not a breaking change, right? So the existing usage of unlocking will work okay the way I see it? The usage is from JS only and there you only have the number
type anyways.
It doesn't change the way unlocking was previously working ! The only change is that it doesn't throw an error anymore if the PIN is higher than 0x7FFFFFFF, and it truncates the PIN if it's higher than 0xFFFFFFFF (as an example: 0xAABBCCDDEE will try to unlock the tag with the pin 0xBBCCDDEE)
Excellent. I'll try to publish a new version soon.
Fixes #7