@contractspec/example.locale-jurisdiction-gate 3.1.1 → 3.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.
@@ -3,11 +3,11 @@ $ 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 37ms
6
+ Bundled 15 modules in 28ms
7
7
 
8
8
  docs/index.js 1.64 KB (entry point)
9
- ./index.js 18.39 KB (entry point)
10
- ./locale-jurisdiction-gate.feature.js 1.1 KB (entry point)
9
+ ./index.js 18.69 KB (entry point)
10
+ ./locale-jurisdiction-gate.feature.js 1.38 KB (entry point)
11
11
  operations/index.js 6.95 KB (entry point)
12
12
  operations/assistant.js 6.95 KB (entry point)
13
13
  policy/index.js 2.0 KB (entry point)
@@ -22,11 +22,11 @@ Bundled 15 modules in 37ms
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 22ms
25
+ Bundled 15 modules in 15ms
26
26
 
27
27
  docs/index.js 1.63 KB (entry point)
28
- ./index.js 18.38 KB (entry point)
29
- ./locale-jurisdiction-gate.feature.js 1.1 KB (entry point)
28
+ ./index.js 18.68 KB (entry point)
29
+ ./locale-jurisdiction-gate.feature.js 1.37 KB (entry point)
30
30
  operations/index.js 6.94 KB (entry point)
31
31
  operations/assistant.js 6.94 KB (entry point)
32
32
  policy/index.js 2.0 KB (entry point)
@@ -41,11 +41,11 @@ Bundled 15 modules in 22ms
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 43ms
44
+ Bundled 15 modules in 29ms
45
45
 
46
46
  docs/index.js 1.63 KB (entry point)
47
- ./index.js 18.38 KB (entry point)
48
- ./locale-jurisdiction-gate.feature.js 1.1 KB (entry point)
47
+ ./index.js 18.68 KB (entry point)
48
+ ./locale-jurisdiction-gate.feature.js 1.37 KB (entry point)
49
49
  operations/index.js 6.94 KB (entry point)
50
50
  operations/assistant.js 6.94 KB (entry point)
51
51
  policy/index.js 2.0 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @contractspec/example.locale-jurisdiction-gate
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 890a0da: fix: stability improvements
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [890a0da]
12
+ - @contractspec/lib.contracts-spec@3.3.0
13
+ - @contractspec/lib.schema@3.3.0
14
+
15
+ ## 3.2.0
16
+
17
+ ### Minor Changes
18
+
19
+ - a281fc5: fix: missing dependencies
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [a281fc5]
24
+ - @contractspec/lib.contracts-spec@3.2.0
25
+ - @contractspec/lib.schema@3.2.0
26
+
3
27
  ## 3.1.1
4
28
 
5
29
  ### Patch Changes
@@ -506,7 +506,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
506
506
  presentationsTargets: [],
507
507
  capabilities: {
508
508
  requires: [{ key: "knowledge", version: "1.0.0" }]
509
- }
509
+ },
510
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
511
+ knowledge: [
512
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
513
+ ],
514
+ docs: [
515
+ "docs.examples.locale-jurisdiction-gate.goal",
516
+ "docs.examples.locale-jurisdiction-gate.reference"
517
+ ]
510
518
  });
511
519
  export {
512
520
  validateEnvelope,
@@ -25,7 +25,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
25
25
  presentationsTargets: [],
26
26
  capabilities: {
27
27
  requires: [{ key: "knowledge", version: "1.0.0" }]
28
- }
28
+ },
29
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
30
+ knowledge: [
31
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
32
+ ],
33
+ docs: [
34
+ "docs.examples.locale-jurisdiction-gate.goal",
35
+ "docs.examples.locale-jurisdiction-gate.reference"
36
+ ]
29
37
  });
30
38
  export {
31
39
  LocaleJurisdictionGateFeature
package/dist/index.js CHANGED
@@ -507,7 +507,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
507
507
  presentationsTargets: [],
508
508
  capabilities: {
509
509
  requires: [{ key: "knowledge", version: "1.0.0" }]
510
- }
510
+ },
511
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
512
+ knowledge: [
513
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
514
+ ],
515
+ docs: [
516
+ "docs.examples.locale-jurisdiction-gate.goal",
517
+ "docs.examples.locale-jurisdiction-gate.reference"
518
+ ]
511
519
  });
512
520
  export {
513
521
  validateEnvelope,
@@ -26,7 +26,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
26
26
  presentationsTargets: [],
27
27
  capabilities: {
28
28
  requires: [{ key: "knowledge", version: "1.0.0" }]
29
- }
29
+ },
30
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
31
+ knowledge: [
32
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
33
+ ],
34
+ docs: [
35
+ "docs.examples.locale-jurisdiction-gate.goal",
36
+ "docs.examples.locale-jurisdiction-gate.reference"
37
+ ]
30
38
  });
31
39
  export {
32
40
  LocaleJurisdictionGateFeature
@@ -506,7 +506,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
506
506
  presentationsTargets: [],
507
507
  capabilities: {
508
508
  requires: [{ key: "knowledge", version: "1.0.0" }]
509
- }
509
+ },
510
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
511
+ knowledge: [
512
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
513
+ ],
514
+ docs: [
515
+ "docs.examples.locale-jurisdiction-gate.goal",
516
+ "docs.examples.locale-jurisdiction-gate.reference"
517
+ ]
510
518
  });
511
519
  export {
512
520
  validateEnvelope,
@@ -25,7 +25,15 @@ var LocaleJurisdictionGateFeature = defineFeature({
25
25
  presentationsTargets: [],
26
26
  capabilities: {
27
27
  requires: [{ key: "knowledge", version: "1.0.0" }]
28
- }
28
+ },
29
+ policies: [{ key: "locale-jurisdiction-gate.policy.gate", version: "1.0.0" }],
30
+ knowledge: [
31
+ { key: "locale-jurisdiction-gate.knowledge.rules", version: "1.0.0" }
32
+ ],
33
+ docs: [
34
+ "docs.examples.locale-jurisdiction-gate.goal",
35
+ "docs.examples.locale-jurisdiction-gate.reference"
36
+ ]
29
37
  });
30
38
  export {
31
39
  LocaleJurisdictionGateFeature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.locale-jurisdiction-gate",
3
- "version": "3.1.1",
3
+ "version": "3.3.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",
@@ -162,13 +162,13 @@
162
162
  "typecheck": "tsc --noEmit"
163
163
  },
164
164
  "dependencies": {
165
- "@contractspec/lib.contracts-spec": "3.1.1",
166
- "@contractspec/lib.schema": "3.1.0"
165
+ "@contractspec/lib.contracts-spec": "3.3.0",
166
+ "@contractspec/lib.schema": "3.3.0"
167
167
  },
168
168
  "devDependencies": {
169
- "@contractspec/tool.typescript": "3.1.0",
169
+ "@contractspec/tool.typescript": "3.3.0",
170
170
  "typescript": "^5.9.3",
171
- "@contractspec/tool.bun": "3.1.0"
171
+ "@contractspec/tool.bun": "3.3.0"
172
172
  },
173
173
  "publishConfig": {
174
174
  "access": "public",
@@ -27,4 +27,15 @@ export const LocaleJurisdictionGateFeature = defineFeature({
27
27
  capabilities: {
28
28
  requires: [{ key: 'knowledge', version: '1.0.0' }],
29
29
  },
30
+
31
+ policies: [{ key: 'locale-jurisdiction-gate.policy.gate', version: '1.0.0' }],
32
+
33
+ knowledge: [
34
+ { key: 'locale-jurisdiction-gate.knowledge.rules', version: '1.0.0' },
35
+ ],
36
+
37
+ docs: [
38
+ 'docs.examples.locale-jurisdiction-gate.goal',
39
+ 'docs.examples.locale-jurisdiction-gate.reference',
40
+ ],
30
41
  });