This repository was archived by the owner on May 15, 2021. It is now read-only.
Releases: hellobloom/share-kit
Releases · hellobloom/share-kit
4.0.1
Improvements:
- Bump to [email protected]
4.0.0
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-react
library coming soon! -
generateRequestQRCOde
,manageRequestQRCode
, andRequestQRCode
are removed- Replacements:
generateRequestQRCOde
=>renderRequestElement
manageRequestQRCode
=>renderRequestElement
RequestQRCode
=>RequestElement
(from share-kit-react coming soon!!)
- Replacements:
2.2.0
2.2.0
Improvements:
- Improve "eye" rendering
2.1.1
2.1.1 (HOTFIX)
Improvements:
- Fix default width calculation of logo image
2.1.0
2.1.0
New Features:
- Implement a QR code with circles and rounded "eyes" instead of squares
- Add
generateRequestQRCode
- This takes a
canvas
element 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
2.0.3
Bug fixes:
- Fix npm package
- Use package.json#files to include only the files we need in the package
2.0.2
Bug fixes:
- Fix npm package including the
.git
directory- Now using
yarn publish
with yarn 1.12.1 since it supports 2fa
- Now using
2.0.1
Bug fixes:
- Fix rendering issue in Firefox
2.0.0
BREAKING:
- Removed the
renderAs
prop, the QR will always render with canvas now
New Features:
- Add a image overlay to the QR code, can be turned off with the
hideLogo
prop