Skip to content

Conversation

@rg911
Copy link
Contributor

@rg911 rg911 commented Jul 23, 2019

Issue #195

Problem

After updated rxjs to the latest version (run npm update) it throw compile error on all http repositories. Latest version of Rxjs and typescript only support strong typed parameters.

Fixes

  • Update the swagger codegen typescript-node template with correct resolve & reject codes.
  • Update Http repos with strong typed parameters matching the generated swagger codes.
  • Added errorHandling to parse useful error details. (generated swagger code returns the full http response).
  • Tested on current & latest npm packages (after npm update)

rg911 and others added 7 commits July 16, 2019 15:22
@coveralls
Copy link

coveralls commented Jul 23, 2019

Pull Request Test Coverage Report for Build 592

  • 20 of 207 (9.66%) changed or added relevant lines in 17 files are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.3%) to 60.455%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/model/account/Account.ts 0 1 0.0%
src/infrastructure/Http.ts 2 4 50.0%
src/infrastructure/api/networkRoutesApi.ts 0 2 0.0%
src/infrastructure/NetworkHttp.ts 4 8 50.0%
src/infrastructure/api/chainRoutesApi.ts 0 4 0.0%
src/infrastructure/api/diagnosticRoutesApi.ts 0 4 0.0%
src/infrastructure/api/nodeRoutesApi.ts 0 4 0.0%
src/infrastructure/api/mosaicRoutesApi.ts 0 6 0.0%
src/infrastructure/api/namespaceRoutesApi.ts 0 8 0.0%
src/infrastructure/api/blockRoutesApi.ts 0 12 0.0%
Files with Coverage Reduction New Missed Lines %
src/infrastructure/NamespaceHttp.ts 2 16.07%
src/infrastructure/TransactionHttp.ts 4 25.93%
Totals Coverage Status
Change from base Build 584: -0.3%
Covered Lines: 6363
Relevant Lines: 9095

💛 - Coveralls

rg911 added 11 commits July 25, 2019 12:47
- Fixed signTransactionGivenSignatures bug
- Added e2e test for signTransactionGivenSignatures
- Improved unit test for signTransactionGivenSignatures
- Fixed typo
…:rg911/nem2-sdk-typescript-javascript into task/g204_signTransactionGivenSignatures
…enSignatures

Task/g204 sign transaction given signatures
…1/nem2-sdk-typescript-javascript into task/g195_rxjs_compatibility_reopen
Copy link
Contributor

@evias evias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested with client app

@rg911 rg911 merged commit 3256618 into symbol:master Jul 26, 2019
@rg911 rg911 deleted the task/g195_rxjs_compatibility_reopen branch October 8, 2019 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants