@cartridge/controller 0.7.7 → 0.7.8
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 +23 -23
- package/.turbo/turbo-build.log +31 -31
- package/dist/controller.cjs +472 -3
- package/dist/controller.cjs.map +1 -1
- package/dist/controller.d.cts +1 -1
- package/dist/controller.d.ts +1 -1
- package/dist/controller.js +472 -3
- package/dist/controller.js.map +1 -1
- package/dist/index.cjs +1908 -1214
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -3
- package/dist/index.d.ts +46 -3
- package/dist/index.js +1905 -1215
- 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 +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/{provider-CTDncg8U.d.cts → provider-BeCgS86X.d.cts} +64 -1
- package/dist/{provider-CTDncg8U.d.ts → provider-BeCgS86X.d.ts} +64 -1
- package/dist/session/index.cjs +1 -1
- package/dist/session/index.cjs.map +1 -1
- package/dist/session/index.d.cts +2 -2
- package/dist/session/index.d.ts +2 -2
- package/dist/session/index.js +1 -1
- package/dist/session/index.js.map +1 -1
- package/package.json +8 -5
- package/src/iframe/base.ts +1 -1
- package/src/iframe/keychain.ts +11 -0
- package/src/index.ts +1 -0
- package/src/types.ts +24 -0
- package/src/wallets/argent/index.ts +122 -0
- package/src/wallets/bridge.ts +165 -0
- package/src/wallets/index.ts +5 -0
- package/src/wallets/metamask/index.ts +210 -0
- package/src/wallets/phantom/index.ts +124 -0
- package/src/wallets/types.ts +32 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @cartridge/controller@0.7.
|
|
2
|
+
> @cartridge/controller@0.7.8 build:deps /home/runner/work/controller/controller/packages/controller
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/controller.ts, src/index.ts, src/lookup.ts, src/node/index.ts, src/session/index.ts
|
|
@@ -14,46 +14,46 @@
|
|
|
14
14
|
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
15
15
|
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/session/index.js".
|
|
16
16
|
"addAddressPadding", "CallData", "getChecksumAddress", "hash", "typedData" and "TypedDataRevision" are imported from external module "starknet" but never used in "dist/controller.cjs".
|
|
17
|
-
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
|
|
18
|
-
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.
|
|
19
|
-
Entry module "dist/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.
|
|
20
17
|
[34mDTS[39m Build start
|
|
21
18
|
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/session/index.cjs".
|
|
22
19
|
Entry module "dist/session/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.
|
|
23
|
-
|
|
20
|
+
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
|
|
21
|
+
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.
|
|
22
|
+
Entry module "dist/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.
|
|
23
|
+
[32mESM[39m [1mdist/controller.js [22m[32m51.36 KB[39m
|
|
24
24
|
[32mESM[39m [1mdist/node/index.js [22m[32m31.52 KB[39m
|
|
25
25
|
[32mESM[39m [1mdist/session/index.js [22m[32m28.81 KB[39m
|
|
26
|
-
[32mESM[39m [1mdist/index.js [22m[32m94.45 KB[39m
|
|
27
26
|
[32mESM[39m [1mdist/lookup.js [22m[32m1.63 KB[39m
|
|
28
|
-
[32mESM[39m [1mdist/
|
|
29
|
-
[32mESM[39m [1mdist/
|
|
30
|
-
[32mESM[39m [1mdist/
|
|
27
|
+
[32mESM[39m [1mdist/index.js [22m[32m120.24 KB[39m
|
|
28
|
+
[32mESM[39m [1mdist/controller.js.map [22m[32m105.60 KB[39m
|
|
29
|
+
[32mESM[39m [1mdist/node/index.js.map [22m[32m64.46 KB[39m
|
|
30
|
+
[32mESM[39m [1mdist/session/index.js.map [22m[32m57.05 KB[39m
|
|
31
31
|
[32mESM[39m [1mdist/lookup.js.map [22m[32m4.00 KB[39m
|
|
32
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
33
|
-
[32mESM[39m ⚡️ Build success in
|
|
34
|
-
[32mCJS[39m [1mdist/controller.cjs [22m[
|
|
32
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m221.81 KB[39m
|
|
33
|
+
[32mESM[39m ⚡️ Build success in 1521ms
|
|
34
|
+
[32mCJS[39m [1mdist/controller.cjs [22m[32m51.42 KB[39m
|
|
35
35
|
[32mCJS[39m [1mdist/lookup.cjs [22m[32m1.69 KB[39m
|
|
36
36
|
[32mCJS[39m [1mdist/node/index.cjs [22m[32m32.30 KB[39m
|
|
37
|
-
[32mCJS[39m [1mdist/index.cjs [22m[
|
|
37
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m120.75 KB[39m
|
|
38
38
|
[32mCJS[39m [1mdist/session/index.cjs [22m[32m28.94 KB[39m
|
|
39
|
-
[32mCJS[39m [1mdist/controller.cjs.map [22m[
|
|
39
|
+
[32mCJS[39m [1mdist/controller.cjs.map [22m[32m105.73 KB[39m
|
|
40
40
|
[32mCJS[39m [1mdist/lookup.cjs.map [22m[32m4.00 KB[39m
|
|
41
|
-
[32mCJS[39m [1mdist/node/index.cjs.map [22m[
|
|
42
|
-
[32mCJS[39m [1mdist/index.cjs.map
|
|
43
|
-
[32mCJS[39m [1mdist/
|
|
44
|
-
[32mCJS[39m ⚡️ Build success in
|
|
45
|
-
[32mDTS[39m ⚡️ Build success in
|
|
46
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
41
|
+
[32mCJS[39m [1mdist/node/index.cjs.map [22m[32m64.67 KB[39m
|
|
42
|
+
[32mCJS[39m [1mdist/session/index.cjs.map [22m[32m57.21 KB[39m
|
|
43
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m222.04 KB[39m
|
|
44
|
+
[32mCJS[39m ⚡️ Build success in 1522ms
|
|
45
|
+
[32mDTS[39m ⚡️ Build success in 8436ms
|
|
46
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.55 KB[39m
|
|
47
47
|
[32mDTS[39m [1mdist/controller.d.ts [22m[32m1.37 KB[39m
|
|
48
48
|
[32mDTS[39m [1mdist/lookup.d.ts [22m[32m216.00 B[39m
|
|
49
49
|
[32mDTS[39m [1mdist/node/index.d.ts [22m[32m2.35 KB[39m
|
|
50
50
|
[32mDTS[39m [1mdist/session/index.d.ts [22m[32m1.90 KB[39m
|
|
51
51
|
[32mDTS[39m [1mdist/policies-DD1aPjQ4.d.ts [22m[32m565.00 B[39m
|
|
52
|
-
[32mDTS[39m [1mdist/provider-
|
|
53
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[
|
|
52
|
+
[32mDTS[39m [1mdist/provider-BeCgS86X.d.ts [22m[32m9.80 KB[39m
|
|
53
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m3.56 KB[39m
|
|
54
54
|
[32mDTS[39m [1mdist/controller.d.cts [22m[32m1.37 KB[39m
|
|
55
55
|
[32mDTS[39m [1mdist/lookup.d.cts [22m[32m216.00 B[39m
|
|
56
56
|
[32mDTS[39m [1mdist/node/index.d.cts [22m[32m2.36 KB[39m
|
|
57
57
|
[32mDTS[39m [1mdist/session/index.d.cts [22m[32m1.90 KB[39m
|
|
58
58
|
[32mDTS[39m [1mdist/policies-DD1aPjQ4.d.cts [22m[32m565.00 B[39m
|
|
59
|
-
[32mDTS[39m [1mdist/provider-
|
|
59
|
+
[32mDTS[39m [1mdist/provider-BeCgS86X.d.cts [22m[32m9.80 KB[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @cartridge/controller@0.7.
|
|
2
|
+
> @cartridge/controller@0.7.8 build /home/runner/work/controller/controller/packages/controller
|
|
3
3
|
> pnpm build:deps
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @cartridge/controller@0.7.
|
|
6
|
+
> @cartridge/controller@0.7.8 build:deps /home/runner/work/controller/controller/packages/controller
|
|
7
7
|
> tsup
|
|
8
8
|
|
|
9
9
|
[34mCLI[39m Building entry: src/controller.ts, src/index.ts, src/lookup.ts, src/node/index.ts, src/session/index.ts
|
|
@@ -14,50 +14,50 @@
|
|
|
14
14
|
[34mCLI[39m Cleaning output folder
|
|
15
15
|
[34mESM[39m Build start
|
|
16
16
|
[34mCJS[39m Build start
|
|
17
|
-
"addAddressPadding", "CallData", "getChecksumAddress", "hash", "typedData" and "TypedDataRevision" are imported from external module "starknet" but never used in "dist/controller.
|
|
17
|
+
"addAddressPadding", "CallData", "getChecksumAddress", "hash", "typedData" and "TypedDataRevision" are imported from external module "starknet" but never used in "dist/controller.js".
|
|
18
|
+
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
19
|
+
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/session/index.js".
|
|
20
|
+
[34mDTS[39m Build start
|
|
18
21
|
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
|
|
19
22
|
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.
|
|
20
|
-
Entry module "dist/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.
|
|
21
23
|
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/session/index.cjs".
|
|
22
24
|
Entry module "dist/session/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.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/session/index.js".
|
|
26
|
-
"constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
|
|
27
|
-
[32mESM[39m [1mdist/controller.js [22m[32m37.57 KB[39m
|
|
28
|
-
[32mESM[39m [1mdist/lookup.js [22m[32m1.63 KB[39m
|
|
29
|
-
[32mESM[39m [1mdist/session/index.js [22m[32m28.81 KB[39m
|
|
30
|
-
[32mESM[39m [1mdist/index.js [22m[32m94.45 KB[39m
|
|
31
|
-
[32mESM[39m [1mdist/node/index.js [22m[32m31.52 KB[39m
|
|
32
|
-
[32mESM[39m [1mdist/controller.js.map [22m[32m73.71 KB[39m
|
|
33
|
-
[32mESM[39m [1mdist/session/index.js.map [22m[32m56.24 KB[39m
|
|
34
|
-
[32mESM[39m [1mdist/lookup.js.map [22m[32m4.00 KB[39m
|
|
35
|
-
[32mESM[39m [1mdist/node/index.js.map [22m[32m63.66 KB[39m
|
|
36
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m169.48 KB[39m
|
|
37
|
-
[32mESM[39m ⚡️ Build success in 1420ms
|
|
38
|
-
[32mCJS[39m [1mdist/controller.cjs [22m[32m37.62 KB[39m
|
|
25
|
+
"addAddressPadding", "CallData", "getChecksumAddress", "hash", "typedData" and "TypedDataRevision" are imported from external module "starknet" but never used in "dist/controller.cjs".
|
|
26
|
+
Entry module "dist/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
27
|
[32mCJS[39m [1mdist/lookup.cjs [22m[32m1.69 KB[39m
|
|
40
28
|
[32mCJS[39m [1mdist/node/index.cjs [22m[32m32.30 KB[39m
|
|
41
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m94.87 KB[39m
|
|
42
29
|
[32mCJS[39m [1mdist/session/index.cjs [22m[32m28.94 KB[39m
|
|
43
|
-
[32mCJS[39m [1mdist/controller.cjs
|
|
44
|
-
[32mCJS[39m [1mdist/
|
|
30
|
+
[32mCJS[39m [1mdist/controller.cjs [22m[32m51.42 KB[39m
|
|
31
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m120.75 KB[39m
|
|
45
32
|
[32mCJS[39m [1mdist/lookup.cjs.map [22m[32m4.00 KB[39m
|
|
46
|
-
[32mCJS[39m [1mdist/index.cjs.map
|
|
47
|
-
[32mCJS[39m [1mdist/
|
|
48
|
-
[32mCJS[39m
|
|
49
|
-
[
|
|
50
|
-
[
|
|
33
|
+
[32mCJS[39m [1mdist/session/index.cjs.map [22m[32m57.21 KB[39m
|
|
34
|
+
[32mCJS[39m [1mdist/node/index.cjs.map [22m[32m64.67 KB[39m
|
|
35
|
+
[32mCJS[39m [1mdist/controller.cjs.map [22m[32m105.73 KB[39m
|
|
36
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m222.04 KB[39m
|
|
37
|
+
[32mCJS[39m ⚡️ Build success in 1546ms
|
|
38
|
+
[32mESM[39m [1mdist/controller.js [22m[32m51.36 KB[39m
|
|
39
|
+
[32mESM[39m [1mdist/node/index.js [22m[32m31.52 KB[39m
|
|
40
|
+
[32mESM[39m [1mdist/session/index.js [22m[32m28.81 KB[39m
|
|
41
|
+
[32mESM[39m [1mdist/index.js [22m[32m120.24 KB[39m
|
|
42
|
+
[32mESM[39m [1mdist/lookup.js [22m[32m1.63 KB[39m
|
|
43
|
+
[32mESM[39m [1mdist/node/index.js.map [22m[32m64.46 KB[39m
|
|
44
|
+
[32mESM[39m [1mdist/session/index.js.map [22m[32m57.05 KB[39m
|
|
45
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m221.81 KB[39m
|
|
46
|
+
[32mESM[39m [1mdist/lookup.js.map [22m[32m4.00 KB[39m
|
|
47
|
+
[32mESM[39m [1mdist/controller.js.map [22m[32m105.60 KB[39m
|
|
48
|
+
[32mESM[39m ⚡️ Build success in 1548ms
|
|
49
|
+
[32mDTS[39m ⚡️ Build success in 7934ms
|
|
50
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.55 KB[39m
|
|
51
51
|
[32mDTS[39m [1mdist/controller.d.ts [22m[32m1.37 KB[39m
|
|
52
52
|
[32mDTS[39m [1mdist/lookup.d.ts [22m[32m216.00 B[39m
|
|
53
53
|
[32mDTS[39m [1mdist/node/index.d.ts [22m[32m2.35 KB[39m
|
|
54
54
|
[32mDTS[39m [1mdist/session/index.d.ts [22m[32m1.90 KB[39m
|
|
55
55
|
[32mDTS[39m [1mdist/policies-DD1aPjQ4.d.ts [22m[32m565.00 B[39m
|
|
56
|
-
[32mDTS[39m [1mdist/provider-
|
|
57
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[
|
|
56
|
+
[32mDTS[39m [1mdist/provider-BeCgS86X.d.ts [22m[32m9.80 KB[39m
|
|
57
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m3.56 KB[39m
|
|
58
58
|
[32mDTS[39m [1mdist/controller.d.cts [22m[32m1.37 KB[39m
|
|
59
59
|
[32mDTS[39m [1mdist/lookup.d.cts [22m[32m216.00 B[39m
|
|
60
60
|
[32mDTS[39m [1mdist/node/index.d.cts [22m[32m2.36 KB[39m
|
|
61
61
|
[32mDTS[39m [1mdist/session/index.d.cts [22m[32m1.90 KB[39m
|
|
62
62
|
[32mDTS[39m [1mdist/policies-DD1aPjQ4.d.cts [22m[32m565.00 B[39m
|
|
63
|
-
[32mDTS[39m [1mdist/provider-
|
|
63
|
+
[32mDTS[39m [1mdist/provider-BeCgS86X.d.cts [22m[32m9.80 KB[39m
|