remult 0.20.0-exp.19 → 0.20.0-exp.20

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.
@@ -125,7 +125,7 @@ export class RemultServerImplementation {
125
125
  await this.runWithRemult(async (remult) => {
126
126
  remult.user = jsonContextData.user;
127
127
  if (this.options.contextSerializer) {
128
- await this.options.contextSerializer.deserialize(jsonContextData, {
128
+ await this.options.contextSerializer.deserialize(jsonContextData.context, {
129
129
  remult,
130
130
  get liveQueryStorage() {
131
131
  return remult.liveQueryStorage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.20.0-exp.19",
3
+ "version": "0.20.0-exp.20",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -192,7 +192,7 @@ var RemultServerImplementation = /** @class */ (function () {
192
192
  case 0:
193
193
  remult.user = jsonContextData.user;
194
194
  if (!this.options.contextSerializer) return [3 /*break*/, 2];
195
- return [4 /*yield*/, this.options.contextSerializer.deserialize(jsonContextData, {
195
+ return [4 /*yield*/, this.options.contextSerializer.deserialize(jsonContextData.context, {
196
196
  remult: remult,
197
197
  get liveQueryStorage() {
198
198
  return remult.liveQueryStorage;