Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v0.3 #56

Merged
merged 4 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Changelog

## Upcoming

## 0.3.0

### Changed

- Made parameter names more consistent across the SDK. Both registration and authentication use `username` instead of `name` and `handle` parameters.

### Fixed

- Cancel pending requests `beforeunload`. This improves reliability by working around rare browser bugs, particularly during development.

## 0.2.0

### Added

- Support for automatic passkey upgrades

## 0.1.5

### Added

- New `async/await`-based API for autofilled requests
- Improved APIs for availability checks

### Fixed

- License year and other internal housekeeping

## 0.1.4

### Fixed

- Cancel pending request when a new one is starting

## 0.1.3

**Note**: This version was not released due to a tagging error.

## 0.1.2

### Changed

- Send SDK version in request headers

## 0.1.1

### Changed

- User id and handle are no longer required during client registration phase

## 0.1.0

**Initial release**
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const snapAuth = new SDK('pubkey_your_value')

### Directly linking (UMD)
```html
<script src="https://unpkg.com/@snapauth/sdk@0.2.0/dist/index.js"></script>
<script src="https://unpkg.com/@snapauth/sdk@0.3.0/dist/index.js"></script>
<script type="text/javascript">
const snapAuth = new SnapAuth.SDK('pubkey_your_value')
</script>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapauth/sdk",
"version": "0.2.0",
"version": "0.3.0",
"description": "SnapAuth JS/TS SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down