@contractspec/example.personalization 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.
@@ -2,37 +2,40 @@ $ contractspec-bun-build prebuild
2
2
  $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=7
6
- Bundled 7 modules in 13ms
5
+ [contractspec-bun-build] transpile target=bun root=src entries=8
6
+ Bundled 8 modules in 42ms
7
7
 
8
8
  ./behavior-tracking.js 1.33 KB (entry point)
9
- ./index.js 6.92 KB (entry point)
9
+ ./index.js 7.61 KB (entry point)
10
10
  docs/index.js 1.48 KB (entry point)
11
11
  docs/personalization.docblock.js 1.48 KB (entry point)
12
12
  ./example.js 0.99 KB (entry point)
13
13
  ./overlay-customization.js 1.53 KB (entry point)
14
+ ./personalization.feature.js 0.71 KB (entry point)
14
15
  ./workflow-extension.js 1.59 KB (entry point)
15
16
 
16
- [contractspec-bun-build] transpile target=node root=src entries=7
17
- Bundled 7 modules in 15ms
17
+ [contractspec-bun-build] transpile target=node root=src entries=8
18
+ Bundled 8 modules in 40ms
18
19
 
19
20
  ./behavior-tracking.js 1.32 KB (entry point)
20
- ./index.js 6.90 KB (entry point)
21
+ ./index.js 7.60 KB (entry point)
21
22
  docs/index.js 1.47 KB (entry point)
22
23
  docs/personalization.docblock.js 1.47 KB (entry point)
23
24
  ./example.js 0.99 KB (entry point)
24
25
  ./overlay-customization.js 1.53 KB (entry point)
26
+ ./personalization.feature.js 0.70 KB (entry point)
25
27
  ./workflow-extension.js 1.58 KB (entry point)
26
28
 
27
- [contractspec-bun-build] transpile target=browser root=src entries=7
28
- Bundled 7 modules in 13ms
29
+ [contractspec-bun-build] transpile target=browser root=src entries=8
30
+ Bundled 8 modules in 52ms
29
31
 
30
32
  ./behavior-tracking.js 1.32 KB (entry point)
31
- ./index.js 6.90 KB (entry point)
33
+ ./index.js 7.60 KB (entry point)
32
34
  docs/index.js 1.47 KB (entry point)
33
35
  docs/personalization.docblock.js 1.47 KB (entry point)
34
36
  ./example.js 0.99 KB (entry point)
35
37
  ./overlay-customization.js 1.53 KB (entry point)
38
+ ./personalization.feature.js 0.70 KB (entry point)
36
39
  ./workflow-extension.js 1.58 KB (entry point)
37
40
 
38
41
  $ contractspec-bun-build types
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @contractspec/example.personalization
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.workflow-composer@3.3.0
13
+ - @contractspec/lib.personalization@3.3.0
14
+ - @contractspec/lib.contracts-spec@3.3.0
15
+ - @contractspec/lib.overlay-engine@3.3.0
16
+ - @contractspec/lib.logger@3.3.0
17
+
18
+ ## 3.2.0
19
+
20
+ ### Minor Changes
21
+
22
+ - a281fc5: fix: missing dependencies
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [a281fc5]
27
+ - @contractspec/lib.workflow-composer@3.2.0
28
+ - @contractspec/lib.personalization@3.2.0
29
+ - @contractspec/lib.contracts-spec@3.2.0
30
+ - @contractspec/lib.overlay-engine@3.2.0
31
+ - @contractspec/lib.logger@3.2.0
32
+
3
33
  ## 3.1.1
4
34
 
5
35
  ### Patch Changes
@@ -218,10 +218,31 @@ function logTenantWorkflowSteps(workflow) {
218
218
  steps: workflow.definition.steps.map((step) => step.id)
219
219
  });
220
220
  }
221
+
222
+ // src/personalization.feature.ts
223
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
224
+ var PersonalizationFeature = defineFeature({
225
+ meta: {
226
+ key: "personalization",
227
+ version: "1.0.0",
228
+ title: "Personalization Patterns",
229
+ description: "Behavior tracking, overlay customization, and workflow extension patterns",
230
+ domain: "personalization",
231
+ owners: ["@examples"],
232
+ tags: ["personalization", "behavior", "overlay", "workflow"],
233
+ stability: "experimental"
234
+ },
235
+ telemetry: [{ key: "personalization.telemetry", version: "1.0.0" }],
236
+ docs: [
237
+ "docs.examples.personalization",
238
+ "docs.examples.personalization.usage"
239
+ ]
240
+ });
221
241
  export {
222
242
  runOverlayCustomizationExample,
223
243
  runBehaviorTrackingExample,
224
244
  logTenantWorkflowSteps,
225
245
  example_default as example,
226
- composeTenantWorkflowExample
246
+ composeTenantWorkflowExample,
247
+ PersonalizationFeature
227
248
  };
@@ -0,0 +1,22 @@
1
+ // src/personalization.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var PersonalizationFeature = defineFeature({
4
+ meta: {
5
+ key: "personalization",
6
+ version: "1.0.0",
7
+ title: "Personalization Patterns",
8
+ description: "Behavior tracking, overlay customization, and workflow extension patterns",
9
+ domain: "personalization",
10
+ owners: ["@examples"],
11
+ tags: ["personalization", "behavior", "overlay", "workflow"],
12
+ stability: "experimental"
13
+ },
14
+ telemetry: [{ key: "personalization.telemetry", version: "1.0.0" }],
15
+ docs: [
16
+ "docs.examples.personalization",
17
+ "docs.examples.personalization.usage"
18
+ ]
19
+ });
20
+ export {
21
+ PersonalizationFeature
22
+ };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './behavior-tracking';
2
2
  export * from './overlay-customization';
3
3
  export * from './workflow-extension';
4
+ export * from './personalization.feature';
4
5
  export { default as example } from './example';
5
6
  import './docs';
package/dist/index.js CHANGED
@@ -219,10 +219,31 @@ function logTenantWorkflowSteps(workflow) {
219
219
  steps: workflow.definition.steps.map((step) => step.id)
220
220
  });
221
221
  }
222
+
223
+ // src/personalization.feature.ts
224
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
225
+ var PersonalizationFeature = defineFeature({
226
+ meta: {
227
+ key: "personalization",
228
+ version: "1.0.0",
229
+ title: "Personalization Patterns",
230
+ description: "Behavior tracking, overlay customization, and workflow extension patterns",
231
+ domain: "personalization",
232
+ owners: ["@examples"],
233
+ tags: ["personalization", "behavior", "overlay", "workflow"],
234
+ stability: "experimental"
235
+ },
236
+ telemetry: [{ key: "personalization.telemetry", version: "1.0.0" }],
237
+ docs: [
238
+ "docs.examples.personalization",
239
+ "docs.examples.personalization.usage"
240
+ ]
241
+ });
222
242
  export {
223
243
  runOverlayCustomizationExample,
224
244
  runBehaviorTrackingExample,
225
245
  logTenantWorkflowSteps,
226
246
  example_default as example,
227
- composeTenantWorkflowExample
247
+ composeTenantWorkflowExample,
248
+ PersonalizationFeature
228
249
  };
@@ -218,10 +218,31 @@ function logTenantWorkflowSteps(workflow) {
218
218
  steps: workflow.definition.steps.map((step) => step.id)
219
219
  });
220
220
  }
221
+
222
+ // src/personalization.feature.ts
223
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
224
+ var PersonalizationFeature = defineFeature({
225
+ meta: {
226
+ key: "personalization",
227
+ version: "1.0.0",
228
+ title: "Personalization Patterns",
229
+ description: "Behavior tracking, overlay customization, and workflow extension patterns",
230
+ domain: "personalization",
231
+ owners: ["@examples"],
232
+ tags: ["personalization", "behavior", "overlay", "workflow"],
233
+ stability: "experimental"
234
+ },
235
+ telemetry: [{ key: "personalization.telemetry", version: "1.0.0" }],
236
+ docs: [
237
+ "docs.examples.personalization",
238
+ "docs.examples.personalization.usage"
239
+ ]
240
+ });
221
241
  export {
222
242
  runOverlayCustomizationExample,
223
243
  runBehaviorTrackingExample,
224
244
  logTenantWorkflowSteps,
225
245
  example_default as example,
226
- composeTenantWorkflowExample
246
+ composeTenantWorkflowExample,
247
+ PersonalizationFeature
227
248
  };
@@ -0,0 +1,22 @@
1
+ // src/personalization.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var PersonalizationFeature = defineFeature({
4
+ meta: {
5
+ key: "personalization",
6
+ version: "1.0.0",
7
+ title: "Personalization Patterns",
8
+ description: "Behavior tracking, overlay customization, and workflow extension patterns",
9
+ domain: "personalization",
10
+ owners: ["@examples"],
11
+ tags: ["personalization", "behavior", "overlay", "workflow"],
12
+ stability: "experimental"
13
+ },
14
+ telemetry: [{ key: "personalization.telemetry", version: "1.0.0" }],
15
+ docs: [
16
+ "docs.examples.personalization",
17
+ "docs.examples.personalization.usage"
18
+ ]
19
+ });
20
+ export {
21
+ PersonalizationFeature
22
+ };
@@ -0,0 +1 @@
1
+ export declare const PersonalizationFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
@@ -0,0 +1,23 @@
1
+ // @bun
2
+ // src/personalization.feature.ts
3
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
4
+ var PersonalizationFeature = defineFeature({
5
+ meta: {
6
+ key: "personalization",
7
+ version: "1.0.0",
8
+ title: "Personalization Patterns",
9
+ description: "Behavior tracking, overlay customization, and workflow extension patterns",
10
+ domain: "personalization",
11
+ owners: ["@examples"],
12
+ tags: ["personalization", "behavior", "overlay", "workflow"],
13
+ stability: "experimental"
14
+ },
15
+ telemetry: [{ key: "personalization.telemetry", version: "1.0.0" }],
16
+ docs: [
17
+ "docs.examples.personalization",
18
+ "docs.examples.personalization.usage"
19
+ ]
20
+ });
21
+ export {
22
+ PersonalizationFeature
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.personalization",
3
- "version": "3.1.1",
3
+ "version": "3.3.0",
4
4
  "description": "Personalization examples: behavior tracking, overlay customization, workflow extension.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -54,6 +54,13 @@
54
54
  "browser": "./dist/browser/overlay-customization.js",
55
55
  "default": "./dist/overlay-customization.js"
56
56
  },
57
+ "./personalization.feature": {
58
+ "types": "./dist/personalization.feature.d.ts",
59
+ "bun": "./dist/personalization.feature.js",
60
+ "node": "./dist/node/personalization.feature.js",
61
+ "browser": "./dist/browser/personalization.feature.js",
62
+ "default": "./dist/personalization.feature.js"
63
+ },
57
64
  "./workflow-extension": {
58
65
  "types": "./dist/workflow-extension.d.ts",
59
66
  "bun": "./dist/workflow-extension.js",
@@ -78,16 +85,16 @@
78
85
  "typecheck": "tsc --noEmit"
79
86
  },
80
87
  "dependencies": {
81
- "@contractspec/lib.personalization": "3.1.1",
82
- "@contractspec/lib.overlay-engine": "3.1.1",
83
- "@contractspec/lib.workflow-composer": "3.1.1",
84
- "@contractspec/lib.contracts-spec": "3.1.1",
85
- "@contractspec/lib.logger": "3.1.0"
88
+ "@contractspec/lib.personalization": "3.3.0",
89
+ "@contractspec/lib.overlay-engine": "3.3.0",
90
+ "@contractspec/lib.workflow-composer": "3.3.0",
91
+ "@contractspec/lib.contracts-spec": "3.3.0",
92
+ "@contractspec/lib.logger": "3.3.0"
86
93
  },
87
94
  "devDependencies": {
88
- "@contractspec/tool.typescript": "3.1.0",
95
+ "@contractspec/tool.typescript": "3.3.0",
89
96
  "typescript": "^5.9.3",
90
- "@contractspec/tool.bun": "3.1.0"
97
+ "@contractspec/tool.bun": "3.3.0"
91
98
  },
92
99
  "publishConfig": {
93
100
  "access": "public",
@@ -141,6 +148,13 @@
141
148
  "browser": "./dist/browser/overlay-customization.js",
142
149
  "default": "./dist/overlay-customization.js"
143
150
  },
151
+ "./personalization.feature": {
152
+ "types": "./dist/personalization.feature.d.ts",
153
+ "bun": "./dist/personalization.feature.js",
154
+ "node": "./dist/node/personalization.feature.js",
155
+ "browser": "./dist/browser/personalization.feature.js",
156
+ "default": "./dist/personalization.feature.js"
157
+ },
144
158
  "./workflow-extension": {
145
159
  "types": "./dist/workflow-extension.d.ts",
146
160
  "bun": "./dist/workflow-extension.js",
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './behavior-tracking';
2
2
  export * from './overlay-customization';
3
3
  export * from './workflow-extension';
4
+ export * from './personalization.feature';
4
5
  export { default as example } from './example';
5
6
  import './docs';
@@ -0,0 +1,22 @@
1
+ import { defineFeature } from '@contractspec/lib.contracts-spec';
2
+
3
+ export const PersonalizationFeature = defineFeature({
4
+ meta: {
5
+ key: 'personalization',
6
+ version: '1.0.0',
7
+ title: 'Personalization Patterns',
8
+ description:
9
+ 'Behavior tracking, overlay customization, and workflow extension patterns',
10
+ domain: 'personalization',
11
+ owners: ['@examples'],
12
+ tags: ['personalization', 'behavior', 'overlay', 'workflow'],
13
+ stability: 'experimental',
14
+ },
15
+
16
+ telemetry: [{ key: 'personalization.telemetry', version: '1.0.0' }],
17
+
18
+ docs: [
19
+ 'docs.examples.personalization',
20
+ 'docs.examples.personalization.usage',
21
+ ],
22
+ });