diff --git a/packages/sismo-connect-client/src/sismo-connect.ts b/packages/sismo-connect-client/src/sismo-connect.ts index 9d3dc3e..c825d23 100644 --- a/packages/sismo-connect-client/src/sismo-connect.ts +++ b/packages/sismo-connect-client/src/sismo-connect.ts @@ -40,16 +40,6 @@ export class SismoConnectClient { this._sismoConnectConfig.displayRawResponse = false; } - if (this._sismoConnectConfig.displayRawResponse) { - console.warn("Sismo Connect displayRawResponse is true. Never use this mode in production!"); - } - - if (isImpersonationMode) { - console.warn( - `Sismo Connect redirects to the Impersonation Vault. The generated proofs are based on impersonated accounts: ${this._sismoConnectConfig.vault.impersonate}. Never use this mode in production!` - ); - } - this._sdk = new Sdk(this._sismoConnectConfig.sismoApiUrl); } diff --git a/packages/sismo-connect-server/src/sismo-connect.ts b/packages/sismo-connect-server/src/sismo-connect.ts index 50bbd68..ff46fd9 100644 --- a/packages/sismo-connect-server/src/sismo-connect.ts +++ b/packages/sismo-connect-server/src/sismo-connect.ts @@ -43,12 +43,6 @@ export class SismoConnectServer { const isImpersonationMode: boolean = config.vault?.impersonate?.length > 0; - if (isImpersonationMode) { - console.warn( - `Sismo Connect redirects to the Impersonation Vault. The generated proofs are based on impersonated accounts: ${config.vault.impersonate}. Never use this mode in production!` - ); - } - //By default use public gnosis provider const sismoConnectProvider: SismoConnectProvider = options?.provider ?? new JsonRpcProvider({ url: "https://rpc.gnosis.gateway.fm" });