prisma-client-lib
Advanced tools
Comparing version 1.19.0-beta.12 to 1.19.0-beta.14
@@ -19,2 +19,3 @@ import { ClientOptions } from './types'; | ||
$subscribe: any; | ||
$graphql: any; | ||
$exists: any; | ||
@@ -46,3 +47,4 @@ debug: any; | ||
getDeepType(type: any): any; | ||
private buildGraphQL; | ||
private buildExists; | ||
} |
@@ -178,2 +178,3 @@ "use strict"; | ||
var token = secret ? jsonwebtoken_1.sign({}, secret) : undefined; | ||
this.$graphql = this.buildGraphQL(); | ||
this.$exists = this.buildExists(); | ||
@@ -431,2 +432,8 @@ this.token = token; | ||
}; | ||
Client.prototype.buildGraphQL = function () { | ||
var _this = this; | ||
return function (query, variables) { | ||
return _this.client.request(query, variables); | ||
}; | ||
}; | ||
Client.prototype.buildExists = function () { | ||
@@ -433,0 +440,0 @@ var _this = this; |
{ | ||
"name": "prisma-client-lib", | ||
"version": "1.19.0-beta.12", | ||
"version": "1.19.0-beta.14", | ||
"author": "Tim Suchanek <suchanek@prisma.io>", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
192561
2457