@startbahn/startrail-sdk-js 2.0.0-beta.4 → 2.0.0-beta.5
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/dist/startrail-sdk.js +4 -1
- package/package.json +1 -1
package/dist/startrail-sdk.js
CHANGED
|
@@ -232489,7 +232489,10 @@ class Torus extends base {
|
|
|
232489
232489
|
};
|
|
232490
232490
|
this.wsSDK = new Web3AuthNoModal({
|
|
232491
232491
|
clientId: WS_CLIENT_IDS[torusConfig?.buildEnv || 'production'],
|
|
232492
|
-
web3AuthNetwork: torusConfig?.buildEnv === 'production'
|
|
232492
|
+
web3AuthNetwork: torusConfig?.buildEnv === 'production' ||
|
|
232493
|
+
torusConfig?.buildEnv === 'staging'
|
|
232494
|
+
? 'mainnet'
|
|
232495
|
+
: 'testnet',
|
|
232493
232496
|
authBuildEnv: torusConfig?.buildEnv || 'production',
|
|
232494
232497
|
enableLogging: true,
|
|
232495
232498
|
mfaLevel: config?.mfaLevel || 'none',
|