@etsoo/notificationbase 1.1.4 → 1.1.7
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/.github/workflows/main.yml +1 -1
- package/lib/Notification.d.ts +2 -1
- package/package.json +15 -15
- package/src/Notification.ts +2 -2
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
# Setup .npmrc file to publish to npm
|
|
29
29
|
- uses: actions/setup-node@v1
|
|
30
30
|
with:
|
|
31
|
-
node-version: '
|
|
31
|
+
node-version: '18.x'
|
|
32
32
|
registry-url: 'https://registry.npmjs.org'
|
|
33
33
|
|
|
34
34
|
# Named after Continuous Integration, installs dependencies directly from package-lock.json
|
package/lib/Notification.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DataTypes } from '@etsoo/shared';
|
|
1
2
|
/**
|
|
2
3
|
* Display align
|
|
3
4
|
*/
|
|
@@ -102,7 +103,7 @@ export interface NotificationParameters {
|
|
|
102
103
|
/**
|
|
103
104
|
* Notification props supported for calls
|
|
104
105
|
*/
|
|
105
|
-
export interface NotificationCallProps extends
|
|
106
|
+
export interface NotificationCallProps extends DataTypes.StringRecord {
|
|
106
107
|
}
|
|
107
108
|
/**
|
|
108
109
|
* Notification render props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/notificationbase",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "TypeScript notification component for extending with all features described and partially implemented",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -45,23 +45,23 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/ETSOO/NotificationBase#readme",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@etsoo/shared": "^1.1.
|
|
48
|
+
"@etsoo/shared": "^1.1.48"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@babel/core": "^7.18.
|
|
52
|
-
"@babel/plugin-transform-runtime": "^7.18.
|
|
53
|
-
"@babel/preset-env": "^7.18.
|
|
54
|
-
"@babel/runtime-corejs3": "^7.18.
|
|
55
|
-
"@types/jest": "^
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
57
|
-
"@typescript-eslint/parser": "^5.
|
|
58
|
-
"babel-jest": "^28.1.
|
|
59
|
-
"eslint": "^8.
|
|
51
|
+
"@babel/core": "^7.18.13",
|
|
52
|
+
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
53
|
+
"@babel/preset-env": "^7.18.10",
|
|
54
|
+
"@babel/runtime-corejs3": "^7.18.9",
|
|
55
|
+
"@types/jest": "^28.1.8",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
|
57
|
+
"@typescript-eslint/parser": "^5.35.1",
|
|
58
|
+
"babel-jest": "^28.1.3",
|
|
59
|
+
"eslint": "^8.22.0",
|
|
60
60
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
61
61
|
"eslint-plugin-import": "^2.26.0",
|
|
62
|
-
"jest": "^28.1.
|
|
63
|
-
"jest-environment-jsdom": "^28.1.
|
|
64
|
-
"ts-jest": "^28.0.
|
|
65
|
-
"typescript": "^4.7.
|
|
62
|
+
"jest": "^28.1.3",
|
|
63
|
+
"jest-environment-jsdom": "^28.1.3",
|
|
64
|
+
"ts-jest": "^28.0.8",
|
|
65
|
+
"typescript": "^4.7.4"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/Notification.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Utils } from '@etsoo/shared';
|
|
1
|
+
import { DataTypes, Utils } from '@etsoo/shared';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Display align
|
|
@@ -112,7 +112,7 @@ export interface NotificationParameters {
|
|
|
112
112
|
/**
|
|
113
113
|
* Notification props supported for calls
|
|
114
114
|
*/
|
|
115
|
-
export interface NotificationCallProps extends
|
|
115
|
+
export interface NotificationCallProps extends DataTypes.StringRecord {}
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* Notification render props
|