Skip to content

Commit

Permalink
🚀 Deploy new version
Browse files Browse the repository at this point in the history
  • Loading branch information
bal7hazar committed Jan 14, 2025
1 parent 911b0cb commit a07abab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bal7hazar/arcade-sdk",
"version": "0.0.25",
"version": "0.0.26",
"description": "Cartridge Arcade SDK",
"license": "MIT",
"repository": {
Expand Down
5 changes: 4 additions & 1 deletion packages/sdk/src/provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,12 @@ export class ArcadeProvider extends DojoEmitterProvider {
* @param chainId - The chain ID
*/
constructor(chainId: constants.StarknetChainId) {
console.log("chainId", chainId);
console.log("configs", configs);
const config = configs[chainId];
console.log("config", config);
super(config, config.rpcUrl);
this.manifest = config;
this.manifest = config.manifest;

this.getWorldAddress = function () {
const worldAddress = this.manifest.world.address;
Expand Down

0 comments on commit a07abab

Please sign in to comment.