@dcl/js-runtime 7.7.7-13655406288.commit-7b2a671 → 7.7.8-13704604298.commit-dac46d7
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 +35 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @dcl/js-runtime
|
|
2
|
+
|
|
3
|
+
TypeScript definitions for the Decentraland scene runtime environment.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This package provides TypeScript type definitions for the Decentraland scene runtime environment. It includes:
|
|
8
|
+
|
|
9
|
+
- Type definitions for Web APIs (fetch, WebSocket)
|
|
10
|
+
- Auto-generated SDK/API type definitions
|
|
11
|
+
- Basic runtime types (console, DEBUG flag)
|
|
12
|
+
|
|
13
|
+
This package does not contain any JavaScript runtime code - it only provides TypeScript types and interfaces used by the SDK and scene developers.
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install --save-dev @dcl/js-runtime
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Development
|
|
22
|
+
|
|
23
|
+
The types in this package are auto-generated during the monorepo's build process:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# From the root of the monorepo
|
|
27
|
+
make build
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The generated types will be available in `apis.d.ts`.
|
|
31
|
+
|
|
32
|
+
## Documentation
|
|
33
|
+
|
|
34
|
+
- [Scene Development Guide](https://docs.decentraland.org/creator/development-guide/sdk7/scene-content/)
|
|
35
|
+
- [Runtime API Reference](https://docs.decentraland.org/creator/development-guide/sdk7/runtime-api/)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/js-runtime",
|
|
3
3
|
"description": "JavaScript runtime definitions for Decentraland environments",
|
|
4
|
-
"version": "7.7.
|
|
4
|
+
"version": "7.7.8-13704604298.commit-dac46d7",
|
|
5
5
|
"author": "",
|
|
6
6
|
"files": [
|
|
7
7
|
"index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
},
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"typings": "./index.d.ts",
|
|
23
|
-
"commit": "
|
|
23
|
+
"commit": "dac46d7b903d39eded82f7702558f61676eb44bc"
|
|
24
24
|
}
|