@paymanai/payman-ask-sdk 1.1.1 → 1.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/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +98 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +97 -52
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.js +526 -125
- package/dist/index.native.js.map +1 -1
- package/package.json +112 -104
package/package.json
CHANGED
|
@@ -1,106 +1,114 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
2
|
+
"name": "@paymanai/payman-ask-sdk",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Reusable chat SDK for Payman workflows with streaming support (Web & React Native)",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"react-native": "dist/index.native.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"react-native": "./dist/index.native.js",
|
|
13
|
+
"import": "./dist/index.mjs",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./styles.css": "./dist/styles.css",
|
|
17
|
+
"./dist/styles.css": "./dist/styles.css"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"**/*.css"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "npx tsup",
|
|
28
|
+
"build:widget": "npx vite build --config vite.config.widget.ts",
|
|
29
|
+
"dev": "npx tsup --watch",
|
|
30
|
+
"clean": "rm -rf dist",
|
|
31
|
+
"type-check": "npx tsc --noEmit",
|
|
32
|
+
"android": "expo run:android",
|
|
33
|
+
"ios": "expo run:ios"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"payman",
|
|
37
|
+
"chat",
|
|
38
|
+
"workflow",
|
|
39
|
+
"streaming",
|
|
40
|
+
"react"
|
|
41
|
+
],
|
|
42
|
+
"author": "Payman",
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"expo-speech-recognition": ">=3.0.0",
|
|
46
|
+
"framer-motion": ">=10.0.0",
|
|
47
|
+
"lucide-react": ">=0.300.0",
|
|
48
|
+
"lucide-react-native": ">=0.300.0",
|
|
49
|
+
"react": ">=18.0.0",
|
|
50
|
+
"react-dom": ">=18.0.0",
|
|
51
|
+
"react-markdown": ">=9.0.0",
|
|
52
|
+
"react-native": "*",
|
|
53
|
+
"react-native-markdown-display": ">=7.0.0",
|
|
54
|
+
"react-native-reanimated": ">=3.0.0",
|
|
55
|
+
"remark-gfm": ">=4.0.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"expo-speech-recognition": {
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"react-dom": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"react-native": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"framer-motion": {
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
70
|
+
"lucide-react": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"lucide-react-native": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"react-markdown": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"react-native-markdown-display": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"react-native-reanimated": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"remark-gfm": {
|
|
86
|
+
"optional": true
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"dependencies": {
|
|
90
|
+
"@paymanai/payman-typescript-ask-sdk": "^1.2.0",
|
|
91
|
+
"clsx": "^2.1.1",
|
|
92
|
+
"expo": "^54.0.33",
|
|
93
|
+
"tailwind-merge": "^3.3.1",
|
|
94
|
+
"react-native": "0.81.5"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@types/node": "^24.10.1",
|
|
98
|
+
"@types/react": "^19.1.8",
|
|
99
|
+
"@types/react-dom": "^19.1.6",
|
|
100
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
101
|
+
"autoprefixer": "^10.4.24",
|
|
102
|
+
"framer-motion": "^12.23.0",
|
|
103
|
+
"lucide-react": "^0.525.0",
|
|
104
|
+
"postcss": "^8.5.6",
|
|
105
|
+
"react": "^19.2.1",
|
|
106
|
+
"react-dom": "^19.2.1",
|
|
107
|
+
"react-markdown": "^10.1.0",
|
|
108
|
+
"remark-gfm": "^4.0.1",
|
|
109
|
+
"tailwindcss": "^3.4.0",
|
|
110
|
+
"tsup": "^8.3.5",
|
|
111
|
+
"typescript": "~5.8.3",
|
|
112
|
+
"vite": "^7.0.1"
|
|
113
|
+
}
|
|
106
114
|
}
|