@jcbuisson/express-x 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcbuisson/express-x",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
package/src/index.mjs CHANGED
@@ -143,7 +143,7 @@ function expressX(app, options={}) {
143
143
  /*
144
144
  * add an HTTP REST endpoint at `path`, based on `service`
145
145
  */
146
- function addHttpRestRoutes(path, service) {
146
+ function addHttpRest(path, service) {
147
147
  const context = {
148
148
  app,
149
149
  http: { name: service.name }
@@ -300,7 +300,7 @@ function expressX(app, options={}) {
300
300
  createService,
301
301
  service,
302
302
  configure,
303
- addHttpRestRoutes,
303
+ addHttpRest,
304
304
  server,
305
305
  joinChannel,
306
306
  leaveChannel,