@prosopo/types-env 2.7.59 → 2.9.17

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @prosopo/types-env@2.7.59 build:cjs
2
+ > @prosopo/types-env@2.9.17 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@@ -23,12 +23,13 @@
23
23
  ViteCommonJSConfig: .
24
24
  {
25
25
  tsConfigPaths: [
26
- '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
27
- '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
28
- '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
26
+ '/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
29
27
  '/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
28
+ '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
29
+ '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
30
30
  '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
31
31
  '/home/runner/work/captcha/captcha/packages/types-database/tsconfig.json',
32
+ '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
32
33
  '/home/runner/work/captcha/captcha/packages/user-access-policy/tsconfig.json',
33
34
  '/home/runner/work/captcha/captcha/packages/api-route/tsconfig.json',
34
35
  '/home/runner/work/captcha/captcha/packages/redis-client/tsconfig.json',
@@ -38,12 +39,13 @@ ViteCommonJSConfig: .
38
39
  }
39
40
  {
40
41
  externals: [
41
- '@prosopo/common',
42
- '@prosopo/locale',
43
- '@prosopo/types',
42
+ '@prosopo/logger',
44
43
  '@prosopo/util',
44
+ '@prosopo/types',
45
+ '@prosopo/locale',
45
46
  '@prosopo/util-crypto',
46
47
  '@prosopo/types-database',
48
+ '@prosopo/common',
47
49
  '@prosopo/user-access-policy',
48
50
  '@prosopo/api-route',
49
51
  '@prosopo/redis-client',
@@ -55,9 +57,10 @@ ViteCommonJSConfig: .
55
57
  Bundle build started
56
58
  transforming...
57
59
  Build end
58
- ✓ 3 modules transformed.
60
+ ✓ 4 modules transformed.
59
61
  rendering chunks...
60
62
  dist/cjs/env.cjs 0.01 kB
61
63
  dist/cjs/provider.cjs 0.01 kB
62
- dist/cjs/index.cjs 0.06 kB
63
- ✓ built in 137ms
64
+ dist/cjs/ipinfo.cjs 0.01 kB
65
+ dist/cjs/index.cjs 0.09 kB
66
+ ✓ built in 92ms
@@ -1,11 +1,12 @@
1
1
 
2
- > @prosopo/types-env@2.7.59 build:tsc
2
+ > @prosopo/types-env@2.9.17 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 4:57:24 PM - Projects in this build:
5
+ 10:13:47 AM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
- * ../locale/tsconfig.json
8
7
  * ../util/tsconfig.json
8
+ * ../logger/tsconfig.json
9
+ * ../locale/tsconfig.json
9
10
  * ../util-crypto/tsconfig.json
10
11
  * ../types/tsconfig.json
11
12
  * ../common/tsconfig.json
@@ -17,31 +18,33 @@
17
18
  * ../keyring/tsconfig.json
18
19
  * tsconfig.json
19
20
 
20
- 4:57:24 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/dependencies.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
21
+ 10:13:47 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
22
+
23
+ 10:13:47 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
21
24
 
22
- 4:57:24 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
25
+ 10:13:47 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
23
26
 
24
- 4:57:24 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/verifyRecency.ts' is older than output '../util/tsconfig.tsbuildinfo'
27
+ 10:13:47 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/util.ts' is older than output '../locale/tsconfig.tsbuildinfo'
25
28
 
26
- 4:57:24 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
29
+ 10:13:47 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
27
30
 
28
- 4:57:24 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/procaptcha/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
31
+ 10:13:47 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/procaptcha/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
29
32
 
30
- 4:57:24 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/logger.ts' is older than output '../common/tsconfig.tsbuildinfo'
33
+ 10:13:47 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
31
34
 
32
- 4:57:24 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/index.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
35
+ 10:13:47 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
33
36
 
34
- 4:57:24 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
37
+ 10:13:47 AM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
35
38
 
36
- 4:57:25 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
39
+ 10:13:47 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
37
40
 
38
- 4:57:25 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/transformRule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
41
+ 10:13:47 AM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/transformRule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
39
42
 
40
- 4:57:25 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
43
+ 10:13:47 AM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/captcha.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
41
44
 
42
- 4:57:25 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
45
+ 10:13:47 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
43
46
 
44
- 4:57:25 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
47
+ 10:13:47 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
45
48
 
46
- 4:57:25 PM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
49
+ 10:13:47 AM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
47
50
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/types-env@2.7.59 build
2
+ > @prosopo/types-env@2.9.17 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/types-env@2.7.59 build:cross-env
6
+ > @prosopo/types-env@2.9.17 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@@ -27,12 +27,13 @@
27
27
  ViteEsmConfig: .
28
28
  {
29
29
  tsConfigPaths: [
30
- '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
31
- '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
32
- '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
30
+ '/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
33
31
  '/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
32
+ '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
33
+ '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
34
34
  '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
35
35
  '/home/runner/work/captcha/captcha/packages/types-database/tsconfig.json',
36
+ '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
36
37
  '/home/runner/work/captcha/captcha/packages/user-access-policy/tsconfig.json',
37
38
  '/home/runner/work/captcha/captcha/packages/api-route/tsconfig.json',
38
39
  '/home/runner/work/captcha/captcha/packages/redis-client/tsconfig.json',
@@ -42,12 +43,13 @@ ViteEsmConfig: .
42
43
  }
43
44
  {
44
45
  externals: [
45
- '@prosopo/common',
46
- '@prosopo/locale',
47
- '@prosopo/types',
46
+ '@prosopo/logger',
48
47
  '@prosopo/util',
48
+ '@prosopo/types',
49
+ '@prosopo/locale',
49
50
  '@prosopo/util-crypto',
50
51
  '@prosopo/types-database',
52
+ '@prosopo/common',
51
53
  '@prosopo/user-access-policy',
52
54
  '@prosopo/api-route',
53
55
  '@prosopo/redis-client',
@@ -59,9 +61,10 @@ ViteEsmConfig: .
59
61
  Bundle build started
60
62
  transforming...
61
63
  Build end
62
- ✓ 3 modules transformed.
64
+ ✓ 4 modules transformed.
63
65
  rendering chunks...
64
66
  dist/env.js 0.00 kB
65
67
  dist/provider.js 0.00 kB
66
- dist/index.js 0.04 kB
67
- ✓ built in 134ms
68
+ dist/ipinfo.js 0.00 kB
69
+ dist/index.js 0.07 kB
70
+ ✓ built in 85ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,359 @@
1
1
  # @prosopo/types-env
2
2
 
3
+ ## 2.9.17
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [b03dad1]
7
+ - @prosopo/types@4.3.1
8
+ - @prosopo/types-database@4.8.1
9
+ - @prosopo/keyring@2.9.35
10
+
11
+ ## 2.9.16
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [a1d60db]
15
+ - Updated dependencies [2392aaf]
16
+ - Updated dependencies [97cf7bd]
17
+ - Updated dependencies [6ca1125]
18
+ - Updated dependencies [32a591b]
19
+ - @prosopo/types@4.3.0
20
+ - @prosopo/types-database@4.8.0
21
+ - @prosopo/logger@1.0.2
22
+ - @prosopo/keyring@2.9.34
23
+
24
+ ## 2.9.15
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [6c26669]
28
+ - Updated dependencies [f7f9ec5]
29
+ - @prosopo/types@4.2.1
30
+ - @prosopo/types-database@4.7.8
31
+ - @prosopo/keyring@2.9.33
32
+
33
+ ## 2.9.14
34
+ ### Patch Changes
35
+
36
+ - 0fd81af: Extract the logger into its own `@prosopo/logger` package, out of `@prosopo/common`. Consumers now import logger symbols from `@prosopo/logger`; `@prosopo/common` no longer re-exports them. Unused `@prosopo/common` dependencies pruned where the only usage was the logger.
37
+ - Updated dependencies [0fd81af]
38
+ - @prosopo/logger@1.0.1
39
+ - @prosopo/types-database@4.7.7
40
+ - @prosopo/keyring@2.9.32
41
+
42
+ ## 2.9.13
43
+ ### Patch Changes
44
+
45
+ - Updated dependencies [cdbc5ed]
46
+ - Updated dependencies [4d9923e]
47
+ - Updated dependencies [20cae63]
48
+ - Updated dependencies [4d9923e]
49
+ - @prosopo/types-database@4.7.6
50
+ - @prosopo/types@4.2.0
51
+ - @prosopo/keyring@2.9.31
52
+
53
+ ## 2.9.12
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [d351362]
57
+ - @prosopo/types@4.1.4
58
+ - @prosopo/types-database@4.7.5
59
+ - @prosopo/keyring@2.9.30
60
+
61
+ ## 2.9.11
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [e2711ae]
65
+ - Updated dependencies [5786629]
66
+ - Updated dependencies [7e8cbb7]
67
+ - @prosopo/types@4.1.3
68
+ - @prosopo/types-database@4.7.4
69
+ - @prosopo/keyring@2.9.29
70
+ - @prosopo/common@3.1.36
71
+
72
+ ## 2.9.10
73
+ ### Patch Changes
74
+
75
+ - @prosopo/keyring@2.9.28
76
+ - @prosopo/types@4.1.2
77
+ - @prosopo/types-database@4.7.3
78
+
79
+ ## 2.9.9
80
+ ### Patch Changes
81
+
82
+ - Updated dependencies [91958da]
83
+ - @prosopo/types@4.1.1
84
+ - @prosopo/common@3.1.35
85
+ - @prosopo/types-database@4.7.2
86
+ - @prosopo/keyring@2.9.27
87
+
88
+ ## 2.9.8
89
+ ### Patch Changes
90
+
91
+ - Updated dependencies [6a741ce]
92
+ - @prosopo/types@4.1.0
93
+ - @prosopo/keyring@2.9.26
94
+ - @prosopo/types-database@4.7.1
95
+
96
+ ## 2.9.7
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies [3c0be68]
100
+ - Updated dependencies [f9ea09d]
101
+ - Updated dependencies [d865319]
102
+ - Updated dependencies [753304b]
103
+ - Updated dependencies [8bb7286]
104
+ - Updated dependencies [f9ea09d]
105
+ - Updated dependencies [4aae4e6]
106
+ - Updated dependencies [4993813]
107
+ - @prosopo/types@4.0.0
108
+ - @prosopo/types-database@4.7.0
109
+ - @prosopo/keyring@2.9.25
110
+ - @prosopo/common@3.1.34
111
+
112
+ ## 2.9.6
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [819ed95]
116
+ - @prosopo/types-database@4.6.2
117
+ - @prosopo/types@3.16.1
118
+ - @prosopo/keyring@2.9.24
119
+
120
+ ## 2.9.5
121
+ ### Patch Changes
122
+
123
+ - @prosopo/types-database@4.6.1
124
+
125
+ ## 2.9.4
126
+ ### Patch Changes
127
+
128
+ - Updated dependencies [74092d0]
129
+ - @prosopo/types-database@4.6.0
130
+
131
+ ## 2.9.3
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies [f6a4402]
135
+ - Updated dependencies [99dfb44]
136
+ - @prosopo/types-database@4.5.3
137
+ - @prosopo/types@3.16.0
138
+ - @prosopo/keyring@2.9.23
139
+
140
+ ## 2.9.2
141
+ ### Patch Changes
142
+
143
+ - Updated dependencies [3e54c0a]
144
+ - @prosopo/types@3.15.0
145
+ - @prosopo/keyring@2.9.22
146
+ - @prosopo/types-database@4.5.2
147
+
148
+ ## 2.9.1
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies [946a8ba]
152
+ - Updated dependencies [5614814]
153
+ - @prosopo/types-database@4.5.1
154
+ - @prosopo/types@3.14.1
155
+ - @prosopo/common@3.1.33
156
+ - @prosopo/keyring@2.9.21
157
+
158
+ ## 2.9.0
159
+ ### Minor Changes
160
+
161
+ - 42650db: Add better spam rules and move ipinfo service to local instead of external
162
+
163
+ ### Patch Changes
164
+
165
+ - Updated dependencies [fc514dd]
166
+ - Updated dependencies [42650db]
167
+ - @prosopo/types-database@4.5.0
168
+ - @prosopo/types@3.14.0
169
+ - @prosopo/common@3.1.32
170
+ - @prosopo/keyring@2.9.20
171
+
172
+ ## 2.8.15
173
+ ### Patch Changes
174
+
175
+ - Updated dependencies [4a9c518]
176
+ - @prosopo/common@3.1.31
177
+ - @prosopo/keyring@2.9.19
178
+ - @prosopo/types-database@4.4.14
179
+
180
+ ## 2.8.14
181
+ ### Patch Changes
182
+
183
+ - @prosopo/keyring@2.9.18
184
+ - @prosopo/types@3.13.3
185
+ - @prosopo/types-database@4.4.13
186
+
187
+ ## 2.8.13
188
+ ### Patch Changes
189
+
190
+ - @prosopo/keyring@2.9.17
191
+ - @prosopo/types@3.13.2
192
+ - @prosopo/types-database@4.4.12
193
+
194
+ ## 2.8.12
195
+ ### Patch Changes
196
+
197
+ - @prosopo/keyring@2.9.16
198
+ - @prosopo/types@3.13.1
199
+ - @prosopo/types-database@4.4.11
200
+
201
+ ## 2.8.11
202
+ ### Patch Changes
203
+
204
+ - Updated dependencies [e6d9553]
205
+ - @prosopo/types@3.13.0
206
+ - @prosopo/keyring@2.9.15
207
+ - @prosopo/types-database@4.4.10
208
+
209
+ ## 2.8.10
210
+ ### Patch Changes
211
+
212
+ - Updated dependencies [d5082a9]
213
+ - Updated dependencies [e1ea65f]
214
+ - Updated dependencies [c316257]
215
+ - @prosopo/types@3.12.3
216
+ - @prosopo/types-database@4.4.9
217
+ - @prosopo/keyring@2.9.14
218
+
219
+ ## 2.8.9
220
+ ### Patch Changes
221
+
222
+ - Updated dependencies [adb89a6]
223
+ - @prosopo/types-database@4.4.8
224
+ - @prosopo/types@3.12.2
225
+ - @prosopo/common@3.1.30
226
+ - @prosopo/keyring@2.9.13
227
+
228
+ ## 2.8.8
229
+ ### Patch Changes
230
+
231
+ - Updated dependencies [c5ee492]
232
+ - Updated dependencies [a90eb54]
233
+ - @prosopo/common@3.1.29
234
+ - @prosopo/types-database@4.4.7
235
+ - @prosopo/types@3.12.1
236
+ - @prosopo/keyring@2.9.12
237
+
238
+ ## 2.8.7
239
+ ### Patch Changes
240
+
241
+ - Updated dependencies [676c5f2]
242
+ - Updated dependencies [feaca02]
243
+ - @prosopo/keyring@2.9.11
244
+ - @prosopo/types@3.12.0
245
+ - @prosopo/types-database@4.4.6
246
+
247
+ ## 2.8.6
248
+ ### Patch Changes
249
+
250
+ - Updated dependencies [8148587]
251
+ - @prosopo/types-database@4.4.5
252
+ - @prosopo/types@3.11.1
253
+ - @prosopo/keyring@2.9.10
254
+
255
+ ## 2.8.5
256
+ ### Patch Changes
257
+
258
+ - Updated dependencies [90033e9]
259
+ - @prosopo/types-database@4.4.4
260
+
261
+ ## 2.8.4
262
+ ### Patch Changes
263
+
264
+ - Updated dependencies [7f6ffc5]
265
+ - @prosopo/types@3.11.0
266
+ - @prosopo/keyring@2.9.9
267
+ - @prosopo/types-database@4.4.3
268
+
269
+ ## 2.8.3
270
+ ### Patch Changes
271
+
272
+ - Updated dependencies [93fa086]
273
+ - @prosopo/types-database@4.4.2
274
+ - @prosopo/types@3.10.2
275
+ - @prosopo/keyring@2.9.8
276
+
277
+ ## 2.8.2
278
+ ### Patch Changes
279
+
280
+ - Updated dependencies [cde7550]
281
+ - @prosopo/types-database@4.4.1
282
+ - @prosopo/types@3.10.1
283
+ - @prosopo/keyring@2.9.7
284
+
285
+ ## 2.8.1
286
+ ### Patch Changes
287
+
288
+ - Updated dependencies [ad6d622]
289
+ - Updated dependencies [fa95c5f]
290
+ - @prosopo/types-database@4.4.0
291
+ - @prosopo/types@3.10.0
292
+ - @prosopo/keyring@2.9.6
293
+
294
+ ## 2.8.0
295
+ ### Minor Changes
296
+
297
+ - ff58a70: Load the geolocation service at startup only
298
+
299
+ ### Patch Changes
300
+
301
+ - Updated dependencies [ff58a70]
302
+ - @prosopo/types@3.9.0
303
+ - @prosopo/keyring@2.9.5
304
+ - @prosopo/types-database@4.3.1
305
+
306
+ ## 2.7.66
307
+ ### Patch Changes
308
+
309
+ - Updated dependencies [3feeea4]
310
+ - @prosopo/types-database@4.3.0
311
+
312
+ ## 2.7.65
313
+ ### Patch Changes
314
+
315
+ - Updated dependencies [4c08158]
316
+ - Updated dependencies [d2431cd]
317
+ - @prosopo/types-database@4.2.4
318
+ - @prosopo/types@3.8.4
319
+ - @prosopo/keyring@2.9.4
320
+
321
+ ## 2.7.64
322
+ ### Patch Changes
323
+
324
+ - Updated dependencies [8dad7f3]
325
+ - @prosopo/types-database@4.2.3
326
+
327
+ ## 2.7.63
328
+ ### Patch Changes
329
+
330
+ - Updated dependencies [bd6995b]
331
+ - @prosopo/types@3.8.3
332
+ - @prosopo/types-database@4.2.2
333
+ - @prosopo/keyring@2.9.3
334
+
335
+ ## 2.7.62
336
+ ### Patch Changes
337
+
338
+ - Updated dependencies [9633e58]
339
+ - @prosopo/types-database@4.2.1
340
+ - @prosopo/types@3.8.2
341
+ - @prosopo/keyring@2.9.2
342
+
343
+ ## 2.7.61
344
+ ### Patch Changes
345
+
346
+ - Updated dependencies [f52a5c1]
347
+ - Updated dependencies [4299cae]
348
+ - @prosopo/types-database@4.2.0
349
+ - @prosopo/types@3.8.1
350
+ - @prosopo/keyring@2.9.1
351
+
352
+ ## 2.7.60
353
+ ### Patch Changes
354
+
355
+ - @prosopo/types-database@4.1.6
356
+
3
357
  ## 2.7.59
4
358
  ### Patch Changes
5
359
 
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  require("./env.cjs");
3
3
  require("./provider.cjs");
4
+ require("./ipinfo.cjs");
@@ -0,0 +1 @@
1
+ "use strict";
package/dist/env.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- import type { Logger } from "@prosopo/common";
2
1
  import type { Keyring } from "@prosopo/keyring";
2
+ import type { Logger } from "@prosopo/logger";
3
3
  import type { KeyringPair } from "@prosopo/types";
4
4
  import type { AssetsResolver, EnvironmentTypes } from "@prosopo/types";
5
5
  import type { ProsopoBasicConfigOutput } from "@prosopo/types";
6
6
  import type { IProviderDatabase } from "@prosopo/types-database";
7
+ import type { IIpInfoService } from "./ipinfo.js";
7
8
  export interface ProsopoEnvironment {
8
9
  config: ProsopoBasicConfigOutput;
9
10
  db: IProviderDatabase | undefined;
@@ -13,6 +14,7 @@ export interface ProsopoEnvironment {
13
14
  keyring: Keyring;
14
15
  pair: KeyringPair | undefined;
15
16
  authAccount: KeyringPair | undefined;
17
+ ipInfoService: IIpInfoService;
16
18
  getDb(): IProviderDatabase;
17
19
  isReady(): Promise<void>;
18
20
  importDatabase(): Promise<void>;
package/dist/env.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IAClC,MAAM,EAAE,wBAAwB,CAAC;IACjC,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClC,kBAAkB,EAAE,gBAAgB,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,GAAG,SAAS,CAAC;IAC9B,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IACrC,KAAK,IAAI,iBAAiB,CAAC;IAC3B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC"}
1
+ {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,WAAW,kBAAkB;IAClC,MAAM,EAAE,wBAAwB,CAAC;IACjC,EAAE,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClC,kBAAkB,EAAE,gBAAgB,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,GAAG,SAAS,CAAC;IAC9B,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,cAAc,CAAC;IAC9B,KAAK,IAAI,iBAAiB,CAAC;IAC3B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./env.js";
2
2
  export * from "./provider.js";
3
+ export * from "./ipinfo.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  import "./env.js";
2
2
  import "./provider.js";
3
+ import "./ipinfo.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { IPInfoResponse } from "@prosopo/types";
2
+ export interface IIpInfoService {
3
+ initialize(): Promise<void>;
4
+ lookup(ip: string): Promise<IPInfoResponse>;
5
+ isAvailable(): boolean;
6
+ }
7
+ //# sourceMappingURL=ipinfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ipinfo.d.ts","sourceRoot":"","sources":["../src/ipinfo.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,WAAW,cAAc;IAC9B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAC5C,WAAW,IAAI,OAAO,CAAC;CACvB"}
package/dist/ipinfo.js ADDED
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ipinfo.js","sourceRoot":"","sources":["../src/ipinfo.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/types-env",
3
- "version": "2.7.59",
3
+ "version": "2.9.17",
4
4
  "description": "Types for prosopo environment",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,7 +26,8 @@
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "git+ssh://git@github.com/prosopo/captcha.git"
29
+ "url": "git+https://github.com/prosopo/captcha.git",
30
+ "directory": "packages/types-env"
30
31
  },
31
32
  "author": "Prosopo Limited",
32
33
  "license": "Apache-2.0",
@@ -35,13 +36,13 @@
35
36
  },
36
37
  "homepage": "https://github.com/prosopo/captcha#readme",
37
38
  "dependencies": {
38
- "@prosopo/common": "3.1.28",
39
- "@prosopo/keyring": "2.9.0",
40
- "@prosopo/types": "3.8.0",
41
- "@prosopo/types-database": "4.1.5"
39
+ "@prosopo/logger": "1.0.2",
40
+ "@prosopo/keyring": "2.9.35",
41
+ "@prosopo/types": "4.3.1",
42
+ "@prosopo/types-database": "4.8.1"
42
43
  },
43
44
  "devDependencies": {
44
- "@prosopo/config": "3.3.0",
45
+ "@prosopo/config": "3.3.1",
45
46
  "@types/node": "22.10.2",
46
47
  "@vitest/coverage-v8": "3.2.4",
47
48
  "concurrently": "9.0.1",