@contractspec/example.personalization 3.4.2 → 3.5.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 +8 -8
- package/CHANGELOG.md +28 -0
- package/dist/behavior-tracking.js +3 -3
- package/dist/browser/behavior-tracking.js +3 -3
- package/dist/browser/index.js +9 -9
- package/dist/browser/overlay-customization.js +3 -3
- package/dist/browser/workflow-extension.js +3 -3
- package/dist/index.js +9 -9
- package/dist/node/behavior-tracking.js +3 -3
- package/dist/node/index.js +9 -9
- package/dist/node/overlay-customization.js +3 -3
- package/dist/node/workflow-extension.js +3 -3
- package/dist/overlay-customization.js +3 -3
- package/dist/workflow-extension.js +3 -3
- package/package.json +8 -8
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,10 +3,10 @@ $ 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=8
|
|
6
|
-
Bundled 8 modules in
|
|
6
|
+
Bundled 8 modules in 8ms
|
|
7
7
|
|
|
8
8
|
./behavior-tracking.js 1.33 KB (entry point)
|
|
9
|
-
./index.js 7.
|
|
9
|
+
./index.js 7.60 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)
|
|
@@ -15,26 +15,26 @@ Bundled 8 modules in 31ms
|
|
|
15
15
|
./workflow-extension.js 1.59 KB (entry point)
|
|
16
16
|
|
|
17
17
|
[contractspec-bun-build] transpile target=node root=src entries=8
|
|
18
|
-
Bundled 8 modules in
|
|
18
|
+
Bundled 8 modules in 10ms
|
|
19
19
|
|
|
20
20
|
./behavior-tracking.js 1.32 KB (entry point)
|
|
21
|
-
./index.js 7.
|
|
21
|
+
./index.js 7.59 KB (entry point)
|
|
22
22
|
docs/index.js 1.47 KB (entry point)
|
|
23
23
|
docs/personalization.docblock.js 1.47 KB (entry point)
|
|
24
24
|
./example.js 0.99 KB (entry point)
|
|
25
|
-
./overlay-customization.js 1.
|
|
25
|
+
./overlay-customization.js 1.52 KB (entry point)
|
|
26
26
|
./personalization.feature.js 0.70 KB (entry point)
|
|
27
27
|
./workflow-extension.js 1.58 KB (entry point)
|
|
28
28
|
|
|
29
29
|
[contractspec-bun-build] transpile target=browser root=src entries=8
|
|
30
|
-
Bundled 8 modules in
|
|
30
|
+
Bundled 8 modules in 6ms
|
|
31
31
|
|
|
32
32
|
./behavior-tracking.js 1.32 KB (entry point)
|
|
33
|
-
./index.js 7.
|
|
33
|
+
./index.js 7.59 KB (entry point)
|
|
34
34
|
docs/index.js 1.47 KB (entry point)
|
|
35
35
|
docs/personalization.docblock.js 1.47 KB (entry point)
|
|
36
36
|
./example.js 0.99 KB (entry point)
|
|
37
|
-
./overlay-customization.js 1.
|
|
37
|
+
./overlay-customization.js 1.52 KB (entry point)
|
|
38
38
|
./personalization.feature.js 0.70 KB (entry point)
|
|
39
39
|
./workflow-extension.js 1.58 KB (entry point)
|
|
40
40
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @contractspec/example.personalization
|
|
2
2
|
|
|
3
|
+
## 3.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 230bdf6: feat: ai-chat wireing
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [66c51da]
|
|
12
|
+
- Updated dependencies [230bdf6]
|
|
13
|
+
- @contractspec/lib.personalization@4.0.0
|
|
14
|
+
- @contractspec/lib.workflow-composer@3.5.0
|
|
15
|
+
- @contractspec/lib.contracts-spec@3.5.0
|
|
16
|
+
- @contractspec/lib.overlay-engine@3.5.0
|
|
17
|
+
- @contractspec/lib.logger@3.5.0
|
|
18
|
+
|
|
19
|
+
## 3.4.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- 5f7c617: feat: improve ai docs
|
|
24
|
+
- Updated dependencies [5f7c617]
|
|
25
|
+
- @contractspec/lib.workflow-composer@3.4.3
|
|
26
|
+
- @contractspec/lib.personalization@3.4.3
|
|
27
|
+
- @contractspec/lib.contracts-spec@3.4.3
|
|
28
|
+
- @contractspec/lib.overlay-engine@3.4.3
|
|
29
|
+
- @contractspec/lib.logger@3.4.3
|
|
30
|
+
|
|
3
31
|
## 3.4.2
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -5,9 +5,9 @@ import { InMemoryBehaviorStore } from "@contractspec/lib.personalization/store";
|
|
|
5
5
|
import { BehaviorAnalyzer } from "@contractspec/lib.personalization/analyzer";
|
|
6
6
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
7
7
|
var logger = new Logger({
|
|
8
|
-
level: LogLevel.
|
|
9
|
-
environment: "
|
|
10
|
-
enableColors:
|
|
8
|
+
level: LogLevel.INFO,
|
|
9
|
+
environment: "production",
|
|
10
|
+
enableColors: false
|
|
11
11
|
});
|
|
12
12
|
async function runBehaviorTrackingExample() {
|
|
13
13
|
const store = new InMemoryBehaviorStore;
|
|
@@ -4,9 +4,9 @@ import { InMemoryBehaviorStore } from "@contractspec/lib.personalization/store";
|
|
|
4
4
|
import { BehaviorAnalyzer } from "@contractspec/lib.personalization/analyzer";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
async function runBehaviorTrackingExample() {
|
|
12
12
|
const store = new InMemoryBehaviorStore;
|
package/dist/browser/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import { InMemoryBehaviorStore } from "@contractspec/lib.personalization/store";
|
|
|
4
4
|
import { BehaviorAnalyzer } from "@contractspec/lib.personalization/analyzer";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
async function runBehaviorTrackingExample() {
|
|
12
12
|
const store = new InMemoryBehaviorStore;
|
|
@@ -120,9 +120,9 @@ import {
|
|
|
120
120
|
} from "@contractspec/lib.overlay-engine";
|
|
121
121
|
import { Logger as Logger2, LogLevel as LogLevel2 } from "@contractspec/lib.logger";
|
|
122
122
|
var logger2 = new Logger2({
|
|
123
|
-
level: LogLevel2.
|
|
124
|
-
environment: "
|
|
125
|
-
enableColors:
|
|
123
|
+
level: LogLevel2.INFO,
|
|
124
|
+
environment: "production",
|
|
125
|
+
enableColors: false
|
|
126
126
|
});
|
|
127
127
|
async function runOverlayCustomizationExample() {
|
|
128
128
|
const registry = new OverlayRegistry({ allowUnsigned: true });
|
|
@@ -167,9 +167,9 @@ import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
|
167
167
|
import { WorkflowComposer } from "@contractspec/lib.workflow-composer";
|
|
168
168
|
import { Logger as Logger3, LogLevel as LogLevel3 } from "@contractspec/lib.logger";
|
|
169
169
|
var logger3 = new Logger3({
|
|
170
|
-
level: LogLevel3.
|
|
171
|
-
environment: "
|
|
172
|
-
enableColors:
|
|
170
|
+
level: LogLevel3.INFO,
|
|
171
|
+
environment: "production",
|
|
172
|
+
enableColors: false
|
|
173
173
|
});
|
|
174
174
|
var BaseWorkflow = {
|
|
175
175
|
meta: {
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
} from "@contractspec/lib.overlay-engine";
|
|
8
8
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
9
9
|
var logger = new Logger({
|
|
10
|
-
level: LogLevel.
|
|
11
|
-
environment: "
|
|
12
|
-
enableColors:
|
|
10
|
+
level: LogLevel.INFO,
|
|
11
|
+
environment: "production",
|
|
12
|
+
enableColors: false
|
|
13
13
|
});
|
|
14
14
|
async function runOverlayCustomizationExample() {
|
|
15
15
|
const registry = new OverlayRegistry({ allowUnsigned: true });
|
|
@@ -3,9 +3,9 @@ import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
|
3
3
|
import { WorkflowComposer } from "@contractspec/lib.workflow-composer";
|
|
4
4
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
5
5
|
var logger = new Logger({
|
|
6
|
-
level: LogLevel.
|
|
7
|
-
environment: "
|
|
8
|
-
enableColors:
|
|
6
|
+
level: LogLevel.INFO,
|
|
7
|
+
environment: "production",
|
|
8
|
+
enableColors: false
|
|
9
9
|
});
|
|
10
10
|
var BaseWorkflow = {
|
|
11
11
|
meta: {
|
package/dist/index.js
CHANGED
|
@@ -5,9 +5,9 @@ import { InMemoryBehaviorStore } from "@contractspec/lib.personalization/store";
|
|
|
5
5
|
import { BehaviorAnalyzer } from "@contractspec/lib.personalization/analyzer";
|
|
6
6
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
7
7
|
var logger = new Logger({
|
|
8
|
-
level: LogLevel.
|
|
9
|
-
environment: "
|
|
10
|
-
enableColors:
|
|
8
|
+
level: LogLevel.INFO,
|
|
9
|
+
environment: "production",
|
|
10
|
+
enableColors: false
|
|
11
11
|
});
|
|
12
12
|
async function runBehaviorTrackingExample() {
|
|
13
13
|
const store = new InMemoryBehaviorStore;
|
|
@@ -121,9 +121,9 @@ import {
|
|
|
121
121
|
} from "@contractspec/lib.overlay-engine";
|
|
122
122
|
import { Logger as Logger2, LogLevel as LogLevel2 } from "@contractspec/lib.logger";
|
|
123
123
|
var logger2 = new Logger2({
|
|
124
|
-
level: LogLevel2.
|
|
125
|
-
environment: "
|
|
126
|
-
enableColors:
|
|
124
|
+
level: LogLevel2.INFO,
|
|
125
|
+
environment: "production",
|
|
126
|
+
enableColors: false
|
|
127
127
|
});
|
|
128
128
|
async function runOverlayCustomizationExample() {
|
|
129
129
|
const registry = new OverlayRegistry({ allowUnsigned: true });
|
|
@@ -168,9 +168,9 @@ import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
|
168
168
|
import { WorkflowComposer } from "@contractspec/lib.workflow-composer";
|
|
169
169
|
import { Logger as Logger3, LogLevel as LogLevel3 } from "@contractspec/lib.logger";
|
|
170
170
|
var logger3 = new Logger3({
|
|
171
|
-
level: LogLevel3.
|
|
172
|
-
environment: "
|
|
173
|
-
enableColors:
|
|
171
|
+
level: LogLevel3.INFO,
|
|
172
|
+
environment: "production",
|
|
173
|
+
enableColors: false
|
|
174
174
|
});
|
|
175
175
|
var BaseWorkflow = {
|
|
176
176
|
meta: {
|
|
@@ -4,9 +4,9 @@ import { InMemoryBehaviorStore } from "@contractspec/lib.personalization/store";
|
|
|
4
4
|
import { BehaviorAnalyzer } from "@contractspec/lib.personalization/analyzer";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
async function runBehaviorTrackingExample() {
|
|
12
12
|
const store = new InMemoryBehaviorStore;
|
package/dist/node/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import { InMemoryBehaviorStore } from "@contractspec/lib.personalization/store";
|
|
|
4
4
|
import { BehaviorAnalyzer } from "@contractspec/lib.personalization/analyzer";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
async function runBehaviorTrackingExample() {
|
|
12
12
|
const store = new InMemoryBehaviorStore;
|
|
@@ -120,9 +120,9 @@ import {
|
|
|
120
120
|
} from "@contractspec/lib.overlay-engine";
|
|
121
121
|
import { Logger as Logger2, LogLevel as LogLevel2 } from "@contractspec/lib.logger";
|
|
122
122
|
var logger2 = new Logger2({
|
|
123
|
-
level: LogLevel2.
|
|
124
|
-
environment: "
|
|
125
|
-
enableColors:
|
|
123
|
+
level: LogLevel2.INFO,
|
|
124
|
+
environment: "production",
|
|
125
|
+
enableColors: false
|
|
126
126
|
});
|
|
127
127
|
async function runOverlayCustomizationExample() {
|
|
128
128
|
const registry = new OverlayRegistry({ allowUnsigned: true });
|
|
@@ -167,9 +167,9 @@ import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
|
167
167
|
import { WorkflowComposer } from "@contractspec/lib.workflow-composer";
|
|
168
168
|
import { Logger as Logger3, LogLevel as LogLevel3 } from "@contractspec/lib.logger";
|
|
169
169
|
var logger3 = new Logger3({
|
|
170
|
-
level: LogLevel3.
|
|
171
|
-
environment: "
|
|
172
|
-
enableColors:
|
|
170
|
+
level: LogLevel3.INFO,
|
|
171
|
+
environment: "production",
|
|
172
|
+
enableColors: false
|
|
173
173
|
});
|
|
174
174
|
var BaseWorkflow = {
|
|
175
175
|
meta: {
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
} from "@contractspec/lib.overlay-engine";
|
|
8
8
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
9
9
|
var logger = new Logger({
|
|
10
|
-
level: LogLevel.
|
|
11
|
-
environment: "
|
|
12
|
-
enableColors:
|
|
10
|
+
level: LogLevel.INFO,
|
|
11
|
+
environment: "production",
|
|
12
|
+
enableColors: false
|
|
13
13
|
});
|
|
14
14
|
async function runOverlayCustomizationExample() {
|
|
15
15
|
const registry = new OverlayRegistry({ allowUnsigned: true });
|
|
@@ -3,9 +3,9 @@ import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
|
3
3
|
import { WorkflowComposer } from "@contractspec/lib.workflow-composer";
|
|
4
4
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
5
5
|
var logger = new Logger({
|
|
6
|
-
level: LogLevel.
|
|
7
|
-
environment: "
|
|
8
|
-
enableColors:
|
|
6
|
+
level: LogLevel.INFO,
|
|
7
|
+
environment: "production",
|
|
8
|
+
enableColors: false
|
|
9
9
|
});
|
|
10
10
|
var BaseWorkflow = {
|
|
11
11
|
meta: {
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
} from "@contractspec/lib.overlay-engine";
|
|
9
9
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
10
10
|
var logger = new Logger({
|
|
11
|
-
level: LogLevel.
|
|
12
|
-
environment: "
|
|
13
|
-
enableColors:
|
|
11
|
+
level: LogLevel.INFO,
|
|
12
|
+
environment: "production",
|
|
13
|
+
enableColors: false
|
|
14
14
|
});
|
|
15
15
|
async function runOverlayCustomizationExample() {
|
|
16
16
|
const registry = new OverlayRegistry({ allowUnsigned: true });
|
|
@@ -4,9 +4,9 @@ import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
|
4
4
|
import { WorkflowComposer } from "@contractspec/lib.workflow-composer";
|
|
5
5
|
import { Logger, LogLevel } from "@contractspec/lib.logger";
|
|
6
6
|
var logger = new Logger({
|
|
7
|
-
level: LogLevel.
|
|
8
|
-
environment: "
|
|
9
|
-
enableColors:
|
|
7
|
+
level: LogLevel.INFO,
|
|
8
|
+
environment: "production",
|
|
9
|
+
enableColors: false
|
|
10
10
|
});
|
|
11
11
|
var BaseWorkflow = {
|
|
12
12
|
meta: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.personalization",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Personalization examples: behavior tracking, overlay customization, workflow extension.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -85,16 +85,16 @@
|
|
|
85
85
|
"typecheck": "tsc --noEmit"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@contractspec/lib.personalization": "
|
|
89
|
-
"@contractspec/lib.overlay-engine": "3.
|
|
90
|
-
"@contractspec/lib.workflow-composer": "3.
|
|
91
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
92
|
-
"@contractspec/lib.logger": "3.
|
|
88
|
+
"@contractspec/lib.personalization": "4.0.0",
|
|
89
|
+
"@contractspec/lib.overlay-engine": "3.5.0",
|
|
90
|
+
"@contractspec/lib.workflow-composer": "3.5.0",
|
|
91
|
+
"@contractspec/lib.contracts-spec": "3.5.0",
|
|
92
|
+
"@contractspec/lib.logger": "3.5.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@contractspec/tool.typescript": "3.
|
|
95
|
+
"@contractspec/tool.typescript": "3.5.0",
|
|
96
96
|
"typescript": "^5.9.3",
|
|
97
|
-
"@contractspec/tool.bun": "3.
|
|
97
|
+
"@contractspec/tool.bun": "3.5.0"
|
|
98
98
|
},
|
|
99
99
|
"publishConfig": {
|
|
100
100
|
"access": "public",
|