@pushflodev/sdk 1.0.1
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/LICENSE +21 -0
- package/README.md +500 -0
- package/dist/PushFloClient-JPowShqE.d.cts +102 -0
- package/dist/PushFloClient-ny0iyTYJ.d.ts +102 -0
- package/dist/api-DYrG_5uC.d.cts +149 -0
- package/dist/api-DYrG_5uC.d.ts +149 -0
- package/dist/index.cjs +1210 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +1204 -0
- package/dist/index.js.map +1 -0
- package/dist/message-CVgilLwz.d.cts +130 -0
- package/dist/message-CVgilLwz.d.ts +130 -0
- package/dist/react.cjs +1300 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.d.cts +116 -0
- package/dist/react.d.ts +116 -0
- package/dist/react.js +1295 -0
- package/dist/react.js.map +1 -0
- package/dist/server.cjs +558 -0
- package/dist/server.cjs.map +1 -0
- package/dist/server.d.cts +47 -0
- package/dist/server.d.ts +47 -0
- package/dist/server.js +553 -0
- package/dist/server.js.map +1 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pushflodev/sdk",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Official TypeScript SDK for PushFlo real-time messaging service",
|
|
5
|
+
"author": "PushFlo",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/index.d.cts",
|
|
19
|
+
"default": "./dist/index.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"./server": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/server.d.ts",
|
|
25
|
+
"default": "./dist/server.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/server.d.cts",
|
|
29
|
+
"default": "./dist/server.cjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"./react": {
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/react.d.ts",
|
|
35
|
+
"default": "./dist/react.js"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/react.d.cts",
|
|
39
|
+
"default": "./dist/react.cjs"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"dist",
|
|
45
|
+
"README.md",
|
|
46
|
+
"LICENSE"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsup",
|
|
50
|
+
"dev": "tsup --watch",
|
|
51
|
+
"typecheck": "tsc --noEmit",
|
|
52
|
+
"test": "vitest run",
|
|
53
|
+
"test:watch": "vitest",
|
|
54
|
+
"test:coverage": "vitest run --coverage",
|
|
55
|
+
"lint": "eslint src tests",
|
|
56
|
+
"release": "./scripts/release.sh",
|
|
57
|
+
"release:patch": "./scripts/release.sh patch",
|
|
58
|
+
"release:minor": "./scripts/release.sh minor",
|
|
59
|
+
"release:major": "./scripts/release.sh major",
|
|
60
|
+
"prepublishOnly": "npm run build"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"react": ">=17.0.0"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"react": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@testing-library/react": "^14.0.0",
|
|
72
|
+
"@types/node": "^22.0.0",
|
|
73
|
+
"@types/react": "^18.3.0",
|
|
74
|
+
"@vitest/coverage-v8": "^2.0.0",
|
|
75
|
+
"happy-dom": "^15.0.0",
|
|
76
|
+
"msw": "^2.4.0",
|
|
77
|
+
"react": "^18.3.0",
|
|
78
|
+
"react-dom": "^18.3.0",
|
|
79
|
+
"tsup": "^8.3.0",
|
|
80
|
+
"typescript": "^5.6.0",
|
|
81
|
+
"vitest": "^2.0.0"
|
|
82
|
+
},
|
|
83
|
+
"keywords": [
|
|
84
|
+
"pushflo",
|
|
85
|
+
"realtime",
|
|
86
|
+
"websocket",
|
|
87
|
+
"messaging",
|
|
88
|
+
"pubsub",
|
|
89
|
+
"push",
|
|
90
|
+
"notifications"
|
|
91
|
+
],
|
|
92
|
+
"repository": {
|
|
93
|
+
"type": "git",
|
|
94
|
+
"url": "https://github.com/PushFlo/pushflo-sdk.git"
|
|
95
|
+
},
|
|
96
|
+
"bugs": {
|
|
97
|
+
"url": "https://github.com/PushFlo/pushflo-sdk/issues"
|
|
98
|
+
},
|
|
99
|
+
"homepage": "https://pushflo.dev",
|
|
100
|
+
"engines": {
|
|
101
|
+
"node": ">=18.0.0"
|
|
102
|
+
}
|
|
103
|
+
}
|