@dcl/asset-packs 2.7.2-20251128172211.commit-d80a654 → 2.7.2

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 (104) hide show
  1. package/README.md +11 -13
  2. package/bin/index.js +13402 -13784
  3. package/catalog.json +2826 -2733
  4. package/dist/action-types.d.ts +2 -2
  5. package/dist/action-types.js +6 -11
  6. package/dist/actions.d.ts +2 -2
  7. package/dist/actions.js +19 -24
  8. package/dist/admin-toolkit-ui/Active.js +2 -2
  9. package/dist/admin-toolkit-ui/Button.js +8 -8
  10. package/dist/admin-toolkit-ui/Card.d.ts +2 -2
  11. package/dist/admin-toolkit-ui/Card.js +5 -5
  12. package/dist/admin-toolkit-ui/Error.js +1 -1
  13. package/dist/admin-toolkit-ui/Header.js +1 -1
  14. package/dist/admin-toolkit-ui/Loading.js +4 -6
  15. package/dist/admin-toolkit-ui/ModerationControl/AddUserInput.js +6 -10
  16. package/dist/admin-toolkit-ui/ModerationControl/BanUserDescription.js +2 -2
  17. package/dist/admin-toolkit-ui/ModerationControl/RemoveAdminConfirmation.js +2 -2
  18. package/dist/admin-toolkit-ui/ModerationControl/UsersList.d.ts +1 -1
  19. package/dist/admin-toolkit-ui/ModerationControl/UsersList.js +8 -17
  20. package/dist/admin-toolkit-ui/ModerationControl/api.d.ts +1 -1
  21. package/dist/admin-toolkit-ui/ModerationControl/api.js +1 -1
  22. package/dist/admin-toolkit-ui/ModerationControl/index.js +1 -1
  23. package/dist/admin-toolkit-ui/ModerationControl/styles/AddUserInputStyles.d.ts +1 -1
  24. package/dist/admin-toolkit-ui/ModerationControl/styles/AddUserInputStyles.js +1 -1
  25. package/dist/admin-toolkit-ui/ModerationControl/styles/ModerationControlStyles.d.ts +1 -1
  26. package/dist/admin-toolkit-ui/ModerationControl/styles/ModerationControlStyles.js +1 -1
  27. package/dist/admin-toolkit-ui/ModerationControl/styles/UsersListStyles.d.ts +1 -1
  28. package/dist/admin-toolkit-ui/ModerationControl/styles/UsersListStyles.js +1 -1
  29. package/dist/admin-toolkit-ui/ModerationControl/utils.js +2 -2
  30. package/dist/admin-toolkit-ui/RewardsControl.d.ts +1 -1
  31. package/dist/admin-toolkit-ui/RewardsControl.js +7 -9
  32. package/dist/admin-toolkit-ui/SmartItemsControl.d.ts +1 -1
  33. package/dist/admin-toolkit-ui/SmartItemsControl.js +13 -19
  34. package/dist/admin-toolkit-ui/TextAnnouncements.d.ts +1 -1
  35. package/dist/admin-toolkit-ui/TextAnnouncements.js +3 -4
  36. package/dist/admin-toolkit-ui/TextAnnouncementsControl.js +3 -3
  37. package/dist/admin-toolkit-ui/VideoControl/LiveStream/DeleteStreamKey.js +3 -3
  38. package/dist/admin-toolkit-ui/VideoControl/LiveStream/GenerateStreamKey.js +2 -2
  39. package/dist/admin-toolkit-ui/VideoControl/LiveStream/ShowStreamKey.js +4 -6
  40. package/dist/admin-toolkit-ui/VideoControl/LiveStream/index.d.ts +1 -1
  41. package/dist/admin-toolkit-ui/VideoControl/LiveStream/index.js +5 -5
  42. package/dist/admin-toolkit-ui/VideoControl/VideoUrl.js +5 -7
  43. package/dist/admin-toolkit-ui/VideoControl/VolumeControl.js +15 -7
  44. package/dist/admin-toolkit-ui/VideoControl/api.d.ts +1 -1
  45. package/dist/admin-toolkit-ui/VideoControl/api.js +6 -3
  46. package/dist/admin-toolkit-ui/VideoControl/index.d.ts +1 -1
  47. package/dist/admin-toolkit-ui/VideoControl/index.js +8 -11
  48. package/dist/admin-toolkit-ui/VideoControl/utils.js +5 -7
  49. package/dist/admin-toolkit-ui/constants.js +1 -1
  50. package/dist/admin-toolkit-ui/fetch-utils.d.ts +3 -3
  51. package/dist/admin-toolkit-ui/fetch-utils.js +7 -7
  52. package/dist/admin-toolkit-ui/index.js +16 -32
  53. package/dist/admin-toolkit-ui/types.d.ts +1 -1
  54. package/dist/admin-toolkit-ui/types.js +1 -1
  55. package/dist/admin-toolkit-ui/utils.d.ts +1 -1
  56. package/dist/admin-toolkit-ui/utils.js +1 -1
  57. package/dist/admin-toolkit.d.ts +3 -3
  58. package/dist/admin-toolkit.js +1 -1
  59. package/dist/bin/index.js +13402 -13784
  60. package/dist/clone.d.ts +2 -2
  61. package/dist/clone.js +1 -1
  62. package/dist/components.d.ts +2 -2
  63. package/dist/components.js +1 -1
  64. package/dist/counter-bar.d.ts +2 -2
  65. package/dist/counter-bar.js +5 -9
  66. package/dist/definitions.d.ts +18 -2
  67. package/dist/definitions.js +12 -4
  68. package/dist/enums.d.ts +3 -2
  69. package/dist/enums.js +2 -1
  70. package/dist/events.d.ts +3 -3
  71. package/dist/events.js +1 -1
  72. package/dist/id.d.ts +2 -2
  73. package/dist/id.js +1 -1
  74. package/dist/index.js +1 -1
  75. package/dist/input-actions.d.ts +2 -1
  76. package/dist/input-actions.js +1 -1
  77. package/dist/lww.d.ts +1 -1
  78. package/dist/lww.js +2 -3
  79. package/dist/scene-entrypoint.d.ts +1 -1
  80. package/dist/scene-entrypoint.js +3 -3
  81. package/dist/states.d.ts +1 -1
  82. package/dist/states.js +1 -1
  83. package/dist/timer.d.ts +1 -1
  84. package/dist/timer.js +3 -3
  85. package/dist/transform.d.ts +2 -2
  86. package/dist/transform.js +1 -1
  87. package/dist/triggers.d.ts +2 -2
  88. package/dist/triggers.js +9 -8
  89. package/dist/tweens.js +1 -1
  90. package/dist/types.d.ts +1 -1
  91. package/dist/types.js +2 -2
  92. package/dist/ui.d.ts +5 -3
  93. package/dist/ui.js +1 -1
  94. package/package.json +55 -43
  95. package/.cursor/rules/dcl-styled-components.mdc +0 -849
  96. package/.cursor/rules/dcl-testing.mdc +0 -356
  97. package/.prettierrc.json +0 -6
  98. package/.vscode/settings.json +0 -3
  99. package/dclcontext/crypto.mdc +0 -880
  100. package/dclcontext/npc.mdc +0 -716
  101. package/dclcontext/sdk7-complete-reference.md +0 -3684
  102. package/dclcontext/sdk7-examples.mdc +0 -1709
  103. package/dclcontext/ui.mdc +0 -900
  104. package/dclcontext/utils.mdc +0 -467
package/README.md CHANGED
@@ -39,25 +39,23 @@ You can develop this repo locally and test it within the Web Editor by doing the
39
39
 
40
40
  Go to this repo in your machine and do this:
41
41
 
42
- 1. Run `npm run start` to watch for changes and start the SDK7 dev server (on port `8000` by default).
42
+ 1. Run `npm run start` to watch for changes and start the SDK7 dev server (on port `8001` by default).
43
43
  2. On a new terminal, run `docker-compose up` to start the local content server on `http://localhost:9000/asset-packs`
44
44
  3. On a new terminal, run `npm run upload` to upload all assets to your local content server (copy the `.env.example` into `.env` if you haven't done that before).
45
- 4. Run `npm link` to allow other projects to symlink to this one.
46
- 5. Copy the path to the `bin/index.js` in this repo (something like `/Users/my-user/path/to/asset-packs/bin/index.js`).
45
+ 4. Copy the path to the `bin/index.js` in this repo (something like `/Users/my-user/path/to/creators-hub/packages/asset-packs/bin/index.js`).
47
46
 
48
- Go the `js-sdk-toolchain` repo in your machine and do this:
47
+ Go to the `packages/inspector` in this monorepo and do this:
49
48
 
50
- 1. Run `cd packages/@dcl/inspector`.
51
- 2. Run `npm link @dcl/asset-packs` to symlink to your local repository
52
- 3. Run `npm start` to start a local dev server. It should start by default on port `8000` but since we are already using it for the SDK7 dev server, it will start on port `8001`.
49
+ 1. Run `npm start` to start a local dev server. It should start by default on port `8000`.
53
50
 
54
- Go to the `creator-hub` repo in your machine and do this:
51
+ Go to the `packages/creator-hub` in this monorepo and do this:
55
52
 
56
- 1. Set the `VITE_INSPECTOR_PORT` env var in `.env` to be `8001` (this is the `@dcl/inspector` dev server we started in the previous section).
57
- 2. Set the `VITE_ASSET_PACKS_JS_PORT` to the port where the SDK7 started running in the first section (by defualt `8000`).
58
- 3. Set the `VITE_ASSET_PACKS_JS_PATH` env var in `.env` to the path to the `bin/index.js` that you copied in the first section.
59
- 4. Set the `VITE_ASSET_PACKS_CONTENT_URL` variable in `src/config/env/[dev|stg|prod].json` to be `http://localhost:9000/asset-packs` (this is the content server we started in the first section).
60
- 5. Run `npm start` to start the builder local server which should start on port `3000`
53
+ 1. Copy the `.env.example` to `.env` if you haven't done that before.
54
+ 2. Set the `VITE_INSPECTOR_PORT` env var in `.env` to be `8000` (this is the `@dcl/inspector` dev server we started in the previous section).
55
+ 3. Set the `VITE_ASSET_PACKS_JS_PORT` to the port where the SDK7 started running in the first section (`8001`).
56
+ 4. Set the `VITE_ASSET_PACKS_JS_PATH` env var in `.env` to the path to the `bin/index.js` that you copied in the first section.
57
+ 5. Set the `VITE_ASSET_PACKS_CONTENT_URL` env var in `.env` to be `http://localhost:9000/asset-packs` (this is the content server we started in the first section).
58
+ 6. Run `npm start` to start the builder local server which should start on port `3000`
61
59
 
62
60
  Now you are all set, you can start developing the SDK7 scene in this repo, use it from the local Builder and test it by previewing the scene, which should use your local Builder Server serving the development javascript files.
63
61