Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.10.0 #1258

Merged
merged 79 commits into from
Dec 18, 2023
Merged

1.10.0 #1258

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
681c1e5
add migration to CodableStore
llbartekll Nov 21, 2023
9a39564
savepoint
llbartekll Nov 21, 2023
6e3cb99
add group identifier to clients
llbartekll Nov 22, 2023
2d355be
savepoint
llbartekll Nov 23, 2023
aae85bd
update tests
llbartekll Nov 23, 2023
34bf304
add more client id storage tests
llbartekll Nov 23, 2023
31c674e
remove items from old defaults
llbartekll Nov 23, 2023
646ef18
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
llbartekll Nov 24, 2023
062753a
savepoint
llbartekll Nov 24, 2023
2ddd01d
update
llbartekll Nov 24, 2023
a1e6e59
update push client's register method, wip NotificationService
llbartekll Nov 24, 2023
5553219
add sign decryption service
llbartekll Nov 27, 2023
7d0b797
savepoint
llbartekll Nov 27, 2023
8d7a6aa
savepoint
llbartekll Nov 27, 2023
79ec49e
update decryption services
llbartekll Nov 28, 2023
cd926be
fix client id migration
llbartekll Nov 28, 2023
404c09d
fix build
llbartekll Nov 28, 2023
01c3789
fix networking init
llbartekll Nov 28, 2023
eee1c62
Merge branch 'user-defaults-group-migration' of github.com:WalletConn…
llbartekll Nov 28, 2023
546aaca
remove unused scheme
llbartekll Nov 29, 2023
6b6119a
Curate explorer listings
flypaper0 Nov 28, 2023
6746392
migrate to group on read
llbartekll Nov 29, 2023
d48d87a
savepoint
llbartekll Nov 29, 2023
5026e69
fix build
llbartekll Nov 29, 2023
9ee0f4a
savepoint
llbartekll Nov 29, 2023
37a6d65
savepoint
llbartekll Nov 29, 2023
ab1d5f0
fatal error on unsuccessful userdefaults init
llbartekll Nov 29, 2023
c652009
add thread safety for migration
llbartekll Nov 29, 2023
2e63200
migrate on update
llbartekll Nov 30, 2023
4ed3ba9
fix build
llbartekll Nov 30, 2023
7bf4c89
fix tests
llbartekll Nov 30, 2023
bab4983
fix build all
llbartekll Nov 30, 2023
7bf3088
savepoint
llbartekll Nov 30, 2023
3885400
Merge branch 'user-defaults-group-migration' of github.com:WalletConn…
llbartekll Nov 30, 2023
a71a055
remove throw
llbartekll Nov 30, 2023
1eafaa9
Merge branch 'keychain-group-migration' of github.com:WalletConnect/W…
llbartekll Dec 1, 2023
5b05a65
fix build
llbartekll Dec 1, 2023
63b204d
refactor to handle request types
llbartekll Dec 1, 2023
e44cef0
fix session request notification
llbartekll Dec 1, 2023
8083877
fix session proposal
llbartekll Dec 1, 2023
52fa7b8
fix auth request
llbartekll Dec 1, 2023
78be65a
fix build
llbartekll Dec 1, 2023
ef8dab0
Merge pull request #1240 from WalletConnect/user-defaults-group-migra…
llbartekll Dec 1, 2023
409ea7c
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
llbartekll Dec 1, 2023
e7e759b
add mixpanel to w3w
llbartekll Dec 1, 2023
3867a65
Merge pull request #1243 from WalletConnect/keychain-group-migration
llbartekll Dec 1, 2023
08f34df
fix build
llbartekll Dec 1, 2023
2796535
Add pairing logs
llbartekll Dec 1, 2023
abeb897
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
llbartekll Dec 1, 2023
aee8c77
Merge pull request #1246 from WalletConnect/add-mixpanel-to-w3w
llbartekll Dec 1, 2023
e80f0bb
fix build
llbartekll Dec 1, 2023
0783f0f
fix tests build
llbartekll Dec 1, 2023
3218408
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
llbartekll Dec 1, 2023
889d44d
Merge pull request #1247 from WalletConnect/add-mixpanel-to-w3w
llbartekll Dec 1, 2023
71411a8
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
llbartekll Dec 1, 2023
0bd41c6
Merge pull request #1245 from WalletConnect/push-client-encrypted-PNs
llbartekll Dec 4, 2023
b57fe00
Merge pull request #1241 from WalletConnect/feature/notify-dapps-order
flypaper0 Dec 4, 2023
150cfe2
add PairingDeleteRequestSubscriber
llbartekll Dec 5, 2023
ccab7b7
add pairingDeletePublisher
llbartekll Dec 5, 2023
be6cd02
refactor pairing tests
llbartekll Dec 5, 2023
019c591
fix tests
llbartekll Dec 6, 2023
ee62513
add testDisconnect
llbartekll Dec 6, 2023
99cc66d
fix tests
llbartekll Dec 6, 2023
40e7213
fix build
llbartekll Dec 6, 2023
0ed11f4
fix build
llbartekll Dec 6, 2023
5f5cf67
New registration specs
flypaper0 Dec 6, 2023
b437f19
Integration tests
flypaper0 Dec 6, 2023
af7a0f0
renam register method
llbartekll Dec 7, 2023
be50792
savepoint
llbartekll Dec 7, 2023
dee1419
remove group identifier from notify configure
llbartekll Dec 7, 2023
ac53c3c
allApps by default
flypaper0 Dec 7, 2023
62471fc
Merge pull request #1253 from WalletConnect/rename-w3w-client-method
llbartekll Dec 7, 2023
8b2e3c2
Merge pull request #1251 from WalletConnect/pairing-delete-publish
llbartekll Dec 7, 2023
b82e750
NotifyIdentityService removed
flypaper0 Dec 7, 2023
ebe4f86
Merge pull request #1252 from WalletConnect/feature/notify-isregistered
flypaper0 Dec 8, 2023
9e677be
Set User Agent
flypaper0 Dec 11, 2023
71d1455
Set User Agent
llbartekll Dec 15, 2023
fea614e
testWalletCreatesAndUpdatesSubscription disabled
flypaper0 Dec 18, 2023
8218573
Merge pull request #1260 from WalletConnect/hotfix/ci-disable-update-…
flypaper0 Dec 18, 2023
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
8 changes: 6 additions & 2 deletions Example/DApp/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
private let app = Application()

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
Networking.configure(projectId: InputConfig.projectId, socketFactory: DefaultSocketFactory())
Networking.configure(
groupIdentifier: "group.com.walletconnect.sdk",
projectId: InputConfig.projectId,
socketFactory: DefaultSocketFactory()
)
Auth.configure(crypto: DefaultCryptoProvider())

let metadata = AppMetadata(
Expand All @@ -23,7 +27,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
)

Web3Modal.configure(
projectId: InputConfig.projectId,
projectId: InputConfig.projectId,
metadata: metadata
)

Expand Down
14 changes: 7 additions & 7 deletions Example/ExampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
84474A0129B9EB74005F520B /* Starscream in Frameworks */ = {isa = PBXBuildFile; productRef = 84474A0029B9EB74005F520B /* Starscream */; };
84474A0229B9ECA2005F520B /* DefaultSocketFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5629AEF2877F73000094373 /* DefaultSocketFactory.swift */; };
8448F1D427E4726F0000B866 /* WalletConnect in Frameworks */ = {isa = PBXBuildFile; productRef = 8448F1D327E4726F0000B866 /* WalletConnect */; };
844AD55F2B1497270062E123 /* Web3Wallet in Frameworks */ = {isa = PBXBuildFile; productRef = 844AD55E2B1497270062E123 /* Web3Wallet */; };
845B8D8C2934B36C0084A966 /* Account.swift in Sources */ = {isa = PBXBuildFile; fileRef = 845B8D8B2934B36C0084A966 /* Account.swift */; };
847BD1D62989492500076C90 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 847BD1D12989492500076C90 /* MainViewController.swift */; };
847BD1D82989492500076C90 /* MainModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 847BD1D32989492500076C90 /* MainModule.swift */; };
Expand Down Expand Up @@ -265,7 +266,6 @@
C56EE276293F56D7004840D1 /* UIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C56EE26C293F56D6004840D1 /* UIViewController.swift */; };
C56EE279293F56D7004840D1 /* Color.swift in Sources */ = {isa = PBXBuildFile; fileRef = C56EE268293F56D6004840D1 /* Color.swift */; };
C56EE27B293F56F8004840D1 /* WalletConnectAuth in Frameworks */ = {isa = PBXBuildFile; productRef = C56EE27A293F56F8004840D1 /* WalletConnectAuth */; };
C56EE27D293F56F8004840D1 /* WalletConnectChat in Frameworks */ = {isa = PBXBuildFile; productRef = C56EE27C293F56F8004840D1 /* WalletConnectChat */; };
C56EE288293F5757004840D1 /* ThirdPartyConfigurator.swift in Sources */ = {isa = PBXBuildFile; fileRef = C56EE286293F5757004840D1 /* ThirdPartyConfigurator.swift */; };
C56EE289293F5757004840D1 /* Application.swift in Sources */ = {isa = PBXBuildFile; fileRef = C56EE280293F5757004840D1 /* Application.swift */; };
C56EE28A293F5757004840D1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C56EE27F293F5757004840D1 /* AppDelegate.swift */; };
Expand Down Expand Up @@ -732,6 +732,7 @@
buildActionMask = 2147483647;
files = (
A5A650CA2B062A1400F9AD4B /* Mixpanel in Frameworks */,
844AD55F2B1497270062E123 /* Web3Wallet in Frameworks */,
A5B6C0F72A6EAB3200927332 /* WalletConnectNotify in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -781,7 +782,6 @@
files = (
A573C53D29EC366500E3CBFD /* HDWalletKit in Frameworks */,
A59D25EE2AB3672700D7EA3A /* AsyncButton in Frameworks */,
C56EE27D293F56F8004840D1 /* WalletConnectChat in Frameworks */,
C5133A78294125CC00A8314C /* Web3 in Frameworks */,
C5B2F7052970573D000DBA0E /* SolanaSwift in Frameworks */,
8487A9462A836C3F0003D5AF /* Sentry in Frameworks */,
Expand Down Expand Up @@ -2032,6 +2032,7 @@
packageProductDependencies = (
A5B6C0F62A6EAB3200927332 /* WalletConnectNotify */,
A5A650C92B062A1400F9AD4B /* Mixpanel */,
844AD55E2B1497270062E123 /* Web3Wallet */,
);
productName = PNDecryptionService;
productReference = 84E6B84729787A8000428BAF /* PNDecryptionService.appex */;
Expand Down Expand Up @@ -2129,7 +2130,6 @@
packageProductDependencies = (
C56EE254293F569A004840D1 /* Starscream */,
C56EE27A293F56F8004840D1 /* WalletConnectAuth */,
C56EE27C293F56F8004840D1 /* WalletConnectChat */,
C5133A77294125CC00A8314C /* Web3 */,
C55D349829630D440004314A /* Web3Wallet */,
C5B2F7042970573D000DBA0E /* SolanaSwift */,
Expand Down Expand Up @@ -3412,6 +3412,10 @@
isa = XCSwiftPackageProductDependency;
productName = WalletConnect;
};
844AD55E2B1497270062E123 /* Web3Wallet */ = {
isa = XCSwiftPackageProductDependency;
productName = Web3Wallet;
};
8487A9432A836C2A0003D5AF /* Sentry */ = {
isa = XCSwiftPackageProductDependency;
package = 8487A9422A836C2A0003D5AF /* XCRemoteSwiftPackageReference "sentry-cocoa" */;
Expand Down Expand Up @@ -3576,10 +3580,6 @@
isa = XCSwiftPackageProductDependency;
productName = WalletConnectAuth;
};
C56EE27C293F56F8004840D1 /* WalletConnectChat */ = {
isa = XCSwiftPackageProductDependency;
productName = WalletConnectChat;
};
C579FEB52AFA86CD008855EB /* Web3Modal */ = {
isa = XCSwiftPackageProductDependency;
package = A5F1526D2ACDC46B00D745A6 /* XCRemoteSwiftPackageReference "web3modal-swift" */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"repositoryURL": "https://github.com/mixpanel/mixpanel-swift",
"state": {
"branch": "master",
"revision": "1ce27d937009d5ecce74dad97d69898ffea49c75",
"revision": "c6336881a077d283db6f6d6e2f242977250230bd",
"version": null
}
},
Expand Down Expand Up @@ -69,8 +69,8 @@
"repositoryURL": "https://github.com/getsentry/sentry-cocoa.git",
"state": {
"branch": null,
"revision": "14aa6e47b03b820fd2b338728637570b9e969994",
"version": "8.12.0"
"revision": "74cf23b2946c92550fb1185612077151497e648e",
"version": "8.17.1"
}
},
{
Expand Down Expand Up @@ -168,8 +168,8 @@
"repositoryURL": "https://github.com/WalletConnect/web3modal-swift",
"state": {
"branch": null,
"revision": "831410cfd6e68afa7212a5547483fb2d180f0fa7",
"version": "1.0.10"
"revision": "3295d69d1b12df29a5040578d107f56986b1b399",
"version": "1.0.13"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
LastUpgradeVersion = "1500"
wasCreatedForAppExtension = "YES"
version = "1.3">
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
Expand All @@ -15,9 +15,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "84B767752954554A00E92316"
BuildableName = "PushDecryptionService.appex"
BlueprintName = "PushDecryptionService"
BlueprintIdentifier = "84E6B84629787A8000428BAF"
BuildableName = "PNDecryptionService.appex"
BlueprintName = "PNDecryptionService"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -29,9 +29,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "764E1D3B26F8D3FC00A1FB15"
BuildableName = "WalletConnect Wallet.app"
BlueprintName = "Wallet"
BlueprintIdentifier = "C56EE21A293F55ED004840D1"
BuildableName = "WalletApp.app"
BlueprintName = "WalletApp"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -41,31 +41,21 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "844749F229B9E5B9005F520B"
BuildableName = "RelayIntegrationTests.xctest"
BlueprintName = "RelayIntegrationTests"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
askForAppToLaunch = "Yes"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
allowLocationSimulation = "YES"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
Expand All @@ -76,15 +66,6 @@
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "764E1D3B26F8D3FC00A1FB15"
BuildableName = "WalletConnect Wallet.app"
BlueprintName = "Wallet"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -98,21 +79,12 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "764E1D3B26F8D3FC00A1FB15"
BuildableName = "WalletConnect Wallet.app"
BlueprintName = "Wallet"
BlueprintIdentifier = "C56EE21A293F55ED004840D1"
BuildableName = "WalletApp.app"
BlueprintName = "WalletApp"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "764E1D3B26F8D3FC00A1FB15"
BuildableName = "WalletConnect Wallet.app"
BlueprintName = "Wallet"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "84E6B84629787A8000428BAF"
BuildableName = "PNDecryptionService.appex"
BlueprintName = "PNDecryptionService"
ReferencedContainer = "container:ExampleApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,20 @@
ReferencedContainer = "container:..">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "NO"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ChatTests"
BuildableName = "ChatTests"
BlueprintName = "ChatTests"
ReferencedContainer = "container:..">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down Expand Up @@ -188,16 +202,6 @@
ReferencedContainer = "container:..">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ChatTests"
BuildableName = "ChatTests"
BlueprintName = "ChatTests"
ReferencedContainer = "container:..">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand Down
Loading
Loading