Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
Browse files Browse the repository at this point in the history
…V2 into refactor-sign-client-tests

# Conflicts:
#	Example/ExampleApp.xcodeproj/project.pbxproj
  • Loading branch information
llbartekll committed Nov 20, 2023
2 parents 486a348 + 3628405 commit 1f568af
Show file tree
Hide file tree
Showing 145 changed files with 2,761 additions and 1,652 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
3 changes: 2 additions & 1 deletion .github/workflows/cocoapods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
types: [ published ]
jobs:
set-user-agent:
runs-on: macos-latest
runs-on:
group: apple-silicon
steps:
- uses: actions/checkout@v2
with:
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 {}
Loading

0 comments on commit 1f568af

Please sign in to comment.