prisma-client-lib
Advanced tools
Comparing version 0.2.53 to 0.2.54
@@ -36,3 +36,3 @@ import { ClientOptions } from './types'; | ||
then: (id: any, resolve: any, reject: any) => Promise<any>; | ||
catch: (id: any, reject: any) => Promise<void>; | ||
catch: (id: any, reject: any) => Promise<any>; | ||
generateSelections(instructions: any): { | ||
@@ -39,0 +39,0 @@ ast: any; |
@@ -145,5 +145,4 @@ "use strict"; | ||
this.currentInstructions[id] = []; | ||
reject(e_1); | ||
return [3 /*break*/, 3]; | ||
case 3: return [2 /*return*/, result]; | ||
return [2 /*return*/, reject(e_1)]; | ||
case 3: return [2 /*return*/]; | ||
} | ||
@@ -159,10 +158,7 @@ }); | ||
return [4 /*yield*/, this.processInstructions(id)]; | ||
case 1: | ||
_a.sent(); | ||
return [3 /*break*/, 3]; | ||
case 1: return [2 /*return*/, _a.sent()]; | ||
case 2: | ||
e_2 = _a.sent(); | ||
this.currentInstructions[id] = []; | ||
reject(e_2); | ||
return [3 /*break*/, 3]; | ||
return [2 /*return*/, reject(e_2)]; | ||
case 3: return [2 /*return*/]; | ||
@@ -169,0 +165,0 @@ } |
{ | ||
"name": "prisma-client-lib", | ||
"version": "0.2.53", | ||
"version": "0.2.54", | ||
"author": "Tim Suchanek <suchanek@prisma.io>", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
184486
2235