dsh-live2dwaifu 0.1.4 → 0.1.5

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/lib/client.js +2 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  ;(() => {
2
- const makeFactory = () => {
2
+ const makeFactory = (require) => {
3
3
  const react = require('react');
4
4
  const h = react.createElement;
5
5
  const name = 'dsh-live2d';
@@ -137,5 +137,5 @@
137
137
  return { apply, inject, name };
138
138
  };
139
139
 
140
- window.__ModuleLoader__.load({ id: 'dsh-live2d', factory: makeFactory() });
140
+ window.__ModuleLoader__.load({ id: 'dsh-live2dwaifu', factory: makeFactory });
141
141
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-live2dwaifu",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "给 DSH 网页右下角请一个 Live2D 角色:会眨眼、会呼吸、说话时嘴动、心情变了眉毛跟着动。模型不用内置——谁装谁放自己的文件夹;支持自定义 .exp3.json 表情、窗口大小可拖、背景可换。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",