Skip to content

Commit

Permalink
feat: update package.json build exports (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
erolunal authored Oct 21, 2024
1 parent aab9499 commit b90fc2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ A typical Stratum implementation consists of:
*/
export const stratumService = new StratumService({
/**
* 1+ plugins defining where you'll send your events and available event schemas
* to ensure standardization
* 1+ plugins defining your standardized event schemas and how to
* map these schemas when published to your data collectors
*
* The NewRelicPlugin is available from the @capitalone/stratum-observability library
*/
Expand Down Expand Up @@ -66,7 +66,7 @@ A typical Stratum implementation consists of:
catalog: {
tags: {
[TagKey.LOADED]: {
eventType: NewRelicEventType.EVENT // Set up by the plugin to help ensure semantics of the tag at runtime
eventType: 'base', // The base event type for Stratum events
tagDescription: 'This application has loaded for the first time',
tagId: 1 // Very important reference identifier -- the key to simple queries
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./plugin/new-relic": {
"./plugins/new-relic": {
"types": "./dist/types/plugins/new-relic/index.d.ts",
"import": "./dist/esm/plugins/new-relic/index.js",
"default": "./dist/cjs/plugins/new-relic/index.js"
},
"./plugin/new-relic-plus": {
"./plugins/new-relic-plus": {
"types": "./dist/types/plugins/new-relic-plus/index.d.ts",
"import": "./dist/esm/plugins/new-relic-plus/index.js",
"default": "./dist/cjs/plugins/new-relic-plus/index.js"
Expand Down Expand Up @@ -72,10 +72,10 @@
".": [
"./dist/types/index.d.ts"
],
"plugin/new-relic": [
"plugins/new-relic": [
"./dist/types/plugins/new-relic/index.d.ts"
],
"plugin/new-relic-plus": [
"plugins/new-relic-plus": [
"./dist/types/plugins/new-relic-plus/index.d.ts"
]
}
Expand Down

0 comments on commit b90fc2b

Please sign in to comment.