metamaker-for-three 0.1.12 → 0.1.14
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/README.md +3 -4
- package/examples/example.ts +1 -0
- package/libs/metamaker-for-three.js +1 -1
- package/package.json +1 -1
- package/src/lib/index.ts +2 -1
- package/src/lib/sign/index.js +162 -0
- package/tsconfig.json +1 -1
- package/types/index.d.ts +2 -0
- package/types/sign/index.d.ts +2 -0
package/README.md
CHANGED
|
@@ -38,12 +38,10 @@ yarn build:lib
|
|
|
38
38
|
|
|
39
39
|
1. 通过 npm
|
|
40
40
|
|
|
41
|
-
metamaker-for-three
|
|
41
|
+
metamaker-for-three
|
|
42
42
|
|
|
43
43
|
```
|
|
44
|
-
|
|
45
|
-
"metamaker-for-three": "https://github.com/MetaMakerDeveloper/AweSDK-ThreeJS.git#最新版本号"
|
|
46
|
-
}
|
|
44
|
+
npm install metamaker-for-three
|
|
47
45
|
```
|
|
48
46
|
|
|
49
47
|
在无法连接 github 的情况下使用 gitee 连接
|
|
@@ -113,6 +111,7 @@ import MMFT from 'metamaker-for-three'
|
|
|
113
111
|
headers: {
|
|
114
112
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
115
113
|
Authorization: ttsAuth,
|
|
114
|
+
__hjvf:MMFT.sign()
|
|
116
115
|
},
|
|
117
116
|
body: qs.stringify({
|
|
118
117
|
text: text,
|
package/examples/example.ts
CHANGED