@gasket/plugin-elastic-apm 7.3.4 → 7.3.6

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.
package/README.md CHANGED
@@ -198,11 +198,11 @@ such as for sensitive cookies.
198
198
 
199
199
  <!-- LINKS -->
200
200
 
201
- [init]:packages/gasket-plugin-command/README.md#init
202
- [middleware]:/packages/gasket-plugin-express/README.md#middleware
201
+ [init]:/packages/gasket-core/README.md#init
202
+ [middleware]:/packages/gasket-plugin-middleware/README.md#middleware
203
203
  [configuration options documentation]:https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuration.html
204
204
  [start recommendations]:https://www.elastic.co/guide/en/apm/agent/nodejs/master/agent-api.html#apm-start
205
205
  [Elastic APM docs]:https://www.elastic.co/guide/en/apm/agent/nodejs/master/agent-api.html
206
206
  [sanitizeFieldNames]:https://www.elastic.co/guide/en/apm/agent/nodejs/4.x/configuration.html#sanitize-field-names
207
207
  [APM Add Filter API]:https://www.elastic.co/guide/en/apm/agent/nodejs/4.x/agent-api.html#apm-add-filter
208
- [Transaction]:(https://www.elastic.co/guide/en/apm/agent/nodejs/current/transaction-api.html)
208
+ [Transaction]:https://www.elastic.co/guide/en/apm/agent/nodejs/current/transaction-api.html
package/lib/actions.js CHANGED
@@ -1,7 +1,7 @@
1
- const { withGasketRequest } = require('@gasket/request');
1
+ const { withGasketRequestCache } = require('@gasket/request');
2
2
 
3
3
  /** @type {import('@gasket/core').ActionHandler<'getApmTransaction'>} */
4
- const getApmTransaction = withGasketRequest(
4
+ const getApmTransaction = withGasketRequestCache(
5
5
  async function getApmTransaction(gasket, req) {
6
6
  const apm = require('elastic-apm-node');
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gasket/plugin-elastic-apm",
3
- "version": "7.3.4",
3
+ "version": "7.3.6",
4
4
  "description": "Adds Elastic APM instrumentation to your application",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -38,9 +38,9 @@
38
38
  "jest": "^29.7.0",
39
39
  "nyc": "^15.1.0",
40
40
  "typescript": "^5.8.2",
41
- "@gasket/plugin-metadata": "7.3.7",
42
- "create-gasket-app": "7.3.7",
43
- "@gasket/core": "7.4.1"
41
+ "@gasket/core": "7.4.1",
42
+ "@gasket/plugin-metadata": "7.3.11",
43
+ "create-gasket-app": "7.3.11"
44
44
  },
45
45
  "eslintConfig": {
46
46
  "extends": [