Skip to content

Commit ca70150

Browse files
github-actions[bot]prosdev
authored andcommitted
chore: release packages
1 parent e4e2504 commit ca70150

File tree

5 files changed

+46
-23
lines changed

5 files changed

+46
-23
lines changed

.changeset/fix-banner-content-types.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# @prosdevlab/experience-sdk
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- c5e46c0: Fix BannerContent type definition, add CSS customization support, and implement HTML sanitization:
8+
9+
- Add `buttons` array property with variant and metadata support
10+
- Add `position` property (top/bottom)
11+
- Make `title` optional (message is the only required field)
12+
- Add `className` and `style` props for banner and buttons
13+
- Update banner plugin to use `.xp-*` CSS classes
14+
- Provide minimal, functional default styles
15+
- Add HTML sanitizer for XSS prevention in title and message fields
16+
- Support safe HTML tags (strong, em, a, br, span, b, i, p)
17+
- Block dangerous tags and event handlers
18+
- Sanitize URLs to prevent javascript: and data: attacks
19+
- Aligns core types with banner plugin implementation
20+
21+
This enables users to customize banners with Tailwind, design systems, or CSS frameworks while maintaining SDK's focus on targeting logic. HTML sanitization ensures safe rendering of user-provided content.
22+
23+
- Updated dependencies [c5e46c0]
24+
- @prosdevlab/experience-sdk-plugins@0.1.1
25+
326
## 0.1.1
427

528
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prosdevlab/experience-sdk",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "A lightweight, explainable client-side experience runtime",
55
"private": false,
66
"type": "module",

packages/plugins/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# @prosdevlab/experience-sdk-plugins
2+
3+
## 0.1.1
4+
5+
### Patch Changes
6+
7+
- c5e46c0: Fix BannerContent type definition, add CSS customization support, and implement HTML sanitization:
8+
9+
- Add `buttons` array property with variant and metadata support
10+
- Add `position` property (top/bottom)
11+
- Make `title` optional (message is the only required field)
12+
- Add `className` and `style` props for banner and buttons
13+
- Update banner plugin to use `.xp-*` CSS classes
14+
- Provide minimal, functional default styles
15+
- Add HTML sanitizer for XSS prevention in title and message fields
16+
- Support safe HTML tags (strong, em, a, br, span, b, i, p)
17+
- Block dangerous tags and event handlers
18+
- Sanitize URLs to prevent javascript: and data: attacks
19+
- Aligns core types with banner plugin implementation
20+
21+
This enables users to customize banners with Tailwind, design systems, or CSS frameworks while maintaining SDK's focus on targeting logic. HTML sanitization ensures safe rendering of user-provided content.

packages/plugins/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prosdevlab/experience-sdk-plugins",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Official plugins for Experience SDK",
55
"private": false,
66
"type": "module",

0 commit comments

Comments
 (0)