Closed florianbepunkt closed 4 years ago
here shouldn't it be this.returnUri = !options.returnBuffer
as this is mutually exclusive ?
Is it mutually exclusive? I have no use case for this, but returning both, uri and buffer, would be possible atm.
Well it seems to me a pretty bad overhead to send data twice over the wire, we'd like to send the buffer to avoid requiring the decoding of the data uri. Otherwise I think that if both are required it will be more efficient to use data uri and create the buffer from it on the client side.
@claustres I see your point. Made changes as requested.
Thanks for this !
Sure thing. Any ETA yet, when this will be released to npm?
Just updated the docs so should be possible soon, I will probably close this issue so that we reopen on-demand.
Actually, I cannot push releases on NPM yet, asked @daffl if possible to add me as collaborator on NPM. Otherwise will have to wait until he releases.
I thought you already were but I just sent you an invite. You need to add your GITHUB_TOKEN for the changelog generator and then you should be able to just run npm run release:patch
(or npm run release:minor
or npm run release:major
).
Thanks, however I still have this error: You do not have permission to publish "feathers-blob". Are you logged in as the correct user?
. Did you add this NPM user https://www.npmjs.com/~claustres ? Typically I don't see the settings panel on the package, meaning I am not a registered maintainer.
Release done.
Summary
(If you have not already please refer to the contributing guideline as described here)
[x] Are there any open issues that are related to this? Closes #71 and #69
[x] Is this PR dependent on PRs in other repos? No
If so, please mention them to keep the conversations linked together.
Other Information
Sorry about the additional formatting (was the specified lint command).