@phantom/react-sdk 1.0.7 → 2.0.0

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1349,9 +1349,11 @@ interface PhantomSDKConfig {
1349
1349
  // Optional configuration
1350
1350
  apiBaseUrl?: string; // Phantom API base URL (optional, has default)
1351
1351
  authOptions?: {
1352
- authUrl?: string; // Custom auth URL (optional, defaults to "https://connect.phantom.app/login")
1352
+ authUrl?: string; // Custom auth URL (optional, defaults to "https://connect.phantom.app/login/start")
1353
1353
  redirectUrl?: string; // Custom redirect URL after authentication (optional)
1354
+ authApiBaseUrl?: string; // Custom OAuth URL (optional)
1354
1355
  };
1356
+
1355
1357
  embeddedWalletType?: "user-wallet"; // Wallet type (optional, defaults to "user-wallet")
1356
1358
  autoConnect?: boolean; // Auto-connect to existing session (default: true when embedded providers used)
1357
1359
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phantom/react-sdk",
3
- "version": "1.0.7",
3
+ "version": "2.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/phantom/phantom-connect-sdk",
@@ -31,10 +31,10 @@
31
31
  "prettier": "prettier --write \"src/**/*.{ts,tsx}\""
32
32
  },
33
33
  "dependencies": {
34
- "@phantom/browser-sdk": "^1.0.7",
35
- "@phantom/chain-interfaces": "^1.0.7",
36
- "@phantom/constants": "^1.0.7",
37
- "@phantom/wallet-sdk-ui": "^1.0.7"
34
+ "@phantom/browser-sdk": "^2.0.0",
35
+ "@phantom/chain-interfaces": "^2.0.0",
36
+ "@phantom/constants": "^2.0.0",
37
+ "@phantom/wallet-sdk-ui": "^2.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/dom": "^10.4.0",