@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.
Files changed (20) hide show
  1. package/android/libs/shortkit-release.aar +0 -0
  2. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Info.plist +2 -2
  3. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.abi.json +147 -650
  4. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -18
  5. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  6. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftinterface +4 -18
  7. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/ShortKitSDK +0 -0
  8. package/ios/ShortKitSDK.xcframework/ios-arm64/ShortKitSDK.framework/_CodeSignature/CodeResources +9 -9
  9. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Info.plist +2 -2
  10. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +147 -650
  11. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -18
  12. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  13. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -18
  14. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +147 -650
  15. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -18
  16. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  17. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -18
  18. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/ShortKitSDK +0 -0
  19. package/ios/ShortKitSDK.xcframework/ios-arm64_x86_64-simulator/ShortKitSDK.framework/_CodeSignature/CodeResources +17 -17
  20. 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, overlayMode: ShortKitSDK.DownloadOverlayMode = .none) async throws -> Foundation.URL
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 {}
@@ -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, overlayMode: ShortKitSDK.DownloadOverlayMode = .none) async throws -> Foundation.URL
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 {}
@@ -10,23 +10,23 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- 4K7vcC+PxUohV3bd0bh1T468o64=
13
+ UBJkTDFkkuo8siI7nXMvSdidefk=
14
14
  </data>
15
15
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.abi.json</key>
16
16
  <data>
17
- Rjj+GSoLSCrw0yWsyuZKMjBvB7w=
17
+ 4ZLzG7JX7C3LR8yiCqrjl/q5Jec=
18
18
  </data>
19
19
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
20
20
  <data>
21
- OBMIj/+SrLB2hXctK6hL6ajlirQ=
21
+ HbxNL+FAe/uiVKsI5gIKo+NgkOg=
22
22
  </data>
23
23
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
24
24
  <data>
25
- g+uAM9MiGba6CPIGESItUKIxS7k=
25
+ 0R//wuSIrVL59tE0wa1R/X9b0Ts=
26
26
  </data>
27
27
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
28
28
  <data>
29
- OBMIj/+SrLB2hXctK6hL6ajlirQ=
29
+ HbxNL+FAe/uiVKsI5gIKo+NgkOg=
30
30
  </data>
31
31
  <key>Modules/module.modulemap</key>
32
32
  <data>
@@ -50,28 +50,28 @@
50
50
  <dict>
51
51
  <key>hash2</key>
52
52
  <data>
53
- I+qXkJ01B8L+4/9SU/EjrVWxqmyjWYlX7gpzoBCEnKE=
53
+ NU+7q34JKuC4uwA6bEEZmwxT+0VqccpM/bQqMPyUy/4=
54
54
  </data>
55
55
  </dict>
56
56
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
57
57
  <dict>
58
58
  <key>hash2</key>
59
59
  <data>
60
- zoSWCYjVCZ5qXqapxaGezRB/IZUiMMoTf2mXoSLnANs=
60
+ fruh0ThntXMQsa5/W8DXF6TaIIYKJeSskygHQ+CBAQw=
61
61
  </data>
62
62
  </dict>
63
63
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
64
64
  <dict>
65
65
  <key>hash2</key>
66
66
  <data>
67
- If1Hm75nHSj2c9YO2I8WnQSaL5SsVanJyH9a5afmTD4=
67
+ U5Cw5QL+9cUkhh9mLI1yZDaq2/RGV9E65rtAJsBXZNw=
68
68
  </data>
69
69
  </dict>
70
70
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
71
71
  <dict>
72
72
  <key>hash2</key>
73
73
  <data>
74
- zoSWCYjVCZ5qXqapxaGezRB/IZUiMMoTf2mXoSLnANs=
74
+ fruh0ThntXMQsa5/W8DXF6TaIIYKJeSskygHQ+CBAQw=
75
75
  </data>
76
76
  </dict>
77
77
  <key>Modules/module.modulemap</key>
@@ -11,9 +11,9 @@
11
11
  <key>CFBundlePackageType</key>
12
12
  <string>FMWK</string>
13
13
  <key>CFBundleVersion</key>
14
- <string>0.2.49</string>
14
+ <string>0.2.51</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>0.2.49</string>
16
+ <string>0.2.51</string>
17
17
  <key>MinimumOSVersion</key>
18
18
  <string>16.0</string>
19
19
  </dict>