dcl-npc-toolkit 1.1.4-20230616202545.commit-3fbe034 → 1.1.4-20230619185824.commit-afe7da0
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 +11 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -391,7 +391,17 @@ export function setupUi() {
|
|
|
391
391
|
|
|
392
392
|
```
|
|
393
393
|
|
|
394
|
-
|
|
394
|
+
|
|
395
|
+
Note: The UI drawn by this library library requires fetching images from an external URL. For the scene to allow you to do this, you must include the `ALLOW_MEDIA_HOSTNAMES` scene permission and add `decentraland.org` to the list of allowed domains in your `scene.json` file. Learn more about [image permissions](https://docs.decentraland.org/creator/development-guide/sdk7/materials/#textures-from-an-external-url).
|
|
396
|
+
|
|
397
|
+
```json
|
|
398
|
+
"requiredPermissions": [
|
|
399
|
+
"ALLOW_MEDIA_HOSTNAMES"
|
|
400
|
+
],
|
|
401
|
+
"allowedMediaHostnames": [
|
|
402
|
+
"decentraland.org"
|
|
403
|
+
],
|
|
404
|
+
```
|
|
395
405
|
|
|
396
406
|
|
|
397
407
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dcl-npc-toolkit",
|
|
3
|
-
"version": "1.1.4-
|
|
3
|
+
"version": "1.1.4-20230619185824.commit-afe7da0",
|
|
4
4
|
"description": "A collection of tools for creating Non-Player-Characters (NPCs). These are capable of having conversations with the player, and play different animations.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"files": [
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
|
-
"commit": "
|
|
36
|
+
"commit": "afe7da07703b17934a97e4754867c1fb961ff12c"
|
|
37
37
|
}
|