@prosopo/types-env 2.7.53 → 2.7.59

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.53 build:cjs
2
+ > @prosopo/types-env@2.7.59 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]
@@ -60,4 +60,4 @@ rendering chunks...
60
60
  dist/cjs/env.cjs 0.01 kB
61
61
  dist/cjs/provider.cjs 0.01 kB
62
62
  dist/cjs/index.cjs 0.06 kB
63
- ✓ built in 101ms
63
+ ✓ built in 137ms
@@ -0,0 +1,47 @@
1
+
2
+ > @prosopo/types-env@2.7.59 build:tsc
3
+ > tsc --build --verbose
4
+
5
+ 4:57:24 PM - Projects in this build:
6
+ * ../../dev/config/tsconfig.json
7
+ * ../locale/tsconfig.json
8
+ * ../util/tsconfig.json
9
+ * ../util-crypto/tsconfig.json
10
+ * ../types/tsconfig.json
11
+ * ../common/tsconfig.json
12
+ * ../api-route/tsconfig.json
13
+ * ../redis-client/tsconfig.json
14
+ * ../api/tsconfig.json
15
+ * ../user-access-policy/tsconfig.json
16
+ * ../types-database/tsconfig.json
17
+ * ../keyring/tsconfig.json
18
+ * tsconfig.json
19
+
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
+
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'
23
+
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'
25
+
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'
27
+
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'
29
+
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'
31
+
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'
33
+
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'
35
+
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'
37
+
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'
39
+
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'
41
+
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'
43
+
44
+ 4:57:25 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
45
+
46
+ 4:57:25 PM - Building project '/home/runner/work/captcha/captcha/packages/types-env/tsconfig.json'...
47
+
@@ -1,6 +1,10 @@
1
1
 
2
- > @prosopo/types-env@2.7.53 build
3
- > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV
2
+ > @prosopo/types-env@2.7.59 build
3
+ > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
+
5
+
6
+ > @prosopo/types-env@2.7.59 build:cross-env
7
+ > vite build --config vite.esm.config.ts --mode production
4
8
 
5
9
  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
6
10
 
@@ -60,4 +64,4 @@ rendering chunks...
60
64
  dist/env.js 0.00 kB
61
65
  dist/provider.js 0.00 kB
62
66
  dist/index.js 0.04 kB
63
- ✓ built in 130ms
67
+ ✓ built in 134ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # @prosopo/types-env
2
2
 
3
+ ## 2.7.59
4
+ ### Patch Changes
5
+
6
+ - 0a38892: feat/cross-os-testing
7
+ - a8faa9a: bump license year
8
+ - 3acc333: Release 3.3.0
9
+ - Updated dependencies [3acc333]
10
+ - Updated dependencies [3acc333]
11
+ - Updated dependencies [3acc333]
12
+ - Updated dependencies [0a38892]
13
+ - Updated dependencies [1ee3d80]
14
+ - Updated dependencies [a8faa9a]
15
+ - Updated dependencies [7543d17]
16
+ - Updated dependencies [fe9fe22]
17
+ - Updated dependencies [3acc333]
18
+ - @prosopo/types-database@4.1.5
19
+ - @prosopo/keyring@2.9.0
20
+ - @prosopo/types@3.8.0
21
+ - @prosopo/common@3.1.28
22
+
23
+ ## 2.7.58
24
+ ### Patch Changes
25
+
26
+ - @prosopo/types-database@4.1.4
27
+
28
+ ## 2.7.57
29
+ ### Patch Changes
30
+
31
+ - @prosopo/types-database@4.1.3
32
+
33
+ ## 2.7.56
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [141e462]
37
+ - @prosopo/types@3.7.2
38
+ - @prosopo/keyring@2.8.43
39
+ - @prosopo/types-database@4.1.2
40
+
41
+ ## 2.7.55
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [345b25b]
45
+ - @prosopo/types-database@4.1.1
46
+ - @prosopo/types@3.7.1
47
+ - @prosopo/keyring@2.8.42
48
+
49
+ ## 2.7.54
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [ce70a2b]
53
+ - Updated dependencies [c2b940f]
54
+ - Updated dependencies [f6b5094]
55
+ - @prosopo/types@3.7.0
56
+ - @prosopo/types-database@4.1.0
57
+ - @prosopo/common@3.1.27
58
+ - @prosopo/keyring@2.8.41
59
+
3
60
  ## 2.7.53
4
61
  ### Patch Changes
5
62
 
package/dist/env.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ import type { Logger } from "@prosopo/common";
2
+ import type { Keyring } from "@prosopo/keyring";
3
+ import type { KeyringPair } from "@prosopo/types";
4
+ import type { AssetsResolver, EnvironmentTypes } from "@prosopo/types";
5
+ import type { ProsopoBasicConfigOutput } from "@prosopo/types";
6
+ import type { IProviderDatabase } from "@prosopo/types-database";
7
+ export interface ProsopoEnvironment {
8
+ config: ProsopoBasicConfigOutput;
9
+ db: IProviderDatabase | undefined;
10
+ defaultEnvironment: EnvironmentTypes;
11
+ logger: Logger;
12
+ assetsResolver: AssetsResolver | undefined;
13
+ keyring: Keyring;
14
+ pair: KeyringPair | undefined;
15
+ authAccount: KeyringPair | undefined;
16
+ getDb(): IProviderDatabase;
17
+ isReady(): Promise<void>;
18
+ importDatabase(): Promise<void>;
19
+ }
20
+ //# sourceMappingURL=env.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.js","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./env.js";
2
+ export * from "./provider.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ProsopoConfigOutput } from "@prosopo/types";
2
+ import type { ProsopoEnvironment } from "./env.js";
3
+ export interface ProviderEnvironment extends ProsopoEnvironment {
4
+ config: ProsopoConfigOutput;
5
+ }
6
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC9D,MAAM,EAAE,mBAAmB,CAAC;CAC5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/types-env",
3
- "version": "2.7.53",
3
+ "version": "2.7.59",
4
4
  "description": "Types for prosopo environment",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,8 @@
18
18
  },
19
19
  "scripts": {
20
20
  "clean": "del-cli --verbose dist tsconfig.tsbuildinfo",
21
- "build": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
21
+ "build": "npm run build:cross-env -- --mode ${NODE_ENV:-development}",
22
+ "build:cross-env": "vite build --config vite.esm.config.ts",
22
23
  "build:tsc": "tsc --build --verbose",
23
24
  "build:cjs": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV",
24
25
  "typecheck": "tsc --project tsconfig.types.json"
@@ -34,13 +35,13 @@
34
35
  },
35
36
  "homepage": "https://github.com/prosopo/captcha#readme",
36
37
  "dependencies": {
37
- "@prosopo/common": "3.1.26",
38
- "@prosopo/keyring": "2.8.40",
39
- "@prosopo/types": "3.6.4",
40
- "@prosopo/types-database": "4.0.6"
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"
41
42
  },
42
43
  "devDependencies": {
43
- "@prosopo/config": "3.1.26",
44
+ "@prosopo/config": "3.3.0",
44
45
  "@types/node": "22.10.2",
45
46
  "@vitest/coverage-v8": "3.2.4",
46
47
  "concurrently": "9.0.1",
@@ -1,5 +1,5 @@
1
1
  import path from "node:path";
2
- // Copyright 2021-2025 Prosopo (UK) Ltd.
2
+ // Copyright 2021-2026 Prosopo (UK) Ltd.
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2021-2025 Prosopo (UK) Ltd.
1
+ // Copyright 2021-2026 Prosopo (UK) Ltd.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.