x-block-lib 0.6.22 → 0.6.23

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/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1943,7 +1943,7 @@ const zh = (e, t) => {
1943
1943
  }
1944
1944
  },
1945
1945
  onTypeChange_: function(i) {
1946
- const s = t.find((a) => a.validator(i));
1946
+ const s = t.find((a) => a.value === i);
1947
1947
  if (!s) {
1948
1948
  console.assert(!1);
1949
1949
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.6.22",
4
+ "version": "0.6.23",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",