Skip to content

Commit

Permalink
Merge pull request #1238 from WalletConnect/develop
Browse files Browse the repository at this point in the history
1.9.9
  • Loading branch information
llbartekll authored Nov 23, 2023
2 parents addf9a3 + c59c907 commit 58d2b49
Show file tree
Hide file tree
Showing 124 changed files with 2,627 additions and 1,824 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ci

on:
pull_request_target:
pull_request:
branches:
- develop
- main
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Run integration tests
if: matrix.type == 'integration-tests'
shell: bash
run: make integration_tests RELAY_HOST=relay.walletconnect.com PROJECT_ID=${{ secrets.PROJECT_ID }} CAST_HOST=notify.walletconnect.com EXPLORER_HOST=explorer-api.walletconnect.com GM_DAPP_PROJECT_ID=${{ secrets.GM_DAPP_PROJECT_ID }} GM_DAPP_PROJECT_SECRET=${{ secrets.GM_DAPP_PROJECT_SECRET }} GM_DAPP_HOST=gm.walletconnect.com JS_CLIENT_API_HOST=test-automation-api.walletconnect.com
run: make integration_tests RELAY_HOST=relay.walletconnect.com PROJECT_ID=${{ secrets.PROJECT_ID }} CAST_HOST=notify.walletconnect.com EXPLORER_HOST=explorer-api.walletconnect.com GM_DAPP_PROJECT_ID=${{ secrets.GM_DAPP_PROJECT_ID }} GM_DAPP_PROJECT_SECRET=${{ secrets.GM_DAPP_PROJECT_SECRET }} GM_DAPP_HOST=wc-notify-swift-integration-tests-prod.pages.dev JS_CLIENT_API_HOST=test-automation-api.walletconnect.com

# Relay Integration tests
- name: Run Relay integration tests
Expand Down
8 changes: 8 additions & 0 deletions Example/DApp/ApplicationLayer/Application.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Foundation

import WalletConnectUtils

final class Application {
var uri: WalletConnectURI?
var requestSent = false
}
15 changes: 15 additions & 0 deletions Example/DApp/Assets.xcassets/auth.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "auth.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.
12 changes: 12 additions & 0 deletions Example/DApp/Assets.xcassets/copy.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "copy.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
12 changes: 12 additions & 0 deletions Example/DApp/Assets.xcassets/ethereum.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "eth.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
12 changes: 12 additions & 0 deletions Example/DApp/Assets.xcassets/exit.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "exit.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
15 changes: 15 additions & 0 deletions Example/DApp/Assets.xcassets/pen.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "pen.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file added Example/DApp/Assets.xcassets/pen.imageset/pen.pdf
Binary file not shown.
12 changes: 12 additions & 0 deletions Example/DApp/Assets.xcassets/polygon.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "matic.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
12 changes: 12 additions & 0 deletions Example/DApp/Assets.xcassets/profile.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "profile.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
12 changes: 12 additions & 0 deletions Example/DApp/Assets.xcassets/solana.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "sol.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
38 changes: 0 additions & 38 deletions Example/DApp/Auth/AuthCoordinator.swift

This file was deleted.

102 changes: 0 additions & 102 deletions Example/DApp/Auth/AuthView.swift

This file was deleted.

88 changes: 0 additions & 88 deletions Example/DApp/Auth/AuthViewModel.swift

This file was deleted.

2 changes: 1 addition & 1 deletion Example/DApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>dapp</string>
<string>wcdapp</string>
</array>
</dict>
</array>
Expand Down
3 changes: 3 additions & 0 deletions Example/DApp/Modules/Auth/AuthInteractor.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Foundation

final class AuthInteractor {}
16 changes: 16 additions & 0 deletions Example/DApp/Modules/Auth/AuthModule.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import SwiftUI

final class AuthModule {
@discardableResult
static func create(app: Application) -> UIViewController {
let router = AuthRouter(app: app)
let interactor = AuthInteractor()
let presenter = AuthPresenter(interactor: interactor, router: router)
let view = AuthView().environmentObject(presenter)
let viewController = SceneViewController(viewModel: presenter, content: view)

router.viewController = viewController

return viewController
}
}
Loading

0 comments on commit 58d2b49

Please sign in to comment.