- Added
sinceVersionparameter to several endpoints (all require Switchblade 1.3.0):switchblade.versions.listswitchblade.versions.getLatest: This endpoint now accepts an optionalparamsargument which is aVersionSearchParamsobjectswitchblade.versions.get: This endpoint now accepts an optionalparamsargument which is aVersionSearchParamsobject
- Fixed an issue where the
VersionParamstype had anauthorIdparameter instead ofcreatorId - Fixed an issue where the
switchblade.versions.listendpoint acceptedShortcutSearchParamsinstead ofVersionSearchParams(fixed issue in README as well) - Added missing params
searchandcreatorIdtoVersionSearchParamsandShortcutSearchParams - Various dependency updates
- Version 1.2.0 was published and then unpublished due to an npm packaging error that resulted in an empty package
- Added
switchblade.usersnamespace to support new endpoints available in Switchblade 1.2.0. - Added
switchblade.autocompletenamespace to support new endpoints available in Switchblade 1.2.0. - Updated types to add
creatorIdonswitchblade.users.getandswitchblade.shortcuts.getfor Switchblade 1.2.0. - Corrected an issue where
undefinedornullvalues could be sent as strings when used as query parameters. - Corrected an issue with the
ShortcutParamstype that could cause thenameproperty to be marked as required when updating a shortcut. The name is not required when updating a shortcut, only during creation. - Corrected an issue with the
VersionPatchParamstype that could cause theurlproperty to be marked as required when updating a version. The URL is not required when updating a version, only during creation.
- Initial release