timvir 0.2.7 → 0.2.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.
|
@@ -140,10 +140,11 @@ function Arbitrary(props, ref) {
|
|
|
140
140
|
className: classes.input,
|
|
141
141
|
placeholder: "Seed",
|
|
142
142
|
value: encode(new TextEncoder().encode(`${value.seed}`)),
|
|
143
|
+
readOnly: true,
|
|
143
144
|
onPaste: ev => {
|
|
144
145
|
const v = ev.clipboardData.getData("text/plain");
|
|
145
146
|
mutate(draft => {
|
|
146
|
-
draft.seed = +decode(v);
|
|
147
|
+
draft.seed = +new TextDecoder().decode(decode(v));
|
|
147
148
|
});
|
|
148
149
|
},
|
|
149
150
|
onFocus: ev => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "timvir",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.9",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"immer": "^9",
|
|
22
22
|
"prism-react-renderer": "^1",
|
|
23
23
|
"react-feather": "^2",
|
|
24
|
-
"use-immer": "^0.8.1",
|
|
24
|
+
"use-immer": "^0.8.0 || ^0.8.1 || ^0.9.0",
|
|
25
25
|
"wonka": "^6"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@mdx-js/react": "^2",
|
|
29
29
|
"react": "^17 || ^18",
|
|
30
30
|
"react-dom": "^17 || ^18",
|
|
31
|
-
"react-hotkeys-hook": "^4"
|
|
31
|
+
"react-hotkeys-hook": "^4.3.8"
|
|
32
32
|
}
|
|
33
33
|
}
|