andoncloud-dashboard-toolkit 1.2.4 → 1.2.6

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/dist/types.d.ts CHANGED
@@ -7,6 +7,7 @@ export interface BaseWidgetSettings {
7
7
  export interface WidgetProps<WidgetData extends BaseWidgetData, WidgetSettings extends BaseWidgetSettings> {
8
8
  id: string;
9
9
  url: string;
10
+ wsUrl?: string;
10
11
  token: string;
11
12
  lang: 'en' | 'pl';
12
13
  data?: WidgetData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-dashboard-toolkit",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -14,8 +14,8 @@
14
14
  },
15
15
  "scripts": {
16
16
  "copy": "copyfiles -f src/assets/* dist/assets",
17
- "build": "microbundle-crl --external=react-dom,react-is,@emotion/react,@emotion/styled,@mui/icons-material,@mui/lab,@mui/material,.*/assets/.* --no-compress --format cjs && npm run copy",
18
- "start": "microbundle-crl --external=react-dom,react-is,@emotion/react,@emotion/styled,@mui/icons-material,@mui/lab,@mui/material,.*/assets/.* watch --no-compress --format cjs",
17
+ "build": "microbundle-crl --external=react-dom,react-is,@emotion/react,@emotion/styled,@mui/icons-material,@mui/lab,@mui/material,andoncloud-sdk,.*/assets/.* --no-compress --format cjs && npm run copy",
18
+ "start": "microbundle-crl --external=react-dom,react-is,@emotion/react,@emotion/styled,@mui/icons-material,@mui/lab,@mui/material,andoncloud-sdk,.*/assets/.* watch --no-compress --format cjs",
19
19
  "prepare": "run-s build",
20
20
  "test": "run-s test:unit test:lint test:build",
21
21
  "test:build": "run-s build",
@@ -36,28 +36,28 @@
36
36
  "devDependencies": {
37
37
  "@emotion/react": "^11.10.5",
38
38
  "@emotion/styled": "^11.10.5",
39
- "@graphql-codegen/cli": "^2.16.1",
39
+ "@graphql-codegen/cli": "^2.16.3",
40
40
  "@graphql-codegen/introspection": "2.2.3",
41
- "@graphql-codegen/typescript": "^2.8.5",
42
- "@graphql-codegen/typescript-document-nodes": "2.3.10",
41
+ "@graphql-codegen/typescript": "^2.8.7",
42
+ "@graphql-codegen/typescript-document-nodes": "2.3.12",
43
43
  "@graphql-codegen/typescript-graphql-files-modules": "2.2.1",
44
44
  "@graphql-codegen/typescript-graphql-request": "^4.5.8",
45
- "@graphql-codegen/typescript-operations": "^2.5.10",
45
+ "@graphql-codegen/typescript-operations": "^2.5.12",
46
46
  "@testing-library/jest-dom": "^5.16.5",
47
47
  "@testing-library/react": "^13.4.0",
48
48
  "@testing-library/user-event": "^14.4.3",
49
49
  "@types/actioncable": "^5.2.7",
50
- "@types/jest": "^29.2.4",
50
+ "@types/jest": "^29.2.5",
51
51
  "@types/lodash.isempty": "^4.4.7",
52
52
  "@types/moment": "^2.13.0",
53
- "@types/node": "^18.11.17",
53
+ "@types/node": "^18.11.18",
54
54
  "@types/react": "^18.0.26",
55
- "@types/react-dom": "^18.0.9",
56
- "@typescript-eslint/eslint-plugin": "^5.47.0",
57
- "@typescript-eslint/parser": "^5.47.0",
55
+ "@types/react-dom": "^18.0.10",
56
+ "@typescript-eslint/eslint-plugin": "^5.48.1",
57
+ "@typescript-eslint/parser": "^5.48.1",
58
58
  "copyfiles": "^2.4.1",
59
59
  "cross-env": "^7.0.3",
60
- "eslint-config-prettier": "^8.5.0",
60
+ "eslint-config-prettier": "^8.6.0",
61
61
  "eslint-plugin-eslint-comments": "^3.2.0",
62
62
  "eslint-plugin-prettier": "^4.2.1",
63
63
  "eslint-plugin-promise": "^6.1.1",
@@ -66,8 +66,8 @@
66
66
  "gql-generator": "^1.0.19",
67
67
  "microbundle-crl": "^0.13.11",
68
68
  "npm-run-all": "^4.1.5",
69
- "postcss": "^8.4.20",
70
- "prettier": "^2.8.1",
69
+ "postcss": "^8.4.21",
70
+ "prettier": "^2.8.2",
71
71
  "react": "^18.2.0",
72
72
  "react-dom": "^18.2.0",
73
73
  "react-scripts": "^5.0.1",
@@ -79,16 +79,17 @@
79
79
  ],
80
80
  "dependencies": {
81
81
  "@mui/icons-material": "^5.11.0",
82
- "@mui/lab": "^5.0.0-alpha.113",
83
- "@mui/material": "^5.11.1",
82
+ "@mui/lab": "^5.0.0-alpha.115",
83
+ "@mui/material": "^5.11.4",
84
84
  "actioncable": "^5.2.8",
85
+ "andoncloud-sdk": "^1.4.24",
85
86
  "array-move": "^4.0.0",
86
87
  "graphql": "^15.8.0",
87
88
  "graphql-request": "^4.3.0",
88
89
  "graphql-tag": "^2.12.6",
89
90
  "lodash.isempty": "^4.4.0",
90
91
  "moment": "^2.29.4",
91
- "react-i18next": "^12.1.1",
92
+ "react-i18next": "^12.1.4",
92
93
  "react-select": "^5.7.0",
93
94
  "react-sortable-hoc": "^2.0.0",
94
95
  "rxjs": "^6.6.7",