@streamlayer/sl-eslib 5.113.2 → 5.114.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sl-eslib",
3
- "version": "5.113.2",
3
+ "version": "5.114.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1054,6 +1054,32 @@ export declare class Banner extends Message<Banner> {
1054
1054
  static equals(a: Banner | PlainMessage<Banner> | undefined, b: Banner | PlainMessage<Banner> | undefined): boolean;
1055
1055
  }
1056
1056
 
1057
+ /**
1058
+ * @generated from message streamlayer.interactive.AdLoop
1059
+ */
1060
+ export declare class AdLoop extends Message<AdLoop> {
1061
+ /**
1062
+ * interval in seconds
1063
+ *
1064
+ * @generated from field: optional int32 interval = 1;
1065
+ */
1066
+ interval?: number;
1067
+
1068
+ constructor(data?: PartialMessage<AdLoop>);
1069
+
1070
+ static readonly runtime: typeof proto3;
1071
+ static readonly typeName = "streamlayer.interactive.AdLoop";
1072
+ static readonly fields: FieldList;
1073
+
1074
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdLoop;
1075
+
1076
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdLoop;
1077
+
1078
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdLoop;
1079
+
1080
+ static equals(a: AdLoop | PlainMessage<AdLoop> | undefined, b: AdLoop | PlainMessage<AdLoop> | undefined): boolean;
1081
+ }
1082
+
1057
1083
  /**
1058
1084
  * @generated from message streamlayer.interactive.QuestionOptions
1059
1085
  */
@@ -1710,9 +1736,6 @@ export declare class QuestionOptions_GamOptions extends Message<QuestionOptions_
1710
1736
  pp?: string;
1711
1737
 
1712
1738
  /**
1713
- * const encodedSignals = encodeURIComponent(window.btoa(JSON.stringify(userSignals)));
1714
- * "&ppsj=" + encodedSignals;
1715
- *
1716
1739
  * Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
1717
1740
  *
1718
1741
  * @generated from field: optional string ppsj = 56;
@@ -1862,6 +1885,13 @@ export declare class QuestionOptions_AdCampaigns extends Message<QuestionOptions
1862
1885
  */
1863
1886
  gamBaseUrl?: string;
1864
1887
 
1888
+ /**
1889
+ * ad loop settings, show ad by interval, loop run on the client side
1890
+ *
1891
+ * @generated from field: streamlayer.interactive.AdLoop ad_loop = 3;
1892
+ */
1893
+ adLoop?: AdLoop;
1894
+
1865
1895
  constructor(data?: PartialMessage<QuestionOptions_AdCampaigns>);
1866
1896
 
1867
1897
  static readonly runtime: typeof proto3;
@@ -448,6 +448,16 @@ export const Banner = /*@__PURE__*/ proto3.makeMessageType(
448
448
  ],
449
449
  );
450
450
 
451
+ /**
452
+ * @generated from message streamlayer.interactive.AdLoop
453
+ */
454
+ export const AdLoop = /*@__PURE__*/ proto3.makeMessageType(
455
+ "streamlayer.interactive.AdLoop",
456
+ () => [
457
+ { no: 1, name: "interval", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
458
+ ],
459
+ );
460
+
451
461
  /**
452
462
  * @generated from message streamlayer.interactive.QuestionOptions
453
463
  */
@@ -632,6 +642,7 @@ export const QuestionOptions_AdCampaigns = /*@__PURE__*/ proto3.makeMessageType(
632
642
  () => [
633
643
  { no: 1, name: "gam_options", kind: "message", T: QuestionOptions_GamOptions, opt: true },
634
644
  { no: 2, name: "gam_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
645
+ { no: 3, name: "ad_loop", kind: "message", T: AdLoop },
635
646
  ],
636
647
  {localName: "QuestionOptions_AdCampaigns"},
637
648
  );