@cartridge/controller 0.7.10 → 0.7.12

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.
@@ -1,51 +1,49 @@
1
-
2
- > @cartridge/controller@0.7.10 build:deps /home/runner/work/controller/controller/packages/controller
3
- > pnpm build
4
-
5
-
6
- > @cartridge/controller@0.7.10 build /home/runner/work/controller/controller/packages/controller
7
- > pnpm build:browser && pnpm build:node
8
-
9
-
10
- > @cartridge/controller@0.7.10 build:browser /home/runner/work/controller/controller/packages/controller
11
- > vite build
12
-
13
- vite v6.1.0 building for production...
14
- transforming...
15
- ✓ 61 modules transformed.
16
- rendering chunks...
17
- [vite-plugin-top-level-await] Non-existing module "../../account-wasm/pkg-session/account_wasm_bg.wasm" imported by "session.js", ignoring.
18
-
19
- [vite:dts] Start generate declaration files...
20
- computing gzip size...
21
- dist/session.js  10.81 kB │ gzip: 3.36 kB │ map: 56.40 kB
22
- dist/provider-Dr912mPw.js  23.20 kB gzip: 13.54 kB │ map: 40.69 kB
23
- dist/index.js 135.80 kB │ gzip: 24.34 kB │ map: 258.51 kB
24
- [vite:dts] Declaration files built in 3451ms.
25
-
26
- ✓ built in 4.21s
27
-
28
- > @cartridge/controller@0.7.10 build:node /home/runner/work/controller/controller/packages/controller
29
- > tsup --config tsup.node.config.ts
30
-
31
- CLI Building entry: src/node/index.ts
32
- CLI Using tsconfig: tsconfig.json
33
- CLI tsup v8.3.6
34
- CLI Using tsup config: /home/runner/work/controller/controller/packages/controller/tsup.node.config.ts
35
- CLI Target: esnext
36
- CLI Cleaning output folder
37
- ESM Build start
38
- CJS Build start
39
- "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
40
- "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
41
- Entry module "dist/node/index.cjs" is using named and default exports together. Consumers of your bundle will have to use `chunk.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
42
- ESM dist/node/index.js 31.14 KB
43
- ESM dist/node/index.js.map 58.58 KB
44
- ESM ⚡️ Build success in 395ms
45
- CJS dist/node/index.cjs 31.90 KB
46
- CJS dist/node/index.cjs.map 58.78 KB
47
- CJS ⚡️ Build success in 395ms
48
- DTS Build start
49
- DTS ⚡️ Build success in 3035ms
50
- DTS dist/node/index.d.ts 5.09 KB
51
- DTS dist/node/index.d.cts 5.09 KB
1
+
2
+
3
+ > @cartridge/controller@0.7.12 build:deps /home/broody/development/controller/packages/controller
4
+ > pnpm build
5
+
6
+
7
+ > @cartridge/controller@0.7.12 build /home/broody/development/controller/packages/controller
8
+ > pnpm build:browser && pnpm build:node
9
+
10
+
11
+ > @cartridge/controller@0.7.12 build:browser /home/broody/development/controller/packages/controller
12
+ > vite build
13
+
14
+ vite v6.1.0 building for production...
15
+ transforming (1) src/session/index.tstransforming (24) src/icon.ts✓ 61 modules transformed.
16
+ rendering chunks (1)...rendering chunks (2)...rendering chunks (3)...[vite-plugin-top-level-await] Non-existing module "../../account-wasm/pkg-session/account_wasm_bg.wasm" imported by "session.js", ignoring.
17
+ 
18
+ [vite:dts] Start generate declaration files...
19
+ computing gzip size (0)...computing gzip size (1)...computing gzip size (2)...computing gzip size (3)...dist/session.js  10.84 kB │ gzip: 3.38 kB map: 58.83 kB
20
+ dist/provider-BN3lM6-S.js  23.30 kB │ gzip: 13.58 kB │ map: 40.97 kB
21
+ dist/index.js 137.06 kB │ gzip: 24.66 kB │ map: 261.82 kB
22
+ [vite:dts] Declaration files built in 1924ms.
23
+ 
24
+ ✓ built in 2.51s
25
+
26
+ > @cartridge/controller@0.7.12 build:node /home/broody/development/controller/packages/controller
27
+ > tsup --config tsup.node.config.ts
28
+
29
+ CLI Building entry: src/node/index.ts
30
+ CLI Using tsconfig: tsconfig.json
31
+ CLI tsup v8.3.6
32
+ CLI Using tsup config: /home/broody/development/controller/packages/controller/tsup.node.config.ts
33
+ CLI Target: esnext
34
+ CLI Cleaning output folder
35
+ ESM Build start
36
+ CJS Build start
37
+ "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
38
+ Entry module "dist/node/index.cjs" is using named and default exports together. Consumers of your bundle will have to use `chunk.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
39
+ "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
40
+ CJS dist/node/index.cjs 31.90 KB
41
+ CJS dist/node/index.cjs.map 58.78 KB
42
+ CJS ⚡️ Build success in 163ms
43
+ ESM dist/node/index.js 31.14 KB
44
+ ESM dist/node/index.js.map 58.58 KB
45
+ ESM ⚡️ Build success in 163ms
46
+ DTS Build start
47
+ DTS ⚡️ Build success in 1774ms
48
+ DTS dist/node/index.d.ts 5.31 KB
49
+ DTS dist/node/index.d.cts 5.31 KB
@@ -1,47 +1,45 @@
1
-
2
- > @cartridge/controller@0.7.10 build /home/runner/work/controller/controller/packages/controller
3
- > pnpm build:browser && pnpm build:node
4
-
5
-
6
- > @cartridge/controller@0.7.10 build:browser /home/runner/work/controller/controller/packages/controller
7
- > vite build
8
-
9
- vite v6.1.0 building for production...
10
- transforming...
11
- ✓ 61 modules transformed.
12
- rendering chunks...
13
- [vite-plugin-top-level-await] Non-existing module "../../account-wasm/pkg-session/account_wasm_bg.wasm" imported by "session.js", ignoring.
14
-
15
- [vite:dts] Start generate declaration files...
16
- computing gzip size...
17
- dist/session.js  10.81 kB │ gzip: 3.36 kB │ map: 56.40 kB
18
- dist/provider-Dr912mPw.js  23.20 kB gzip: 13.54 kB │ map: 40.69 kB
19
- dist/index.js 135.80 kB │ gzip: 24.34 kB │ map: 258.51 kB
20
- [vite:dts] Declaration files built in 3300ms.
21
-
22
- ✓ built in 4.20s
23
-
24
- > @cartridge/controller@0.7.10 build:node /home/runner/work/controller/controller/packages/controller
25
- > tsup --config tsup.node.config.ts
26
-
27
- CLI Building entry: src/node/index.ts
28
- CLI Using tsconfig: tsconfig.json
29
- CLI tsup v8.3.6
30
- CLI Using tsup config: /home/runner/work/controller/controller/packages/controller/tsup.node.config.ts
31
- CLI Target: esnext
32
- CLI Cleaning output folder
33
- ESM Build start
34
- CJS Build start
35
- "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
36
- "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
37
- Entry module "dist/node/index.cjs" is using named and default exports together. Consumers of your bundle will have to use `chunk.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
38
- ESM dist/node/index.js 31.14 KB
39
- ESM dist/node/index.js.map 58.58 KB
40
- ESM ⚡️ Build success in 289ms
41
- CJS dist/node/index.cjs 31.90 KB
42
- CJS dist/node/index.cjs.map 58.78 KB
43
- CJS ⚡️ Build success in 293ms
44
- DTS Build start
45
- DTS ⚡️ Build success in 3297ms
46
- DTS dist/node/index.d.ts 5.09 KB
47
- DTS dist/node/index.d.cts 5.09 KB
1
+
2
+
3
+ > @cartridge/controller@0.7.12 build /home/broody/development/controller/packages/controller
4
+ > pnpm build:browser && pnpm build:node
5
+
6
+
7
+ > @cartridge/controller@0.7.12 build:browser /home/broody/development/controller/packages/controller
8
+ > vite build
9
+
10
+ vite v6.1.0 building for production...
11
+ transforming (1) src/session/index.tstransforming (21) ../account-wasm/pkg-session/acco✓ 61 modules transformed.
12
+ rendering chunks (1)...rendering chunks (2)...rendering chunks (3)...[vite-plugin-top-level-await] Non-existing module "../../account-wasm/pkg-session/account_wasm_bg.wasm" imported by "session.js", ignoring.
13
+ 
14
+ [vite:dts] Start generate declaration files...
15
+ computing gzip size (0)...computing gzip size (1)...computing gzip size (2)...computing gzip size (3)...dist/session.js  10.84 kB │ gzip: 3.38 kB map: 58.83 kB
16
+ dist/provider-BN3lM6-S.js  23.30 kB │ gzip: 13.58 kB │ map: 40.97 kB
17
+ dist/index.js 137.06 kB │ gzip: 24.66 kB │ map: 261.82 kB
18
+ [vite:dts] Declaration files built in 1906ms.
19
+ 
20
+ ✓ built in 2.48s
21
+
22
+ > @cartridge/controller@0.7.12 build:node /home/broody/development/controller/packages/controller
23
+ > tsup --config tsup.node.config.ts
24
+
25
+ CLI Building entry: src/node/index.ts
26
+ CLI Using tsconfig: tsconfig.json
27
+ CLI tsup v8.3.6
28
+ CLI Using tsup config: /home/broody/development/controller/packages/controller/tsup.node.config.ts
29
+ CLI Target: esnext
30
+ CLI Cleaning output folder
31
+ ESM Build start
32
+ CJS Build start
33
+ "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
34
+ "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
35
+ Entry module "dist/node/index.cjs" is using named and default exports together. Consumers of your bundle will have to use `chunk.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
36
+ ESM dist/node/index.js 31.14 KB
37
+ ESM dist/node/index.js.map 58.58 KB
38
+ ESM ⚡️ Build success in 158ms
39
+ CJS dist/node/index.cjs 31.90 KB
40
+ CJS dist/node/index.cjs.map 58.78 KB
41
+ CJS ⚡️ Build success in 158ms
42
+ DTS Build start
43
+ DTS ⚡️ Build success in 1815ms
44
+ DTS dist/node/index.d.ts 5.31 KB
45
+ DTS dist/node/index.d.cts 5.31 KB
@@ -0,0 +1,39 @@
1
+
2
+
3
+ > @cartridge/controller@0.7.11 format /home/broody/development/controller/packages/controller
4
+ > prettier --write "src/**/*.ts"
5
+
6
+ src/__tests__/parseChainId.test.tssrc/__tests__/parseChainId.test.ts 87ms (unchanged)
7
+ src/account.tssrc/account.ts 40ms (unchanged)
8
+ src/constants.tssrc/constants.ts 3ms (unchanged)
9
+ src/controller.tssrc/controller.ts 95ms (unchanged)
10
+ src/errors.tssrc/errors.ts 4ms (unchanged)
11
+ src/icon.tssrc/icon.ts 8ms (unchanged)
12
+ src/iframe/base.tssrc/iframe/base.ts 28ms (unchanged)
13
+ src/iframe/index.tssrc/iframe/index.ts 2ms (unchanged)
14
+ src/iframe/keychain.tssrc/iframe/keychain.ts 7ms (unchanged)
15
+ src/iframe/profile.tssrc/iframe/profile.ts 15ms (unchanged)
16
+ src/index.tssrc/index.ts 3ms (unchanged)
17
+ src/lookup.tssrc/lookup.ts 21ms (unchanged)
18
+ src/mutex.tssrc/mutex.ts 4ms (unchanged)
19
+ src/node/account.tssrc/node/account.ts 9ms (unchanged)
20
+ src/node/backend.tssrc/node/backend.ts 19ms (unchanged)
21
+ src/node/index.tssrc/node/index.ts 2ms (unchanged)
22
+ src/node/provider.tssrc/node/provider.ts 26ms (unchanged)
23
+ src/node/server.tssrc/node/server.ts 16ms (unchanged)
24
+ src/policies.tssrc/policies.ts 6ms (unchanged)
25
+ src/provider.tssrc/provider.ts 20ms (unchanged)
26
+ src/session/account.tssrc/session/account.ts 5ms (unchanged)
27
+ src/session/backend.tssrc/session/backend.ts 5ms (unchanged)
28
+ src/session/index.tssrc/session/index.ts 2ms (unchanged)
29
+ src/session/provider.tssrc/session/provider.ts 33ms (unchanged)
30
+ src/telegram/backend.tssrc/telegram/backend.ts 3ms (unchanged)
31
+ src/telegram/provider.tssrc/telegram/provider.ts 13ms (unchanged)
32
+ src/types.tssrc/types.ts 16ms (unchanged)
33
+ src/utils.tssrc/utils.ts 22ms (unchanged)
34
+ src/wallets/argent/index.tssrc/wallets/argent/index.ts 11ms (unchanged)
35
+ src/wallets/bridge.tssrc/wallets/bridge.ts 21ms (unchanged)
36
+ src/wallets/index.tssrc/wallets/index.ts 1ms (unchanged)
37
+ src/wallets/metamask/index.tssrc/wallets/metamask/index.ts 17ms (unchanged)
38
+ src/wallets/phantom/index.tssrc/wallets/phantom/index.ts 15ms (unchanged)
39
+ src/wallets/types.tssrc/wallets/types.ts 5ms (unchanged)
@@ -24,8 +24,11 @@ export default class ControllerProvider extends BaseProvider {
24
24
  rpcUrl(): string;
25
25
  username(): Promise<string> | undefined;
26
26
  openPurchaseCredits(): void;
27
- openStarterPack(): void;
28
- openExecute(calls: any, chainId?: string): Promise<boolean | undefined>;
27
+ openStarterPack(starterpackId: string): void;
28
+ openExecute(calls: any, chainId?: string): Promise<{
29
+ status: boolean;
30
+ transactionHash: string;
31
+ } | undefined>;
29
32
  delegateAccount(): Promise<string | null>;
30
33
  private validateChains;
31
34
  private waitForKeychain;