@contractspec/example.personalization 3.2.0 → 3.4.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.
- package/.turbo/turbo-build.log +42 -38
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +31 -0
- package/dist/browser/index.js +22 -1
- package/dist/browser/personalization.feature.js +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +22 -1
- package/dist/node/index.js +22 -1
- package/dist/node/personalization.feature.js +22 -0
- package/dist/personalization.feature.d.ts +1 -0
- package/dist/personalization.feature.js +23 -0
- package/package.json +22 -8
- package/src/index.ts +1 -0
- package/src/personalization.feature.ts +22 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
./
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
./
|
|
14
|
-
./
|
|
15
|
-
|
|
16
|
-
[
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
./
|
|
26
|
-
|
|
27
|
-
[
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
./
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=8
|
|
7
|
+
[32mBundled 8 modules in 12ms[0m
|
|
8
|
+
|
|
9
|
+
[34m./behavior-tracking.js[0m 1.33 KB [2m(entry point)[0m
|
|
10
|
+
[34m./index.js[0m 7.61 KB [2m(entry point)[0m
|
|
11
|
+
[34mdocs/index.js[0m 1.48 KB [2m(entry point)[0m
|
|
12
|
+
[34mdocs/personalization.docblock.js[0m 1.48 KB [2m(entry point)[0m
|
|
13
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
14
|
+
[34m./overlay-customization.js[0m 1.53 KB [2m(entry point)[0m
|
|
15
|
+
[34m./personalization.feature.js[0m 0.71 KB [2m(entry point)[0m
|
|
16
|
+
[34m./workflow-extension.js[0m 1.59 KB [2m(entry point)[0m
|
|
17
|
+
|
|
18
|
+
[contractspec-bun-build] transpile target=node root=src entries=8
|
|
19
|
+
[32mBundled 8 modules in 7ms[0m
|
|
20
|
+
|
|
21
|
+
[34m./behavior-tracking.js[0m 1.32 KB [2m(entry point)[0m
|
|
22
|
+
[34m./index.js[0m 7.60 KB [2m(entry point)[0m
|
|
23
|
+
[34mdocs/index.js[0m 1.47 KB [2m(entry point)[0m
|
|
24
|
+
[34mdocs/personalization.docblock.js[0m 1.47 KB [2m(entry point)[0m
|
|
25
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
26
|
+
[34m./overlay-customization.js[0m 1.53 KB [2m(entry point)[0m
|
|
27
|
+
[34m./personalization.feature.js[0m 0.70 KB [2m(entry point)[0m
|
|
28
|
+
[34m./workflow-extension.js[0m 1.58 KB [2m(entry point)[0m
|
|
29
|
+
|
|
30
|
+
[contractspec-bun-build] transpile target=browser root=src entries=8
|
|
31
|
+
[32mBundled 8 modules in 13ms[0m
|
|
32
|
+
|
|
33
|
+
[34m./behavior-tracking.js[0m 1.32 KB [2m(entry point)[0m
|
|
34
|
+
[34m./index.js[0m 7.60 KB [2m(entry point)[0m
|
|
35
|
+
[34mdocs/index.js[0m 1.47 KB [2m(entry point)[0m
|
|
36
|
+
[34mdocs/personalization.docblock.js[0m 1.47 KB [2m(entry point)[0m
|
|
37
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
38
|
+
[34m./overlay-customization.js[0m 1.53 KB [2m(entry point)[0m
|
|
39
|
+
[34m./personalization.feature.js[0m 0.70 KB [2m(entry point)[0m
|
|
40
|
+
[34m./workflow-extension.js[0m 1.58 KB [2m(entry point)[0m
|
|
41
|
+
|
|
42
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @contractspec/example.personalization
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0ee467a: feat: improve ai and customization
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [0ee467a]
|
|
12
|
+
- Updated dependencies [56ee8e6]
|
|
13
|
+
- @contractspec/lib.workflow-composer@3.4.0
|
|
14
|
+
- @contractspec/lib.personalization@3.4.0
|
|
15
|
+
- @contractspec/lib.contracts-spec@3.4.0
|
|
16
|
+
- @contractspec/lib.overlay-engine@3.4.0
|
|
17
|
+
- @contractspec/lib.logger@3.4.0
|
|
18
|
+
|
|
19
|
+
## 3.3.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- 890a0da: fix: stability improvements
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [890a0da]
|
|
28
|
+
- @contractspec/lib.workflow-composer@3.3.0
|
|
29
|
+
- @contractspec/lib.personalization@3.3.0
|
|
30
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
31
|
+
- @contractspec/lib.overlay-engine@3.3.0
|
|
32
|
+
- @contractspec/lib.logger@3.3.0
|
|
33
|
+
|
|
3
34
|
## 3.2.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/dist/browser/index.js
CHANGED
|
@@ -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
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
|
};
|
package/dist/node/index.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "3.4.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.
|
|
82
|
-
"@contractspec/lib.overlay-engine": "3.
|
|
83
|
-
"@contractspec/lib.workflow-composer": "3.
|
|
84
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
85
|
-
"@contractspec/lib.logger": "3.
|
|
88
|
+
"@contractspec/lib.personalization": "3.4.0",
|
|
89
|
+
"@contractspec/lib.overlay-engine": "3.4.0",
|
|
90
|
+
"@contractspec/lib.workflow-composer": "3.4.0",
|
|
91
|
+
"@contractspec/lib.contracts-spec": "3.4.0",
|
|
92
|
+
"@contractspec/lib.logger": "3.4.0"
|
|
86
93
|
},
|
|
87
94
|
"devDependencies": {
|
|
88
|
-
"@contractspec/tool.typescript": "3.
|
|
95
|
+
"@contractspec/tool.typescript": "3.4.0",
|
|
89
96
|
"typescript": "^5.9.3",
|
|
90
|
-
"@contractspec/tool.bun": "3.
|
|
97
|
+
"@contractspec/tool.bun": "3.4.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
|
@@ -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
|
+
});
|