@nsshunt/stsobservability 0.0.4 → 0.0.5

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": "@nsshunt/stsobservability",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "All in one package to include instrumentation, publication and subscription capabilities.",
5
5
  "main": "./dist/stsobservability.umd.js",
6
6
  "module": "./dist/stsobservability.mjs",
package/types/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { Gauge } from './instrumentation/instrumentDefs';
2
- import { InstrumentBase } from './instrumentation/instruments/instrumentBase';
3
1
  export * from './instrumentation/instrumentUtils';
4
2
  export * from './instrumentation/instrumentDefs';
5
3
  export * from './instrumentation/instruments/instrumentBase';
@@ -9,7 +7,6 @@ export * from './instrumentation/instruments/instrumentLog';
9
7
  export * from './instrumentation/instruments/instrumentTimerGauge';
10
8
  export * from './instrumentation/instruments/instrumentGauge';
11
9
  export * from './instrumentation/instruments/instrumentObject';
12
- export type Instruments = Partial<Record<Gauge, InstrumentBase>>;
13
10
  export * from './publish/commonTypes';
14
11
  export * from './publish/middleware/requestLoggerMiddleware';
15
12
  export * from './publish/publishInstrumentController';
@@ -22,4 +19,5 @@ export * from './subscribe/observabilitymodelutils';
22
19
  export * from './subscribe/observabilityrestapisubscriber';
23
20
  export * from './subscribe/observabilitysocketiosubscriber';
24
21
  export * from './subscribe/observabilitysubscriptionmanager';
22
+ export * from './socketioutils/socketIoClientHelper';
25
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAA;AAE7E,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;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AA;AAG5D,cAAc,sCAAsC,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { Gauge } from './instrumentDefs';
2
- import { InstrumentBase } from './instruments/instrumentBase';
3
- import { Instruments } from './index';
2
+ import { InstrumentBase, Instruments } from './instruments/instrumentBase';
4
3
  export declare function CreateInstrument(sourceInstrument: InstrumentBase): InstrumentBase;
5
4
  export declare function GetInstrumentName(gauge: Gauge): string;
6
5
  export declare function StopInstruments(instruments: InstrumentBase[] | Instruments): void;
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentUtils.d.ts","sourceRoot":"","sources":["../../src/instrumentation/instrumentUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAc,MAAM,kBAAkB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAO7D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,wBAAgB,gBAAgB,CAAC,gBAAgB,EAAE,cAAc,GAAG,cAAc,CAgBjF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAuDtD;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,WAAW,GAAG,IAAI,CAgBjF"}
1
+ {"version":3,"file":"instrumentUtils.d.ts","sourceRoot":"","sources":["../../src/instrumentation/instrumentUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAc,MAAM,kBAAkB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAQ1E,wBAAgB,gBAAgB,CAAC,gBAAgB,EAAE,cAAc,GAAG,cAAc,CAgBjF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAuDtD;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,WAAW,GAAG,IAAI,CAgBjF"}
@@ -1,5 +1,5 @@
1
1
  import { JSONObject } from '@nsshunt/stsutils';
2
- import { GaugeTypes } from '../instrumentDefs';
2
+ import { Gauge, GaugeTypes } from '../instrumentDefs';
3
3
  export declare class InstrumentBaseOptions {
4
4
  fixedSize?: number;
5
5
  padLength?: number;
@@ -22,4 +22,5 @@ export declare abstract class InstrumentBase {
22
22
  StopTimer(): void;
23
23
  ProcessTelemetry(telemetry: InstrumentBaseTelemetry): void;
24
24
  }
25
+ export type Instruments = Partial<Record<Gauge, InstrumentBase>>;
25
26
  //# sourceMappingURL=instrumentBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instrumentBase.d.ts","sourceRoot":"","sources":["../../../src/instrumentation/instruments/instrumentBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,qBAAa,qBAAqB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,qBAAa,uBAAuB;CAEnC;AAED,8BAAsB,cAAc;;gBASpB,OAAO,GAAE,qBAA2B;IAoDzC,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,UAAU,CAA+B;IACzE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU,CAAA;IAEpC,SAAS,CAAC,KAAK,EAAE,MAAM;IAKvB,oBAAoB,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,IAAI;IAenD,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAQ9B,IAAI,OAAO,IAAI,qBAAqB,GAAG,IAAI,CAE1C;IAED,IAAI,OAAO,CAAC,YAAY,EAAE,qBAAqB,GAAG,IAAI,EAErD;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,KAAK,CAAC,UAAU,EAAE,MAAM,EAE3B;IAED,SAAS,IAAI,IAAI;IAKjB,gBAAgB,CAAC,SAAS,EAAE,uBAAuB,GAAG,IAAI;CA8B7D"}
1
+ {"version":3,"file":"instrumentBase.d.ts","sourceRoot":"","sources":["../../../src/instrumentation/instruments/instrumentBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAErD,qBAAa,qBAAqB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,qBAAa,uBAAuB;CAEnC;AAED,8BAAsB,cAAc;;gBAQpB,OAAO,GAAE,qBAA2B;IAoDzC,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,UAAU,CAA+B;IACzE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU,CAAA;IAEpC,SAAS,CAAC,KAAK,EAAE,MAAM;IAKvB,oBAAoB,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,IAAI;IAenD,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAQ9B,IAAI,OAAO,IAAI,qBAAqB,GAAG,IAAI,CAE1C;IAED,IAAI,OAAO,CAAC,YAAY,EAAE,qBAAqB,GAAG,IAAI,EAErD;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,KAAK,CAAC,UAAU,EAAE,MAAM,EAE3B;IAED,SAAS,IAAI,IAAI;IAKjB,gBAAgB,CAAC,SAAS,EAAE,uBAAuB,GAAG,IAAI;CA8B7D;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAA"}
@@ -1,13 +0,0 @@
1
- import { Gauge } from './instrumentDefs';
2
- import { InstrumentBase } from './instruments/instrumentBase';
3
- export * from './instrumentUtils';
4
- export * from './instrumentDefs';
5
- export * from './instruments/instrumentBase';
6
- export * from './instruments/instrumentVelocity';
7
- export * from './instruments/instrumentHistogram';
8
- export * from './instruments/instrumentLog';
9
- export * from './instruments/instrumentTimerGauge';
10
- export * from './instruments/instrumentGauge';
11
- export * from './instruments/instrumentObject';
12
- export type Instruments = Partial<Record<Gauge, InstrumentBase>>;
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/instrumentation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAE7D,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,oCAAoC,CAAA;AAClD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAE9C,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,CAAA"}