@everfur/sdk 0.1.1 → 0.3.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/CHANGELOG.md +634 -0
- package/README.md +58 -23
- package/consent/package.json +8 -0
- package/dist/Chat-DPUD6dnc.d.cts +128 -0
- package/dist/Chat-DwAC2vhB.d.ts +128 -0
- package/dist/DepthViews-DNEM96Se.d.ts +16 -0
- package/dist/DepthViews-DP0R-DhB.d.cts +19 -0
- package/dist/DepthViews-D_3hl4xk.d.ts +19 -0
- package/dist/DepthViews-DbFhR4Du.d.cts +16 -0
- package/dist/ErrorPolicyPort-CNf4uQZP.d.cts +22 -0
- package/dist/ErrorPolicyPort-CwbfmxzJ.d.ts +22 -0
- package/dist/{EverfurResult-D92-uL82.d.cts → EverfurResult-DN9pL2Ab.d.cts} +11 -10
- package/dist/{EverfurResult-D92-uL82.d.ts → EverfurResult-DN9pL2Ab.d.ts} +11 -10
- package/dist/{PhotoController-BItt5M7u.d.cts → PhotoController-3l7MT9jA.d.cts} +1 -1
- package/dist/{PhotoController-D8zMTdcW.d.ts → PhotoController-vzY5bfY_.d.ts} +1 -1
- package/dist/animations/index.cjs +1 -1997
- package/dist/animations/index.d.cts +35 -35
- package/dist/animations/index.d.ts +35 -35
- package/dist/animations/index.js +1 -1972
- package/dist/attachments-5NeobOCd.d.ts +256 -0
- package/dist/attachments-Bw3iMQgu.d.ts +146 -0
- package/dist/attachments-CQgFrEQ7.d.cts +146 -0
- package/dist/attachments-D8T5re7e.d.cts +256 -0
- package/dist/casesRepository-ClLv6qMl.d.ts +188 -0
- package/dist/casesRepository-DHwtGRYY.d.cts +188 -0
- package/dist/chat/index.cjs +1 -1170
- package/dist/chat/index.d.cts +31 -53
- package/dist/chat/index.d.ts +31 -53
- package/dist/chat/index.js +1 -1167
- package/dist/client/index.cjs +9 -2315
- package/dist/client/index.d.cts +77 -15
- package/dist/client/index.d.ts +77 -15
- package/dist/client/index.js +9 -2215
- package/dist/{config-CiJ0PVBB.d.ts → config-CzTZGlfF.d.cts} +63 -25
- package/dist/{config-BSjBdxrZ.d.cts → config-DW60uRb9.d.ts} +63 -25
- package/dist/consent/index.cjs +1 -0
- package/dist/consent/index.d.cts +33 -0
- package/dist/consent/index.d.ts +33 -0
- package/dist/consent/index.js +1 -0
- package/dist/context-DXhqHlPU.d.ts +159 -0
- package/dist/context-XvTzq1tE.d.cts +159 -0
- package/dist/copy-Mjoo91aS.d.ts +198 -0
- package/dist/copy-bKDNigLb.d.cts +198 -0
- package/dist/core/index.cjs +13 -3178
- package/dist/core/index.d.cts +58 -12
- package/dist/core/index.d.ts +58 -12
- package/dist/core/index.js +13 -3166
- package/dist/depth-CErXCU8J.d.cts +502 -0
- package/dist/depth-DjDcJ6kH.d.ts +502 -0
- package/dist/entitlementRepository-DKdXFgTo.d.cts +698 -0
- package/dist/entitlementRepository-DSbzuyAW.d.ts +698 -0
- package/dist/{identity-DK9zORrG.d.ts → identity-BMx2SUOM.d.ts} +19 -6
- package/dist/{identity-Brl-lDd6.d.cts → identity-DI4eVx9S.d.cts} +19 -6
- package/dist/{ids-CJ1S6adf.d.cts → ids-B2GAAifq.d.cts} +1 -1
- package/dist/{ids-CJ1S6adf.d.ts → ids-B2GAAifq.d.ts} +1 -1
- package/dist/index.cjs +12 -4494
- package/dist/index.d.cts +29 -121
- package/dist/index.d.ts +29 -121
- package/dist/index.js +12 -4470
- package/dist/models-B-Uh2LTf.d.ts +214 -0
- package/dist/models-D2EUxPZY.d.cts +214 -0
- package/dist/notifications/index.cjs +2 -0
- package/dist/notifications/index.d.cts +17 -0
- package/dist/notifications/index.d.ts +17 -0
- package/dist/notifications/index.js +2 -0
- package/dist/pets-CtQdRpWo.d.ts +92 -0
- package/dist/pets-aB8q0JyX.d.cts +92 -0
- package/dist/photo/index.cjs +1 -2189
- package/dist/photo/index.d.cts +6 -6
- package/dist/photo/index.d.ts +6 -6
- package/dist/photo/index.js +1 -2186
- package/dist/ports-BN6RHF9W.d.cts +48 -0
- package/dist/ports-BN6RHF9W.d.ts +48 -0
- package/dist/ports-DEBzEhbp.d.cts +386 -0
- package/dist/ports-DMolTRzU.d.ts +386 -0
- package/dist/profile-CSs1wlXT.d.cts +93 -0
- package/dist/profile-CSs1wlXT.d.ts +93 -0
- package/dist/records/depth/index.cjs +2 -0
- package/dist/records/depth/index.d.cts +13 -0
- package/dist/records/depth/index.d.ts +13 -0
- package/dist/records/depth/index.js +2 -0
- package/dist/records/index.cjs +3 -2839
- package/dist/records/index.d.cts +137 -203
- package/dist/records/index.d.ts +137 -203
- package/dist/records/index.js +3 -2833
- package/dist/requestFunnel-CjW7uDuA.d.ts +87 -0
- package/dist/requestFunnel-L-BQfi0z.d.cts +87 -0
- package/dist/{resolve-Dq_4_agU.d.ts → resolve-D4Ywz5OS.d.cts} +10 -4
- package/dist/{resolve-Dq_4_agU.d.cts → resolve-D4Ywz5OS.d.ts} +10 -4
- package/dist/{runtime-Bvr8yqXm.d.cts → runtime-B8s-_hv8.d.cts} +121 -59
- package/dist/{runtime-BIYzf9cK.d.ts → runtime-BR9ysG0J.d.ts} +121 -59
- package/dist/server/events/index.cjs +2 -0
- package/dist/server/events/index.d.cts +550 -0
- package/dist/server/events/index.d.ts +550 -0
- package/dist/server/events/index.js +2 -0
- package/dist/server/index.cjs +2 -533
- package/dist/server/index.d.cts +73 -18
- package/dist/server/index.d.ts +73 -18
- package/dist/server/index.js +2 -530
- package/dist/species-BXAIMh7I.d.cts +9 -0
- package/dist/species-BXAIMh7I.d.ts +9 -0
- package/dist/televet/index.cjs +1 -0
- package/dist/televet/index.d.cts +60 -0
- package/dist/televet/index.d.ts +60 -0
- package/dist/televet/index.js +1 -0
- package/dist/testing/index.cjs +5 -823
- package/dist/testing/index.d.cts +17 -3
- package/dist/testing/index.d.ts +17 -3
- package/dist/testing/index.js +5 -820
- package/dist/testing/rn/index.cjs +1 -449
- package/dist/testing/rn/index.d.cts +17 -29
- package/dist/testing/rn/index.d.ts +17 -29
- package/dist/testing/rn/index.js +1 -444
- package/dist/testing/web/index.cjs +1 -0
- package/dist/testing/web/index.d.cts +131 -0
- package/dist/testing/web/index.d.ts +131 -0
- package/dist/testing/web/index.js +1 -0
- package/dist/timelineRows-CaohZzXS.d.cts +19 -0
- package/dist/timelineRows-DZed6dAM.d.ts +19 -0
- package/dist/typeStyle-0TydiZ1w.d.cts +19 -0
- package/dist/typeStyle-CWMsoe6b.d.ts +19 -0
- package/dist/uploadTransport-D0M0T4hN.d.ts +38 -0
- package/dist/uploadTransport-DKJHs3Yj.d.cts +38 -0
- package/dist/useRecordsDepth-BHBzJ76R.d.cts +237 -0
- package/dist/useRecordsDepth-BU-OhzH6.d.ts +237 -0
- package/dist/useVetVisit-Bc84hWUU.d.cts +187 -0
- package/dist/useVetVisit-CjmMa896.d.ts +187 -0
- package/dist/video/index.cjs +1 -1941
- package/dist/video/index.d.cts +4 -4
- package/dist/video/index.d.ts +4 -4
- package/dist/video/index.js +1 -1938
- package/dist/view-C3qPIXGX.d.cts +310 -0
- package/dist/view-DtSPYpKa.d.ts +310 -0
- package/dist/visitIntent-D7_yVp1I.d.cts +8 -0
- package/dist/visitIntent-D7_yVp1I.d.ts +8 -0
- package/dist/web/consent/index.cjs +1 -0
- package/dist/web/consent/index.d.cts +34 -0
- package/dist/web/consent/index.d.ts +34 -0
- package/dist/web/consent/index.js +1 -0
- package/dist/web/index.cjs +14 -0
- package/dist/web/index.d.cts +217 -0
- package/dist/web/index.d.ts +217 -0
- package/dist/web/index.js +14 -0
- package/dist/web/notifications/index.cjs +2 -0
- package/dist/web/notifications/index.d.cts +213 -0
- package/dist/web/notifications/index.d.ts +213 -0
- package/dist/web/notifications/index.js +2 -0
- package/dist/web/records/depth/index.cjs +2 -0
- package/dist/web/records/depth/index.d.cts +12 -0
- package/dist/web/records/depth/index.d.ts +12 -0
- package/dist/web/records/depth/index.js +2 -0
- package/dist/web/records/index.cjs +4 -0
- package/dist/web/records/index.d.cts +194 -0
- package/dist/web/records/index.d.ts +194 -0
- package/dist/web/records/index.js +4 -0
- package/dist/web/televet/index.cjs +1 -0
- package/dist/web/televet/index.d.cts +50 -0
- package/dist/web/televet/index.d.ts +50 -0
- package/dist/web/televet/index.js +1 -0
- package/notifications/package.json +8 -0
- package/package.json +197 -9
- package/records/depth/package.json +8 -0
- package/server/events/device-blocked.cjs +15 -0
- package/server/events/package.json +9 -0
- package/televet/package.json +8 -0
- package/testing/web/native-blocked.cjs +12 -0
- package/testing/web/package.json +8 -0
- package/web/consent/native-blocked.cjs +12 -0
- package/web/consent/package.json +8 -0
- package/web/native-blocked.cjs +12 -0
- package/web/notifications/native-blocked.cjs +12 -0
- package/web/notifications/package.json +8 -0
- package/web/package.json +8 -0
- package/web/records/depth/native-blocked.cjs +12 -0
- package/web/records/depth/package.json +8 -0
- package/web/records/native-blocked.cjs +12 -0
- package/web/records/package.json +8 -0
- package/web/televet/native-blocked.cjs +12 -0
- package/web/televet/package.json +8 -0
- package/dist/ChatController-CKdBvPj2.d.ts +0 -146
- package/dist/ChatController-CpUMvvZf.d.cts +0 -146
- package/dist/FilePort-BabWrv7I.d.cts +0 -22
- package/dist/FilePort-BabWrv7I.d.ts +0 -22
- package/dist/petsRepository-BEGb97M9.d.cts +0 -326
- package/dist/petsRepository-Bu18r2kK.d.ts +0 -326
- package/dist/requestFunnel-DuUH-kAe.d.cts +0 -28
- package/dist/requestFunnel-dio5OmR9.d.ts +0 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everfur/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Embed Everfur veterinary chat, health records, and pet-state surfaces in your React Native app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,13 +20,17 @@
|
|
|
20
20
|
"!dist/**/*.map",
|
|
21
21
|
"animations",
|
|
22
22
|
"chat",
|
|
23
|
+
"consent",
|
|
23
24
|
"client",
|
|
24
25
|
"core",
|
|
26
|
+
"notifications",
|
|
25
27
|
"photo",
|
|
26
28
|
"records",
|
|
27
29
|
"server",
|
|
30
|
+
"televet",
|
|
28
31
|
"testing",
|
|
29
|
-
"video"
|
|
32
|
+
"video",
|
|
33
|
+
"web"
|
|
30
34
|
],
|
|
31
35
|
"publishConfig": {
|
|
32
36
|
"access": "public"
|
|
@@ -43,15 +47,42 @@
|
|
|
43
47
|
"server": [
|
|
44
48
|
"./dist/server/index.d.ts"
|
|
45
49
|
],
|
|
50
|
+
"server/events": [
|
|
51
|
+
"./dist/server/events/index.d.ts"
|
|
52
|
+
],
|
|
46
53
|
"core": [
|
|
47
54
|
"./dist/core/index.d.ts"
|
|
48
55
|
],
|
|
49
56
|
"chat": [
|
|
50
57
|
"./dist/chat/index.d.ts"
|
|
51
58
|
],
|
|
59
|
+
"web": [
|
|
60
|
+
"./dist/web/index.d.ts"
|
|
61
|
+
],
|
|
62
|
+
"web/records": [
|
|
63
|
+
"./dist/web/records/index.d.ts"
|
|
64
|
+
],
|
|
65
|
+
"web/televet": [
|
|
66
|
+
"./dist/web/televet/index.d.ts"
|
|
67
|
+
],
|
|
52
68
|
"records": [
|
|
53
69
|
"./dist/records/index.d.ts"
|
|
54
70
|
],
|
|
71
|
+
"records/depth": [
|
|
72
|
+
"./dist/records/depth/index.d.ts"
|
|
73
|
+
],
|
|
74
|
+
"web/records/depth": [
|
|
75
|
+
"./dist/web/records/depth/index.d.ts"
|
|
76
|
+
],
|
|
77
|
+
"notifications": [
|
|
78
|
+
"./dist/notifications/index.d.ts"
|
|
79
|
+
],
|
|
80
|
+
"web/notifications": [
|
|
81
|
+
"./dist/web/notifications/index.d.ts"
|
|
82
|
+
],
|
|
83
|
+
"televet": [
|
|
84
|
+
"./dist/televet/index.d.ts"
|
|
85
|
+
],
|
|
55
86
|
"video": [
|
|
56
87
|
"./dist/video/index.d.ts"
|
|
57
88
|
],
|
|
@@ -66,6 +97,15 @@
|
|
|
66
97
|
],
|
|
67
98
|
"testing/rn": [
|
|
68
99
|
"./dist/testing/rn/index.d.ts"
|
|
100
|
+
],
|
|
101
|
+
"testing/web": [
|
|
102
|
+
"./dist/testing/web/index.d.ts"
|
|
103
|
+
],
|
|
104
|
+
"consent": [
|
|
105
|
+
"./dist/consent/index.d.ts"
|
|
106
|
+
],
|
|
107
|
+
"web/consent": [
|
|
108
|
+
"./dist/web/consent/index.d.ts"
|
|
69
109
|
]
|
|
70
110
|
}
|
|
71
111
|
},
|
|
@@ -113,6 +153,27 @@
|
|
|
113
153
|
"default": "./dist/server/index.cjs"
|
|
114
154
|
}
|
|
115
155
|
},
|
|
156
|
+
"./server/events": {
|
|
157
|
+
"react-native": null,
|
|
158
|
+
"node": {
|
|
159
|
+
"import": {
|
|
160
|
+
"types": "./dist/server/events/index.d.ts",
|
|
161
|
+
"default": "./dist/server/events/index.js"
|
|
162
|
+
},
|
|
163
|
+
"require": {
|
|
164
|
+
"types": "./dist/server/events/index.d.cts",
|
|
165
|
+
"default": "./dist/server/events/index.cjs"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"import": {
|
|
169
|
+
"types": "./dist/server/events/index.d.ts",
|
|
170
|
+
"default": "./dist/server/events/index.js"
|
|
171
|
+
},
|
|
172
|
+
"require": {
|
|
173
|
+
"types": "./dist/server/events/index.d.cts",
|
|
174
|
+
"default": "./dist/server/events/index.cjs"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
116
177
|
"./core": {
|
|
117
178
|
"react-native": "./dist/core/index.js",
|
|
118
179
|
"import": {
|
|
@@ -124,6 +185,39 @@
|
|
|
124
185
|
"default": "./dist/core/index.cjs"
|
|
125
186
|
}
|
|
126
187
|
},
|
|
188
|
+
"./web": {
|
|
189
|
+
"react-native": null,
|
|
190
|
+
"import": {
|
|
191
|
+
"types": "./dist/web/index.d.ts",
|
|
192
|
+
"default": "./dist/web/index.js"
|
|
193
|
+
},
|
|
194
|
+
"require": {
|
|
195
|
+
"types": "./dist/web/index.d.cts",
|
|
196
|
+
"default": "./dist/web/index.cjs"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"./web/records": {
|
|
200
|
+
"react-native": null,
|
|
201
|
+
"import": {
|
|
202
|
+
"types": "./dist/web/records/index.d.ts",
|
|
203
|
+
"default": "./dist/web/records/index.js"
|
|
204
|
+
},
|
|
205
|
+
"require": {
|
|
206
|
+
"types": "./dist/web/records/index.d.cts",
|
|
207
|
+
"default": "./dist/web/records/index.cjs"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"./web/televet": {
|
|
211
|
+
"react-native": null,
|
|
212
|
+
"import": {
|
|
213
|
+
"types": "./dist/web/televet/index.d.ts",
|
|
214
|
+
"default": "./dist/web/televet/index.js"
|
|
215
|
+
},
|
|
216
|
+
"require": {
|
|
217
|
+
"types": "./dist/web/televet/index.d.cts",
|
|
218
|
+
"default": "./dist/web/televet/index.cjs"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
127
221
|
"./chat": {
|
|
128
222
|
"react-native": "./dist/chat/index.js",
|
|
129
223
|
"import": {
|
|
@@ -135,6 +229,17 @@
|
|
|
135
229
|
"default": "./dist/chat/index.cjs"
|
|
136
230
|
}
|
|
137
231
|
},
|
|
232
|
+
"./consent": {
|
|
233
|
+
"react-native": "./dist/consent/index.js",
|
|
234
|
+
"import": {
|
|
235
|
+
"types": "./dist/consent/index.d.ts",
|
|
236
|
+
"default": "./dist/consent/index.js"
|
|
237
|
+
},
|
|
238
|
+
"require": {
|
|
239
|
+
"types": "./dist/consent/index.d.cts",
|
|
240
|
+
"default": "./dist/consent/index.cjs"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
138
243
|
"./records": {
|
|
139
244
|
"react-native": "./dist/records/index.js",
|
|
140
245
|
"import": {
|
|
@@ -146,6 +251,72 @@
|
|
|
146
251
|
"default": "./dist/records/index.cjs"
|
|
147
252
|
}
|
|
148
253
|
},
|
|
254
|
+
"./records/depth": {
|
|
255
|
+
"react-native": "./dist/records/depth/index.js",
|
|
256
|
+
"import": {
|
|
257
|
+
"types": "./dist/records/depth/index.d.ts",
|
|
258
|
+
"default": "./dist/records/depth/index.js"
|
|
259
|
+
},
|
|
260
|
+
"require": {
|
|
261
|
+
"types": "./dist/records/depth/index.d.cts",
|
|
262
|
+
"default": "./dist/records/depth/index.cjs"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"./web/records/depth": {
|
|
266
|
+
"react-native": null,
|
|
267
|
+
"import": {
|
|
268
|
+
"types": "./dist/web/records/depth/index.d.ts",
|
|
269
|
+
"default": "./dist/web/records/depth/index.js"
|
|
270
|
+
},
|
|
271
|
+
"require": {
|
|
272
|
+
"types": "./dist/web/records/depth/index.d.cts",
|
|
273
|
+
"default": "./dist/web/records/depth/index.cjs"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"./notifications": {
|
|
277
|
+
"react-native": "./dist/notifications/index.js",
|
|
278
|
+
"import": {
|
|
279
|
+
"types": "./dist/notifications/index.d.ts",
|
|
280
|
+
"default": "./dist/notifications/index.js"
|
|
281
|
+
},
|
|
282
|
+
"require": {
|
|
283
|
+
"types": "./dist/notifications/index.d.cts",
|
|
284
|
+
"default": "./dist/notifications/index.cjs"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"./web/notifications": {
|
|
288
|
+
"react-native": null,
|
|
289
|
+
"import": {
|
|
290
|
+
"types": "./dist/web/notifications/index.d.ts",
|
|
291
|
+
"default": "./dist/web/notifications/index.js"
|
|
292
|
+
},
|
|
293
|
+
"require": {
|
|
294
|
+
"types": "./dist/web/notifications/index.d.cts",
|
|
295
|
+
"default": "./dist/web/notifications/index.cjs"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"./web/consent": {
|
|
299
|
+
"react-native": null,
|
|
300
|
+
"import": {
|
|
301
|
+
"types": "./dist/web/consent/index.d.ts",
|
|
302
|
+
"default": "./dist/web/consent/index.js"
|
|
303
|
+
},
|
|
304
|
+
"require": {
|
|
305
|
+
"types": "./dist/web/consent/index.d.cts",
|
|
306
|
+
"default": "./dist/web/consent/index.cjs"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"./televet": {
|
|
310
|
+
"react-native": "./dist/televet/index.js",
|
|
311
|
+
"import": {
|
|
312
|
+
"types": "./dist/televet/index.d.ts",
|
|
313
|
+
"default": "./dist/televet/index.js"
|
|
314
|
+
},
|
|
315
|
+
"require": {
|
|
316
|
+
"types": "./dist/televet/index.d.cts",
|
|
317
|
+
"default": "./dist/televet/index.cjs"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
149
320
|
"./video": {
|
|
150
321
|
"react-native": "./dist/video/index.js",
|
|
151
322
|
"import": {
|
|
@@ -201,12 +372,24 @@
|
|
|
201
372
|
"default": "./dist/testing/rn/index.cjs"
|
|
202
373
|
}
|
|
203
374
|
},
|
|
375
|
+
"./testing/web": {
|
|
376
|
+
"react-native": null,
|
|
377
|
+
"import": {
|
|
378
|
+
"types": "./dist/testing/web/index.d.ts",
|
|
379
|
+
"default": "./dist/testing/web/index.js"
|
|
380
|
+
},
|
|
381
|
+
"require": {
|
|
382
|
+
"types": "./dist/testing/web/index.d.cts",
|
|
383
|
+
"default": "./dist/testing/web/index.cjs"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
204
386
|
"./package.json": "./package.json"
|
|
205
387
|
},
|
|
206
388
|
"scripts": {
|
|
207
389
|
"build": "tsup && node scripts/strip-sourcemap-pragma.mjs && node scripts/generate-subpath-shims.mjs",
|
|
390
|
+
"build:cdn": "rm -rf dist-cdn && tsup --config tsup.cdn.config.ts && node scripts/strip-sourcemap-pragma.mjs --dir dist-cdn",
|
|
208
391
|
"build:bob": "react-native-builder-bob build",
|
|
209
|
-
"clean": "rm -rf dist lib temp && node scripts/generate-subpath-shims.mjs --clean",
|
|
392
|
+
"clean": "rm -rf dist dist-cdn lib temp && node scripts/generate-subpath-shims.mjs --clean",
|
|
210
393
|
"typecheck": "tsc --noEmit",
|
|
211
394
|
"lint": "eslint .",
|
|
212
395
|
"test": "vitest run",
|
|
@@ -217,8 +400,8 @@
|
|
|
217
400
|
"contract:types": "node scripts/generate-contract-types.mjs",
|
|
218
401
|
"contract:types:check": "node scripts/generate-contract-types.mjs --check",
|
|
219
402
|
"contract:check": "npm run contract:types:check && npm run contract:errors:check",
|
|
220
|
-
"api:check": "api-extractor run --config api-extractor.json && api-extractor run --config api-extractor.server.json && api-extractor run --config api-extractor.records.json && api-extractor run --config api-extractor.video.json && api-extractor run --config api-extractor.photo.json && api-extractor run --config api-extractor.animations.json && api-extractor run --config api-extractor.testing-rn.json && api-extractor run --config api-extractor.client.json && api-extractor run --config api-extractor.core.json && api-extractor run --config api-extractor.chat.json && api-extractor run --config api-extractor.testing.json",
|
|
221
|
-
"api:update": "api-extractor run --local --config api-extractor.json && api-extractor run --local --config api-extractor.server.json && api-extractor run --local --config api-extractor.records.json && api-extractor run --local --config api-extractor.video.json && api-extractor run --local --config api-extractor.photo.json && api-extractor run --local --config api-extractor.animations.json && api-extractor run --local --config api-extractor.testing-rn.json && api-extractor run --local --config api-extractor.client.json && api-extractor run --local --config api-extractor.core.json && api-extractor run --local --config api-extractor.chat.json && api-extractor run --local --config api-extractor.testing.json",
|
|
403
|
+
"api:check": "api-extractor run --config api-extractor.json && api-extractor run --config api-extractor.server.json && api-extractor run --config api-extractor.server-events.json && api-extractor run --config api-extractor.records.json && api-extractor run --config api-extractor.video.json && api-extractor run --config api-extractor.photo.json && api-extractor run --config api-extractor.animations.json && api-extractor run --config api-extractor.testing-rn.json && api-extractor run --config api-extractor.client.json && api-extractor run --config api-extractor.core.json && api-extractor run --config api-extractor.chat.json && api-extractor run --config api-extractor.web.json && api-extractor run --config api-extractor.web-records.json && api-extractor run --config api-extractor.web-records-depth.json && api-extractor run --config api-extractor.records-depth.json && api-extractor run --config api-extractor.web-televet.json && api-extractor run --config api-extractor.televet.json && api-extractor run --config api-extractor.testing-web.json && api-extractor run --config api-extractor.testing.json && api-extractor run --config api-extractor.notifications.json && api-extractor run --config api-extractor.web-notifications.json && api-extractor run --config api-extractor.consent.json && api-extractor run --config api-extractor.web-consent.json",
|
|
404
|
+
"api:update": "api-extractor run --local --config api-extractor.json && api-extractor run --local --config api-extractor.server.json && api-extractor run --local --config api-extractor.server-events.json && api-extractor run --local --config api-extractor.records.json && api-extractor run --local --config api-extractor.video.json && api-extractor run --local --config api-extractor.photo.json && api-extractor run --local --config api-extractor.animations.json && api-extractor run --local --config api-extractor.testing-rn.json && api-extractor run --local --config api-extractor.client.json && api-extractor run --local --config api-extractor.core.json && api-extractor run --local --config api-extractor.chat.json && api-extractor run --local --config api-extractor.web.json && api-extractor run --local --config api-extractor.web-records.json && api-extractor run --local --config api-extractor.web-records-depth.json && api-extractor run --local --config api-extractor.records-depth.json && api-extractor run --local --config api-extractor.web-televet.json && api-extractor run --local --config api-extractor.televet.json && api-extractor run --local --config api-extractor.testing-web.json && api-extractor run --local --config api-extractor.testing.json && api-extractor run --local --config api-extractor.notifications.json && api-extractor run --local --config api-extractor.web-notifications.json && api-extractor run --local --config api-extractor.consent.json && api-extractor run --local --config api-extractor.web-consent.json",
|
|
222
405
|
"attw": "attw --pack",
|
|
223
406
|
"verify:pack": "node scripts/verify-packed-install.mjs",
|
|
224
407
|
"docs:check": "node scripts/check-docs-compile.mjs && node scripts/build-docs-html.mjs --check",
|
|
@@ -232,21 +415,23 @@
|
|
|
232
415
|
"zod": "3.23.0"
|
|
233
416
|
},
|
|
234
417
|
"peerDependencies": {
|
|
235
|
-
"expo-file-system": ">=17 <19",
|
|
236
|
-
"expo-image-manipulator": ">=12 <14",
|
|
237
418
|
"react": ">=18",
|
|
419
|
+
"react-dom": ">=18",
|
|
238
420
|
"react-native": ">=0.74",
|
|
239
421
|
"react-native-safe-area-context": ">=5",
|
|
240
422
|
"react-native-vision-camera": ">=4"
|
|
241
423
|
},
|
|
242
424
|
"peerDependenciesMeta": {
|
|
425
|
+
"react-dom": {
|
|
426
|
+
"optional": true
|
|
427
|
+
},
|
|
243
428
|
"react-native-vision-camera": {
|
|
244
429
|
"optional": true
|
|
245
430
|
},
|
|
246
|
-
"
|
|
431
|
+
"react-native": {
|
|
247
432
|
"optional": true
|
|
248
433
|
},
|
|
249
|
-
"
|
|
434
|
+
"react-native-safe-area-context": {
|
|
250
435
|
"optional": true
|
|
251
436
|
}
|
|
252
437
|
},
|
|
@@ -254,6 +439,7 @@
|
|
|
254
439
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
255
440
|
"@eslint/js": "^9.9.0",
|
|
256
441
|
"@microsoft/api-extractor": "^7.47.0",
|
|
442
|
+
"@testing-library/react": "^14.3.1",
|
|
257
443
|
"@types/node": "^20.14.0",
|
|
258
444
|
"@types/react": "^18.3.0",
|
|
259
445
|
"@types/react-test-renderer": "^18.0.0",
|
|
@@ -261,7 +447,9 @@
|
|
|
261
447
|
"eslint": "^9.9.0",
|
|
262
448
|
"eslint-plugin-boundaries": "^5.0.0",
|
|
263
449
|
"fast-check": "^3.20.0",
|
|
450
|
+
"jsdom": "^25.0.1",
|
|
264
451
|
"react": "18.2.0",
|
|
452
|
+
"react-dom": "18.2.0",
|
|
265
453
|
"react-native": "^0.74.0",
|
|
266
454
|
"react-native-builder-bob": "^0.30.0",
|
|
267
455
|
"react-native-safe-area-context": "^5.9.1",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "../../dist/records/depth/index.js",
|
|
4
|
+
"module": "../../dist/records/depth/index.js",
|
|
5
|
+
"main": "../../dist/records/depth/index.cjs",
|
|
6
|
+
"types": "../../dist/records/depth/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/server" is the partner BACKEND module. It carries the sk_partner_ session minter
|
|
6
|
+
* and the partner secret-key request header, and must never enter an app bundle. The package
|
|
7
|
+
* "exports" map already withholds the react-native condition, but a resolver with exports disabled
|
|
8
|
+
* (Metro 0.80.x, webpack 4, node10) ignores conditions and would otherwise fall through to "main".
|
|
9
|
+
* This module is what those resolvers hit instead.
|
|
10
|
+
*/
|
|
11
|
+
throw new Error(
|
|
12
|
+
'@everfur/sdk/server is a server-only module and must not be bundled into an app. ' +
|
|
13
|
+
'It holds the sk_partner_ session minter; mint sessions on your backend and send the ' +
|
|
14
|
+
'short-lived session token to the device instead.',
|
|
15
|
+
);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./device-blocked.cjs",
|
|
4
|
+
"browser": "./device-blocked.cjs",
|
|
5
|
+
"module": "../../dist/server/events/index.js",
|
|
6
|
+
"main": "../../dist/server/events/index.cjs",
|
|
7
|
+
"types": "../../dist/server/events/index.d.ts",
|
|
8
|
+
"sideEffects": false
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "../dist/televet/index.js",
|
|
4
|
+
"module": "../dist/televet/index.js",
|
|
5
|
+
"main": "../dist/televet/index.cjs",
|
|
6
|
+
"types": "../dist/televet/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/testing/web/index.js",
|
|
5
|
+
"main": "../../dist/testing/web/index.cjs",
|
|
6
|
+
"types": "../../dist/testing/web/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/consent/index.js",
|
|
5
|
+
"main": "../../dist/web/consent/index.cjs",
|
|
6
|
+
"types": "../../dist/web/consent/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/notifications/index.js",
|
|
5
|
+
"main": "../../dist/web/notifications/index.cjs",
|
|
6
|
+
"types": "../../dist/web/notifications/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
package/web/package.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../dist/web/index.js",
|
|
5
|
+
"main": "../dist/web/index.cjs",
|
|
6
|
+
"types": "../dist/web/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../../dist/web/records/depth/index.js",
|
|
5
|
+
"main": "../../../dist/web/records/depth/index.cjs",
|
|
6
|
+
"types": "../../../dist/web/records/depth/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/records/index.js",
|
|
5
|
+
"main": "../../dist/web/records/index.cjs",
|
|
6
|
+
"types": "../../dist/web/records/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/televet/index.js",
|
|
5
|
+
"main": "../../dist/web/televet/index.cjs",
|
|
6
|
+
"types": "../../dist/web/televet/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|