@contractspec/example.locale-jurisdiction-gate 1.58.0 → 1.60.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.
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=15
6
- Bundled 15 modules in 32ms
6
+ Bundled 15 modules in 11ms
7
7
 
8
8
  docs/index.js 1.63 KB (entry point)
9
9
  ./index.js 18.37 KB (entry point)
@@ -22,7 +22,7 @@ Bundled 15 modules in 32ms
22
22
  policy/guard.js 2.0 KB (entry point)
23
23
 
24
24
  [contractspec-bun-build] transpile target=node root=src entries=15
25
- Bundled 15 modules in 37ms
25
+ Bundled 15 modules in 23ms
26
26
 
27
27
  docs/index.js 1.62 KB (entry point)
28
28
  ./index.js 18.36 KB (entry point)
@@ -41,7 +41,7 @@ Bundled 15 modules in 37ms
41
41
  policy/guard.js 2.0 KB (entry point)
42
42
 
43
43
  [contractspec-bun-build] transpile target=browser root=src entries=15
44
- Bundled 15 modules in 30ms
44
+ Bundled 15 modules in 28ms
45
45
 
46
46
  docs/index.js 1.62 KB (entry point)
47
47
  ./index.js 18.36 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @contractspec/example.locale-jurisdiction-gate
2
2
 
3
+ ## 1.60.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fix: publish with bun
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @contractspec/lib.contracts@1.60.0
13
+ - @contractspec/lib.schema@1.60.0
14
+
15
+ ## 1.59.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 1a0cf44: fix: publishConfig not supported by bun
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [1a0cf44]
24
+ - @contractspec/lib.contracts@1.59.0
25
+ - @contractspec/lib.schema@1.59.0
26
+
3
27
  ## 1.58.0
4
28
 
5
29
  ### Minor Changes
package/package.json CHANGED
@@ -1,30 +1,150 @@
1
1
  {
2
2
  "name": "@contractspec/example.locale-jurisdiction-gate",
3
- "version": "1.58.0",
3
+ "version": "1.60.0",
4
4
  "description": "Example: enforce locale + jurisdiction + kbSnapshotId + allowed scope for assistant calls (fail-closed).",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
- ".": "./src/index.ts",
9
- "./docs": "./src/docs/index.ts",
10
- "./docs/index": "./src/docs/index.ts",
11
- "./docs/locale-jurisdiction-gate.docblock": "./src/docs/locale-jurisdiction-gate.docblock.ts",
12
- "./entities": "./src/entities/index.ts",
13
- "./entities/index": "./src/entities/index.ts",
14
- "./entities/models": "./src/entities/models.ts",
15
- "./events": "./src/events.ts",
16
- "./example": "./src/example.ts",
17
- "./handlers": "./src/handlers/index.ts",
18
- "./handlers/demo.handlers": "./src/handlers/demo.handlers.ts",
19
- "./handlers/index": "./src/handlers/index.ts",
20
- "./locale-jurisdiction-gate.feature": "./src/locale-jurisdiction-gate.feature.ts",
21
- "./operations": "./src/operations/index.ts",
22
- "./operations/assistant": "./src/operations/assistant.ts",
23
- "./operations/index": "./src/operations/index.ts",
24
- "./policy": "./src/policy/index.ts",
25
- "./policy/guard": "./src/policy/guard.ts",
26
- "./policy/index": "./src/policy/index.ts",
27
- "./policy/types": "./src/policy/types.ts"
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "bun": "./dist/index.js",
11
+ "node": "./dist/node/index.mjs",
12
+ "browser": "./dist/browser/index.js",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./docs": {
16
+ "types": "./dist/docs/index.d.ts",
17
+ "bun": "./dist/docs/index.js",
18
+ "node": "./dist/node/docs/index.mjs",
19
+ "browser": "./dist/browser/docs/index.js",
20
+ "default": "./dist/docs/index.js"
21
+ },
22
+ "./docs/index": {
23
+ "types": "./dist/docs/index.d.ts",
24
+ "bun": "./dist/docs/index.js",
25
+ "node": "./dist/node/docs/index.mjs",
26
+ "browser": "./dist/browser/docs/index.js",
27
+ "default": "./dist/docs/index.js"
28
+ },
29
+ "./docs/locale-jurisdiction-gate.docblock": {
30
+ "types": "./dist/docs/locale-jurisdiction-gate.docblock.d.ts",
31
+ "bun": "./dist/docs/locale-jurisdiction-gate.docblock.js",
32
+ "node": "./dist/node/docs/locale-jurisdiction-gate.docblock.mjs",
33
+ "browser": "./dist/browser/docs/locale-jurisdiction-gate.docblock.js",
34
+ "default": "./dist/docs/locale-jurisdiction-gate.docblock.js"
35
+ },
36
+ "./entities": {
37
+ "types": "./dist/entities/index.d.ts",
38
+ "bun": "./dist/entities/index.js",
39
+ "node": "./dist/node/entities/index.mjs",
40
+ "browser": "./dist/browser/entities/index.js",
41
+ "default": "./dist/entities/index.js"
42
+ },
43
+ "./entities/index": {
44
+ "types": "./dist/entities/index.d.ts",
45
+ "bun": "./dist/entities/index.js",
46
+ "node": "./dist/node/entities/index.mjs",
47
+ "browser": "./dist/browser/entities/index.js",
48
+ "default": "./dist/entities/index.js"
49
+ },
50
+ "./entities/models": {
51
+ "types": "./dist/entities/models.d.ts",
52
+ "bun": "./dist/entities/models.js",
53
+ "node": "./dist/node/entities/models.mjs",
54
+ "browser": "./dist/browser/entities/models.js",
55
+ "default": "./dist/entities/models.js"
56
+ },
57
+ "./events": {
58
+ "types": "./dist/events.d.ts",
59
+ "bun": "./dist/events.js",
60
+ "node": "./dist/node/events.mjs",
61
+ "browser": "./dist/browser/events.js",
62
+ "default": "./dist/events.js"
63
+ },
64
+ "./example": {
65
+ "types": "./dist/example.d.ts",
66
+ "bun": "./dist/example.js",
67
+ "node": "./dist/node/example.mjs",
68
+ "browser": "./dist/browser/example.js",
69
+ "default": "./dist/example.js"
70
+ },
71
+ "./handlers": {
72
+ "types": "./dist/handlers/index.d.ts",
73
+ "bun": "./dist/handlers/index.js",
74
+ "node": "./dist/node/handlers/index.mjs",
75
+ "browser": "./dist/browser/handlers/index.js",
76
+ "default": "./dist/handlers/index.js"
77
+ },
78
+ "./handlers/demo.handlers": {
79
+ "types": "./dist/handlers/demo.handlers.d.ts",
80
+ "bun": "./dist/handlers/demo.handlers.js",
81
+ "node": "./dist/node/handlers/demo.handlers.mjs",
82
+ "browser": "./dist/browser/handlers/demo.handlers.js",
83
+ "default": "./dist/handlers/demo.handlers.js"
84
+ },
85
+ "./handlers/index": {
86
+ "types": "./dist/handlers/index.d.ts",
87
+ "bun": "./dist/handlers/index.js",
88
+ "node": "./dist/node/handlers/index.mjs",
89
+ "browser": "./dist/browser/handlers/index.js",
90
+ "default": "./dist/handlers/index.js"
91
+ },
92
+ "./locale-jurisdiction-gate.feature": {
93
+ "types": "./dist/locale-jurisdiction-gate.feature.d.ts",
94
+ "bun": "./dist/locale-jurisdiction-gate.feature.js",
95
+ "node": "./dist/node/locale-jurisdiction-gate.feature.mjs",
96
+ "browser": "./dist/browser/locale-jurisdiction-gate.feature.js",
97
+ "default": "./dist/locale-jurisdiction-gate.feature.js"
98
+ },
99
+ "./operations": {
100
+ "types": "./dist/operations/index.d.ts",
101
+ "bun": "./dist/operations/index.js",
102
+ "node": "./dist/node/operations/index.mjs",
103
+ "browser": "./dist/browser/operations/index.js",
104
+ "default": "./dist/operations/index.js"
105
+ },
106
+ "./operations/assistant": {
107
+ "types": "./dist/operations/assistant.d.ts",
108
+ "bun": "./dist/operations/assistant.js",
109
+ "node": "./dist/node/operations/assistant.mjs",
110
+ "browser": "./dist/browser/operations/assistant.js",
111
+ "default": "./dist/operations/assistant.js"
112
+ },
113
+ "./operations/index": {
114
+ "types": "./dist/operations/index.d.ts",
115
+ "bun": "./dist/operations/index.js",
116
+ "node": "./dist/node/operations/index.mjs",
117
+ "browser": "./dist/browser/operations/index.js",
118
+ "default": "./dist/operations/index.js"
119
+ },
120
+ "./policy": {
121
+ "types": "./dist/policy/index.d.ts",
122
+ "bun": "./dist/policy/index.js",
123
+ "node": "./dist/node/policy/index.mjs",
124
+ "browser": "./dist/browser/policy/index.js",
125
+ "default": "./dist/policy/index.js"
126
+ },
127
+ "./policy/guard": {
128
+ "types": "./dist/policy/guard.d.ts",
129
+ "bun": "./dist/policy/guard.js",
130
+ "node": "./dist/node/policy/guard.mjs",
131
+ "browser": "./dist/browser/policy/guard.js",
132
+ "default": "./dist/policy/guard.js"
133
+ },
134
+ "./policy/index": {
135
+ "types": "./dist/policy/index.d.ts",
136
+ "bun": "./dist/policy/index.js",
137
+ "node": "./dist/node/policy/index.mjs",
138
+ "browser": "./dist/browser/policy/index.js",
139
+ "default": "./dist/policy/index.js"
140
+ },
141
+ "./policy/types": {
142
+ "types": "./dist/policy/types.d.ts",
143
+ "bun": "./dist/policy/types.js",
144
+ "node": "./dist/node/policy/types.mjs",
145
+ "browser": "./dist/browser/policy/types.js",
146
+ "default": "./dist/policy/types.js"
147
+ }
28
148
  },
29
149
  "scripts": {
30
150
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
@@ -42,13 +162,13 @@
42
162
  "typecheck": "tsc --noEmit"
43
163
  },
44
164
  "dependencies": {
45
- "@contractspec/lib.contracts": "1.58.0",
46
- "@contractspec/lib.schema": "1.58.0"
165
+ "@contractspec/lib.contracts": "1.60.0",
166
+ "@contractspec/lib.schema": "1.60.0"
47
167
  },
48
168
  "devDependencies": {
49
- "@contractspec/tool.typescript": "1.58.0",
169
+ "@contractspec/tool.typescript": "1.60.0",
50
170
  "typescript": "^5.9.3",
51
- "@contractspec/tool.bun": "1.57.0"
171
+ "@contractspec/tool.bun": "1.59.0"
52
172
  },
53
173
  "publishConfig": {
54
174
  "access": "public",