@guardian/bridget 8.9.2-2026-05-11 → 8.10.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/FootballTeam.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as thrift from "@creditkarma/thrift-server-core";
2
2
  export interface IFootballTeam {
3
- id: string;
3
+ paId: string;
4
4
  name: string;
5
5
  }
6
6
  export interface IFootballTeamArgs {
7
- id: string;
7
+ paId: string;
8
8
  name: string;
9
9
  }
10
10
  export declare const FootballTeamCodec: thrift.IStructCodec<IFootballTeamArgs, IFootballTeam>;
11
11
  export declare class FootballTeam extends thrift.StructLike implements IFootballTeam {
12
- id: string;
12
+ paId: string;
13
13
  name: string;
14
14
  readonly _annotations: thrift.IThriftAnnotations;
15
15
  readonly _fieldAnnotations: thrift.IFieldAnnotations;
package/FootballTeam.js CHANGED
@@ -34,17 +34,17 @@ const thrift = __importStar(require("@creditkarma/thrift-server-core"));
34
34
  exports.FootballTeamCodec = {
35
35
  encode(args, output) {
36
36
  const obj = {
37
- id: args.id,
37
+ paId: args.paId,
38
38
  name: args.name
39
39
  };
40
40
  output.writeStructBegin("FootballTeam");
41
- if (obj.id != null) {
42
- output.writeFieldBegin("id", thrift.TType.STRING, 1);
43
- output.writeString(obj.id);
41
+ if (obj.paId != null) {
42
+ output.writeFieldBegin("paId", thrift.TType.STRING, 1);
43
+ output.writeString(obj.paId);
44
44
  output.writeFieldEnd();
45
45
  }
46
46
  else {
47
- throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[id] is unset!");
47
+ throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[paId] is unset!");
48
48
  }
49
49
  if (obj.name != null) {
50
50
  output.writeFieldBegin("name", thrift.TType.STRING, 2);
@@ -72,7 +72,7 @@ exports.FootballTeamCodec = {
72
72
  case 1:
73
73
  if (fieldType === thrift.TType.STRING) {
74
74
  const value_1 = input.readString();
75
- _args.id = value_1;
75
+ _args.paId = value_1;
76
76
  }
77
77
  else {
78
78
  input.skip(fieldType);
@@ -94,9 +94,9 @@ exports.FootballTeamCodec = {
94
94
  input.readFieldEnd();
95
95
  }
96
96
  input.readStructEnd();
97
- if (_args.id !== undefined && _args.name !== undefined) {
97
+ if (_args.paId !== undefined && _args.name !== undefined) {
98
98
  return {
99
- id: _args.id,
99
+ paId: _args.paId,
100
100
  name: _args.name
101
101
  };
102
102
  }
@@ -110,12 +110,12 @@ class FootballTeam extends thrift.StructLike {
110
110
  super();
111
111
  this._annotations = {};
112
112
  this._fieldAnnotations = {};
113
- if (args.id != null) {
114
- const value_3 = args.id;
115
- this.id = value_3;
113
+ if (args.paId != null) {
114
+ const value_3 = args.paId;
115
+ this.paId = value_3;
116
116
  }
117
117
  else {
118
- throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[id] is unset!");
118
+ throw new thrift.TProtocolException(thrift.TProtocolExceptionType.UNKNOWN, "Required field[paId] is unset!");
119
119
  }
120
120
  if (args.name != null) {
121
121
  const value_4 = args.name;
package/MediaEvent.d.ts CHANGED
@@ -5,5 +5,11 @@ export declare enum MediaEvent {
5
5
  percent25 = 3,
6
6
  percent50 = 4,
7
7
  percent75 = 5,
8
- end = 6
8
+ end = 6,
9
+ pause = 7,
10
+ mute = 8,
11
+ unmute = 9,
12
+ enter_fullscreen = 10,
13
+ exit_fullscreen = 11,
14
+ view = 12
9
15
  }
package/MediaEvent.js CHANGED
@@ -16,4 +16,10 @@ var MediaEvent;
16
16
  MediaEvent[MediaEvent["percent50"] = 4] = "percent50";
17
17
  MediaEvent[MediaEvent["percent75"] = 5] = "percent75";
18
18
  MediaEvent[MediaEvent["end"] = 6] = "end";
19
+ MediaEvent[MediaEvent["pause"] = 7] = "pause";
20
+ MediaEvent[MediaEvent["mute"] = 8] = "mute";
21
+ MediaEvent[MediaEvent["unmute"] = 9] = "unmute";
22
+ MediaEvent[MediaEvent["enter_fullscreen"] = 10] = "enter_fullscreen";
23
+ MediaEvent[MediaEvent["exit_fullscreen"] = 11] = "exit_fullscreen";
24
+ MediaEvent[MediaEvent["view"] = 12] = "view";
19
25
  })(MediaEvent || (exports.MediaEvent = MediaEvent = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardian/bridget",
3
- "version": "8.9.2-2026-05-11",
3
+ "version": "8.10.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {