Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion docs/change-of-ownership.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,36 @@ image: "images/docs-meta-cards/documentation-card.png"
This notice is to inform you that **Torus Labs Private Limited (Web3Auth)** has been acquired by
**Consensys Software Inc.**

Your use of the Web3Auth offerings will be subject to
Your use of the Web3Auth offerings will be import UIKit
import Web3Auth

class ViewController: UIViewController {
private var web3Auth: Web3Auth?

override func viewDidLoad() {
super.viewDidLoad()

let connectButton = UIButton(type: .system)
connectButton.setTitle("Connect to web3auth", for: .normal)
connectButton.addTarget(self, action: #selector(connect), for: .touchUpInside)
connectButton.frame = CGRect(x: 50, y: 200, width: 200, height: 50)
view.addSubview(connectButton)

Task {
web3Auth = try? await Web3Auth(W3AInitParams(
clientId: ProcessInfo.processInfo.environment["WEB3AUTH_CLIENT_ID"] ?? "",
network: .sapphire_mainnet,
redirectUrl: "web3auth.ios-example://auth"
))
}
}

@objc private func connect() {
Task {
try? await web3Auth?.login(W3ALoginParams(loginProvider: .EMAIL_PASSWORDLESS))
}
}
} to
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swift code accidentally pasted into legal documentation page

High Severity

An entire Swift/iOS ViewController class has been accidentally pasted into the middle of the Change of Ownership legal notice, replacing the word "subject" in the sentence "Your use of the Web3Auth offerings will be subject to". The page now reads "will be import UIKit … class ViewController … } to [Consensys' Terms of Use]", rendering the legal text broken and displaying unrelated source code to users on a public documentation site.

Fix in Cursor Fix in Web

[Consensys’ Terms of Use](https://consensys.io/terms-of-use) and the processing of your data
(including the transfer of data to Consensys) will be completed in accordance with
[Consensys’ Privacy Notice](https://consensys.io/privacy-notice). We remain committed to protecting
Expand Down