From 518b93f3609cf257a793802e16e0681421d3ca14 Mon Sep 17 00:00:00 2001 From: democritus Date: Wed, 8 Nov 2023 13:37:46 +0100 Subject: [PATCH] bump --- examples/dojo-starter | 2 +- .../react-phaser-example/src/phaser/index.ts | 26 ++++---- packages/core/package.json | 2 +- packages/create-burner/package.json | 2 +- packages/react/package.json | 2 +- packages/torii-client/package.json | 2 +- packages/torii-wasm/package.json | 2 +- packages/utils/package.json | 66 +++++++++---------- 8 files changed, 54 insertions(+), 50 deletions(-) diff --git a/examples/dojo-starter b/examples/dojo-starter index 4dfa7bd5..93978e08 160000 --- a/examples/dojo-starter +++ b/examples/dojo-starter @@ -1 +1 @@ -Subproject commit 4dfa7bd54b161d123fa5e259881150fb03ae313c +Subproject commit 93978e08574d444cda5e3189ac2bf57220dbf76c diff --git a/examples/react-phaser-example/src/phaser/index.ts b/examples/react-phaser-example/src/phaser/index.ts index 6371c091..9637c8c7 100644 --- a/examples/react-phaser-example/src/phaser/index.ts +++ b/examples/react-phaser-example/src/phaser/index.ts @@ -1,15 +1,21 @@ import { createPhaserEngine } from "@latticexyz/phaserx"; -import { NetworkLayer } from '../dojo/createNetworkLayer'; -import { registerSystems } from './systems/registerSystems'; -import { namespaceWorld} from '@dojoengine/recs'; +import { NetworkLayer } from "../dojo/createNetworkLayer"; +import { registerSystems } from "./systems/registerSystems"; +import { namespaceWorld } from "@dojoengine/recs"; export type PhaserLayer = Awaited>; type PhaserEngineConfig = Parameters[0]; -export const createPhaserLayer = async (networkLayer: NetworkLayer, phaserConfig: PhaserEngineConfig) => { - +export const createPhaserLayer = async ( + networkLayer: NetworkLayer, + phaserConfig: PhaserEngineConfig +) => { const world = namespaceWorld(networkLayer.world, "phaser"); - const { game, scenes, dispose: disposePhaser } = await createPhaserEngine(phaserConfig); + const { + game, + scenes, + dispose: disposePhaser, + } = await createPhaserEngine(phaserConfig); world.registerDisposer(disposePhaser); const { camera } = scenes.Main; @@ -25,11 +31,9 @@ export const createPhaserLayer = async (networkLayer: NetworkLayer, phaserConfig game, scenes, components, - } + }; registerSystems(layer); - return layer -} - - + return layer; +}; diff --git a/packages/core/package.json b/packages/core/package.json index 86201131..c0ad6c5a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@dojoengine/core", - "version": "0.1.36", + "version": "0.1.37", "description": "Dojo engine core providers and types", "type": "module", "scripts": { diff --git a/packages/create-burner/package.json b/packages/create-burner/package.json index 99b2ad8d..b25d5d76 100644 --- a/packages/create-burner/package.json +++ b/packages/create-burner/package.json @@ -1,6 +1,6 @@ { "name": "@dojoengine/create-burner", - "version": "0.1.36", + "version": "0.1.37", "description": "Useful hooks and functions to create a Starknet burner wallet", "source": "src/index.ts", "main": "dist/index.js", diff --git a/packages/react/package.json b/packages/react/package.json index e45c4eb1..786d9082 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@dojoengine/react", - "version": "0.1.36", + "version": "0.1.37", "description": "Useful React hooks for Starknet", "source": "src/index.ts", "main": "dist/index.js", diff --git a/packages/torii-client/package.json b/packages/torii-client/package.json index 763109a4..ef6a40c6 100644 --- a/packages/torii-client/package.json +++ b/packages/torii-client/package.json @@ -1,6 +1,6 @@ { "name": "@dojoengine/torii-client", - "version": "0.1.36", + "version": "0.1.37", "description": "", "main": "dist/index.js", "type": "module", diff --git a/packages/torii-wasm/package.json b/packages/torii-wasm/package.json index 3ce14eaf..8021c487 100644 --- a/packages/torii-wasm/package.json +++ b/packages/torii-wasm/package.json @@ -1,6 +1,6 @@ { "name": "@dojoengine/torii-wasm", - "version": "0.1.36", + "version": "0.1.37", "description": "", "main": "dist/index.js", "type": "module", diff --git a/packages/utils/package.json b/packages/utils/package.json index 4336b23f..86e22140 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,36 +1,36 @@ { - "name": "@dojoengine/utils", - "version": "0.1.36", - "description": "Helpful Dojo Utils", - "type": "module", - "scripts": { - "build": "tsup", - "test": "jest" - }, - "exports": { - ".": { - "import": "./dist/index.js", - "types": "./dist/index.d.ts" + "name": "@dojoengine/utils", + "version": "0.1.37", + "description": "Helpful Dojo Utils", + "type": "module", + "scripts": { + "build": "tsup", + "test": "jest" + }, + "exports": { + ".": { + "import": "./dist/index.js", + "types": "./dist/index.d.ts" + } + }, + "author": "Loaf", + "license": "MIT", + "main": "dist/index.js", + "devDependencies": { + "@types/elliptic": "^6.4.14", + "@types/jest": "^29.5.0", + "@types/mocha": "^10.0.1", + "bun-types": "^1.0.1", + "fetch-mock": "^9.11.0", + "jest": "^29.5.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.3" + }, + "dependencies": { + "@dojoengine/recs": "0.1.35", + "@latticexyz/utils": "^2.0.0-next.11", + "mathjs": "^12.0.0", + "micro-starknet": "^0.2.3", + "starknet": "^5.19.5" } - }, - "author": "Loaf", - "license": "MIT", - "main": "dist/index.js", - "devDependencies": { - "@types/elliptic": "^6.4.14", - "@types/jest": "^29.5.0", - "@types/mocha": "^10.0.1", - "bun-types": "^1.0.1", - "fetch-mock": "^9.11.0", - "jest": "^29.5.0", - "ts-jest": "^29.1.0", - "typescript": "^5.0.3" - }, - "dependencies": { - "@dojoengine/recs": "0.1.35", - "@latticexyz/utils": "^2.0.0-next.11", - "mathjs": "^12.0.0", - "micro-starknet": "^0.2.3", - "starknet": "^5.19.5" - } }