Skip to content

Commit

Permalink
Merge pull request #203 from nightly-labs/passkey_fixed
Browse files Browse the repository at this point in the history
Passkey fixed
  • Loading branch information
dzlk17 authored Sep 16, 2024
2 parents bc171d0 + f92f5f9 commit cc0ca8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/packages/cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nightlylabs/nightly-cloud",
"version": "0.0.18",
"version": "0.0.19",
"type": "module",
"exports": {
".": {
Expand Down
5 changes: 3 additions & 2 deletions sdk/packages/cloud/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import {
HttpRegisterNewAppResponse,
HttpRegisterNewTeamRequest,
HttpRegisterNewTeamResponse,
HttpRegisterWithPasskeyFinishResponse,
HttpRegisterWithPasskeyStartRequest,
HttpRegisterWithPasswordFinishRequest,
HttpRegisterWithPasswordFinishResponse,
Expand Down Expand Up @@ -213,12 +214,12 @@ export class NightlyCloud {

registerWithPasskeyFinish = async (
request: HttpRegisterWithPasskeyFinishRequest
): Promise<HttpRegisterWithPasswordFinishResponse> => {
): Promise<HttpRegisterWithPasskeyFinishResponse> => {
const response = (await this.sendPostJson(
'/register_with_passkey_finish',
EndpointType.Public,
request
)) as HttpRegisterWithPasswordFinishResponse
)) as HttpRegisterWithPasskeyFinishResponse

return response
}
Expand Down

0 comments on commit cc0ca8c

Please sign in to comment.