@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
|
@@ -100,6 +100,10 @@ export var PluginStateUpdate;
|
|
|
100
100
|
]);
|
|
101
101
|
break;
|
|
102
102
|
}
|
|
103
|
+
case "loggedPayload": {
|
|
104
|
+
memberValidators["loggedPayload"] = new __NoOpValidator();
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
103
107
|
}
|
|
104
108
|
}
|
|
105
109
|
return memberValidators[member];
|
|
@@ -107,6 +111,7 @@ export var PluginStateUpdate;
|
|
|
107
111
|
return [
|
|
108
112
|
...getMemberValidator("nextTurnParticipantId").validate(obj.nextTurnParticipantId, `${path}/nextTurnParticipantId`),
|
|
109
113
|
...getMemberValidator("pluginState").validate(obj.pluginState, `${path}/pluginState`),
|
|
114
|
+
...getMemberValidator("loggedPayload").validate(obj.loggedPayload, `${path}/loggedPayload`),
|
|
110
115
|
];
|
|
111
116
|
};
|
|
112
117
|
})(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
|
+
'loggedPayload': _ => se_Document(_, context),
|
|
427
428
|
'nextTurnParticipantId': [],
|
|
428
429
|
'pluginState': _ => se_Document(_, context),
|
|
429
430
|
}));
|
|
@@ -733,6 +734,7 @@ export const serializeInitializeGameResponse = async (input, ctx) => {
|
|
|
733
734
|
});
|
|
734
735
|
let body;
|
|
735
736
|
body = JSON.stringify(take(input, {
|
|
737
|
+
'loggedPayload': _ => se_Document(_, context),
|
|
736
738
|
'nextTurnParticipantId': [],
|
|
737
739
|
'pluginState': _ => se_Document(_, context),
|
|
738
740
|
}));
|