Skip to content

Commit

Permalink
fix: migrate to @qiwi/substrate v2
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Feb 17, 2023
1 parent 1309128 commit 67b6acf
Show file tree
Hide file tree
Showing 3 changed files with 1,147 additions and 1,106 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"format": "prettier --write \"src/**/*.ts\"",
"test": "yarn test:unit && yarn test:target && yarn lint",
"test:deps": "npm-run-all -p -l test:depcheck",
"test:depcheck": "npx depcheck --ignores='tslib,tsc-esm-fix,tsm,@types/node,typedoc,@qiwi/esm,globby-cp,rimraf'",
"test:depcheck": "npx depcheck --ignores='tslib,tsc-esm-fix,tsm,@types/node,typedoc,@qiwi/esm,globby-cp,rimraf,mkdirp'",
"test:depaudit": "yarn audit --groups dependencies --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0",
"test:depauditfix": "npx yarn-audit-fix --audit-level=moderate",
"test:unit": "c8 -r html -r text -r lcov -x target uvu -r tsm 'src/test/ts'",
Expand Down Expand Up @@ -60,7 +60,7 @@
},
"homepage": "https://github.com/qiwi/event-transmitter#readme",
"dependencies": {
"@qiwi/substrate": "^1.20.16",
"@qiwi/substrate": "^2.0.2",
"fast-luhn": "^2.0.1",
"lodash.once": "^4.1.1",
"lodash.set": "^4.3.2",
Expand All @@ -74,23 +74,23 @@
"@qiwi/npm-run-all": "^4.1.7",
"@types/lodash.once": "^4.1.7",
"@types/lodash.set": "^4.3.7",
"@types/node": "^18.11.19",
"@types/node": "^18.13.0",
"@types/safe-json-stringify": "^1.1.2",
"c8": "^7.12.0",
"c8": "^7.13.0",
"coveralls": "^3.1.1",
"eslint": "^8.33.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-qiwi": "^1.17.5",
"globby-cp": "^1.1.2",
"globby-cp": "^1.1.3",
"microbundle": "^0.15.1",
"mkdirp": "^1.0.4",
"prettier": "^2.8.3",
"mkdirp": "^2.1.3",
"prettier": "^2.8.4",
"prettier-config-qiwi": "^1.7.2",
"rimraf": "^4.1.2",
"terser": "^5.16.3",
"tsc-esm-fix": "^2.20.12",
"tsm": "^2.3.0",
"typedoc": "^0.23.24",
"typedoc": "^0.23.25",
"typescript": "4.9.5",
"uvu": "^0.5.6"
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/ts/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface ITransmitter {

export interface IPipe {
type: string
execute: (data: ITransmittable, next: ICallable) => Promise<IPipeOutput>
execute: (data: ITransmittable, next: ICallable) => IPromise<IPipeOutput>
}

export type TPipeline = Array<IPipe | TPipeline>
Loading

0 comments on commit 67b6acf

Please sign in to comment.