dependabot[bot]
1e2c3a6d18
Bump the npm_and_yarn group across 1 directory with 11 updates
...
Bumps the npm_and_yarn group with 5 updates in the /asset-transfer-basic/rest-api-typescript directory:
| Package | From | To |
| --- | --- | --- |
| [express](https://github.com/expressjs/express ) | `4.18.2` | `4.20.0` |
| [fabric-network](https://github.com/hyperledger/fabric-sdk-node ) | `2.2.19` | `2.2.20` |
| [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) | `7.22.20` | `7.25.6` |
| [braces](https://github.com/micromatch/braces ) | `3.0.2` | `3.0.3` |
| [msgpackr](https://github.com/kriszyp/msgpackr ) | `1.9.9` | `1.11.0` |
Updates `express` from 4.18.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.20.0 )
Updates `fabric-network` from 2.2.19 to 2.2.20
- [Release notes](https://github.com/hyperledger/fabric-sdk-node/releases )
- [Changelog](https://github.com/hyperledger/fabric-sdk-node/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hyperledger/fabric-sdk-node/compare/v2.2.19...v2.2.20 )
Updates `@babel/traverse` from 7.22.20 to 7.25.6
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.25.6/packages/babel-traverse )
Updates `@grpc/grpc-js` from 1.9.3 to 1.9.15
- [Release notes](https://github.com/grpc/grpc-node/releases )
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.9.3...@grpc/grpc-js@1.9.15 )
Updates `axios` from 0.21.4 to 1.7.7
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v1.7.7 )
Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
Updates `elliptic` from 6.5.4 to 6.5.7
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.4...v6.5.7 )
Updates `follow-redirects` from 1.15.2 to 1.15.9
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.9 )
Updates `jsrsasign` from 10.8.6 to 10.9.0
- [Release notes](https://github.com/kjur/jsrsasign/releases )
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt )
- [Commits](https://github.com/kjur/jsrsasign/compare/10.8.6...10.9.0 )
Updates `msgpackr` from 1.9.9 to 1.11.0
- [Release notes](https://github.com/kriszyp/msgpackr/releases )
- [Commits](https://github.com/kriszyp/msgpackr/commits )
Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
dependency-group: npm_and_yarn
- dependency-name: fabric-network
dependency-type: direct:production
dependency-group: npm_and_yarn
- dependency-name: "@babel/traverse"
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: "@grpc/grpc-js"
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: axios
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: braces
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: elliptic
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: follow-redirects
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: jsrsasign
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: msgpackr
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: path-to-regexp
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 04:20:52 +00:00
Mark S. Lewis
6e71f634e2
Fixes for build breakages
...
Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
2023-09-19 13:08:40 -04:00
Mark S. Lewis
10e9377555
Avoid explicit import of grpc-js or fabric-protos in TypeScript apps
...
Rely on the dependencies of @hyperledger/fabric-gateway making these packages transitively available. Having explicit dependency versions in the application can cause type conflicts due to private member changes in the gRPC Client class across versions.
Also fix some missing or incorrect Node types and engines version contraints.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2023-02-10 11:36:41 -05:00
dependabot[bot]
a96efaebde
Bump qs and express in /asset-transfer-basic/rest-api-typescript ( #880 )
...
Bumps [qs](https://github.com/ljharb/qs ) to 6.11.0 and updates ancestor dependencies [qs](https://github.com/ljharb/qs ), [qs](https://github.com/ljharb/qs ) and [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `qs` from 6.10.2 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.10.2...v6.11.0 )
Updates `qs` from 6.10.1 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.10.2...v6.11.0 )
Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
- dependency-name: qs
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 09:23:23 +01:00
dependabot[bot]
ea533d61b9
Bump passport in /asset-transfer-basic/rest-api-typescript ( #828 )
...
Bumps [passport](https://github.com/jaredhanson/passport ) from 0.4.1 to 0.6.0.
- [Release notes](https://github.com/jaredhanson/passport/releases )
- [Changelog](https://github.com/jaredhanson/passport/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jaredhanson/passport/compare/v0.4.1...v0.6.0 )
---
updated-dependencies:
- dependency-name: passport
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 17:48:14 +02:00
Matthew B White
99e7ae8536
CORS Enablement ( #696 )
...
After feedback from the community, this PR adds CORS support in, but as an option
to enable.
Along with warnings that the default wildcard origin might not be applicable
in a production use case
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
2022-04-01 09:35:57 -04:00
James Taylor
e7074ba941
Update REST sample with Redis password ( #629 )
...
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2022-02-04 14:27:40 +00:00
James Taylor
5447e3534d
Add node, and npm version requirements
...
Match the versions required in asset-transfer-basic/application-typescript
Also update to latest version of fabric-network
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:24 +00:00
James Taylor
ad3fd7e832
Update retry logic
...
Previously transactions were only retried after being successfully endorsed, and always with the same transaction ID
Transactions will now be added to a queue for processing and will also be retried if endorsement fails (with a different transaction id for invalid transactions)
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:23 +00:00
James Taylor
82b1249f4e
Improve Docker support
...
- default command should be start, rather than start:dev in the docker image
- added a multistage build
- fixed node-gyp error
- removed dev dependencies
- added a start:dotenv script to support a .env file in production (may be useful for
k8s later)
- updated Readme and generateEnv script to simplify the setup
- updated external network in docker-compose.yaml to match the test network
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:21 +00:00
James Taylor
862080773e
Initial API tests
...
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:21 +00:00
James Taylor
f904adbf6f
Add config spec tests
...
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:20 +00:00
James Taylor
9f48a42418
Initial test framework
...
Add Jest test framework
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:15 +00:00
sapthasurendran
c3a34ef559
apikey auth for Org1
...
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
removed auth check from live,ready apis..
code format
http file changes for apikey
comments for getting api key
readme update for apikey usage
replaced -H with --header
apikey config made mandatory
fix linting
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2021-12-14 14:31:13 +00:00
James Taylor
3b50404763
Initial create asset logic
...
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:14:56 +00:00
James Taylor
9c98450946
Initial asset route
...
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:14:56 +00:00
James Taylor
063b21dd3f
Initial REST API skeleton
...
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:14:56 +00:00