hytopia 0.9.2 → 0.9.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/bin/scripts.js CHANGED
@@ -150,7 +150,23 @@ function installProjectDependencies() {
150
150
  Deno.removeSync('main_test.ts');
151
151
 
152
152
  // create deno.json with nodeModulesDir set to auto
153
- Deno.writeTextFile('deno.json', JSON.stringify({ nodeModulesDir: "auto" }, null, 2));
153
+ Deno.writeTextFile('deno.json', JSON.stringify({
154
+ nodeModulesDir: "auto",
155
+ }, null, 2));
156
+
157
+ // create tsconfig.json, used by validation bundler
158
+ Deno.writeTextFile('tsconfig.json', JSON.stringify({
159
+ compilerOptions: {
160
+ lib: ["ESNext"],
161
+ target: "ESNext",
162
+ module: "Preserve",
163
+ moduleResolution: "bundler",
164
+ types: ["deno.ns"],
165
+ verbatimModuleSyntax: true,
166
+ strict: true,
167
+ skipLibCheck: true
168
+ }
169
+ }, null, 2))
154
170
 
155
171
  // create package.json
156
172
  Deno.writeTextFile('package.json', JSON.stringify({
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## BlockTypeOptions.lightLevel property
6
6
 
7
- The light emission level.
7
+ The light emission level, between 0 and 15.
8
8
 
9
9
  **Signature:**
10
10
 
@@ -126,7 +126,7 @@ number
126
126
 
127
127
  </td><td>
128
128
 
129
- _(Optional)_ The light emission level.
129
+ _(Optional)_ The light emission level, between 0 and 15.
130
130
 
131
131
 
132
132
  </td></tr>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./server.js",
package/server.api.json CHANGED
@@ -5543,7 +5543,7 @@
5543
5543
  {
5544
5544
  "kind": "PropertySignature",
5545
5545
  "canonicalReference": "server!BlockTypeOptions#lightLevel:member",
5546
- "docComment": "/**\n * The light emission level.\n */\n",
5546
+ "docComment": "/**\n * The light emission level, between 0 and 15.\n */\n",
5547
5547
  "excerptTokens": [
5548
5548
  {
5549
5549
  "kind": "Content",
package/server.d.ts CHANGED
@@ -662,7 +662,7 @@ export declare interface BlockTypeOptions {
662
662
  halfExtents?: Vector3Like;
663
663
  /** Whether the block type is a liquid. */
664
664
  isLiquid?: boolean;
665
- /** The light emission level. */
665
+ /** The light emission level, between 0 and 15. */
666
666
  lightLevel?: number;
667
667
  /** The name of the block type. */
668
668
  name: string;