bridgefy-react-native 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +145 -0
- package/android/build.gradle +105 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +10 -0
- package/android/src/main/java/me/bridgefy/plugin/react_native/BridgefyReactNativeModule.kt +323 -0
- package/android/src/main/java/me/bridgefy/plugin/react_native/BridgefyReactNativePackage.kt +17 -0
- package/bridgefy-react-native.podspec +42 -0
- package/ios/BridgefyReactNative-Bridging-Header.h +2 -0
- package/ios/BridgefyReactNative.m +42 -0
- package/ios/BridgefyReactNative.swift +327 -0
- package/ios/BridgefyReactNative.xcodeproj/project.pbxproj +293 -0
- package/ios/Frameworks/BridgefySDK.xcframework/Info.plist +44 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/BridgefySDK +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Headers/BridgefySDK-Swift.h +296 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Headers/BridgefySDK.h +15 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Info.plist +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.abi.json +8744 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.private.swiftinterface +101 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.swiftinterface +101 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/_CodeSignature/CodeResources +190 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/dSYMs/BridgefySDK.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/DWARF/BridgefySDK +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/BridgefySDK +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Headers/BridgefySDK-Swift.h +588 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Headers/BridgefySDK.h +15 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Info.plist +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.abi.json +8744 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +101 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +101 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +8744 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +101 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +101 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/_CodeSignature/CodeResources +245 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/BridgefySDK.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/DWARF/BridgefySDK +0 -0
- package/lib/commonjs/index.js +184 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/module/index.js +176 -0
- package/lib/module/index.js.map +1 -0
- package/lib/typescript/index.d.ts +214 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/package.json +162 -0
- package/src/index.tsx +273 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BridgefySDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
@_exported import BridgefySDK
|
|
6
|
+
import CommonCrypto
|
|
7
|
+
import CoreBluetooth
|
|
8
|
+
import CryptoKit
|
|
9
|
+
import Foundation
|
|
10
|
+
import Swift
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
public class Bridgefy {
|
|
15
|
+
public init(withApiKey apiKey: Swift.String, propagationProfile: BridgefySDK.PropagationProfile = .standard, delegate: any BridgefySDK.BridgefyDelegate, verboseLogging: Swift.Bool = false) throws
|
|
16
|
+
@objc deinit
|
|
17
|
+
public func start()
|
|
18
|
+
public func stop()
|
|
19
|
+
public func destroySession()
|
|
20
|
+
public func send(_ data: Foundation.Data, using transmissionMode: BridgefySDK.TransmissionMode) throws -> Foundation.UUID
|
|
21
|
+
public func updateLicense()
|
|
22
|
+
public func establishSecureConnection(with userId: Foundation.UUID)
|
|
23
|
+
public var currentUserId: Foundation.UUID {
|
|
24
|
+
get
|
|
25
|
+
}
|
|
26
|
+
public var connectedPeers: [Foundation.UUID] {
|
|
27
|
+
get
|
|
28
|
+
}
|
|
29
|
+
public var licenseExpirationDate: Foundation.Date? {
|
|
30
|
+
get
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
public enum BridgefyError : Swift.Error {
|
|
34
|
+
case simulatorIsNotSupported
|
|
35
|
+
case notStarted
|
|
36
|
+
case alreadyInstantiated
|
|
37
|
+
case startInProgress
|
|
38
|
+
case alreadyStarted
|
|
39
|
+
case serviceNotStarted
|
|
40
|
+
case missingBundleID
|
|
41
|
+
case invalidAPIKey
|
|
42
|
+
case internetConnectionRequired
|
|
43
|
+
case sessionError
|
|
44
|
+
case expiredLicense
|
|
45
|
+
case inconsistentDeviceTime
|
|
46
|
+
case BLEUsageNotGranted
|
|
47
|
+
case BLEUsageRestricted
|
|
48
|
+
case BLEPoweredOff
|
|
49
|
+
case BLEUnsupported
|
|
50
|
+
case BLEUnknownError
|
|
51
|
+
case inconsistentConnection
|
|
52
|
+
case connectionIsAlreadySecure
|
|
53
|
+
case cannotCreateSecureConnection
|
|
54
|
+
case dataLengthExceeded
|
|
55
|
+
case dataValueIsEmpty
|
|
56
|
+
case peerIsNotConnected
|
|
57
|
+
case internalError
|
|
58
|
+
case licenseError(code: Swift.Int)
|
|
59
|
+
case storageError(code: Swift.Int)
|
|
60
|
+
case encodingError(code: Swift.Int)
|
|
61
|
+
case encryptionError(code: Swift.Int)
|
|
62
|
+
}
|
|
63
|
+
extension BridgefySDK.BridgefyError : Foundation.LocalizedError {
|
|
64
|
+
public var errorDescription: Swift.String? {
|
|
65
|
+
get
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
public enum PropagationProfile {
|
|
69
|
+
case standard
|
|
70
|
+
case highDensityNetwork
|
|
71
|
+
case sparseNetwork
|
|
72
|
+
case longReach
|
|
73
|
+
case shortReach
|
|
74
|
+
public static func == (a: BridgefySDK.PropagationProfile, b: BridgefySDK.PropagationProfile) -> Swift.Bool
|
|
75
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
76
|
+
public var hashValue: Swift.Int {
|
|
77
|
+
get
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
public enum TransmissionMode {
|
|
81
|
+
case p2p(userId: Foundation.UUID)
|
|
82
|
+
case mesh(userId: Foundation.UUID)
|
|
83
|
+
case broadcast(senderId: Foundation.UUID)
|
|
84
|
+
}
|
|
85
|
+
public protocol BridgefyDelegate : AnyObject {
|
|
86
|
+
func bridgefyDidStart(with userId: Foundation.UUID)
|
|
87
|
+
func bridgefyDidFailToStart(with error: BridgefySDK.BridgefyError)
|
|
88
|
+
func bridgefyDidStop()
|
|
89
|
+
func bridgefyDidFailToStop(with error: BridgefySDK.BridgefyError)
|
|
90
|
+
func bridgefyDidDestroySession()
|
|
91
|
+
func bridgefyDidFailToDestroySession()
|
|
92
|
+
func bridgefyDidConnect(with userId: Foundation.UUID)
|
|
93
|
+
func bridgefyDidDisconnect(from userId: Foundation.UUID)
|
|
94
|
+
func bridgefyDidEstablishSecureConnection(with userId: Foundation.UUID)
|
|
95
|
+
func bridgefyDidFailToEstablishSecureConnection(with userId: Foundation.UUID, error: BridgefySDK.BridgefyError)
|
|
96
|
+
func bridgefyDidSendMessage(with messageId: Foundation.UUID)
|
|
97
|
+
func bridgefyDidFailSendingMessage(with messageId: Foundation.UUID, withError error: BridgefySDK.BridgefyError)
|
|
98
|
+
func bridgefyDidReceiveData(_ data: Foundation.Data, with messageId: Foundation.UUID, using transmissionMode: BridgefySDK.TransmissionMode)
|
|
99
|
+
}
|
|
100
|
+
extension BridgefySDK.PropagationProfile : Swift.Equatable {}
|
|
101
|
+
extension BridgefySDK.PropagationProfile : Swift.Hashable {}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name BridgefySDK
|
|
4
|
+
// swift-module-flags-ignorable: -enable-bare-slash-regex
|
|
5
|
+
@_exported import BridgefySDK
|
|
6
|
+
import CommonCrypto
|
|
7
|
+
import CoreBluetooth
|
|
8
|
+
import CryptoKit
|
|
9
|
+
import Foundation
|
|
10
|
+
import Swift
|
|
11
|
+
import UIKit
|
|
12
|
+
import _Concurrency
|
|
13
|
+
import _StringProcessing
|
|
14
|
+
public class Bridgefy {
|
|
15
|
+
public init(withApiKey apiKey: Swift.String, propagationProfile: BridgefySDK.PropagationProfile = .standard, delegate: any BridgefySDK.BridgefyDelegate, verboseLogging: Swift.Bool = false) throws
|
|
16
|
+
@objc deinit
|
|
17
|
+
public func start()
|
|
18
|
+
public func stop()
|
|
19
|
+
public func destroySession()
|
|
20
|
+
public func send(_ data: Foundation.Data, using transmissionMode: BridgefySDK.TransmissionMode) throws -> Foundation.UUID
|
|
21
|
+
public func updateLicense()
|
|
22
|
+
public func establishSecureConnection(with userId: Foundation.UUID)
|
|
23
|
+
public var currentUserId: Foundation.UUID {
|
|
24
|
+
get
|
|
25
|
+
}
|
|
26
|
+
public var connectedPeers: [Foundation.UUID] {
|
|
27
|
+
get
|
|
28
|
+
}
|
|
29
|
+
public var licenseExpirationDate: Foundation.Date? {
|
|
30
|
+
get
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
public enum BridgefyError : Swift.Error {
|
|
34
|
+
case simulatorIsNotSupported
|
|
35
|
+
case notStarted
|
|
36
|
+
case alreadyInstantiated
|
|
37
|
+
case startInProgress
|
|
38
|
+
case alreadyStarted
|
|
39
|
+
case serviceNotStarted
|
|
40
|
+
case missingBundleID
|
|
41
|
+
case invalidAPIKey
|
|
42
|
+
case internetConnectionRequired
|
|
43
|
+
case sessionError
|
|
44
|
+
case expiredLicense
|
|
45
|
+
case inconsistentDeviceTime
|
|
46
|
+
case BLEUsageNotGranted
|
|
47
|
+
case BLEUsageRestricted
|
|
48
|
+
case BLEPoweredOff
|
|
49
|
+
case BLEUnsupported
|
|
50
|
+
case BLEUnknownError
|
|
51
|
+
case inconsistentConnection
|
|
52
|
+
case connectionIsAlreadySecure
|
|
53
|
+
case cannotCreateSecureConnection
|
|
54
|
+
case dataLengthExceeded
|
|
55
|
+
case dataValueIsEmpty
|
|
56
|
+
case peerIsNotConnected
|
|
57
|
+
case internalError
|
|
58
|
+
case licenseError(code: Swift.Int)
|
|
59
|
+
case storageError(code: Swift.Int)
|
|
60
|
+
case encodingError(code: Swift.Int)
|
|
61
|
+
case encryptionError(code: Swift.Int)
|
|
62
|
+
}
|
|
63
|
+
extension BridgefySDK.BridgefyError : Foundation.LocalizedError {
|
|
64
|
+
public var errorDescription: Swift.String? {
|
|
65
|
+
get
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
public enum PropagationProfile {
|
|
69
|
+
case standard
|
|
70
|
+
case highDensityNetwork
|
|
71
|
+
case sparseNetwork
|
|
72
|
+
case longReach
|
|
73
|
+
case shortReach
|
|
74
|
+
public static func == (a: BridgefySDK.PropagationProfile, b: BridgefySDK.PropagationProfile) -> Swift.Bool
|
|
75
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
76
|
+
public var hashValue: Swift.Int {
|
|
77
|
+
get
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
public enum TransmissionMode {
|
|
81
|
+
case p2p(userId: Foundation.UUID)
|
|
82
|
+
case mesh(userId: Foundation.UUID)
|
|
83
|
+
case broadcast(senderId: Foundation.UUID)
|
|
84
|
+
}
|
|
85
|
+
public protocol BridgefyDelegate : AnyObject {
|
|
86
|
+
func bridgefyDidStart(with userId: Foundation.UUID)
|
|
87
|
+
func bridgefyDidFailToStart(with error: BridgefySDK.BridgefyError)
|
|
88
|
+
func bridgefyDidStop()
|
|
89
|
+
func bridgefyDidFailToStop(with error: BridgefySDK.BridgefyError)
|
|
90
|
+
func bridgefyDidDestroySession()
|
|
91
|
+
func bridgefyDidFailToDestroySession()
|
|
92
|
+
func bridgefyDidConnect(with userId: Foundation.UUID)
|
|
93
|
+
func bridgefyDidDisconnect(from userId: Foundation.UUID)
|
|
94
|
+
func bridgefyDidEstablishSecureConnection(with userId: Foundation.UUID)
|
|
95
|
+
func bridgefyDidFailToEstablishSecureConnection(with userId: Foundation.UUID, error: BridgefySDK.BridgefyError)
|
|
96
|
+
func bridgefyDidSendMessage(with messageId: Foundation.UUID)
|
|
97
|
+
func bridgefyDidFailSendingMessage(with messageId: Foundation.UUID, withError error: BridgefySDK.BridgefyError)
|
|
98
|
+
func bridgefyDidReceiveData(_ data: Foundation.Data, with messageId: Foundation.UUID, using transmissionMode: BridgefySDK.TransmissionMode)
|
|
99
|
+
}
|
|
100
|
+
extension BridgefySDK.PropagationProfile : Swift.Equatable {}
|
|
101
|
+
extension BridgefySDK.PropagationProfile : Swift.Hashable {}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>files</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Headers/BridgefySDK-Swift.h</key>
|
|
8
|
+
<data>
|
|
9
|
+
Xv+sedGP5x9si6cBTzLdta47oYM=
|
|
10
|
+
</data>
|
|
11
|
+
<key>Headers/BridgefySDK.h</key>
|
|
12
|
+
<data>
|
|
13
|
+
77+JAJsJaNu/zZhBqB0sNhcjats=
|
|
14
|
+
</data>
|
|
15
|
+
<key>Info.plist</key>
|
|
16
|
+
<data>
|
|
17
|
+
idraf14SCYZXAoMHFRYVZvPvcxw=
|
|
18
|
+
</data>
|
|
19
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
|
+
<data>
|
|
21
|
+
GUO1mHZWrtTMbpmeWlDvFkIB5H8=
|
|
22
|
+
</data>
|
|
23
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
24
|
+
<data>
|
|
25
|
+
e5xyTFzbck3/s1Wf2y8XDPrhtKU=
|
|
26
|
+
</data>
|
|
27
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
28
|
+
<data>
|
|
29
|
+
PDBHbLw+rReI6fZ8RElwY93JOnc=
|
|
30
|
+
</data>
|
|
31
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
32
|
+
<data>
|
|
33
|
+
e5xyTFzbck3/s1Wf2y8XDPrhtKU=
|
|
34
|
+
</data>
|
|
35
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
|
+
<data>
|
|
37
|
+
Hji5qpxMVSboSztaAWWl2K6qPpo=
|
|
38
|
+
</data>
|
|
39
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
|
+
<data>
|
|
41
|
+
GUO1mHZWrtTMbpmeWlDvFkIB5H8=
|
|
42
|
+
</data>
|
|
43
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
44
|
+
<data>
|
|
45
|
+
x7gKSalGnbxUpwqzy6Xc7Ta2ZpM=
|
|
46
|
+
</data>
|
|
47
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
48
|
+
<data>
|
|
49
|
+
DAKsiFbAAsIt0CIkn1UiEnoHQmA=
|
|
50
|
+
</data>
|
|
51
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
52
|
+
<data>
|
|
53
|
+
x7gKSalGnbxUpwqzy6Xc7Ta2ZpM=
|
|
54
|
+
</data>
|
|
55
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
56
|
+
<data>
|
|
57
|
+
VtSYY7DpFANAeFekLajBV8peuos=
|
|
58
|
+
</data>
|
|
59
|
+
<key>Modules/module.modulemap</key>
|
|
60
|
+
<data>
|
|
61
|
+
r4mvyRWwAL2aH6OgHILX00Zehqo=
|
|
62
|
+
</data>
|
|
63
|
+
</dict>
|
|
64
|
+
<key>files2</key>
|
|
65
|
+
<dict>
|
|
66
|
+
<key>Headers/BridgefySDK-Swift.h</key>
|
|
67
|
+
<dict>
|
|
68
|
+
<key>hash2</key>
|
|
69
|
+
<data>
|
|
70
|
+
GHiGyZukNKS3JisXEjjqJNGkiSNYSsGyodpSf1bSdxU=
|
|
71
|
+
</data>
|
|
72
|
+
</dict>
|
|
73
|
+
<key>Headers/BridgefySDK.h</key>
|
|
74
|
+
<dict>
|
|
75
|
+
<key>hash2</key>
|
|
76
|
+
<data>
|
|
77
|
+
fl8dWdbn0XrGLPR9k6kF6c1aYh92ca5tEijX1vH6uiI=
|
|
78
|
+
</data>
|
|
79
|
+
</dict>
|
|
80
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
81
|
+
<dict>
|
|
82
|
+
<key>hash2</key>
|
|
83
|
+
<data>
|
|
84
|
+
z7ln+zjHHX0Qyb6w4a6CozHYv7vAfCROGsFTzeI8HyY=
|
|
85
|
+
</data>
|
|
86
|
+
</dict>
|
|
87
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
88
|
+
<dict>
|
|
89
|
+
<key>hash2</key>
|
|
90
|
+
<data>
|
|
91
|
+
yeK1MjKUfkH6njugjwneK6yudieVqnbwv242IY2S0GI=
|
|
92
|
+
</data>
|
|
93
|
+
</dict>
|
|
94
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
95
|
+
<dict>
|
|
96
|
+
<key>hash2</key>
|
|
97
|
+
<data>
|
|
98
|
+
pcfMjgr9YJl4efpVhar85o+XuP60RP/FESwcZUiZ0BY=
|
|
99
|
+
</data>
|
|
100
|
+
</dict>
|
|
101
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
102
|
+
<dict>
|
|
103
|
+
<key>hash2</key>
|
|
104
|
+
<data>
|
|
105
|
+
yeK1MjKUfkH6njugjwneK6yudieVqnbwv242IY2S0GI=
|
|
106
|
+
</data>
|
|
107
|
+
</dict>
|
|
108
|
+
<key>Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
109
|
+
<dict>
|
|
110
|
+
<key>hash2</key>
|
|
111
|
+
<data>
|
|
112
|
+
Lb3r5tdG18Aqj7M1F15wmvB51jU34YiKvKTJi7xhGz0=
|
|
113
|
+
</data>
|
|
114
|
+
</dict>
|
|
115
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
116
|
+
<dict>
|
|
117
|
+
<key>hash2</key>
|
|
118
|
+
<data>
|
|
119
|
+
z7ln+zjHHX0Qyb6w4a6CozHYv7vAfCROGsFTzeI8HyY=
|
|
120
|
+
</data>
|
|
121
|
+
</dict>
|
|
122
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
123
|
+
<dict>
|
|
124
|
+
<key>hash2</key>
|
|
125
|
+
<data>
|
|
126
|
+
VnFjKCR3nxjW2YkDBLNFlLRUTH7qKDVqHUHhgvByr7Y=
|
|
127
|
+
</data>
|
|
128
|
+
</dict>
|
|
129
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
130
|
+
<dict>
|
|
131
|
+
<key>hash2</key>
|
|
132
|
+
<data>
|
|
133
|
+
iLNJajeHjy9NOMBcIu8jycqbeJhlbsnV7xgv4mjF8xQ=
|
|
134
|
+
</data>
|
|
135
|
+
</dict>
|
|
136
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
137
|
+
<dict>
|
|
138
|
+
<key>hash2</key>
|
|
139
|
+
<data>
|
|
140
|
+
VnFjKCR3nxjW2YkDBLNFlLRUTH7qKDVqHUHhgvByr7Y=
|
|
141
|
+
</data>
|
|
142
|
+
</dict>
|
|
143
|
+
<key>Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
144
|
+
<dict>
|
|
145
|
+
<key>hash2</key>
|
|
146
|
+
<data>
|
|
147
|
+
GtL9ueGyGxXObSucAelzZkVDGsaW2S9qMLi5N4AN920=
|
|
148
|
+
</data>
|
|
149
|
+
</dict>
|
|
150
|
+
<key>Modules/module.modulemap</key>
|
|
151
|
+
<dict>
|
|
152
|
+
<key>hash2</key>
|
|
153
|
+
<data>
|
|
154
|
+
mZkqgW4qLKI/EP4tE8QuCE75hffVy7jBRvdySxj6hpw=
|
|
155
|
+
</data>
|
|
156
|
+
</dict>
|
|
157
|
+
</dict>
|
|
158
|
+
<key>rules</key>
|
|
159
|
+
<dict>
|
|
160
|
+
<key>^.*</key>
|
|
161
|
+
<true/>
|
|
162
|
+
<key>^.*\.lproj/</key>
|
|
163
|
+
<dict>
|
|
164
|
+
<key>optional</key>
|
|
165
|
+
<true/>
|
|
166
|
+
<key>weight</key>
|
|
167
|
+
<real>1000</real>
|
|
168
|
+
</dict>
|
|
169
|
+
<key>^.*\.lproj/locversion.plist$</key>
|
|
170
|
+
<dict>
|
|
171
|
+
<key>omit</key>
|
|
172
|
+
<true/>
|
|
173
|
+
<key>weight</key>
|
|
174
|
+
<real>1100</real>
|
|
175
|
+
</dict>
|
|
176
|
+
<key>^Base\.lproj/</key>
|
|
177
|
+
<dict>
|
|
178
|
+
<key>weight</key>
|
|
179
|
+
<real>1010</real>
|
|
180
|
+
</dict>
|
|
181
|
+
<key>^version.plist$</key>
|
|
182
|
+
<true/>
|
|
183
|
+
</dict>
|
|
184
|
+
<key>rules2</key>
|
|
185
|
+
<dict>
|
|
186
|
+
<key>.*\.dSYM($|/)</key>
|
|
187
|
+
<dict>
|
|
188
|
+
<key>weight</key>
|
|
189
|
+
<real>11</real>
|
|
190
|
+
</dict>
|
|
191
|
+
<key>^(.*/)?\.DS_Store$</key>
|
|
192
|
+
<dict>
|
|
193
|
+
<key>omit</key>
|
|
194
|
+
<true/>
|
|
195
|
+
<key>weight</key>
|
|
196
|
+
<real>2000</real>
|
|
197
|
+
</dict>
|
|
198
|
+
<key>^.*</key>
|
|
199
|
+
<true/>
|
|
200
|
+
<key>^.*\.lproj/</key>
|
|
201
|
+
<dict>
|
|
202
|
+
<key>optional</key>
|
|
203
|
+
<true/>
|
|
204
|
+
<key>weight</key>
|
|
205
|
+
<real>1000</real>
|
|
206
|
+
</dict>
|
|
207
|
+
<key>^.*\.lproj/locversion.plist$</key>
|
|
208
|
+
<dict>
|
|
209
|
+
<key>omit</key>
|
|
210
|
+
<true/>
|
|
211
|
+
<key>weight</key>
|
|
212
|
+
<real>1100</real>
|
|
213
|
+
</dict>
|
|
214
|
+
<key>^Base\.lproj/</key>
|
|
215
|
+
<dict>
|
|
216
|
+
<key>weight</key>
|
|
217
|
+
<real>1010</real>
|
|
218
|
+
</dict>
|
|
219
|
+
<key>^Info\.plist$</key>
|
|
220
|
+
<dict>
|
|
221
|
+
<key>omit</key>
|
|
222
|
+
<true/>
|
|
223
|
+
<key>weight</key>
|
|
224
|
+
<real>20</real>
|
|
225
|
+
</dict>
|
|
226
|
+
<key>^PkgInfo$</key>
|
|
227
|
+
<dict>
|
|
228
|
+
<key>omit</key>
|
|
229
|
+
<true/>
|
|
230
|
+
<key>weight</key>
|
|
231
|
+
<real>20</real>
|
|
232
|
+
</dict>
|
|
233
|
+
<key>^embedded\.provisionprofile$</key>
|
|
234
|
+
<dict>
|
|
235
|
+
<key>weight</key>
|
|
236
|
+
<real>20</real>
|
|
237
|
+
</dict>
|
|
238
|
+
<key>^version\.plist$</key>
|
|
239
|
+
<dict>
|
|
240
|
+
<key>weight</key>
|
|
241
|
+
<real>20</real>
|
|
242
|
+
</dict>
|
|
243
|
+
</dict>
|
|
244
|
+
</dict>
|
|
245
|
+
</plist>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>English</string>
|
|
7
|
+
<key>CFBundleIdentifier</key>
|
|
8
|
+
<string>com.apple.xcode.dsym.com.bridgefy.BridgefySDK</string>
|
|
9
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
10
|
+
<string>6.0</string>
|
|
11
|
+
<key>CFBundlePackageType</key>
|
|
12
|
+
<string>dSYM</string>
|
|
13
|
+
<key>CFBundleSignature</key>
|
|
14
|
+
<string>????</string>
|
|
15
|
+
<key>CFBundleShortVersionString</key>
|
|
16
|
+
<string>1.0</string>
|
|
17
|
+
<key>CFBundleVersion</key>
|
|
18
|
+
<string>1</string>
|
|
19
|
+
</dict>
|
|
20
|
+
</plist>
|
|
Binary file
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.BridgefyTransmissionModeType = exports.BridgefyPropagationProfile = exports.BridgefyEvents = exports.BridgefyErrorType = exports.Bridgefy = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const LINKING_ERROR = `The package 'bridgefy-react-native' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
|
|
9
|
+
ios: "- You have run 'pod install'\n",
|
|
10
|
+
default: ''
|
|
11
|
+
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
12
|
+
const BridgefyReactNative = _reactNative.NativeModules.BridgefyReactNative ? _reactNative.NativeModules.BridgefyReactNative : new Proxy({}, {
|
|
13
|
+
get() {
|
|
14
|
+
throw new Error(LINKING_ERROR);
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
/** Profile that defines a series of properties and rules for the propagation of messages. */
|
|
19
|
+
let BridgefyPropagationProfile = /*#__PURE__*/function (BridgefyPropagationProfile) {
|
|
20
|
+
BridgefyPropagationProfile["standard"] = "standard";
|
|
21
|
+
BridgefyPropagationProfile["highDensityNetwork"] = "highDensityNetwork";
|
|
22
|
+
BridgefyPropagationProfile["sparseNetwork"] = "sparseNetwork";
|
|
23
|
+
BridgefyPropagationProfile["longReach"] = "longReach";
|
|
24
|
+
BridgefyPropagationProfile["shortReach"] = "shortReach";
|
|
25
|
+
return BridgefyPropagationProfile;
|
|
26
|
+
}({});
|
|
27
|
+
/** The mode used to propagate a message through nearby devices. */
|
|
28
|
+
exports.BridgefyPropagationProfile = BridgefyPropagationProfile;
|
|
29
|
+
let BridgefyTransmissionModeType = /*#__PURE__*/function (BridgefyTransmissionModeType) {
|
|
30
|
+
BridgefyTransmissionModeType["p2p"] = "p2p";
|
|
31
|
+
BridgefyTransmissionModeType["mesh"] = "mesh";
|
|
32
|
+
BridgefyTransmissionModeType["broadcast"] = "broadcast";
|
|
33
|
+
return BridgefyTransmissionModeType;
|
|
34
|
+
}({});
|
|
35
|
+
exports.BridgefyTransmissionModeType = BridgefyTransmissionModeType;
|
|
36
|
+
/** Describes errors in the Bridgefy error domain. */
|
|
37
|
+
let BridgefyErrorType = /*#__PURE__*/function (BridgefyErrorType) {
|
|
38
|
+
BridgefyErrorType["simulatorIsNotSupported"] = "simulatorIsNotSupported";
|
|
39
|
+
BridgefyErrorType["alreadyStarted"] = "alreadyStarted";
|
|
40
|
+
BridgefyErrorType["invalidAPIKey"] = "invalidAPIKey";
|
|
41
|
+
BridgefyErrorType["expiredLicense"] = "expiredLicense";
|
|
42
|
+
BridgefyErrorType["sessionError"] = "sessionError";
|
|
43
|
+
BridgefyErrorType["notStarted"] = "notStarted";
|
|
44
|
+
BridgefyErrorType["alreadyInstantiated"] = "alreadyInstantiated";
|
|
45
|
+
BridgefyErrorType["startInProgress"] = "startInProgress";
|
|
46
|
+
BridgefyErrorType["serviceNotStarted"] = "serviceNotStarted";
|
|
47
|
+
BridgefyErrorType["missingBundleID"] = "missingBundleID";
|
|
48
|
+
BridgefyErrorType["internetConnectionRequired"] = "internetConnectionRequired";
|
|
49
|
+
BridgefyErrorType["inconsistentDeviceTime"] = "inconsistentDeviceTime";
|
|
50
|
+
BridgefyErrorType["BLEUsageNotGranted"] = "BLEUsageNotGranted";
|
|
51
|
+
BridgefyErrorType["BLEUsageRestricted"] = "BLEUsageRestricted";
|
|
52
|
+
BridgefyErrorType["BLEPoweredOff"] = "BLEPoweredOff";
|
|
53
|
+
BridgefyErrorType["BLEUnsupported"] = "BLEUnsupported";
|
|
54
|
+
BridgefyErrorType["BLEUnknownError"] = "BLEUnknownError";
|
|
55
|
+
BridgefyErrorType["inconsistentConnection"] = "inconsistentConnection";
|
|
56
|
+
BridgefyErrorType["connectionIsAlreadySecure"] = "connectionIsAlreadySecure";
|
|
57
|
+
BridgefyErrorType["cannotCreateSecureConnection"] = "cannotCreateSecureConnection";
|
|
58
|
+
BridgefyErrorType["dataLengthExceeded"] = "dataLengthExceeded";
|
|
59
|
+
BridgefyErrorType["dataValueIsEmpty"] = "dataValueIsEmpty";
|
|
60
|
+
BridgefyErrorType["peerIsNotConnected"] = "peerIsNotConnected";
|
|
61
|
+
BridgefyErrorType["internalError"] = "internalError";
|
|
62
|
+
BridgefyErrorType["licenseError"] = "licenseError";
|
|
63
|
+
BridgefyErrorType["storageError"] = "storageError";
|
|
64
|
+
BridgefyErrorType["encodingError"] = "encodingError";
|
|
65
|
+
BridgefyErrorType["encryptionError"] = "encryptionError";
|
|
66
|
+
BridgefyErrorType["missingApplicationId"] = "missingApplicationId";
|
|
67
|
+
BridgefyErrorType["permissionException"] = "permissionException";
|
|
68
|
+
BridgefyErrorType["registrationException"] = "registrationException";
|
|
69
|
+
BridgefyErrorType["sizeLimitExceeded"] = "sizeLimitExceeded";
|
|
70
|
+
BridgefyErrorType["deviceCapabilities"] = "deviceCapabilities";
|
|
71
|
+
BridgefyErrorType["genericException"] = "genericException";
|
|
72
|
+
BridgefyErrorType["inconsistentDeviceTimeException"] = "inconsistentDeviceTimeException";
|
|
73
|
+
BridgefyErrorType["internetConnectionRequiredException"] = "internetConnectionRequiredException";
|
|
74
|
+
BridgefyErrorType["unknownException"] = "unknownException";
|
|
75
|
+
return BridgefyErrorType;
|
|
76
|
+
}({});
|
|
77
|
+
/**
|
|
78
|
+
* These events are available via subscriptions to the `NativeEventEmitter` using the
|
|
79
|
+
* `NativeModules.BridgefyReactNative` component. See README for further instructions.
|
|
80
|
+
*/
|
|
81
|
+
exports.BridgefyErrorType = BridgefyErrorType;
|
|
82
|
+
let BridgefyEvents = /*#__PURE__*/function (BridgefyEvents) {
|
|
83
|
+
BridgefyEvents["bridgefyDidStart"] = "bridgefyDidStart";
|
|
84
|
+
BridgefyEvents["bridgefyDidFailToStart"] = "bridgefyDidFailToStart";
|
|
85
|
+
BridgefyEvents["bridgefyDidStop"] = "bridgefyDidStop";
|
|
86
|
+
BridgefyEvents["bridgefyDidFailToStop"] = "bridgefyDidFailToStop";
|
|
87
|
+
BridgefyEvents["bridgefyDidDestroySession"] = "bridgefyDidDestroySession";
|
|
88
|
+
BridgefyEvents["bridgefyDidFailToDestroySession"] = "bridgefyDidFailToDestroySession";
|
|
89
|
+
BridgefyEvents["bridgefyDidConnect"] = "bridgefyDidConnect";
|
|
90
|
+
BridgefyEvents["bridgefyDidDisconnect"] = "bridgefyDidDisconnect";
|
|
91
|
+
BridgefyEvents["bridgefyDidEstablishSecureConnection"] = "bridgefyDidEstablishSecureConnection";
|
|
92
|
+
BridgefyEvents["bridgefyDidFailToEstablishSecureConnection"] = "bridgefyDidFailToEstablishSecureConnection";
|
|
93
|
+
BridgefyEvents["bridgefyDidSendMessage"] = "bridgefyDidSendMessage";
|
|
94
|
+
BridgefyEvents["bridgefyDidFailSendingMessage"] = "bridgefyDidFailSendingMessage";
|
|
95
|
+
BridgefyEvents["bridgefyDidReceiveData"] = "bridgefyDidReceiveData";
|
|
96
|
+
BridgefyEvents["bridgefyDidSendDataProgress"] = "bridgefyDidSendDataProgress";
|
|
97
|
+
return BridgefyEvents;
|
|
98
|
+
}({});
|
|
99
|
+
/**
|
|
100
|
+
* Bridgefy
|
|
101
|
+
*/
|
|
102
|
+
exports.BridgefyEvents = BridgefyEvents;
|
|
103
|
+
class Bridgefy {
|
|
104
|
+
/**
|
|
105
|
+
* Initialize the SDK
|
|
106
|
+
* @param apiKey API key
|
|
107
|
+
* @param propagationProfile Profile that defines a series of properties and rules for the
|
|
108
|
+
* propagation of messages.
|
|
109
|
+
* @param verboseLogging The log level.
|
|
110
|
+
*/
|
|
111
|
+
async initialize(apiKey, propagationProfile) {
|
|
112
|
+
return BridgefyReactNative.initialize(apiKey, propagationProfile);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Start Bridgefy SDK operations
|
|
117
|
+
*/
|
|
118
|
+
async start() {
|
|
119
|
+
return BridgefyReactNative.start();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Stop Bridgefy SDK operations
|
|
124
|
+
*/
|
|
125
|
+
async stop() {
|
|
126
|
+
return BridgefyReactNative.stop();
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Destroy current session
|
|
131
|
+
*/
|
|
132
|
+
async destroySession() {
|
|
133
|
+
return BridgefyReactNative.destroySession();
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Function used to send data using a ``TransmissionMode``. This method returns a UUID to identify
|
|
138
|
+
* the message sent.
|
|
139
|
+
* @param data The message data
|
|
140
|
+
* @param transmissionMode The mode used to propagate a message through nearby devices.
|
|
141
|
+
* @returns The id of the message that was sent.
|
|
142
|
+
*/
|
|
143
|
+
async send(data, transmissionMode) {
|
|
144
|
+
const result = await BridgefyReactNative.send(data, transmissionMode);
|
|
145
|
+
return result.messageId;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Establishes a secure connection with the specified user
|
|
150
|
+
* @param userId The UUID of the user with whom a secure connection should be established.
|
|
151
|
+
*/
|
|
152
|
+
async establishSecureConnection(userId) {
|
|
153
|
+
return BridgefyReactNative.establishSecureConnection(userId);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Get current user Id
|
|
158
|
+
* @returns User Id
|
|
159
|
+
*/
|
|
160
|
+
async currentUserId() {
|
|
161
|
+
const result = BridgefyReactNative.currentUserId();
|
|
162
|
+
return result.userId;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Returns connected peers
|
|
167
|
+
* @returns List of connected peers
|
|
168
|
+
*/
|
|
169
|
+
async connectedPeers() {
|
|
170
|
+
const result = BridgefyReactNative.connectedPeers();
|
|
171
|
+
return result.connectedPeers;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Returns license expiration date
|
|
176
|
+
* @returns Expiration date
|
|
177
|
+
*/
|
|
178
|
+
async licenseExpirationDate() {
|
|
179
|
+
const result = BridgefyReactNative.licenseExpirationDate();
|
|
180
|
+
return new Date(result.licenseExpirationDate);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
exports.Bridgefy = Bridgefy;
|
|
184
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","BridgefyReactNative","NativeModules","Proxy","get","Error","BridgefyPropagationProfile","exports","BridgefyTransmissionModeType","BridgefyErrorType","BridgefyEvents","Bridgefy","initialize","apiKey","propagationProfile","start","stop","destroySession","send","data","transmissionMode","result","messageId","establishSecureConnection","userId","currentUserId","connectedPeers","licenseExpirationDate","Date"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GAChB,gFAA+E,GAChFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,mBAAmB,GAAGC,0BAAa,CAACD,mBAAmB,GACzDC,0BAAa,CAACD,mBAAmB,GACjC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CACF,CAA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