mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-07 21:57:09 +03:00
Update web3-provider packages and swiftlint
This commit is contained in:
parent
387fdf8f6d
commit
21ea8baa35
@ -29,5 +29,4 @@ excluded:
|
||||
- Pods
|
||||
|
||||
shorthand_operator: warning
|
||||
empty_count: warning
|
||||
dynamic_inline: warning
|
||||
|
11676
Safari Shared/web3-provider/package-lock.json
generated
11676
Safari Shared/web3-provider/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -90,7 +90,7 @@ class WalletConnect {
|
||||
|
||||
interactor.onError = { _ in }
|
||||
|
||||
interactor.onSessionRequest = { [weak self, weak interactor] (id, peerParam) in
|
||||
interactor.onSessionRequest = { [weak self, weak interactor] (_, peerParam) in
|
||||
guard let interactor = interactor else { return }
|
||||
self?.peers[interactor.clientId] = peerParam.peerMeta
|
||||
self?.sessionStorage.add(interactor: interactor, chainId: chainId, walletId: walletId, sessionDetails: peerParam)
|
||||
@ -108,7 +108,7 @@ class WalletConnect {
|
||||
self?.sessionStorage.didInteractWith(clientId: interactor?.clientId)
|
||||
}
|
||||
|
||||
interactor.eth.onTransaction = { [weak self, weak interactor] (id, event, transaction) in
|
||||
interactor.eth.onTransaction = { [weak self, weak interactor] (id, _, transaction) in
|
||||
self?.approveTransaction(id: id, wct: transaction, walletId: walletId, chainId: chainId, interactor: interactor)
|
||||
self?.sessionStorage.didInteractWith(clientId: interactor?.clientId)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user