Releases: poppinss/oauth-client
Releases · poppinss/oauth-client
Add debug calls and export exception classes
- feat: export exception classes 86d8749
- refactor: debug oauth 1 signature 59873f0
- docs: fix incorrect import path in examples 95e166d
- style: update docblocks 66643b8
- feat: add debug calls 10b9ed2
- style: prefix type to type only imports and use RuntimeException 49b9cea
- chore: update dependencies 8cefa62
Full Changelog: v5.0.0-0...v5.1.0-0
Rewrite in ESM
The tests coverage has also been increased to >99
with this release.
Breaking changes
- The package is now ESM only
- The types are no longer exported from the main module. You need to use
@poppinss/oauth-client/types
path to import all types. - Some of the properties in
ApiRequestContract
are replaced with equivalent methods.- params: Record<string, any> - headers: Record<string, any> - fields: Record<string, any> - oauth1Params: Record<string, any> + getParams(): Record<string, any> + getHeaders(): Record<string, any> + getFields(): Record<string, any> + getOauth1Params(): Record<string, any>
- The
params
property inRedirectRequestContract
is replaced withgetParams
method.- params: Record<string, any> + getParams(): Record<string, any>
Commits
- refactor: rewrite in esm fe1f165
Full Changelog: v4.0.2...v5.0.0-0
Update dependencies
- chore: update dependencies ea29492
Update dependencies
- chore: update dependencies fb3de06
Drop support for Node < 16
Full Changelog: v3.0.1...v4.0.0
Update dependencies
- chore: update dependencies b0ba3a6
Update luxon to v2
Luxon v2 has breaking changes. https://moment.github.io/luxon/#/upgrading
- chore: update dependencies f13e032
update dependencies
update dependencies
- chore: update dependencies 2889f0a
Improvements to makeSignedRequest method
- refactor: improve makeSignedRequest method to generic usecases afc4ec8