@startbahn/startrail-sdk-js 1.28.0-beta.1 → 1.28.0-beta.2

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
@@ -43,8 +43,8 @@ const startrail = new Startrail(params)
43
43
  - `env` (optional): Environment that impacts on blockchain network, and EOA with startrail Email/Password
44
44
  - `production`: Matic network. TORUS production account and Startrail production Auth0 account. It is designed to communicate to Startrail production API.
45
45
  - `staging`: Mumbai network. TORUS production account and Startrail staging Auth0 account. It is designed to communicate to Startrail staging API.
46
- - `beta`: Mumbai network. TORUS beta account and Startrail qa Auth0 account. It is designed to communicate to Startrail qa API.
47
- - `local`: https://localhost:8545 network for local dev. TORUS beta account and Startrail beta Auth0 account. It is designed to communicate to localhost API.
46
+ - `lrc`: Mumbai network. TORUS lrc account and Startrail qa Auth0 account. It is designed to communicate to Startrail qa API.
47
+ - `local`: https://localhost:8545 network for local dev. TORUS lrc account and Startrail lrc Auth0 account. It is designed to communicate to localhost API.
48
48
 
49
49
  [For Startrail wallet powered by TORUS]
50
50
  - `authAction` (optional): Activate only selected action tab on the Email popup. Wording is also changed based on your choice. It points to
@@ -59,12 +59,13 @@ const startrail = new Startrail(params)
59
59
  - `ja`: Japanese
60
60
  - `loginProvider` (optional): Login provider preference
61
61
  - `email_password`: Email Password login
62
- - `google`: Google Oauth Login
63
- - `customUi`: Customising UI. If no parameters are set, default values are applied.
62
+ - `google`: Google Oauth Login
63
+ - `customUi`: Customising UI. If no parameters are set, default values are applied.
64
64
  - `logoUrl`: Applied to all logos in Startrail-sdk-js
65
65
  - `serviceName`: Applied to all service name in Startrail-sdk-js
66
66
  - `contactUrl`: Applied to the contact email in signup Email verification email
67
67
  - `words`: See more details in Example section
68
+ - `logoWhiteUrl`: Applied to all white logos on black background in Startrail-sdk-js
68
69
  - `callbackUrl` (optional): Callback URL to redirect to from E-Mail template for signup verification
69
70
  - `withModal` (optional): Specifies if the Torus Login Provider Modal should be shown. Default value is set to `false`
70
71
  - `rpcEndpoint` (optional): RpcEndpoint that is accessed from the wallet you login/signup
@@ -76,7 +77,7 @@ const startrail = new Startrail(params)
76
77
  ```
77
78
  sdk = new Startrail({
78
79
  apiPath:'http://localhost:3000/api/v1/',
79
- env: 'beta',
80
+ env: 'lrc',
80
81
  wallet: 'startrail',
81
82
  authAction: { login: true, signup: false },
82
83
  auth0ClientId: 'test-auth0-client-id',
@@ -88,6 +89,7 @@ sdk = new Startrail({
88
89
  withModal: true,
89
90
  customUi: {
90
91
  logoUrl: 'https://sample.com/logo',
92
+ logoWhiteUrl: 'https://sample.com/white-logo',
91
93
  serviceName: 'your service',
92
94
  contactUrl: 'contact@startrail.io',
93
95
  words: {
@@ -128,6 +130,7 @@ sdk = new Startrail({
128
130
  titleLogin: 'あなたの titleLogin',
129
131
  titleSignup: 'あなたの titleSignup'
130
132
  }
133
+ }
131
134
  }
132
135
  }
133
136
  })