chayns-api 2.5.3 → 2.5.4

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.
@@ -6,6 +6,10 @@ on:
6
6
  tags:
7
7
  - 'v*'
8
8
 
9
+ permissions:
10
+ id-token: write # Required for OIDC
11
+ contents: read
12
+
9
13
  env:
10
14
  TAG: >-
11
15
  ${{ contains(github.ref_name, 'alpha') && 'alpha' || (contains(github.ref_name, '-') &&
@@ -20,7 +24,8 @@ jobs:
20
24
  with:
21
25
  node-version: '20.18.2'
22
26
  registry-url: https://registry.npmjs.org/
27
+ # Ensure npm 11.5.1 or later is installed
28
+ - name: Update npm
29
+ run: npm install -g npm@latest
23
30
  - run: npm install
24
31
  - run: npm publish --tag ${{ env.TAG }}
25
- env:
26
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -51,6 +51,7 @@ const withCompatMode = Component => {
51
51
  }, 0);
52
52
  }
53
53
  componentWillUnmount() {
54
+ clearTimeout(this.timeout);
54
55
  if (this.root) {
55
56
  this.root.unmount();
56
57
  } else {
@@ -43,6 +43,7 @@ export const withCompatMode = Component => {
43
43
  }, 0);
44
44
  }
45
45
  componentWillUnmount() {
46
+ clearTimeout(this.timeout);
46
47
  if (this.root) {
47
48
  this.root.unmount();
48
49
  } else {
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
+ "repository": {
9
+ "url": "git+https://github.com/TobitSoftware/chayns-api.git"
10
+ },
8
11
  "exports": {
9
12
  ".": {
10
13
  "types": "./dist/types/index.d.ts",