@anweather/game-plugin-ssdk 1.3.1 → 1.4.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/dist-cjs/src/models/models_0.js +5 -0
- package/dist-cjs/src/protocols/Aws_restJson1.js +2 -0
- package/dist-cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist-es/src/models/models_0.js +5 -0
- package/dist-es/src/protocols/Aws_restJson1.js +2 -0
- package/dist-es/tsconfig.es.tsbuildinfo +1 -1
- package/dist-types/src/models/models_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -104,6 +104,10 @@ var PluginStateUpdate;
|
|
|
104
104
|
]);
|
|
105
105
|
break;
|
|
106
106
|
}
|
|
107
|
+
case "loggedPayload": {
|
|
108
|
+
memberValidators["loggedPayload"] = new server_common_1.NoOpValidator();
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
107
111
|
}
|
|
108
112
|
}
|
|
109
113
|
return memberValidators[member];
|
|
@@ -111,6 +115,7 @@ var PluginStateUpdate;
|
|
|
111
115
|
return [
|
|
112
116
|
...getMemberValidator("nextTurnParticipantId").validate(obj.nextTurnParticipantId, `${path}/nextTurnParticipantId`),
|
|
113
117
|
...getMemberValidator("pluginState").validate(obj.pluginState, `${path}/pluginState`),
|
|
118
|
+
...getMemberValidator("loggedPayload").validate(obj.loggedPayload, `${path}/loggedPayload`),
|
|
114
119
|
];
|
|
115
120
|
};
|
|
116
121
|
})(PluginStateUpdate || (exports.PluginStateUpdate = PluginStateUpdate = {}));
|
|
@@ -442,6 +442,7 @@ const serializeApplyMoveResponse = async (input, ctx) => {
|
|
|
442
442
|
});
|
|
443
443
|
let body;
|
|
444
444
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
445
|
+
'loggedPayload': _ => se_Document(_, context),
|
|
445
446
|
'nextTurnParticipantId': [],
|
|
446
447
|
'pluginState': _ => se_Document(_, context),
|
|
447
448
|
}));
|
|
@@ -761,6 +762,7 @@ const serializeInitializeGameResponse = async (input, ctx) => {
|
|
|
761
762
|
});
|
|
762
763
|
let body;
|
|
763
764
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
765
|
+
'loggedPayload': _ => se_Document(_, context),
|
|
764
766
|
'nextTurnParticipantId': [],
|
|
765
767
|
'pluginState': _ => se_Document(_, context),
|
|
766
768
|
}));
|