@bounded-sh/core 0.0.62 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ export interface ClientConfig {
5
5
  /** Auth method. Configure exactly one method at init time.
6
6
  * Bounded Auth is the default restore/logout surface; start email, social,
7
7
  * and optional text login with loginWithRedirect/loginWithPopup.
8
- * 'phantom' = connect a Solana wallet (Phantom), for crypto/onchain apps
9
- * that need a real @user.address. Guests use signInAnonymously(), not
8
+ * Default email/social auth includes a Turnkey Solana wallet. 'phantom'
9
+ * connects an existing Solana wallet instead. Guests use signInAnonymously(), not
10
10
  * authMethod. */
11
11
  authMethod: 'none' | 'email' | 'guest' | 'wallet' | 'evm-wallet' | 'rainbowkit' | 'coinbase-smart-wallet' | 'onboard' | 'phantom' | 'mobile-wallet-adapter' | 'privy' | 'privy-expo';
12
12
  wsApiUrl: string;
package/dist/types.d.ts CHANGED
@@ -28,7 +28,9 @@ export interface User {
28
28
  /**
29
29
  * Universal stable identity of the user (resolves @user.id). For wallet/SIWS
30
30
  * logins this EQUALS `address`; for email/social (Bounded Better Auth) logins
31
- * it is the account identity (and `address` may be null). Derived from the
31
+ * it is the account identity and `address` is normally the default Turnkey
32
+ * wallet. `address` may be null for explicit wallet opt-out and unsupported
33
+ * login types. Derived from the
32
34
  * idToken's `custom:userId` claim. Used for ownership/membership/identity.
33
35
  *
34
36
  * Optional only for manually constructed users or invalid legacy tokens. New
@@ -36,8 +38,8 @@ export interface User {
36
38
  */
37
39
  id?: string;
38
40
  /**
39
- * REAL onchain wallet address. Present for wallet/SIWS logins; `null` for
40
- * email-only logins (which have no wallet until they link one). Kept for
41
+ * REAL onchain wallet address. Present for wallet/SIWS logins and normally for
42
+ * email/social logins through the default Turnkey wallet. Kept for
41
43
  * backwards compatibility — for wallet users `id === address`.
42
44
  */
43
45
  address: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bounded-sh/core",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "description": "Shared client, data-plane, and transport primitives for Bounded, the full-stack app builder and runtime for AI-built apps: policy-enforced operations, files, functions, and realtime.",
5
5
  "homepage": "https://bounded.sh/docs/sdk",
6
6
  "main": "./dist/index.js",