@aws/nx-plugin 0.99.0 → 0.99.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin",
3
- "version": "0.99.0",
3
+ "version": "0.99.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -193,9 +193,9 @@ export interface IMetricsContext {
193
193
 
194
194
  export const createMetricsPlugin = () => {
195
195
  const t = initTRPC.context<IMetricsContext>().create();
196
+ const metrics = new Metrics();
196
197
 
197
198
  return t.procedure.use(async (opts) => {
198
- const metrics = new Metrics();
199
199
  metrics.addDimensions({
200
200
  procedure: opts.path,
201
201
  type: opts.type,
@@ -7,9 +7,9 @@ export interface IMetricsContext {
7
7
 
8
8
  export const createMetricsPlugin = () => {
9
9
  const t = initTRPC.context<IMetricsContext>().create();
10
+ const metrics = new Metrics();
10
11
 
11
12
  return t.procedure.use(async (opts) => {
12
- const metrics = new Metrics();
13
13
  metrics.addDimensions({
14
14
  procedure: opts.path,
15
15
  type: opts.type,