@trpc/server
Advanced tools
Comparing version 3.0.0-alpha.8 to 3.0.0-alpha.9
@@ -124,4 +124,4 @@ "use strict"; | ||
Router.prototype.createCaller = function (ctx) { | ||
var _this = this; | ||
// eslint-disable-next-line @typescript-eslint/no-this-alias | ||
var self = this; | ||
return { | ||
@@ -133,3 +133,3 @@ query: function (path) { | ||
} | ||
return self.invoke({ | ||
return _this.invoke({ | ||
target: 'queries', | ||
@@ -146,3 +146,3 @@ ctx: ctx, | ||
} | ||
return self.invoke({ | ||
return _this.invoke({ | ||
target: 'mutations', | ||
@@ -159,3 +159,3 @@ ctx: ctx, | ||
} | ||
return self.invoke({ | ||
return _this.invoke({ | ||
target: 'subscriptions', | ||
@@ -162,0 +162,0 @@ ctx: ctx, |
{ | ||
"name": "@trpc/server", | ||
"version": "3.0.0-alpha.8", | ||
"version": "3.0.0-alpha.9", | ||
"description": "TRPC Server", | ||
@@ -51,3 +51,3 @@ "author": "KATT", | ||
}, | ||
"gitHead": "98cfba3ea7de88972306697b3975b70721841a36" | ||
"gitHead": "e08d28593c42a3e2549a1e016fad44fece9953ee" | ||
} |
55733