@geonosis/policy 1.0.0 → 1.1.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.
Files changed (1) hide show
  1. package/package.json +18 -5
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@geonosis/policy",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
+ "types": "./dist/index.d.ts",
4
5
  "description": "A threshold is a value plus the authority that set it, the subject it reaches and the reason it exists. The precedence lattice, the rule → config → constant read with its fallback journalled once per boot, the learning loop, the generated policy prose, and a permission lattice with the runtime lifted out.",
5
6
  "keywords": [
6
7
  "policy",
@@ -21,10 +22,22 @@
21
22
  "type": "module",
22
23
  "main": "dist/index.js",
23
24
  "exports": {
24
- ".": "./dist/index.js",
25
- "./permissions": "./dist/permissions/index.js",
26
- "./medusa": "./dist/medusa/index.js",
27
- "./drizzle": "./dist/drizzle/index.js"
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "default": "./dist/index.js"
28
+ },
29
+ "./permissions": {
30
+ "types": "./dist/permissions/index.d.ts",
31
+ "default": "./dist/permissions/index.js"
32
+ },
33
+ "./medusa": {
34
+ "types": "./dist/medusa/index.d.ts",
35
+ "default": "./dist/medusa/index.js"
36
+ },
37
+ "./drizzle": {
38
+ "types": "./dist/drizzle/index.d.ts",
39
+ "default": "./dist/drizzle/index.js"
40
+ }
28
41
  },
29
42
  "files": [
30
43
  "dist"