conversation-replay 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/dist/cli.js +52 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -7267,7 +7267,56 @@ async function loadDemo(filePath) {
7267
7267
 
7268
7268
  // src/generator.ts
7269
7269
  import { writeFile } from "node:fs/promises";
7270
- var VERSION = "0.1.0";
7270
+ // package.json
7271
+ var package_default = {
7272
+ name: "conversation-replay",
7273
+ version: "0.1.9",
7274
+ description: "Create animated text conversation replays",
7275
+ main: "dist/cli.js",
7276
+ type: "module",
7277
+ bin: {
7278
+ "conversation-replay": "dist/cli.js"
7279
+ },
7280
+ files: [
7281
+ "dist",
7282
+ "README.md"
7283
+ ],
7284
+ scripts: {
7285
+ build: "bun run src/cli.ts build",
7286
+ validate: "bun run src/cli.ts validate",
7287
+ example: "bun run src/cli.ts build examples/london-scam.yaml -o examples/london-scam.html",
7288
+ "build:dist": "bun build src/cli.ts --target=node --outfile=dist/cli.js --packages=bundle",
7289
+ prepare: "bun run build:dist",
7290
+ prepublishOnly: "bun run build:dist"
7291
+ },
7292
+ keywords: [
7293
+ "conversation",
7294
+ "demo",
7295
+ "animation",
7296
+ "security-awareness",
7297
+ "training",
7298
+ "chat",
7299
+ "replay"
7300
+ ],
7301
+ author: "Lenny Zeltser",
7302
+ license: "MIT",
7303
+ repository: {
7304
+ type: "git",
7305
+ url: "https://github.com/lennyzeltser/conversation-replay"
7306
+ },
7307
+ devDependencies: {
7308
+ "@types/bun": "latest"
7309
+ },
7310
+ peerDependencies: {
7311
+ typescript: "^5"
7312
+ },
7313
+ dependencies: {
7314
+ yaml: "^2.8.2"
7315
+ }
7316
+ };
7317
+
7318
+ // src/generator.ts
7319
+ var VERSION = package_default.version;
7271
7320
  function escapeHtml(text) {
7272
7321
  return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
7273
7322
  }
@@ -7683,7 +7732,7 @@ function generateCss(theme, hasMultipleScenarios, colors, cornerStyle, initialBl
7683
7732
  display: none; /* Chrome Safari */
7684
7733
  }
7685
7734
 
7686
- .chat-container.fading {
7735
+ .chat-container.fading .chat-scroll-area {
7687
7736
  opacity: 0;
7688
7737
  }
7689
7738
 
@@ -7741,7 +7790,7 @@ function generateCss(theme, hasMultipleScenarios, colors, cornerStyle, initialBl
7741
7790
  min-height: 0;
7742
7791
  max-height: none !important; /* Remove height constraint in iframe */
7743
7792
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important; /* Subtle shadow in iframe */
7744
- /* Keep border and background for visual definition */
7793
+ background: var(--bg-chat) !important; /* Ensure opaque background in iframe */
7745
7794
  margin-bottom: clamp(70px, 15vh, 120px); /* Responsive space for fixed controls */
7746
7795
  }
7747
7796
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conversation-replay",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Create animated text conversation replays",
5
5
  "main": "dist/cli.js",
6
6
  "type": "module",