Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Deno, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score76%
Publisheda year ago (0.5.1)

Official client library for entropi Surge

I
AMREntry

An authentication methord reference (AMR) entry.

c
AuthApiError
No documentation available
T
AuthChangeEvent
No documentation available
T
AuthChangeEventMFA
No documentation available
T
AuthenticatorAssuranceLevels
No documentation available
c
AuthError
No documentation available
T
AuthFlowType
No documentation available
c
c
AuthInvalidCredentialsError
No documentation available
c
AuthInvalidTokenResponseError
No documentation available
c
T
AuthResponse
No documentation available
T
AuthResponsePassword
No documentation available
c
AuthRetryableFetchError
No documentation available
c
AuthSessionMissingError
No documentation available
T
AuthTokenResponsePassword
No documentation available
c
AuthUnknownError
No documentation available
c
AuthWeakPasswordError

This error is thrown on certain methods when the password used is deemed weak. Inspect the reasons to identify what password strength rules are inadequate.

T
CallRefreshTokenResult
No documentation available
c
CustomAuthError
No documentation available
T
InitializeResult
No documentation available
f
isAuthApiError
No documentation available
f
isAuthError
No documentation available
f
isAuthRetryableFetchError
No documentation available
f
isAuthSessionMissingError
No documentation available
f
isAuthWeakPasswordError
No documentation available
T
LockFunc

Provide your own global lock implementation instead of the default implementation. The function should acquire a lock for the duration of the fn async function, such that no other client instances will be able to hold it at the same time.

v
lockInternals
No documentation available
f
navigatorLock

Implements a global exclusive lock using the Navigator LockManager API. It is available on all browsers released after 2022-03-15 with Safari being the last one to release support. If the API is not available, this function will throw. Make sure you check availablility before configuring SurgeClient.

c
NavigatorLockAcquireTimeoutError
No documentation available
T
OAuthResponse
No documentation available
T
Provider

One of the providers supported by Surge.

T
SignInWithEmailPassword
No documentation available
T
SignInWithOAuthCredentials
No documentation available
T
SignInWithPasswordCredentials
No documentation available
T
SignInWithPhonePassword
No documentation available
T
SignInWithUsernamePassword
No documentation available
T
SignOut
No documentation available
T
SignUpWithEmailPassword
No documentation available
T
SignUpWithPasswordCredentials
No documentation available
T
SignUpWithPasswordIdentifier
No documentation available
T
SignUpWithPhonePassword
No documentation available
T
SignUpWithUsernamePassword
No documentation available
T
SSOResponse
No documentation available
I
Subscription
No documentation available
T
SupportedStorage
No documentation available
I
UserAppMetadata
No documentation available
I
UserAttributes
No documentation available
I
UserMetadata
No documentation available
T
UserResponse
No documentation available
T
WeakPassword
No documentation available
T
WeakPasswordReasons
No documentation available

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.