Skip to content

Commit

Permalink
Merge pull request #689 from MoralisWeb3/export-stream-types
Browse files Browse the repository at this point in the history
feat: export stream types
  • Loading branch information
ErnoW authored Sep 19, 2022
2 parents ba02287 + 892c9aa commit 2ca949f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/pink-cups-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moralisweb3/streams': patch
---

Export types for returned webhooks
7 changes: 4 additions & 3 deletions packages/streams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,19 @@
"dev": "tsc --watch"
},
"devDependencies": {
"@moralisweb3/streams-typings": "^1.0.1",
"@types/ethereumjs-util": "5.2.0",
"eslint-plugin-jest": "^26.8.3",
"jest": "^28.0.3",
"openapi-typescript": "^5.2.0",
"@types/ethereumjs-util": "5.2.0",
"prettier": "^2.5.1",
"typescript": "^4.5.5"
},
"dependencies": {
"@moralisweb3/api-utils": "^2.5.1",
"@moralisweb3/core": "^2.5.1",
"@moralisweb3/evm-utils": "^2.5.1",
"web3-eth-abi": "^1.8.0",
"ethereumjs-util": "^7.1.0"
"ethereumjs-util": "^7.1.0",
"web3-eth-abi": "^1.8.0"
}
}
3 changes: 3 additions & 0 deletions packages/streams/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { MoralisStreams } from './MoralisStreams';
import type * as Types from '@moralisweb3/streams-typings';

export { Types };

export * from './MoralisStreams';

Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4502,6 +4502,11 @@
resolved "https://registry.npmjs.org/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz"
integrity sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q==

"@moralisweb3/streams-typings@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@moralisweb3/streams-typings/-/streams-typings-1.0.1.tgz#5feeac72f2ec51bd40afd23f4127c896db9de391"
integrity sha512-D0nCrcCP61NW+LtZ3anOqlMQQAjyPXF+mMLE5kl9I6zkdPKTfsfDMO1uYJbkCx7Sz710aXwSVphlLlve/BmQ1Q==

"@motionone/animation@^10.12.0":
version "10.14.0"
resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.14.0.tgz#2f2a3517183bb58d82e389aac777fe0850079de6"
Expand Down

0 comments on commit 2ca949f

Please sign in to comment.