Miscellaneous:
- Add
onclickhandler to QR element to copy the request data as JSON to the clipboard.
Bug fixes:
- Append the
share-kit-fromquery parameter withinrenderRequestButtonandrenderRequestQRCodeso it's appended when updating the request element.
Bug fixes:
- Replace
append-querydependency with internal function- Fixes
npm auditwarning
- Fixes
Improvements
- Update the
verifybutton's text to "Verify with Bloom" instead of "Verify with BloomID"
New Features:
- Button variations are now available!
- This includes three sizes: small, medium, and large
- Large is what was being rendered before
- And style/content variations for each size
- Small: square, rounded square, circle, squircle
- Small buttons can also have their foreground and background colors switched with the
invertedfield
- Small buttons can also have their foreground and background colors switched with the
- Medium: log in, sign up, connect, bloom, and verify
- Large: log in, sign up, connect, bloom, and verify
- Small: square, rounded square, circle, squircle
- This includes three sizes: small, medium, and large
Improvements
- Use tsdx to build
Breaking
- This package no longer provides validation utils, instead use verify-kit
- Remove
buttonCallbackUrlin favor ofbuttonOptions- This will be expanded to include options for button type (signin/signup/verify/etc.) among other things
Improvements
- Improve how padding is calculated and displayed
Breaking
- Render "Verify with Bloom" button for clients on Android devices
Improvements:
- Bump to web3x@3.0.0
- This removed
New Features:
renderRequestElement: Renderer that dynamically renders a "Tap To Share" button or QR code based on the client's user agent.- On mobile it will render a button that opens the Bloom app
- On desktop it will render a QR code that the user will scan with the Bloom app
Breaking:
-
This release removes all depecreated functions and the react dependency. There will be a
share-kit-reactlibrary coming soon! -
generateRequestQRCOde,manageRequestQRCode, andRequestQRCodeare removed- Replacements:
generateRequestQRCOde=>renderRequestElementmanageRequestQRCode=>renderRequestElementRequestQRCode=>RequestElement(from share-kit-react coming soon!!)
- Replacements:
Improvements:
- Improve "eye" rendering
Improvements:
- Fix default width calculation of logo image
New Features:
- Implement a QR code with circles and rounded "eyes" instead of squares
- Add
generateRequestQRCode- This takes a
canvaselement as well as the request data and options for the QR code.
- This takes a
Improvements:
- Change the default EC level of the QR code to
L - Change image URLs in README so they show up on npm
- Make it so the logo doesn't half-cover any data bits
- Change the logo background from a rounded rectangle to a regular rectangle
Deprecations:
createRequestQRCode,updateRequestQRCode, andremoveRequestQRCode- If using React use
RequestQRCode, otherwise usegenerateRequestQRCode
- If using React use
Bug fixes:
- Fix npm package
- Use package.json#files to include only the files we need in the package
Bug fixes:
- Fix npm package including the
.gitdirectory- Now using
yarn publishwith yarn 1.12.1 since it supports 2fa
- Now using
Bug fixes:
- Fix rendering issue in Firefox
BREAKING:
- Removed the
renderAsprop, the QR will always render with canvas now
New Features:
- Add a image overlay to the QR code, can be turned off with the
hideLogoprop
Bug fixes:
- Fix types
New Features:
- Add verification utils
- Initial release