Skip to content

Commit 99cbd95

Browse files
committed
.
1 parent a4d9ef6 commit 99cbd95

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed
File renamed without changes.

lib/client.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ var __generator =
4545
f,
4646
y,
4747
t,
48-
g
48+
g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype)
4949
return (
50-
(g = { next: verb(0), throw: verb(1), return: verb(2) }),
50+
(g.next = verb(0)),
51+
(g["throw"] = verb(1)),
52+
(g["return"] = verb(2)),
5153
typeof Symbol === "function" &&
5254
(g[Symbol.iterator] = function () {
5355
return this

lib/clientStub.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ var __generator =
4545
f,
4646
y,
4747
t,
48-
g
48+
g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype)
4949
return (
50-
(g = { next: verb(0), throw: verb(1), return: verb(2) }),
50+
(g.next = verb(0)),
51+
(g["throw"] = verb(1)),
52+
(g["return"] = verb(2)),
5153
typeof Symbol === "function" &&
5254
(g[Symbol.iterator] = function () {
5355
return this

lib/txn.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ var __generator =
5959
f,
6060
y,
6161
t,
62-
g
62+
g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype)
6363
return (
64-
(g = { next: verb(0), throw: verb(1), return: verb(2) }),
64+
(g.next = verb(0)),
65+
(g["throw"] = verb(1)),
66+
(g["return"] = verb(2)),
6567
typeof Symbol === "function" &&
6668
(g[Symbol.iterator] = function () {
6769
return this

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build:protos": "yarn build:protos:msgs && yarn build:protos:srvs",
2727
"build": "tsc -p tsconfig.release.json",
2828
"build:watch": "tsc -w -p tsconfig.release.json",
29-
"lint": "trunk check",
29+
"lint": "eslint .",
3030
"pretest": "yarn lint",
3131
"test": "jest --coverage --runInBand",
3232
"test:watch": "jest --watch",

0 commit comments

Comments
 (0)