@opencampus/ocid-connect-js 2.0.5 → 2.0.7

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.
package/README.md CHANGED
@@ -357,7 +357,7 @@ Main Methods of Auth SDK
357
357
 
358
358
  | Method | Description |
359
359
  | --- | --- |
360
- | signInWithRedirect | Initialize login process. Accept "state" as an input |
360
+ | signInWithRedirect | Initialize login process. Accept "state" & "emailPlaceholder" as an input |
361
361
  | handleLoginRedirect | Return the auth state of the login process |
362
362
  | getAuthState | Return auth state data { accessToken, idToken, OCId, ethAddress, isAuthenticated } |
363
363
  | getStateParameter() | Return the state that was initialized in signin process |
@@ -371,6 +371,7 @@ import { OCAuthSandbox } from '@opencampus/ocid-connect-js';
371
371
  const authSdk = new OCAuthSandbox()
372
372
  await authSdk.signInWithRedirect( {
373
373
  state: 'opencampus',
374
+ emailPlaceholder: 'test@test.com'
374
375
  });
375
376
  ```
376
377