@backstage/plugin-events-backend-module-bitbucket-cloud 0.0.0-nightly-20240318021018 → 0.0.0-nightly-20240321021124

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/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # @backstage/plugin-events-backend-module-bitbucket-cloud
2
2
 
3
- ## 0.0.0-nightly-20240318021018
3
+ ## 0.0.0-nightly-20240321021124
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-events-node@0.0.0-nightly-20240321021124
9
+ - @backstage/backend-plugin-api@0.0.0-nightly-20240321021124
10
+
11
+ ## 0.2.0
4
12
 
5
13
  ### Minor Changes
6
14
 
@@ -75,8 +83,8 @@
75
83
  ### Patch Changes
76
84
 
77
85
  - Updated dependencies
78
- - @backstage/plugin-events-node@0.0.0-nightly-20240318021018
79
- - @backstage/backend-plugin-api@0.0.0-nightly-20240318021018
86
+ - @backstage/plugin-events-node@0.3.0
87
+ - @backstage/backend-plugin-api@0.6.14
80
88
 
81
89
  ## 0.2.0-next.2
82
90
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-events-backend-module-bitbucket-cloud",
3
- "version": "0.0.0-nightly-20240318021018",
3
+ "version": "0.0.0-nightly-20240321021124",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var backendPluginApi = require('@backstage/backend-plugin-api');
6
6
  var pluginEventsNode = require('@backstage/plugin-events-node');
7
- var BitbucketCloudEventRouter = require('./cjs/BitbucketCloudEventRouter-b6db4ab2.cjs.js');
7
+ var BitbucketCloudEventRouter = require('./cjs/BitbucketCloudEventRouter-CP4Dw3qb.cjs.js');
8
8
 
9
9
  const eventsModuleBitbucketCloudEventRouter = backendPluginApi.createBackendModule({
10
10
  pluginId: "events",
@@ -24,6 +24,6 @@ const eventsModuleBitbucketCloudEventRouter = backendPluginApi.createBackendModu
24
24
  }
25
25
  });
26
26
 
27
- exports["default"] = eventsModuleBitbucketCloudEventRouter;
27
+ exports.default = eventsModuleBitbucketCloudEventRouter;
28
28
  exports.eventsModuleBitbucketCloudEventRouter = eventsModuleBitbucketCloudEventRouter;
29
29
  //# sourceMappingURL=alpha.cjs.js.map
@@ -19,4 +19,4 @@ class BitbucketCloudEventRouter extends pluginEventsNode.SubTopicEventRouter {
19
19
  }
20
20
 
21
21
  exports.BitbucketCloudEventRouter = BitbucketCloudEventRouter;
22
- //# sourceMappingURL=BitbucketCloudEventRouter-b6db4ab2.cjs.js.map
22
+ //# sourceMappingURL=BitbucketCloudEventRouter-CP4Dw3qb.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BitbucketCloudEventRouter-b6db4ab2.cjs.js","sources":["../../src/router/BitbucketCloudEventRouter.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n EventParams,\n EventsService,\n SubTopicEventRouter,\n} from '@backstage/plugin-events-node';\n\n/**\n * Subscribes to the generic `bitbucketCloud` topic\n * and publishes the events under the more concrete sub-topic\n * depending on the `x-event-key` provided.\n *\n * @public\n */\nexport class BitbucketCloudEventRouter extends SubTopicEventRouter {\n constructor(options: { events: EventsService }) {\n super({\n events: options.events,\n topic: 'bitbucketCloud',\n });\n }\n\n protected getSubscriberId(): string {\n return 'BitbucketCloudEventRouter';\n }\n\n protected determineSubTopic(params: EventParams): string | undefined {\n return params.metadata?.['x-event-key'] as string | undefined;\n }\n}\n"],"names":["SubTopicEventRouter"],"mappings":";;;;AA6BO,MAAM,kCAAkCA,oCAAoB,CAAA;AAAA,EACjE,YAAY,OAAoC,EAAA;AAC9C,IAAM,KAAA,CAAA;AAAA,MACJ,QAAQ,OAAQ,CAAA,MAAA;AAAA,MAChB,KAAO,EAAA,gBAAA;AAAA,KACR,CAAA,CAAA;AAAA,GACH;AAAA,EAEU,eAA0B,GAAA;AAClC,IAAO,OAAA,2BAAA,CAAA;AAAA,GACT;AAAA,EAEU,kBAAkB,MAAyC,EAAA;AAzCvE,IAAA,IAAA,EAAA,CAAA;AA0CI,IAAO,OAAA,CAAA,EAAA,GAAA,MAAA,CAAO,aAAP,IAAkB,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA;AAAA,GAC3B;AACF;;;;"}
1
+ {"version":3,"file":"BitbucketCloudEventRouter-CP4Dw3qb.cjs.js","sources":["../../src/router/BitbucketCloudEventRouter.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n EventParams,\n EventsService,\n SubTopicEventRouter,\n} from '@backstage/plugin-events-node';\n\n/**\n * Subscribes to the generic `bitbucketCloud` topic\n * and publishes the events under the more concrete sub-topic\n * depending on the `x-event-key` provided.\n *\n * @public\n */\nexport class BitbucketCloudEventRouter extends SubTopicEventRouter {\n constructor(options: { events: EventsService }) {\n super({\n events: options.events,\n topic: 'bitbucketCloud',\n });\n }\n\n protected getSubscriberId(): string {\n return 'BitbucketCloudEventRouter';\n }\n\n protected determineSubTopic(params: EventParams): string | undefined {\n return params.metadata?.['x-event-key'] as string | undefined;\n }\n}\n"],"names":["SubTopicEventRouter"],"mappings":";;;;AA6BO,MAAM,kCAAkCA,oCAAoB,CAAA;AAAA,EACjE,YAAY,OAAoC,EAAA;AAC9C,IAAM,KAAA,CAAA;AAAA,MACJ,QAAQ,OAAQ,CAAA,MAAA;AAAA,MAChB,KAAO,EAAA,gBAAA;AAAA,KACR,CAAA,CAAA;AAAA,GACH;AAAA,EAEU,eAA0B,GAAA;AAClC,IAAO,OAAA,2BAAA,CAAA;AAAA,GACT;AAAA,EAEU,kBAAkB,MAAyC,EAAA;AAzCvE,IAAA,IAAA,EAAA,CAAA;AA0CI,IAAO,OAAA,CAAA,EAAA,GAAA,MAAA,CAAO,aAAP,IAAkB,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,aAAA,CAAA,CAAA;AAAA,GAC3B;AACF;;;;"}
package/dist/index.cjs.js CHANGED
@@ -1,8 +1,6 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var BitbucketCloudEventRouter = require('./cjs/BitbucketCloudEventRouter-b6db4ab2.cjs.js');
3
+ var BitbucketCloudEventRouter = require('./cjs/BitbucketCloudEventRouter-CP4Dw3qb.cjs.js');
6
4
  require('@backstage/plugin-events-node');
7
5
 
8
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-events-backend-module-bitbucket-cloud",
3
- "version": "0.0.0-nightly-20240318021018",
3
+ "version": "0.0.0-nightly-20240321021124",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -39,13 +39,13 @@
39
39
  "postpack": "backstage-cli package postpack"
40
40
  },
41
41
  "dependencies": {
42
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20240318021018",
43
- "@backstage/plugin-events-node": "^0.0.0-nightly-20240318021018"
42
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20240321021124",
43
+ "@backstage/plugin-events-node": "^0.0.0-nightly-20240321021124"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/backend-test-utils": "^0.0.0-nightly-20240318021018",
47
- "@backstage/cli": "^0.0.0-nightly-20240318021018",
48
- "@backstage/plugin-events-backend-test-utils": "^0.0.0-nightly-20240318021018"
46
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20240321021124",
47
+ "@backstage/cli": "^0.0.0-nightly-20240321021124",
48
+ "@backstage/plugin-events-backend-test-utils": "^0.0.0-nightly-20240321021124"
49
49
  },
50
50
  "files": [
51
51
  "dist",