@edusight/notification-widget 1.0.1 → 1.0.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.
- package/dist/index.cjs.js +17 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +726 -716
- package/dist/index.esm.js.map +1 -1
- package/dist/polyfills/process.d.ts +8 -0
- package/dist/polyfills/process.d.ts.map +1 -0
- package/package.json +6 -5
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type ProcessLike = {
|
|
2
|
+
env?: Record<string, string>;
|
|
3
|
+
nextTick?: (callback: () => void) => void;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
declare const nextTickHandler: (callback: () => void) => void;
|
|
7
|
+
declare const globalProcess: ProcessLike | undefined;
|
|
8
|
+
//# sourceMappingURL=process.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process.d.ts","sourceRoot":"","sources":["../../src/polyfills/process.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,eAAe,aAEJ,MAAM,IAAI,SACqC,CAAC;AAEjE,QAAA,MAAM,aAAa,yBAAiE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edusight/notification-widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React notification center widget with Material UI and Tailwind CSS for EduSight Notification Service",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
43
43
|
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
|
|
44
44
|
"type-check": "tsc --noEmit",
|
|
45
|
-
"prepublishOnly": "npm run build && npm run test && npm run type-check"
|
|
45
|
+
"prepublishOnly": "npm run build && npm run test && npm run type-check",
|
|
46
|
+
"publish": "npm publish --access public"
|
|
46
47
|
},
|
|
47
48
|
"keywords": [
|
|
48
49
|
"edusight",
|
|
@@ -55,13 +56,13 @@
|
|
|
55
56
|
"author": "EduSight",
|
|
56
57
|
"license": "MIT",
|
|
57
58
|
"dependencies": {
|
|
58
|
-
"@edusight/notification-sdk": "
|
|
59
|
+
"@edusight/notification-sdk": "^1.0.3",
|
|
59
60
|
"@emotion/react": "^11.14.0",
|
|
60
61
|
"@emotion/styled": "^11.14.1",
|
|
61
62
|
"@mui/icons-material": "^6.1.8",
|
|
62
63
|
"@mui/material": "^6.5.0",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
64
|
+
"date-fns": "^2.30.0",
|
|
65
|
+
"socket.io-client": "^4.8.1"
|
|
65
66
|
},
|
|
66
67
|
"peerDependencies": {
|
|
67
68
|
"react": "^18.2.0",
|