react-native-firework-sdk 1.10.0 → 1.10.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.
@@ -14,7 +14,7 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- +x0pM0YYQs1Pnge03pIFnVlJEgM=
17
+ 4AcEQBLxgELQnQFQ2xSXPFO2NVE=
18
18
  </data>
19
19
  <key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
20
20
  <data>
@@ -28,8 +28,8 @@ extension VideoPlaybackDetails {
28
28
  [
29
29
  "videoId": videoID,
30
30
  "duration": duration,
31
- "caption": caption,
32
- "badge": badge,
31
+ "caption": caption ?? "",
32
+ "badge": badge ?? "",
33
33
  "playerSize": [
34
34
  "width": playerSize.width,
35
35
  "height": playerSize.height
@@ -92,6 +92,10 @@ extension FeedEventDetails {
92
92
  sourceStr = "dynamicContent"
93
93
  result["channel"] = channelID
94
94
  result["dynamicContentParameters"] = parameters
95
+ case .hashtagPlaylist(let channelID, let hashtagFilterExpression):
96
+ sourceStr = "hashtagPlaylist"
97
+ result["channel"] = channelID
98
+ result["hashtagFilterExpression"] = hashtagFilterExpression
95
99
  default:
96
100
  break
97
101
  }
@@ -44,4 +44,12 @@ export default interface FeedItemDetails {
44
44
  dynamicContentParameters?: {
45
45
  [key: string]: string[];
46
46
  } | null;
47
+ /**
48
+ * Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria.
49
+ * Queries are specified with boolean predicates on what hashtags are there on the video.
50
+ * For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
51
+ * Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
52
+ * Only supported on iOS.
53
+ */
54
+ hashtagFilterExpression?: string;
47
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-firework-sdk",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Firework React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -43,4 +43,12 @@ export default interface FeedItemDetails {
43
43
  * The dynamic content parameters of the feed. The property has value when the source is dynamicContent.
44
44
  */
45
45
  dynamicContentParameters?: { [key: string]: string[] } | null;
46
+ /**
47
+ * Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria.
48
+ * Queries are specified with boolean predicates on what hashtags are there on the video.
49
+ * For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
50
+ * Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
51
+ * Only supported on iOS.
52
+ */
53
+ hashtagFilterExpression?: string;
46
54
  }