@shortkitsdk/react-native 0.2.49 → 0.2.51
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/android/libs/shortkit-release.aar +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Info.plist +2 -2
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.abi.json +147 -650
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftinterface +4 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/ShortKitSDK +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/_CodeSignature/CodeResources +9 -9
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Info.plist +2 -2
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +147 -650
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +147 -650
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -18
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/ShortKitSDK +0 -0
- package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/_CodeSignature/CodeResources +17 -17
- package/package.json +1 -1
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
7
7
|
import CoreGraphics
|
|
8
|
-
import CoreImage
|
|
9
|
-
import CoreMedia
|
|
10
|
-
import CoreVideo
|
|
11
8
|
import Foundation
|
|
12
9
|
import Network
|
|
13
10
|
import QuartzCore
|
|
@@ -480,8 +477,6 @@ extension ShortKitSDK.ShortKitDelegate {
|
|
|
480
477
|
}
|
|
481
478
|
public enum DownloadPhase : Swift.String, Swift.Sendable {
|
|
482
479
|
case downloading
|
|
483
|
-
case compositing
|
|
484
|
-
case finalizing
|
|
485
480
|
public init?(rawValue: Swift.String)
|
|
486
481
|
public typealias RawValue = Swift.String
|
|
487
482
|
public var rawValue: Swift.String {
|
|
@@ -511,23 +506,12 @@ public enum DownloadMode {
|
|
|
511
506
|
get
|
|
512
507
|
}
|
|
513
508
|
}
|
|
514
|
-
public enum DownloadOverlayMode {
|
|
515
|
-
case none
|
|
516
|
-
case staticSnapshot(source: any UIKit.UIView & ShortKitSDK.FeedOverlay)
|
|
517
|
-
}
|
|
518
|
-
public protocol ExportableFeedOverlay : AnyObject {
|
|
519
|
-
func prepareForExport(duration: Foundation.TimeInterval, size: CoreFoundation.CGSize) async
|
|
520
|
-
func snapshotAtTime(_ time: Foundation.TimeInterval) async -> UIKit.UIImage?
|
|
521
|
-
func tearDownAfterExport()
|
|
522
|
-
}
|
|
523
509
|
public enum ShortKitDownloadError : Swift.Error, Foundation.LocalizedError {
|
|
524
510
|
case downloadNotAvailable
|
|
525
511
|
case downloadInProgress
|
|
526
512
|
case networkError(any Swift.Error)
|
|
527
513
|
case httpError(statusCode: Swift.Int)
|
|
528
514
|
case cancelled
|
|
529
|
-
case exportFailed(underlying: any Swift.Error)
|
|
530
|
-
case overlayNotVisibleForSnapshot
|
|
531
515
|
public var errorDescription: Swift.String? {
|
|
532
516
|
get
|
|
533
517
|
}
|
|
@@ -710,6 +694,7 @@ public enum LiveStreamStatus : Swift.String, Swift.Codable, Swift.Equatable, Swi
|
|
|
710
694
|
case idle
|
|
711
695
|
case active
|
|
712
696
|
case ended
|
|
697
|
+
case dvr
|
|
713
698
|
public init?(rawValue: Swift.String)
|
|
714
699
|
public typealias RawValue = Swift.String
|
|
715
700
|
public var rawValue: Swift.String {
|
|
@@ -1188,6 +1173,7 @@ public enum ContentSignal : Swift.Equatable, Swift.Sendable {
|
|
|
1188
1173
|
final public func selectCaptionTrack(language: Swift.String)
|
|
1189
1174
|
final public func setFeedScrollEnabled(_ enabled: Swift.Bool)
|
|
1190
1175
|
final public func dismissLiveRoom()
|
|
1176
|
+
final public func downloadCurrentItem(mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1191
1177
|
final public func seekThumbnail(at time: Swift.Double) -> UIKit.UIImage?
|
|
1192
1178
|
@objc deinit
|
|
1193
1179
|
}
|
|
@@ -1242,7 +1228,7 @@ final public class ShortKit {
|
|
|
1242
1228
|
final public func clearUserId()
|
|
1243
1229
|
@_Concurrency.MainActor final public func setColdStartQueue(_ items: [ShortKitSDK.FeedInput])
|
|
1244
1230
|
final public func clearColdStartCache()
|
|
1245
|
-
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive
|
|
1231
|
+
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1246
1232
|
final public func cancelDownload()
|
|
1247
1233
|
@objc deinit
|
|
1248
1234
|
}
|
|
@@ -1373,7 +1359,7 @@ public struct WidgetConfig {
|
|
|
1373
1359
|
public func resolvedFeedConfig() -> ShortKitSDK.FeedConfig
|
|
1374
1360
|
}
|
|
1375
1361
|
public enum WidgetInput : Swift.Sendable {
|
|
1376
|
-
case video(playbackId: Swift.String, origin: ShortKitSDK.ContentOrigin = .other, fallbackUrl: Swift.String? = nil)
|
|
1362
|
+
case video(playbackId: Swift.String, origin: ShortKitSDK.ContentOrigin = .other, fallbackUrl: Swift.String? = nil, contentId: Swift.String? = nil)
|
|
1377
1363
|
}
|
|
1378
1364
|
extension ShortKitSDK.AdQuartile : Swift.Equatable {}
|
|
1379
1365
|
extension ShortKitSDK.AdQuartile : Swift.Hashable {}
|
|
Binary file
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
7
7
|
import CoreGraphics
|
|
8
|
-
import CoreImage
|
|
9
|
-
import CoreMedia
|
|
10
|
-
import CoreVideo
|
|
11
8
|
import Foundation
|
|
12
9
|
import Network
|
|
13
10
|
import QuartzCore
|
|
@@ -480,8 +477,6 @@ extension ShortKitSDK.ShortKitDelegate {
|
|
|
480
477
|
}
|
|
481
478
|
public enum DownloadPhase : Swift.String, Swift.Sendable {
|
|
482
479
|
case downloading
|
|
483
|
-
case compositing
|
|
484
|
-
case finalizing
|
|
485
480
|
public init?(rawValue: Swift.String)
|
|
486
481
|
public typealias RawValue = Swift.String
|
|
487
482
|
public var rawValue: Swift.String {
|
|
@@ -511,23 +506,12 @@ public enum DownloadMode {
|
|
|
511
506
|
get
|
|
512
507
|
}
|
|
513
508
|
}
|
|
514
|
-
public enum DownloadOverlayMode {
|
|
515
|
-
case none
|
|
516
|
-
case staticSnapshot(source: any UIKit.UIView & ShortKitSDK.FeedOverlay)
|
|
517
|
-
}
|
|
518
|
-
public protocol ExportableFeedOverlay : AnyObject {
|
|
519
|
-
func prepareForExport(duration: Foundation.TimeInterval, size: CoreFoundation.CGSize) async
|
|
520
|
-
func snapshotAtTime(_ time: Foundation.TimeInterval) async -> UIKit.UIImage?
|
|
521
|
-
func tearDownAfterExport()
|
|
522
|
-
}
|
|
523
509
|
public enum ShortKitDownloadError : Swift.Error, Foundation.LocalizedError {
|
|
524
510
|
case downloadNotAvailable
|
|
525
511
|
case downloadInProgress
|
|
526
512
|
case networkError(any Swift.Error)
|
|
527
513
|
case httpError(statusCode: Swift.Int)
|
|
528
514
|
case cancelled
|
|
529
|
-
case exportFailed(underlying: any Swift.Error)
|
|
530
|
-
case overlayNotVisibleForSnapshot
|
|
531
515
|
public var errorDescription: Swift.String? {
|
|
532
516
|
get
|
|
533
517
|
}
|
|
@@ -710,6 +694,7 @@ public enum LiveStreamStatus : Swift.String, Swift.Codable, Swift.Equatable, Swi
|
|
|
710
694
|
case idle
|
|
711
695
|
case active
|
|
712
696
|
case ended
|
|
697
|
+
case dvr
|
|
713
698
|
public init?(rawValue: Swift.String)
|
|
714
699
|
public typealias RawValue = Swift.String
|
|
715
700
|
public var rawValue: Swift.String {
|
|
@@ -1188,6 +1173,7 @@ public enum ContentSignal : Swift.Equatable, Swift.Sendable {
|
|
|
1188
1173
|
final public func selectCaptionTrack(language: Swift.String)
|
|
1189
1174
|
final public func setFeedScrollEnabled(_ enabled: Swift.Bool)
|
|
1190
1175
|
final public func dismissLiveRoom()
|
|
1176
|
+
final public func downloadCurrentItem(mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1191
1177
|
final public func seekThumbnail(at time: Swift.Double) -> UIKit.UIImage?
|
|
1192
1178
|
@objc deinit
|
|
1193
1179
|
}
|
|
@@ -1242,7 +1228,7 @@ final public class ShortKit {
|
|
|
1242
1228
|
final public func clearUserId()
|
|
1243
1229
|
@_Concurrency.MainActor final public func setColdStartQueue(_ items: [ShortKitSDK.FeedInput])
|
|
1244
1230
|
final public func clearColdStartCache()
|
|
1245
|
-
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive
|
|
1231
|
+
final public func downloadVideo(_ item: ShortKitSDK.ContentItem, mode: ShortKitSDK.DownloadMode = .nonInterruptive) async throws -> Foundation.URL
|
|
1246
1232
|
final public func cancelDownload()
|
|
1247
1233
|
@objc deinit
|
|
1248
1234
|
}
|
|
@@ -1373,7 +1359,7 @@ public struct WidgetConfig {
|
|
|
1373
1359
|
public func resolvedFeedConfig() -> ShortKitSDK.FeedConfig
|
|
1374
1360
|
}
|
|
1375
1361
|
public enum WidgetInput : Swift.Sendable {
|
|
1376
|
-
case video(playbackId: Swift.String, origin: ShortKitSDK.ContentOrigin = .other, fallbackUrl: Swift.String? = nil)
|
|
1362
|
+
case video(playbackId: Swift.String, origin: ShortKitSDK.ContentOrigin = .other, fallbackUrl: Swift.String? = nil, contentId: Swift.String? = nil)
|
|
1377
1363
|
}
|
|
1378
1364
|
extension ShortKitSDK.AdQuartile : Swift.Equatable {}
|
|
1379
1365
|
extension ShortKitSDK.AdQuartile : Swift.Hashable {}
|
package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/ShortKitSDK
CHANGED
|
Binary file
|
|
@@ -10,39 +10,39 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Info.plist</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
UBJkTDFkkuo8siI7nXMvSdidefk=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
4ZLzG7JX7C3LR8yiCqrjl/q5Jec=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
0DWb9vd4Kd+Azjzp/5hi6yikJTs=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
do4+OPENr2yBtXBRezyZTn/2flk=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
0DWb9vd4Kd+Azjzp/5hi6yikJTs=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
4ZLzG7JX7C3LR8yiCqrjl/q5Jec=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
SF2IVvYMKktKjJnKafwT4mRRdgo=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
FzCsAIixi7gHdpONVbSph53IzIY=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
SF2IVvYMKktKjJnKafwT4mRRdgo=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/module.modulemap</key>
|
|
48
48
|
<data>
|
|
@@ -66,56 +66,56 @@
|
|
|
66
66
|
<dict>
|
|
67
67
|
<key>hash2</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
NU+7q34JKuC4uwA6bEEZmwxT+0VqccpM/bQqMPyUy/4=
|
|
70
70
|
</data>
|
|
71
71
|
</dict>
|
|
72
72
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
73
73
|
<dict>
|
|
74
74
|
<key>hash2</key>
|
|
75
75
|
<data>
|
|
76
|
-
|
|
76
|
+
Df791P6bwEbEVfvqlx87AXYQfm7SOFe0bUH4VRuR51g=
|
|
77
77
|
</data>
|
|
78
78
|
</dict>
|
|
79
79
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
80
80
|
<dict>
|
|
81
81
|
<key>hash2</key>
|
|
82
82
|
<data>
|
|
83
|
-
|
|
83
|
+
roAxdJsguGFMP1OTBFhj4yLWGvL6r29QOR4nauuObM8=
|
|
84
84
|
</data>
|
|
85
85
|
</dict>
|
|
86
86
|
<key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
87
87
|
<dict>
|
|
88
88
|
<key>hash2</key>
|
|
89
89
|
<data>
|
|
90
|
-
|
|
90
|
+
Df791P6bwEbEVfvqlx87AXYQfm7SOFe0bUH4VRuR51g=
|
|
91
91
|
</data>
|
|
92
92
|
</dict>
|
|
93
93
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
94
94
|
<dict>
|
|
95
95
|
<key>hash2</key>
|
|
96
96
|
<data>
|
|
97
|
-
|
|
97
|
+
NU+7q34JKuC4uwA6bEEZmwxT+0VqccpM/bQqMPyUy/4=
|
|
98
98
|
</data>
|
|
99
99
|
</dict>
|
|
100
100
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
101
101
|
<dict>
|
|
102
102
|
<key>hash2</key>
|
|
103
103
|
<data>
|
|
104
|
-
|
|
104
|
+
lvPLFF/H7c3Q/KG4B6HTDfS8fQsyW5LOw74rrEnwqVg=
|
|
105
105
|
</data>
|
|
106
106
|
</dict>
|
|
107
107
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
108
108
|
<dict>
|
|
109
109
|
<key>hash2</key>
|
|
110
110
|
<data>
|
|
111
|
-
|
|
111
|
+
Z7H4dowCnJqArCNlbwo4Jbf/kZP8z4LGpvr4SYDv8qs=
|
|
112
112
|
</data>
|
|
113
113
|
</dict>
|
|
114
114
|
<key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
115
115
|
<dict>
|
|
116
116
|
<key>hash2</key>
|
|
117
117
|
<data>
|
|
118
|
-
|
|
118
|
+
lvPLFF/H7c3Q/KG4B6HTDfS8fQsyW5LOw74rrEnwqVg=
|
|
119
119
|
</data>
|
|
120
120
|
</dict>
|
|
121
121
|
<key>Modules/module.modulemap</key>
|