claude-opencode-viewer 2.6.8 → 2.6.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.
- package/index-pc.html +2 -1
- package/index.html +2 -1
- package/package.json +1 -1
package/index-pc.html
CHANGED
|
@@ -1036,7 +1036,8 @@
|
|
|
1036
1036
|
if (!b64 || b64 === '?') return false;
|
|
1037
1037
|
if (isBufferReplay) return true;
|
|
1038
1038
|
try {
|
|
1039
|
-
var
|
|
1039
|
+
var bytes = Uint8Array.from(atob(b64), function(c) { return c.charCodeAt(0); });
|
|
1040
|
+
var text = new TextDecoder().decode(bytes);
|
|
1040
1041
|
if (navigator.clipboard && navigator.clipboard.writeText) {
|
|
1041
1042
|
navigator.clipboard.writeText(text).then(function() {
|
|
1042
1043
|
showCopyToast();
|
package/index.html
CHANGED
|
@@ -1026,7 +1026,8 @@
|
|
|
1026
1026
|
var b64 = data.substring(idx + 1);
|
|
1027
1027
|
if (!b64 || b64 === '?') return false;
|
|
1028
1028
|
try {
|
|
1029
|
-
var
|
|
1029
|
+
var bytes = Uint8Array.from(atob(b64), function(c) { return c.charCodeAt(0); });
|
|
1030
|
+
var text = new TextDecoder().decode(bytes);
|
|
1030
1031
|
if (navigator.clipboard && navigator.clipboard.writeText) {
|
|
1031
1032
|
navigator.clipboard.writeText(text).then(function() {
|
|
1032
1033
|
showCopyToast();
|