Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
11 KiB
@thirdweb-dev/auth
3.0.2
3.0.1
Patch Changes
3.0.0
Major Changes
-
#460
a6c074cThanks @adam-maj! - Complete Auth redesign and update to add a number of major and quality of life improvements, including the following:- Ability to use Auth APIs with both cookies and JWTs, allowing non browser clients to interact with Auth (mobile, gaming, scripts, etc.)
- Ability to store session data and other data on the Auth user
- Callbacks to run side-effects on login, logout, and requesting user data
- Ability to configure cookies for custom domains and backend setups
- Support for validation of the entire EIP4361/CAIP122 specification
- No more need for redirects or payload encoding on Auth requests
- and more...
See the new documentation to view the new changes and usage: Auth Documentation.
How to upgrade
The
ThirdwebAuthconstructor now takes thedomainin the constructor, and takes a more genericwalletinterface as input. Thewalletcan be imported from the@thirdweb-dev/walletspackage, or for more simpler use cases, from the@thirdweb-dev/auth/evmand@thirdweb-dev/auth/solanaentrypoints.import { PrivateKeyWallet } from "@thirdweb-dev/auth/evm"; // Pass in domain and wallet to the constructor const wallet = new PrivateKeyWallet("0x..."); const auth = new ThirdwebAuth(wallet, "example.com"); // Auth functions no longer require domain to be passed in const payload = await auth.login();
2.0.41
2.0.40
2.0.39
2.0.38
2.0.37
2.0.36
2.0.35
2.0.34
Patch Changes
2.0.33
2.0.32
2.0.31
Patch Changes
2.0.30
2.0.29
2.0.28
2.0.27
2.0.26
2.0.25
2.0.24
2.0.23
2.0.22
2.0.21
Patch Changes
2.0.20
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
Patch Changes
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
Patch Changes
- Updated dependencies [
ce05bfd]:- @thirdweb-dev/[email protected]
2.0.7
Patch Changes
- Updated dependencies [
5f5ab01]:- @thirdweb-dev/[email protected]
2.0.6
Patch Changes
- Updated dependencies [
a80fc97]:- @thirdweb-dev/[email protected]
2.0.5
Patch Changes
- Updated dependencies [
4169b94,3b877ba,b54f95d,f8ab477,772f843,a9ec190,208b038,5345479]:- @thirdweb-dev/[email protected]
2.0.4
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
2.0.3
Patch Changes
- Updated dependencies [
51dde28,9d74a43,b234c58]:- @thirdweb-dev/[email protected]
2.0.2
Patch Changes
- Updated dependencies [
42c79e9,fe8751e]:- @thirdweb-dev/[email protected]
2.0.1
Patch Changes
- Updated dependencies [
98dd64a]:- @thirdweb-dev/[email protected]
2.0.0
Patch Changes
- Updated dependencies [
a70b590,a37bc00,b442c97,0fa6f3f,2adb8ff,5a5bc36,820a519,0fa6f3f,82627ea]:- @thirdweb-dev/[email protected]
1.0.8
Patch Changes
- Updated dependencies [
baa87a1,4079326,05353fd]:- @thirdweb-dev/[email protected]
1.0.7
Patch Changes
-
#61
3287c2bThanks @jnsdls! - fix versions in dependencies before releasing stable -
Updated dependencies [
3287c2b]:- @thirdweb-dev/[email protected]
1.0.6
Patch Changes
- Updated dependencies [
6ba9cad]:- @thirdweb-dev/[email protected]
1.0.5
Patch Changes
-
Updated dependencies [
5644ccd]:- @thirdweb-dev/[email protected]
1.0.4
Patch Changes
-
Updated dependencies [
091f175]:- @thirdweb-dev/[email protected]
1.0.3
Patch Changes
- Updated dependencies []:
- @thirdweb-dev/[email protected]
1.0.2
Patch Changes
-
#38
74640b2Thanks @adam-maj! - Add callbacks to express and next auth -
#43
821383eThanks @jnsdls! - export all entrypoints from main package -
#46
349b5c1Thanks @jnsdls! - imrprove babel & tsconfig settings -
#47
82156ccThanks @jnsdls! - re-enable cache for auth build output -
#37
5d8654aThanks @adam-maj! - Update user endpoints for express and next -
Updated dependencies [
ed639d6,349b5c1,46ad691,5731ac2,5731ac2]:- @thirdweb-dev/[email protected]
1.0.1
Patch Changes
02c2b52: force version- Updated dependencies [
02c2b52]- @thirdweb-dev/[email protected]
1.0.0
Minor Changes
3abe26c: initialze monorepo packages
Patch Changes
- Updated dependencies [
3abe26c]- @thirdweb-dev/[email protected]