@cartridge/controller 0.9.2 → 0.9.3
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/.turbo/turbo-build$colon$deps.log +19 -19
- package/.turbo/turbo-build.log +16 -16
- package/dist/index.js +293 -266
- package/dist/index.js.map +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +3 -1
- package/dist/node/index.d.ts +3 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/{provider-C1UeMjUr.js → provider-D7ialTEP.js} +2 -2
- package/dist/provider-D7ialTEP.js.map +1 -0
- package/dist/session.js +3 -3
- package/dist/session.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/wallets/bridge.d.ts +2 -0
- package/dist/wallets/types.d.ts +2 -1
- package/package.json +3 -3
- package/src/controller.ts +22 -7
- package/src/types.ts +5 -0
- package/src/wallets/bridge.ts +33 -11
- package/src/wallets/types.ts +8 -1
- package/dist/provider-C1UeMjUr.js.map +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
> @cartridge/controller@0.9.
|
|
2
|
+
> @cartridge/controller@0.9.3 build:deps /home/runner/work/controller/controller/packages/controller
|
|
3
3
|
> pnpm build
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @cartridge/controller@0.9.
|
|
6
|
+
> @cartridge/controller@0.9.3 build /home/runner/work/controller/controller/packages/controller
|
|
7
7
|
> pnpm build:browser && pnpm build:node
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @cartridge/controller@0.9.
|
|
10
|
+
> @cartridge/controller@0.9.3 build:browser /home/runner/work/controller/controller/packages/controller
|
|
11
11
|
> vite build
|
|
12
12
|
|
|
13
13
|
[36mvite v6.3.4 [32mbuilding for production...[36m[39m
|
|
14
14
|
transforming...
|
|
15
|
-
[32m✓[39m
|
|
15
|
+
[32m✓[39m 218 modules transformed.
|
|
16
16
|
rendering chunks...
|
|
17
|
-
[vite-plugin-top-level-await] Non-existing module "../../../node_modules/.pnpm/@cartridge+controller-wasm@0.2.
|
|
17
|
+
[vite-plugin-top-level-await] Non-existing module "../../../node_modules/.pnpm/@cartridge+controller-wasm@0.2.7/node_modules/@cartridge/controller-wasm/pkg-session/session_wasm_bg.wasm" imported by "session.js", ignoring.
|
|
18
18
|
|
|
19
19
|
[vite:dts] Start generate declaration files...
|
|
20
20
|
computing gzip size...
|
|
21
|
-
[2mdist/[22m[36msession.js [39m[1m[2m11.17 kB[22m[1m[22m[2m │ gzip: 3.47 kB[22m[2m │ map: 60.
|
|
22
|
-
[2mdist/[22m[36mprovider-
|
|
23
|
-
[2mdist/[22m[36mindex.js [39m[1m[2m77.
|
|
24
|
-
[vite:dts] Declaration files built in
|
|
21
|
+
[2mdist/[22m[36msession.js [39m[1m[2m11.17 kB[22m[1m[22m[2m │ gzip: 3.47 kB[22m[2m │ map: 60.46 kB[22m
|
|
22
|
+
[2mdist/[22m[36mprovider-D7ialTEP.js [39m[1m[2m13.48 kB[22m[1m[22m[2m │ gzip: 5.51 kB[22m[2m │ map: 32.69 kB[22m
|
|
23
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m77.96 kB[22m[1m[22m[2m │ gzip: 20.41 kB[22m[2m │ map: 225.38 kB[22m
|
|
24
|
+
[vite:dts] Declaration files built in 4571ms.
|
|
25
25
|
|
|
26
|
-
[32m✓ built in 6.
|
|
26
|
+
[32m✓ built in 6.27s[39m
|
|
27
27
|
|
|
28
|
-
> @cartridge/controller@0.9.
|
|
28
|
+
> @cartridge/controller@0.9.3 build:node /home/runner/work/controller/controller/packages/controller
|
|
29
29
|
> tsup --config tsup.node.config.ts
|
|
30
30
|
|
|
31
31
|
[34mCLI[39m Building entry: src/node/index.ts
|
|
@@ -36,16 +36,16 @@ computing gzip size...
|
|
|
36
36
|
[34mCLI[39m Cleaning output folder
|
|
37
37
|
[34mESM[39m Build start
|
|
38
38
|
[34mCJS[39m Build start
|
|
39
|
+
"constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
39
40
|
"constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
|
|
40
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.
|
|
41
|
-
"constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
42
|
-
[32mCJS[39m [1mdist/node/index.cjs [22m[32m21.89 KB[39m
|
|
43
|
-
[32mCJS[39m [1mdist/node/index.cjs.map [22m[32m50.50 KB[39m
|
|
44
|
-
[32mCJS[39m ⚡️ Build success in 364ms
|
|
45
42
|
[32mESM[39m [1mdist/node/index.js [22m[32m21.13 KB[39m
|
|
46
43
|
[32mESM[39m [1mdist/node/index.js.map [22m[32m50.30 KB[39m
|
|
47
|
-
[32mESM[39m ⚡️ Build success in
|
|
44
|
+
[32mESM[39m ⚡️ Build success in 408ms
|
|
45
|
+
[32mCJS[39m [1mdist/node/index.cjs [22m[32m21.89 KB[39m
|
|
46
|
+
[32mCJS[39m [1mdist/node/index.cjs.map [22m[32m50.50 KB[39m
|
|
47
|
+
[32mCJS[39m ⚡️ Build success in 408ms
|
|
48
48
|
[34mDTS[39m Build start
|
|
49
|
-
[32mDTS[39m ⚡️ Build success in
|
|
50
|
-
[32mDTS[39m [1mdist/node/index.d.ts [22m[32m5.
|
|
51
|
-
[32mDTS[39m [1mdist/node/index.d.cts [22m[32m5.
|
|
49
|
+
[32mDTS[39m ⚡️ Build success in 4241ms
|
|
50
|
+
[32mDTS[39m [1mdist/node/index.d.ts [22m[32m5.51 KB[39m
|
|
51
|
+
[32mDTS[39m [1mdist/node/index.d.cts [22m[32m5.51 KB[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
> @cartridge/controller@0.9.
|
|
2
|
+
> @cartridge/controller@0.9.3 build /home/runner/work/controller/controller/packages/controller
|
|
3
3
|
> pnpm build:browser && pnpm build:node
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @cartridge/controller@0.9.
|
|
6
|
+
> @cartridge/controller@0.9.3 build:browser /home/runner/work/controller/controller/packages/controller
|
|
7
7
|
> vite build
|
|
8
8
|
|
|
9
9
|
[36mvite v6.3.4 [32mbuilding for production...[36m[39m
|
|
10
10
|
transforming...
|
|
11
|
-
[32m✓[39m
|
|
11
|
+
[32m✓[39m 218 modules transformed.
|
|
12
12
|
rendering chunks...
|
|
13
|
-
[vite-plugin-top-level-await] Non-existing module "../../../node_modules/.pnpm/@cartridge+controller-wasm@0.2.
|
|
13
|
+
[vite-plugin-top-level-await] Non-existing module "../../../node_modules/.pnpm/@cartridge+controller-wasm@0.2.7/node_modules/@cartridge/controller-wasm/pkg-session/session_wasm_bg.wasm" imported by "session.js", ignoring.
|
|
14
14
|
|
|
15
15
|
[vite:dts] Start generate declaration files...
|
|
16
16
|
computing gzip size...
|
|
17
|
-
[2mdist/[22m[36msession.js [39m[1m[2m11.17 kB[22m[1m[22m[2m │ gzip: 3.47 kB[22m[2m │ map: 60.
|
|
18
|
-
[2mdist/[22m[36mprovider-
|
|
19
|
-
[2mdist/[22m[36mindex.js [39m[1m[2m77.
|
|
20
|
-
[vite:dts] Declaration files built in
|
|
17
|
+
[2mdist/[22m[36msession.js [39m[1m[2m11.17 kB[22m[1m[22m[2m │ gzip: 3.47 kB[22m[2m │ map: 60.46 kB[22m
|
|
18
|
+
[2mdist/[22m[36mprovider-D7ialTEP.js [39m[1m[2m13.48 kB[22m[1m[22m[2m │ gzip: 5.51 kB[22m[2m │ map: 32.69 kB[22m
|
|
19
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m77.96 kB[22m[1m[22m[2m │ gzip: 20.41 kB[22m[2m │ map: 225.38 kB[22m
|
|
20
|
+
[vite:dts] Declaration files built in 4453ms.
|
|
21
21
|
|
|
22
|
-
[32m✓ built in 6.
|
|
22
|
+
[32m✓ built in 6.42s[39m
|
|
23
23
|
|
|
24
|
-
> @cartridge/controller@0.9.
|
|
24
|
+
> @cartridge/controller@0.9.3 build:node /home/runner/work/controller/controller/packages/controller
|
|
25
25
|
> tsup --config tsup.node.config.ts
|
|
26
26
|
|
|
27
27
|
[34mCLI[39m Building entry: src/node/index.ts
|
|
@@ -32,16 +32,16 @@ computing gzip size...
|
|
|
32
32
|
[34mCLI[39m Cleaning output folder
|
|
33
33
|
[34mESM[39m Build start
|
|
34
34
|
[34mCJS[39m Build start
|
|
35
|
-
"constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
36
35
|
"constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
|
|
37
36
|
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.
|
|
37
|
+
"constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
38
38
|
[32mCJS[39m [1mdist/node/index.cjs [22m[32m21.89 KB[39m
|
|
39
39
|
[32mCJS[39m [1mdist/node/index.cjs.map [22m[32m50.50 KB[39m
|
|
40
|
-
[32mCJS[39m ⚡️ Build success in
|
|
40
|
+
[32mCJS[39m ⚡️ Build success in 299ms
|
|
41
41
|
[32mESM[39m [1mdist/node/index.js [22m[32m21.13 KB[39m
|
|
42
42
|
[32mESM[39m [1mdist/node/index.js.map [22m[32m50.30 KB[39m
|
|
43
|
-
[32mESM[39m ⚡️ Build success in
|
|
43
|
+
[32mESM[39m ⚡️ Build success in 299ms
|
|
44
44
|
[34mDTS[39m Build start
|
|
45
|
-
[32mDTS[39m ⚡️ Build success in
|
|
46
|
-
[32mDTS[39m [1mdist/node/index.d.ts [22m[32m5.
|
|
47
|
-
[32mDTS[39m [1mdist/node/index.d.cts [22m[32m5.
|
|
45
|
+
[32mDTS[39m ⚡️ Build success in 4315ms
|
|
46
|
+
[32mDTS[39m [1mdist/node/index.d.ts [22m[32m5.51 KB[39m
|
|
47
|
+
[32mDTS[39m [1mdist/node/index.d.cts [22m[32m5.51 KB[39m
|