@backstage/plugin-signals-react 0.0.2 → 0.0.3

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,5 +1,24 @@
1
1
  # @backstage/plugin-signals-react
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - abfbcfc: Updated dependency `@testing-library/react` to `^15.0.0`.
8
+ - f06458c: fixed typo in docs
9
+ - Updated dependencies
10
+ - @backstage/core-plugin-api@1.9.2
11
+ - @backstage/types@1.1.1
12
+
13
+ ## 0.0.3-next.0
14
+
15
+ ### Patch Changes
16
+
17
+ - f06458c: fixed typo in docs
18
+ - Updated dependencies
19
+ - @backstage/core-plugin-api@1.9.1
20
+ - @backstage/types@1.1.1
21
+
3
22
  ## 0.0.2
4
23
 
5
24
  ### Patch Changes
package/README.md CHANGED
@@ -38,9 +38,9 @@ You can also use the signal API directly. This allows more fine-grained control
38
38
  subscriptions.
39
39
 
40
40
  ```ts
41
- import { signalsApiRef } from '@backstage/plugin-signals-react';
41
+ import { signalApiRef } from '@backstage/plugin-signals-react';
42
42
 
43
- const signals = useApi(signalsApiRef);
43
+ const signals = useApi(signalApiRef);
44
44
  const { unsubscribe } = signals.subscribe(
45
45
  'myplugin:channel',
46
46
  (message: JsonObject) => {
package/dist/index.d.ts CHANGED
@@ -18,4 +18,4 @@ declare const useSignal: <TMessage extends JsonObject = JsonObject>(channel: str
18
18
  isSignalsAvailable: boolean;
19
19
  };
20
20
 
21
- export { SignalApi, SignalSubscriber, signalApiRef, useSignal };
21
+ export { type SignalApi, type SignalSubscriber, signalApiRef, useSignal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-signals-react",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Web library for the signals plugin",
5
5
  "backstage": {
6
6
  "role": "web-library"
@@ -32,15 +32,15 @@
32
32
  "test": "backstage-cli package test"
33
33
  },
34
34
  "dependencies": {
35
- "@backstage/core-plugin-api": "^1.9.1",
35
+ "@backstage/core-plugin-api": "^1.9.2",
36
36
  "@backstage/types": "^1.1.1",
37
37
  "@material-ui/core": "^4.12.4"
38
38
  },
39
39
  "devDependencies": {
40
- "@backstage/cli": "^0.26.0",
41
- "@backstage/test-utils": "^1.5.1",
40
+ "@backstage/cli": "^0.26.3",
41
+ "@backstage/test-utils": "^1.5.4",
42
42
  "@testing-library/jest-dom": "^6.0.0",
43
- "@testing-library/react": "^14.0.0"
43
+ "@testing-library/react": "^15.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "^16.13.1 || ^17.0.0"