pw-js-api 0.2.1 → 0.2.2-dev.073a13b

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 (2) hide show
  1. package/esm.mjs +1 -1
  2. package/package.json +1 -1
package/esm.mjs CHANGED
@@ -5,9 +5,9 @@ if ("default" in PWGameClient) PWGameClient = PWGameClient.default;
5
5
  if ("default" in PWApiClient) PWApiClient = PWApiClient.default;
6
6
 
7
7
  const Constants = (await import("./dist/util/Constants.js")).default;
8
- const BlockNames = (await import("./dist/util/block.js")).BlockNames;
9
8
  const ProtoGen = (await import("./dist/gen/world_pb.js")).default;
10
9
 
10
+ import { BlockNames } from "./dist/util/block.js";
11
11
 
12
12
  export default {
13
13
  PWGameClient, PWApiClient, Constants, BlockNames, ProtoGen
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pw-js-api",
3
- "version": "0.2.1",
3
+ "version": "0.2.2-dev.073a13b",
4
4
  "description": "A PixelWalker Library, aims to be minimal with support for browsers.",
5
5
  "exports": {
6
6
  "bun": "./dist/index.js",