@stringpush/realtime-protocol 0.1.0 → 0.2.0
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/README.md +12 -0
- package/package.json +15 -14
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @stringpush/realtime-protocol
|
|
2
|
+
|
|
3
|
+
WebSocket event types used by [@stringpush/sdk](https://www.npmjs.com/package/@stringpush/sdk) overlay sync. Most apps import this transitively via the SDK — you only need it directly if you build a custom realtime client.
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
- [Staging overlay](https://docs.platform.stringpush.com/integration/overlay-staging)
|
|
8
|
+
- [Manifest & bundles](https://docs.platform.stringpush.com/concepts/manifest-and-bundles)
|
|
9
|
+
|
|
10
|
+
## Security
|
|
11
|
+
|
|
12
|
+
Report vulnerabilities to [security@stringpush.com](mailto:security@stringpush.com).
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stringpush/realtime-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Realtime event protocol for SDK overlay WebSocket",
|
|
5
|
+
"homepage": "https://docs.platform.stringpush.com/integration/overlay-staging",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://stringpush.com/support",
|
|
8
|
+
"email": "support@stringpush.com"
|
|
9
|
+
},
|
|
5
10
|
"publishConfig": {
|
|
6
11
|
"access": "public",
|
|
7
12
|
"registry": "https://registry.npmjs.org"
|
|
8
13
|
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/StringPush/translations.git",
|
|
12
|
-
"directory": "packages/realtime-protocol"
|
|
13
|
-
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"main": "./dist/index.js",
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
@@ -21,18 +21,19 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
|
-
"dist"
|
|
24
|
+
"dist",
|
|
25
|
+
"README.md"
|
|
25
26
|
],
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"zod": "^3.24.1"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"vitest": "^2.1.8"
|
|
31
|
-
},
|
|
32
27
|
"scripts": {
|
|
33
28
|
"build": "tsc -p tsconfig.json",
|
|
34
29
|
"typecheck": "tsc --noEmit",
|
|
35
30
|
"lint": "eslint src",
|
|
36
31
|
"test": "vitest run"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"zod": "^3.24.1"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"vitest": "^2.1.8"
|
|
37
38
|
}
|
|
38
|
-
}
|
|
39
|
+
}
|