rewindlog 0.0.0-stage → 2.0.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/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .replayer-wrapper{position:relative}.replayer-mouse{position:absolute;width:20px;height:20px;transition:left .05s linear,top .05s linear;background-size:contain;background-position:center center;background-repeat:no-repeat;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSIgdmlld0JveD0iMCAwIDUwIDUwIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPkRlc2lnbl90bnA8L3RpdGxlPjxwYXRoIGQ9Ik00OC43MSw0Mi45MUwzNC4wOCwyOC4yOSw0NC4zMywxOEExLDEsMCwwLDAsNDQsMTYuMzlMMi4zNSwxLjA2QTEsMSwwLDAsMCwxLjA2LDIuMzVMMTYuMzksNDRhMSwxLDAsMCwwLDEuNjUuMzZMMjguMjksMzQuMDgsNDIuOTEsNDguNzFhMSwxLDAsMCwwLDEuNDEsMGw0LjM4LTQuMzhBMSwxLDAsMCwwLDQ4LjcxLDQyLjkxWm0tNS4wOSwzLjY3TDI5LDMyYTEsMSwwLDAsMC0xLjQxLDBsLTkuODUsOS44NUwzLjY5LDMuNjlsMzguMTIsMTRMMzIsMjcuNThBMSwxLDAsMCwwLDMyLDI5TDQ2LjU5LDQzLjYyWiI+PC9wYXRoPjwvc3ZnPg==);border-color:transparent}.replayer-mouse:after{content:"";display:inline-block;width:20px;height:20px;background:#4950f6;border-radius:100%;transform:translate(-50%,-50%);opacity:.3}.replayer-mouse.active:after{animation:click .2s ease-in-out 1}.replayer-mouse.touch-device{background-image:none;width:70px;height:70px;border-width:4px;border-style:solid;border-radius:100%;margin-left:-37px;margin-top:-37px;border-color:#4950f600;transition:left 0s linear,top 0s linear,border-color .2s ease-in-out}.replayer-mouse.touch-device.touch-active{border-color:#4950f6;transition:left .25s linear,top .25s linear,border-color .2s ease-in-out}.replayer-mouse.touch-device:after{opacity:0}.replayer-mouse.touch-device.active:after{animation:touch-click .2s ease-in-out 1}.replayer-mouse-tail{position:absolute;pointer-events:none}@keyframes click{0%{opacity:.3;width:20px;height:20px}50%{opacity:.5;width:10px;height:10px}}@keyframes touch-click{0%{opacity:0;width:20px;height:20px}50%{opacity:.5;width:10px;height:10px}}
@@ -0,0 +1,9 @@
1
+ import type { RewindLogSDK } from './RewindLog';
2
+ /**
3
+ * Injects a lightweight, zero-dependency floating bug report widget directly into
4
+ * the DOM. Ideal for Vanilla JavaScript, Laravel, WordPress, Django, or Rails apps
5
+ * where React is not used.
6
+ */
7
+ export declare function injectVanillaWidget(sdk: RewindLogSDK): {
8
+ destroy: () => void;
9
+ };
package/package.json CHANGED
@@ -1,6 +1,87 @@
1
1
  {
2
2
  "name": "rewindlog",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2.0.0",
4
+ "description": "Banking-Grade Time-Machine DOM & Network Ring Buffer SDK with OJK / PCI-DSS compliance, instant multi-format triage, and self-hosted privacy.",
5
+ "license": "MIT",
6
+ "author": "RewindLog Authors",
7
+ "keywords": [
8
+ "session-replay",
9
+ "bug-reporting",
10
+ "time-machine",
11
+ "rrweb",
12
+ "dom-recorder",
13
+ "network-logger",
14
+ "pci-dss",
15
+ "ojk",
16
+ "banking",
17
+ "privacy",
18
+ "audit-trail",
19
+ "teams",
20
+ "whatsapp",
21
+ "slack",
22
+ "jira",
23
+ "react",
24
+ "angular"
25
+ ],
26
+ "homepage": "https://github.com/rewindlog/rewindlog#readme",
27
+ "bugs": {
28
+ "url": "https://github.com/rewindlog/rewindlog/issues"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/rewindlog/rewindlog.git"
33
+ },
34
+ "type": "module",
35
+ "main": "./dist/rewindlog.cjs.js",
36
+ "module": "./dist/rewindlog.es.js",
37
+ "types": "./dist/index.d.ts",
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "import": "./dist/rewindlog.es.js",
42
+ "require": "./dist/rewindlog.cjs.js"
43
+ },
44
+ "./lite": {
45
+ "types": "./dist/lite.d.ts",
46
+ "import": "./dist/rewindlog.es.js",
47
+ "require": "./dist/rewindlog.cjs.js"
48
+ },
49
+ "./enterprise": {
50
+ "types": "./dist/enterprise.d.ts",
51
+ "import": "./dist/rewindlog.es.js",
52
+ "require": "./dist/rewindlog.cjs.js"
53
+ }
54
+ },
55
+ "files": [
56
+ "dist/rewindlog.es.js",
57
+ "dist/rewindlog.cjs.js",
58
+ "dist/rewindlog.min.js",
59
+ "dist/style.css",
60
+ "dist/*.d.ts",
61
+ "README.md",
62
+ "LICENSE"
63
+ ],
64
+ "scripts": {
65
+ "dev": "vite",
66
+ "build:app": "tsc -b && vite build",
67
+ "build:lib": "vite build --config vite.config.lib.ts && tsc -p tsconfig.lib.json",
68
+ "build": "npm run build:app && npm run build:lib",
69
+ "test": "node --test tests/*.test.mjs",
70
+ "preview": "vite preview",
71
+ "start": "node server/index.mjs"
72
+ },
73
+ "dependencies": {
74
+ "@rrweb/types": "^2.0.0-alpha.13",
75
+ "react": "^18.3.1",
76
+ "react-dom": "^18.3.1",
77
+ "rrweb": "^2.0.0-alpha.13"
78
+ },
79
+ "devDependencies": {
80
+ "@types/react": "^18.3.12",
81
+ "typescript": "~5.6.2",
82
+ "@types/react-dom": "^18.3.1",
83
+ "@vitejs/plugin-react": "^4.3.3",
84
+ "vite": "^5.4.10"
85
+ }
86
+ }
87
+