@stream-io/node-sdk 0.8.14 → 0.8.15

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.
@@ -861,6 +861,10 @@ export interface ActivitySelectorConfig {
861
861
  * Maximum time in milliseconds this selector may take (25-5000). A selector that runs over its budget is dropped from that read instead of failing it, and stays out for the rest of that pagination session. The budget can only tighten the default, never extend it. Omit to use the default. Only supported on the popular, proximity, interest, query and follow_suggestion selectors
862
862
  */
863
863
  time_budget_ms?: number;
864
+ /**
865
+ * Radius in kilometers the proximity selector searches around the viewer's location (the request's viewer_location, else the user's custom.location) when its filter has no near or within_bounds. Greater than 0 and at most 250. Omit to use the default (10). Only supported on the proximity selector
866
+ */
867
+ viewer_location_radius_km?: number;
864
868
  /**
865
869
  * Sort parameters for activity selection
866
870
  */
@@ -897,6 +901,10 @@ export interface ActivitySelectorConfigResponse {
897
901
  * Maximum time in milliseconds this selector may take before it is dropped from the read
898
902
  */
899
903
  time_budget_ms?: number;
904
+ /**
905
+ * Radius in kilometers the proximity selector searches around the viewer's location
906
+ */
907
+ viewer_location_radius_km?: number;
900
908
  /**
901
909
  * Sort parameters for activity selection
902
910
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.8.14",
3
+ "version": "0.8.15",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -917,6 +917,10 @@ export interface ActivitySelectorConfig {
917
917
  * Maximum time in milliseconds this selector may take (25-5000). A selector that runs over its budget is dropped from that read instead of failing it, and stays out for the rest of that pagination session. The budget can only tighten the default, never extend it. Omit to use the default. Only supported on the popular, proximity, interest, query and follow_suggestion selectors
918
918
  */
919
919
  time_budget_ms?: number;
920
+ /**
921
+ * Radius in kilometers the proximity selector searches around the viewer's location (the request's viewer_location, else the user's custom.location) when its filter has no near or within_bounds. Greater than 0 and at most 250. Omit to use the default (10). Only supported on the proximity selector
922
+ */
923
+ viewer_location_radius_km?: number;
920
924
  /**
921
925
  * Sort parameters for activity selection
922
926
  */
@@ -961,6 +965,10 @@ export interface ActivitySelectorConfigResponse {
961
965
  * Maximum time in milliseconds this selector may take before it is dropped from the read
962
966
  */
963
967
  time_budget_ms?: number;
968
+ /**
969
+ * Radius in kilometers the proximity selector searches around the viewer's location
970
+ */
971
+ viewer_location_radius_km?: number;
964
972
  /**
965
973
  * Sort parameters for activity selection
966
974
  */