@anweather/game-plugin-ssdk 1.4.0 → 1.5.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.
@@ -104,6 +104,10 @@ export var PluginStateUpdate;
104
104
  memberValidators["loggedPayload"] = new __NoOpValidator();
105
105
  break;
106
106
  }
107
+ case "awaitingParticipantIds": {
108
+ memberValidators["awaitingParticipantIds"] = new __CompositeCollectionValidator(new __NoOpValidator(), new __NoOpValidator());
109
+ break;
110
+ }
107
111
  }
108
112
  }
109
113
  return memberValidators[member];
@@ -112,6 +116,7 @@ export var PluginStateUpdate;
112
116
  ...getMemberValidator("nextTurnParticipantId").validate(obj.nextTurnParticipantId, `${path}/nextTurnParticipantId`),
113
117
  ...getMemberValidator("pluginState").validate(obj.pluginState, `${path}/pluginState`),
114
118
  ...getMemberValidator("loggedPayload").validate(obj.loggedPayload, `${path}/loggedPayload`),
119
+ ...getMemberValidator("awaitingParticipantIds").validate(obj.awaitingParticipantIds, `${path}/awaitingParticipantIds`),
115
120
  ];
116
121
  };
117
122
  })(PluginStateUpdate || (PluginStateUpdate = {}));
@@ -424,6 +424,7 @@ export const serializeApplyMoveResponse = async (input, ctx) => {
424
424
  });
425
425
  let body;
426
426
  body = JSON.stringify(take(input, {
427
+ 'awaitingParticipantIds': _ => se_ParticipantIdList(_, context),
427
428
  'loggedPayload': _ => se_Document(_, context),
428
429
  'nextTurnParticipantId': [],
429
430
  'pluginState': _ => se_Document(_, context),
@@ -734,6 +735,7 @@ export const serializeInitializeGameResponse = async (input, ctx) => {
734
735
  });
735
736
  let body;
736
737
  body = JSON.stringify(take(input, {
738
+ 'awaitingParticipantIds': _ => se_ParticipantIdList(_, context),
737
739
  'loggedPayload': _ => se_Document(_, context),
738
740
  'nextTurnParticipantId': [],
739
741
  'pluginState': _ => se_Document(_, context),