Rewrite in ESM
Pre-release
Pre-release
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