@lssm/example.personalization 0.0.0-canary-20251213172311 → 0.0.0-canary-20251215220103

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.
@@ -1,6 +1,6 @@
1
1
  $ bun build:bundle && bun build:types
2
2
  $ tsdown
3
- ℹ tsdown v0.17.0 powered by rolldown v1.0.0-beta.53
3
+ ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
4
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/personalization/tsdown.config.js
5
5
  ℹ entry: src/behavior-tracking.ts, src/example.ts, src/index.ts, src/overlay-customization.ts, src/workflow-extension.ts, src/docs/index.ts, src/docs/personalization.docblock.ts
6
6
  ℹ target: esnext
@@ -14,5 +14,5 @@ $ tsdown
14
14
  ℹ dist/index.js 0.45 kB │ gzip: 0.21 kB
15
15
  ℹ dist/docs/index.js 0.04 kB │ gzip: 0.06 kB
16
16
  ℹ 7 files, total: 5.51 kB
17
- ✔ Build complete in 37ms
17
+ ✔ Build complete in 44ms
18
18
  $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @lssm/example.personalization
2
2
 
3
- ## 0.0.0-canary-20251213172311
3
+ ## 0.0.0-canary-20251215220103
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [3086383]
8
- - @lssm/lib.workflow-composer@0.0.0-canary-20251213172311
9
- - @lssm/lib.personalization@0.0.0-canary-20251213172311
10
- - @lssm/lib.overlay-engine@0.0.0-canary-20251213172311
11
- - @lssm/lib.contracts@0.0.0-canary-20251213172311
12
- - @lssm/lib.logger@0.0.0-canary-20251213172311
8
+ - @lssm/lib.workflow-composer@0.0.0-canary-20251215220103
9
+ - @lssm/lib.personalization@0.0.0-canary-20251215220103
10
+ - @lssm/lib.overlay-engine@0.0.0-canary-20251215220103
11
+ - @lssm/lib.contracts@0.0.0-canary-20251215220103
12
+ - @lssm/lib.logger@0.0.0-canary-20251215220103
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.personalization",
3
- "version": "0.0.0-canary-20251213172311",
3
+ "version": "0.0.0-canary-20251215220103",
4
4
  "description": "Personalization examples: behavior tracking, overlay customization, workflow extension.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "devDependencies": {
37
37
  "@lssm/tool.tsdown": "workspace:*",
38
38
  "@lssm/tool.typescript": "workspace:*",
39
- "tsdown": "^0.17.0",
39
+ "tsdown": "^0.17.4",
40
40
  "typescript": "^5.9.3"
41
41
  },
42
42
  "publishConfig": {
@@ -36,9 +36,10 @@ export async function runBehaviorTrackingExample(): Promise<void> {
36
36
  await tracker.flush();
37
37
 
38
38
  const analyzer = new BehaviorAnalyzer(store);
39
- const insights = await analyzer.analyze({ tenantId: 'acme', userId: 'user-123' });
39
+ const insights = await analyzer.analyze({
40
+ tenantId: 'acme',
41
+ userId: 'user-123',
42
+ });
40
43
 
41
44
  logger.info('Behavior insights computed', { insights });
42
45
  }
43
-
44
-
package/src/docs/index.ts CHANGED
@@ -1,3 +1 @@
1
1
  import './personalization.docblock';
2
-
3
-
package/src/example.ts CHANGED
@@ -23,5 +23,3 @@ const example = {
23
23
  } as const;
24
24
 
25
25
  export default example;
26
-
27
-
package/src/index.ts CHANGED
@@ -3,5 +3,3 @@ export * from './overlay-customization';
3
3
  export * from './workflow-extension';
4
4
  export { default as example } from './example';
5
5
  import './docs';
6
-
7
-
@@ -36,7 +36,11 @@ export async function runOverlayCustomizationExample(): Promise<void> {
36
36
  const result = engine.apply({
37
37
  target: {
38
38
  fields: [
39
- { key: 'customerReference', label: 'Customer Reference', visible: true },
39
+ {
40
+ key: 'customerReference',
41
+ label: 'Customer Reference',
42
+ visible: true,
43
+ },
40
44
  { key: 'internalNotes', label: 'Internal Notes', visible: true },
41
45
  ],
42
46
  },
@@ -46,5 +50,3 @@ export async function runOverlayCustomizationExample(): Promise<void> {
46
50
 
47
51
  logger.info('Overlay applied', { fields: result.target.fields });
48
52
  }
49
-
50
-
@@ -58,5 +58,3 @@ export function logTenantWorkflowSteps(workflow: WorkflowSpec): void {
58
58
  steps: workflow.definition.steps.map((step) => step.id),
59
59
  });
60
60
  }
61
-
62
-