Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Commits
19487205
Commit
19487205
authored
2 years ago
by
Dariusz Rybicki
Browse files
Options
Downloads
Plain Diff
Merge branch 'development' into feature/example-app-landing
parents
4747705b
c0ac75b8
No related branches found
No related tags found
2 merge requests
!102
Release 1.0.0
,
!19
Update example app
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sources/ElixxirDAppsSDK/E2E/Functors/E2ERegisterListener.swift
+3
-3
3 additions, 3 deletions
...es/ElixxirDAppsSDK/E2E/Functors/E2ERegisterListener.swift
with
3 additions
and
3 deletions
Sources/ElixxirDAppsSDK/E2E/Functors/E2ERegisterListener.swift
+
3
−
3
View file @
19487205
...
@@ -2,10 +2,10 @@ import Bindings
...
@@ -2,10 +2,10 @@ import Bindings
import
XCTestDynamicOverlay
import
XCTestDynamicOverlay
public
struct
E2ERegisterListener
{
public
struct
E2ERegisterListener
{
public
var
run
:
(
Data
,
Int
,
Listener
)
throws
->
Void
public
var
run
:
(
Data
?
,
Int
,
Listener
)
throws
->
Void
public
func
callAsFunction
(
public
func
callAsFunction
(
senderId
:
Data
,
senderId
:
Data
?
,
messageType
:
Int
,
messageType
:
Int
,
callback
:
Listener
callback
:
Listener
)
throws
{
)
throws
{
...
@@ -17,7 +17,7 @@ extension E2ERegisterListener {
...
@@ -17,7 +17,7 @@ extension E2ERegisterListener {
public
static
func
live
(
_
bindingsE2E
:
BindingsE2e
)
->
E2ERegisterListener
{
public
static
func
live
(
_
bindingsE2E
:
BindingsE2e
)
->
E2ERegisterListener
{
E2ERegisterListener
{
senderId
,
messageType
,
callback
in
E2ERegisterListener
{
senderId
,
messageType
,
callback
in
try
bindingsE2E
.
registerListener
(
try
bindingsE2E
.
registerListener
(
senderId
,
senderId
??
Data
([
UInt8
](
repeating
:
0
,
count
:
32
))
,
messageType
:
messageType
,
messageType
:
messageType
,
newListener
:
callback
.
makeBindingsListener
()
newListener
:
callback
.
makeBindingsListener
()
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment