osra 0.2.1 → 0.2.3

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 (32) hide show
  1. package/build/index.d.ts +384 -8
  2. package/build/index.js +473 -336
  3. package/build/index.js.map +1 -1
  4. package/package.json +5 -3
  5. package/build/extension/background.js +0 -2
  6. package/build/extension/background.js.map +0 -1
  7. package/build/extension/chunks/index.js +0 -2
  8. package/build/extension/chunks/index.js.map +0 -1
  9. package/build/extension/content.js +0 -2
  10. package/build/extension/content.js.map +0 -1
  11. package/build/extension/manifest.json +0 -21
  12. package/build/extension/popup.html +0 -120
  13. package/build/extension/popup.js +0 -2
  14. package/build/extension/popup.js.map +0 -1
  15. package/build/extension-test/background.js +0 -753
  16. package/build/extension-test/background.js.map +0 -1
  17. package/build/extension-test/content.js +0 -4585
  18. package/build/extension-test/content.js.map +0 -1
  19. package/build/extension-test/manifest.json +0 -22
  20. package/build/extension-test/popup.html +0 -106
  21. package/build/extension-test/popup.js +0 -4610
  22. package/build/extension-test/popup.js.map +0 -1
  23. package/build/extension-test-firefox/background.js +0 -5464
  24. package/build/extension-test-firefox/background.js.map +0 -1
  25. package/build/extension-test-firefox/content.js +0 -5286
  26. package/build/extension-test-firefox/content.js.map +0 -1
  27. package/build/extension-test-firefox/manifest.json +0 -27
  28. package/build/extension-test-firefox/popup.html +0 -106
  29. package/build/extension-test-firefox/popup.js +0 -5213
  30. package/build/extension-test-firefox/popup.js.map +0 -1
  31. package/build/test.js +0 -24987
  32. package/build/test.js.map +0 -1
@@ -1,27 +0,0 @@
1
- {
2
- "manifest_version": 2,
3
- "name": "OSRA Test Extension",
4
- "version": "1.0.0",
5
- "description": "Test extension for OSRA communication library",
6
- "background": {
7
- "scripts": ["background.js"]
8
- },
9
- "content_scripts": [
10
- {
11
- "matches": ["http://localhost:3000/*"],
12
- "js": ["content.js"],
13
- "run_at": "document_start"
14
- }
15
- ],
16
- "browser_action": {
17
- "default_popup": "popup.html",
18
- "default_title": "OSRA Tests"
19
- },
20
- "permissions": [],
21
- "browser_specific_settings": {
22
- "gecko": {
23
- "id": "osra-test@example.com",
24
- "strict_min_version": "109.0"
25
- }
26
- }
27
- }
@@ -1,106 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>OSRA Extension Test</title>
6
- <style>
7
- body {
8
- width: 400px;
9
- padding: 16px;
10
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
11
- font-size: 14px;
12
- }
13
-
14
- h1 {
15
- font-size: 18px;
16
- margin: 0 0 16px 0;
17
- }
18
-
19
- #status {
20
- margin-bottom: 12px;
21
- padding: 8px;
22
- background: #f5f5f5;
23
- border-radius: 4px;
24
- }
25
-
26
- button {
27
- padding: 8px 16px;
28
- background: #4285f4;
29
- color: white;
30
- border: none;
31
- border-radius: 4px;
32
- cursor: pointer;
33
- font-size: 14px;
34
- }
35
-
36
- button:hover {
37
- background: #3367d6;
38
- }
39
-
40
- button:disabled {
41
- background: #ccc;
42
- cursor: not-allowed;
43
- }
44
-
45
- #results {
46
- margin-top: 16px;
47
- }
48
-
49
- .test-result {
50
- padding: 6px 8px;
51
- margin: 4px 0;
52
- border-radius: 4px;
53
- display: flex;
54
- align-items: center;
55
- gap: 8px;
56
- }
57
-
58
- .test-result.passed {
59
- background: #e8f5e9;
60
- }
61
-
62
- .test-result.failed {
63
- background: #ffebee;
64
- }
65
-
66
- .test-result .status {
67
- font-weight: bold;
68
- }
69
-
70
- .test-result.passed .status {
71
- color: #2e7d32;
72
- }
73
-
74
- .test-result.failed .status {
75
- color: #c62828;
76
- }
77
-
78
- .test-result .name {
79
- flex: 1;
80
- }
81
-
82
- .test-result .error {
83
- font-size: 12px;
84
- color: #c62828;
85
- max-width: 200px;
86
- overflow: hidden;
87
- text-overflow: ellipsis;
88
- white-space: nowrap;
89
- }
90
-
91
- .summary {
92
- margin-top: 12px;
93
- padding: 8px;
94
- font-weight: bold;
95
- text-align: center;
96
- }
97
- </style>
98
- </head>
99
- <body>
100
- <h1>OSRA Extension Tests</h1>
101
- <div id="status">Loading...</div>
102
- <button id="run-tests">Run Tests</button>
103
- <div id="results"></div>
104
- <script type="module" src="popup.js"></script>
105
- </body>
106
- </html>