@kindly-ai/react-native 0.1.3 → 0.1.5
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/ios/Frameworks/Kindly.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/Kindly.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/Kindly.xcframework/_CodeSignature/CodeResources +54 -84
- package/ios/Frameworks/Kindly.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Info.plist +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Kindly +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios.abi.json +1615 -540
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios.private.swiftinterface +29 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios.swiftinterface +29 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/_CodeSignature/CodeResources +9 -20
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Info.plist +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Kindly +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.abi.json +1615 -540
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +29 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.swiftinterface +29 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.abi.json +1615 -540
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +29 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +29 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/_CodeSignature/CodeResources +17 -28
- package/package.json +1 -1
- package/ios/Frameworks/Kindly.xcframework/ios-arm64/Kindly.framework/Config.plist +0 -0
- package/ios/Frameworks/Kindly.xcframework/ios-arm64_x86_64-simulator/Kindly.framework/Config.plist +0 -0
|
@@ -21,6 +21,7 @@ import PhotosUI
|
|
|
21
21
|
import QuartzCore
|
|
22
22
|
import SafariServices
|
|
23
23
|
import Security
|
|
24
|
+
import Sentry
|
|
24
25
|
import Swift
|
|
25
26
|
import SwiftUI
|
|
26
27
|
import SystemConfiguration
|
|
@@ -285,6 +286,33 @@ public struct TypingEvent {
|
|
|
285
286
|
public let timestamp: Foundation.Date
|
|
286
287
|
public init(type: Kindly.TypingEventType, sender: Kindly.TypingEventSender, duration: Foundation.TimeInterval? = nil)
|
|
287
288
|
}
|
|
289
|
+
public struct RuntimeEnvironmentOverride : Swift.Codable {
|
|
290
|
+
public let environment: Swift.String
|
|
291
|
+
public let customConfig: Kindly.RuntimeEnvironmentOverride.CustomConfig?
|
|
292
|
+
public struct CustomConfig : Swift.Codable {
|
|
293
|
+
public let apiBaseURL: Swift.String
|
|
294
|
+
public let settingsBaseURL: Swift.String
|
|
295
|
+
public let webviewBaseURL: Swift.String
|
|
296
|
+
public let otlpURL: Swift.String
|
|
297
|
+
public let pusherKey: Swift.String
|
|
298
|
+
public init(apiBaseURL: Swift.String, settingsBaseURL: Swift.String, webviewBaseURL: Swift.String, otlpURL: Swift.String, pusherKey: Swift.String)
|
|
299
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
300
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
301
|
+
}
|
|
302
|
+
public init(environment: Swift.String, customConfig: Kindly.RuntimeEnvironmentOverride.CustomConfig? = nil)
|
|
303
|
+
public static let productionDefaults: Kindly.RuntimeEnvironmentOverride.CustomConfig
|
|
304
|
+
public static let developmentDefaults: Kindly.RuntimeEnvironmentOverride.CustomConfig
|
|
305
|
+
public static let customBuildtimeDefaults: Kindly.RuntimeEnvironmentOverride.CustomConfig
|
|
306
|
+
public static var compileTimeEnvironment: Swift.String {
|
|
307
|
+
get
|
|
308
|
+
}
|
|
309
|
+
public static func load() -> Kindly.RuntimeEnvironmentOverride?
|
|
310
|
+
@discardableResult
|
|
311
|
+
public static func save(_ override: Kindly.RuntimeEnvironmentOverride) -> Swift.Bool
|
|
312
|
+
public static func clear()
|
|
313
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
314
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
315
|
+
}
|
|
288
316
|
public struct ExternalChatButton {
|
|
289
317
|
}
|
|
290
318
|
public enum ChatConnectionState {
|
|
@@ -505,7 +533,7 @@ extension Kindly.KindlyChatClient {
|
|
|
505
533
|
get
|
|
506
534
|
set
|
|
507
535
|
}
|
|
508
|
-
final public class func start(botKey: Swift.String, languageCode: Swift.String = "en", authTokenCallback: Kindly.AuthTokenCallback? = nil)
|
|
536
|
+
final public class func start(botKey: Swift.String, languageCode: Swift.String = "en", market: Swift.String, authTokenCallback: Kindly.AuthTokenCallback? = nil)
|
|
509
537
|
final public class func displayChat(languageCode: Swift.String? = nil, triggerDialogueId: Swift.String? = nil)
|
|
510
538
|
final public func displayChat(languageCode: Swift.String? = nil, triggerDialogueId: Swift.String? = nil)
|
|
511
539
|
final public class func setLanguage(_ languageCode: Swift.String) -> Kindly.Promise<Swift.Void>
|
|
Binary file
|
|
@@ -21,6 +21,7 @@ import PhotosUI
|
|
|
21
21
|
import QuartzCore
|
|
22
22
|
import SafariServices
|
|
23
23
|
import Security
|
|
24
|
+
import Sentry
|
|
24
25
|
import Swift
|
|
25
26
|
import SwiftUI
|
|
26
27
|
import SystemConfiguration
|
|
@@ -285,6 +286,33 @@ public struct TypingEvent {
|
|
|
285
286
|
public let timestamp: Foundation.Date
|
|
286
287
|
public init(type: Kindly.TypingEventType, sender: Kindly.TypingEventSender, duration: Foundation.TimeInterval? = nil)
|
|
287
288
|
}
|
|
289
|
+
public struct RuntimeEnvironmentOverride : Swift.Codable {
|
|
290
|
+
public let environment: Swift.String
|
|
291
|
+
public let customConfig: Kindly.RuntimeEnvironmentOverride.CustomConfig?
|
|
292
|
+
public struct CustomConfig : Swift.Codable {
|
|
293
|
+
public let apiBaseURL: Swift.String
|
|
294
|
+
public let settingsBaseURL: Swift.String
|
|
295
|
+
public let webviewBaseURL: Swift.String
|
|
296
|
+
public let otlpURL: Swift.String
|
|
297
|
+
public let pusherKey: Swift.String
|
|
298
|
+
public init(apiBaseURL: Swift.String, settingsBaseURL: Swift.String, webviewBaseURL: Swift.String, otlpURL: Swift.String, pusherKey: Swift.String)
|
|
299
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
300
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
301
|
+
}
|
|
302
|
+
public init(environment: Swift.String, customConfig: Kindly.RuntimeEnvironmentOverride.CustomConfig? = nil)
|
|
303
|
+
public static let productionDefaults: Kindly.RuntimeEnvironmentOverride.CustomConfig
|
|
304
|
+
public static let developmentDefaults: Kindly.RuntimeEnvironmentOverride.CustomConfig
|
|
305
|
+
public static let customBuildtimeDefaults: Kindly.RuntimeEnvironmentOverride.CustomConfig
|
|
306
|
+
public static var compileTimeEnvironment: Swift.String {
|
|
307
|
+
get
|
|
308
|
+
}
|
|
309
|
+
public static func load() -> Kindly.RuntimeEnvironmentOverride?
|
|
310
|
+
@discardableResult
|
|
311
|
+
public static func save(_ override: Kindly.RuntimeEnvironmentOverride) -> Swift.Bool
|
|
312
|
+
public static func clear()
|
|
313
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
314
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
315
|
+
}
|
|
288
316
|
public struct ExternalChatButton {
|
|
289
317
|
}
|
|
290
318
|
public enum ChatConnectionState {
|
|
@@ -505,7 +533,7 @@ extension Kindly.KindlyChatClient {
|
|
|
505
533
|
get
|
|
506
534
|
set
|
|
507
535
|
}
|
|
508
|
-
final public class func start(botKey: Swift.String, languageCode: Swift.String = "en", authTokenCallback: Kindly.AuthTokenCallback? = nil)
|
|
536
|
+
final public class func start(botKey: Swift.String, languageCode: Swift.String = "en", market: Swift.String, authTokenCallback: Kindly.AuthTokenCallback? = nil)
|
|
509
537
|
final public class func displayChat(languageCode: Swift.String? = nil, triggerDialogueId: Swift.String? = nil)
|
|
510
538
|
final public func displayChat(languageCode: Swift.String? = nil, triggerDialogueId: Swift.String? = nil)
|
|
511
539
|
final public class func setLanguage(_ languageCode: Swift.String) -> Kindly.Promise<Swift.Void>
|
|
@@ -8,10 +8,6 @@
|
|
|
8
8
|
<data>
|
|
9
9
|
MufwF5oHL1bh1MrM3uAziWyQ7ik=
|
|
10
10
|
</data>
|
|
11
|
-
<key>Config.plist</key>
|
|
12
|
-
<data>
|
|
13
|
-
AA5SGzmGO338xNXmWA7p3pPWeps=
|
|
14
|
-
</data>
|
|
15
11
|
<key>ConfirmationWindow.nib</key>
|
|
16
12
|
<data>
|
|
17
13
|
qc7GhQ7vYvtJdoLZtd3CgyXcyTs=
|
|
@@ -26,39 +22,39 @@
|
|
|
26
22
|
</data>
|
|
27
23
|
<key>Info.plist</key>
|
|
28
24
|
<data>
|
|
29
|
-
|
|
25
|
+
Nh/gRzzFdoJ0bGjwP/lDOCUt21c=
|
|
30
26
|
</data>
|
|
31
27
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
28
|
<data>
|
|
33
|
-
|
|
29
|
+
w3LVRE1zjWaZECQRWzjjJmQN6TU=
|
|
34
30
|
</data>
|
|
35
31
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
32
|
<data>
|
|
37
|
-
|
|
33
|
+
n0H8oehbB0wbvGGNLndUvPK4x/o=
|
|
38
34
|
</data>
|
|
39
35
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
40
36
|
<data>
|
|
41
|
-
|
|
37
|
+
YgVf1A4kk5OJVJFdTmESvErSrpo=
|
|
42
38
|
</data>
|
|
43
39
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
44
40
|
<data>
|
|
45
|
-
|
|
41
|
+
opvVJTx/PoZMi6doPdLllDAoz44=
|
|
46
42
|
</data>
|
|
47
43
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
48
44
|
<data>
|
|
49
|
-
|
|
45
|
+
w3LVRE1zjWaZECQRWzjjJmQN6TU=
|
|
50
46
|
</data>
|
|
51
47
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
52
48
|
<data>
|
|
53
|
-
|
|
49
|
+
msTZGEq5aHYU3oYHnLTN00/9/mg=
|
|
54
50
|
</data>
|
|
55
51
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
56
52
|
<data>
|
|
57
|
-
|
|
53
|
+
numYXoXAPnZtFjWODtepEZ07ZS8=
|
|
58
54
|
</data>
|
|
59
55
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
60
56
|
<data>
|
|
61
|
-
|
|
57
|
+
4Of+LctzToRwa7S3XB5gcREDYbE=
|
|
62
58
|
</data>
|
|
63
59
|
<key>Modules/module.modulemap</key>
|
|
64
60
|
<data>
|
|
@@ -78,13 +74,6 @@
|
|
|
78
74
|
xZnIoRtfgPb61v9BpCGQDurq14rtIRZ7Fdf44pAZi10=
|
|
79
75
|
</data>
|
|
80
76
|
</dict>
|
|
81
|
-
<key>Config.plist</key>
|
|
82
|
-
<dict>
|
|
83
|
-
<key>hash2</key>
|
|
84
|
-
<data>
|
|
85
|
-
gpKvlibPb33hUZ45Al58Kscd85/tPeSSpkq/sw61m/Y=
|
|
86
|
-
</data>
|
|
87
|
-
</dict>
|
|
88
77
|
<key>ConfirmationWindow.nib</key>
|
|
89
78
|
<dict>
|
|
90
79
|
<key>hash2</key>
|
|
@@ -110,56 +99,56 @@
|
|
|
110
99
|
<dict>
|
|
111
100
|
<key>hash2</key>
|
|
112
101
|
<data>
|
|
113
|
-
|
|
102
|
+
IyBbtHLreDgbp573eJQzFAqt4uyYVvg+wpXKlrLcJRQ=
|
|
114
103
|
</data>
|
|
115
104
|
</dict>
|
|
116
105
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
117
106
|
<dict>
|
|
118
107
|
<key>hash2</key>
|
|
119
108
|
<data>
|
|
120
|
-
|
|
109
|
+
ReN5T95BQ10PzqOcf9ZrV/g/WxX1vSGJMcqK0ZEq2Ew=
|
|
121
110
|
</data>
|
|
122
111
|
</dict>
|
|
123
112
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
124
113
|
<dict>
|
|
125
114
|
<key>hash2</key>
|
|
126
115
|
<data>
|
|
127
|
-
|
|
116
|
+
L3XAbfPeH7H+PByC6i1k+k/935rw+SbwNvbGs7L9Y20=
|
|
128
117
|
</data>
|
|
129
118
|
</dict>
|
|
130
119
|
<key>Modules/Kindly.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
131
120
|
<dict>
|
|
132
121
|
<key>hash2</key>
|
|
133
122
|
<data>
|
|
134
|
-
|
|
123
|
+
pwvCnFsuXcOSgwLyzq5FmGrJVYrOIQ2mTPdvtYIrbC8=
|
|
135
124
|
</data>
|
|
136
125
|
</dict>
|
|
137
126
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
138
127
|
<dict>
|
|
139
128
|
<key>hash2</key>
|
|
140
129
|
<data>
|
|
141
|
-
|
|
130
|
+
IyBbtHLreDgbp573eJQzFAqt4uyYVvg+wpXKlrLcJRQ=
|
|
142
131
|
</data>
|
|
143
132
|
</dict>
|
|
144
133
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
145
134
|
<dict>
|
|
146
135
|
<key>hash2</key>
|
|
147
136
|
<data>
|
|
148
|
-
|
|
137
|
+
Lv8tpXXtepxtjOj8oVYhH9apI5CZ70EuSW5oz7yVyqo=
|
|
149
138
|
</data>
|
|
150
139
|
</dict>
|
|
151
140
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
152
141
|
<dict>
|
|
153
142
|
<key>hash2</key>
|
|
154
143
|
<data>
|
|
155
|
-
|
|
144
|
+
491cySewuZLLHwtmw8GWnU9m2CijrM4hmw0WEEWvzNc=
|
|
156
145
|
</data>
|
|
157
146
|
</dict>
|
|
158
147
|
<key>Modules/Kindly.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
159
148
|
<dict>
|
|
160
149
|
<key>hash2</key>
|
|
161
150
|
<data>
|
|
162
|
-
|
|
151
|
+
e2iZADRS9U3tDDFZz7UbKqtxAlnI4JvdLT/NUBF7SpQ=
|
|
163
152
|
</data>
|
|
164
153
|
</dict>
|
|
165
154
|
<key>Modules/module.modulemap</key>
|
package/package.json
CHANGED
|
Binary file
|