Skip to content

Commit

Permalink
feat: fix chain call
Browse files Browse the repository at this point in the history
  • Loading branch information
TNT-03 committed Apr 28, 2023
1 parent 4accb9b commit 511ea6d
Show file tree
Hide file tree
Showing 3 changed files with 3,722 additions and 6 deletions.
17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "async-task-mapping",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/index.js",
"module": "dist/index.js",
"author": "Jiegang Liang (t.n.t)",
Expand All @@ -16,7 +16,7 @@
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"eslint": "^8.10.0",
"jest": "^29.4.2",
"jest": "^29.5.0",
"rollup": "^2.69.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-livereload": "^2.0.5",
Expand All @@ -36,7 +36,18 @@
"license": "MIT",
"description": "Asynchronous Task Manager.",
"npmName": "async-task-mapping",
"keywords": ["async", "task", "mapping", "list", "await", "promise", "manage"],
"keywords": [
"async",
"task",
"mapping",
"list",
"await",
"promise",
"batch",
"request",
"manage"

],
"npmFileMap": [
{
"basePath": "/dist/",
Expand Down
4 changes: 1 addition & 3 deletions task/cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ class Cell {
: Object.getOwnPropertyNames(Promise.prototype);
const motheds = allMotheds.filter((item) => !NOISE.includes(item));
motheds.forEach((mothed) => {
this[mothed] = (...arg) => {
this.request()[mothed](...arg);
};
this[mothed] = (...arg) => this.request()[mothed](...arg);
});
}
}
Expand Down
Loading

0 comments on commit 511ea6d

Please sign in to comment.