-
Notifications
You must be signed in to change notification settings - Fork 157
Conversation
@moonrise-tk Have you run yarn to update any dependencies? That might solve that issue. |
Ah shoot yall are using yarn, not npm. Works now :). I'll finish up the PR. |
Done! I didn't add tests because I guess you can't do without the API key, but I tried it, and it seems to be working. Let me know if it looks okay! Also I updated the types for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
I'm really confused: when I use the newest release of unsplash-js in my project, the distribution does not include the new topic ids param. When I What's going on? Is there somewhere else I need to update types? |
(Also i've tried cleaning my npm cache, uninstalling, reinstalling, everything) |
@moonrise-tk I'm sorry, we have a problem with our build tool: #167 I've just published a new version, this should work! https://github.com/unsplash/unsplash-js/releases/tag/v7.0.15 To verify: https://unpkg.com/[email protected]/dist/index.d.ts |
Overview
Yo. I'm trying to add topicIds support to the
getRandom
endpoint. No idea if I'm going about it right. I also keep running into this error (unrelated to the code I wrote) while building:I'm not sure what the issue is after looking at the file referenced.
Todo
Add docs and tests.
If someone can verify I'm doing this the right way, I can add docs and tests and finish up the PR.