@cartridge/controller 0.5.6 → 0.5.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cartridge/controller",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Cartridge Controller",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,12 +31,12 @@
31
31
  "fast-deep-equal": "^3.1.3",
32
32
  "query-string": "^7.1.1",
33
33
  "starknet": "^6.11.0",
34
- "@cartridge/account-wasm": "0.5.6"
34
+ "@cartridge/account-wasm": "0.5.7"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^20.6.0",
38
38
  "typescript": "^5.4.5",
39
- "@cartridge/tsconfig": "0.5.6"
39
+ "@cartridge/tsconfig": "0.5.7"
40
40
  },
41
41
  "scripts": {
42
42
  "build:deps": "tsup --dts-resolve",
package/src/provider.ts CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  WalletEventListener,
11
11
  WalletEvents,
12
12
  } from "@starknet-io/types-js";
13
+ import manifest from "../package.json";
13
14
 
14
15
  import { icon } from "./icon";
15
16
  import { ProviderOptions } from "./types";
@@ -17,7 +18,7 @@ import { ProviderOptions } from "./types";
17
18
  export default abstract class BaseProvider implements StarknetWindowObject {
18
19
  public id = "controller";
19
20
  public name = "Controller";
20
- public version = "0.4.0";
21
+ public version = manifest.version;
21
22
  public icon = icon;
22
23
 
23
24
  public rpc: URL;
@@ -1,5 +1,5 @@
1
1
  import { cloudStorage, openLink } from "@telegram-apps/sdk";
2
- import { UnifiedBackend } from "src/session/backend";
2
+ import { UnifiedBackend } from "../session/backend";
3
3
 
4
4
  /**
5
5
  * Implements the UnifiedBackend interface for Telegram storage operations.
package/tsconfig.json CHANGED
@@ -2,12 +2,11 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "extends": "@cartridge/tsconfig/base.json",
4
4
  "compilerOptions": {
5
- "baseUrl": ".",
6
- "rootDir": "./src",
5
+ "rootDir": ".",
7
6
  "outDir": "./dist",
8
7
  "composite": false,
9
8
  "incremental": false,
10
9
  "moduleResolution": "node"
11
10
  },
12
- "include": ["src/**/*"]
11
+ "include": ["src/**/*", "package.json"]
13
12
  }