@siduri-x/body 1.0.2 → 1.0.4
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/dist/index.test.js +6 -6
- package/organ-manifest.json +1 -1
- package/package.json +2 -2
package/dist/index.test.js
CHANGED
|
@@ -16,15 +16,15 @@ describe('NeutralBodyOrgan', () => {
|
|
|
16
16
|
expect(organ.lastAction).toBeNull();
|
|
17
17
|
const customOrgan = new index_1.NeutralBodyOrgan({
|
|
18
18
|
initialExpression: 'happy',
|
|
19
|
-
modelPath: './assets/body/
|
|
20
|
-
modelUrl: '/
|
|
19
|
+
modelPath: './assets/body/custom/model.model3.json',
|
|
20
|
+
modelUrl: '/assets/body/custom/model.model3.json',
|
|
21
21
|
});
|
|
22
22
|
expect(customOrgan.currentExpression).toBe('happy');
|
|
23
|
-
expect(customOrgan.modelPath).toBe('./assets/body/
|
|
24
|
-
expect(customOrgan.modelUrl).toBe('/
|
|
23
|
+
expect(customOrgan.modelPath).toBe('./assets/body/custom/model.model3.json');
|
|
24
|
+
expect(customOrgan.modelUrl).toBe('/assets/body/custom/model.model3.json');
|
|
25
25
|
const snapshot = customOrgan.getSnapshot();
|
|
26
|
-
expect(snapshot.modelPath).toBe('./assets/body/
|
|
27
|
-
expect(snapshot.modelUrl).toBe('/
|
|
26
|
+
expect(snapshot.modelPath).toBe('./assets/body/custom/model.model3.json');
|
|
27
|
+
expect(snapshot.modelUrl).toBe('/assets/body/custom/model.model3.json');
|
|
28
28
|
customOrgan.cleanup();
|
|
29
29
|
});
|
|
30
30
|
test('Live2DAdapter is exported as a compatible alias', () => {
|
package/organ-manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siduri-x/body",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/vxnus-studio/siduri-x",
|
|
26
26
|
"directory": "packages/organs/body"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|