@@ -248,10 +248,10 @@ var Txn = (function () {
248248 }
249249 Txn . prototype . doRequest = function ( req , metadata , options ) {
250250 return __awaiter ( this , void 0 , void 0 , function ( ) {
251- var mutationList , resp , c , operation , _a , _b , e_1 , _c , _d , e_2
251+ var mutationList , resp , c , operation , _a , _b , e_1 , _c , _d , _e
252252 var _this = this
253- return __generator ( this , function ( _e ) {
254- switch ( _e . label ) {
253+ return __generator ( this , function ( _f ) {
254+ switch ( _f . label ) {
255255 case 0 :
256256 mutationList = req . getMutationsList ( )
257257 if ( this . finished ) {
@@ -289,33 +289,33 @@ var Txn = (function () {
289289 } )
290290 } )
291291 }
292- _e . label = 1
292+ _f . label = 1
293293 case 1 :
294- _e . trys . push ( [ 1 , 3 , , 11 ] )
294+ _f . trys . push ( [ 1 , 3 , , 11 ] )
295295 _b = ( _a = types ) . createResponse
296296 return [ 4 , operation ( ) ]
297297 case 2 :
298- resp = _b . apply ( _a , [ _e . sent ( ) ] )
298+ resp = _b . apply ( _a , [ _f . sent ( ) ] )
299299 return [ 3 , 11 ]
300300 case 3 :
301- e_1 = _e . sent ( )
301+ e_1 = _f . sent ( )
302302 if ( ! ( ( 0 , client_1 . isJwtExpired ) ( e_1 ) === true ) ) return [ 3 , 6 ]
303303 return [ 4 , c . retryLogin ( metadata , options ) ]
304304 case 4 :
305- _e . sent ( )
305+ _f . sent ( )
306306 _d = ( _c = types ) . createResponse
307307 return [ 4 , operation ( ) ]
308308 case 5 :
309- resp = _d . apply ( _c , [ _e . sent ( ) ] )
309+ resp = _d . apply ( _c , [ _f . sent ( ) ] )
310310 return [ 3 , 10 ]
311311 case 6 :
312- _e . trys . push ( [ 6 , 8 , , 9 ] )
312+ _f . trys . push ( [ 6 , 8 , , 9 ] )
313313 return [ 4 , this . discard ( metadata , options ) ]
314314 case 7 :
315- _e . sent ( )
315+ _f . sent ( )
316316 return [ 3 , 9 ]
317317 case 8 :
318- e_2 = _e . sent ( )
318+ _e = _f . sent ( )
319319 return [ 3 , 9 ]
320320 case 9 :
321321 throw ( 0 , util_1 . isAbortedError ) ( e_1 ) || ( 0 , util_1 . isConflictError ) ( e_1 )
@@ -336,7 +336,7 @@ var Txn = (function () {
336336 }
337337 Txn . prototype . commit = function ( metadata , options ) {
338338 return __awaiter ( this , void 0 , void 0 , function ( ) {
339- var c , operation , e_3
339+ var c , operation , e_2
340340 var _this = this
341341 return __generator ( this , function ( _a ) {
342342 switch ( _a . label ) {
@@ -364,8 +364,8 @@ var Txn = (function () {
364364 _a . sent ( )
365365 return [ 3 , 8 ]
366366 case 3 :
367- e_3 = _a . sent ( )
368- if ( ! ( ( 0 , client_1 . isJwtExpired ) ( e_3 ) === true ) ) return [ 3 , 6 ]
367+ e_2 = _a . sent ( )
368+ if ( ! ( ( 0 , client_1 . isJwtExpired ) ( e_2 ) === true ) ) return [ 3 , 6 ]
369369 return [ 4 , c . retryLogin ( metadata , options ) ]
370370 case 4 :
371371 _a . sent ( )
@@ -374,7 +374,7 @@ var Txn = (function () {
374374 _a . sent ( )
375375 return [ 3 , 7 ]
376376 case 6 :
377- throw ( 0 , util_1 . isAbortedError ) ( e_3 ) ? errors_1 . ERR_ABORTED : e_3
377+ throw ( 0 , util_1 . isAbortedError ) ( e_2 ) ? errors_1 . ERR_ABORTED : e_2
378378 case 7 :
379379 return [ 3 , 8 ]
380380 case 8 :
@@ -385,7 +385,7 @@ var Txn = (function () {
385385 }
386386 Txn . prototype . discard = function ( metadata , options ) {
387387 return __awaiter ( this , void 0 , void 0 , function ( ) {
388- var c , operation , e_4
388+ var c , operation , e_3
389389 var _this = this
390390 return __generator ( this , function ( _a ) {
391391 switch ( _a . label ) {
@@ -414,8 +414,8 @@ var Txn = (function () {
414414 _a . sent ( )
415415 return [ 3 , 8 ]
416416 case 3 :
417- e_4 = _a . sent ( )
418- if ( ! ( ( 0 , client_1 . isJwtExpired ) ( e_4 ) === true ) ) return [ 3 , 6 ]
417+ e_3 = _a . sent ( )
418+ if ( ! ( ( 0 , client_1 . isJwtExpired ) ( e_3 ) === true ) ) return [ 3 , 6 ]
419419 return [ 4 , c . retryLogin ( metadata , options ) ]
420420 case 4 :
421421 _a . sent ( )
@@ -424,7 +424,7 @@ var Txn = (function () {
424424 _a . sent ( )
425425 return [ 3 , 7 ]
426426 case 6 :
427- throw ( 0 , util_1 . isAbortedError ) ( e_4 ) ? errors_1 . ERR_ABORTED : e_4
427+ throw ( 0 , util_1 . isAbortedError ) ( e_3 ) ? errors_1 . ERR_ABORTED : e_3
428428 case 7 :
429429 return [ 3 , 8 ]
430430 case 8 :
0 commit comments