@cartridge/controller 0.7.6 → 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.
Files changed (39) hide show
  1. package/.turbo/turbo-build$colon$deps.log +23 -23
  2. package/.turbo/turbo-build.log +28 -28
  3. package/dist/controller.cjs +472 -3
  4. package/dist/controller.cjs.map +1 -1
  5. package/dist/controller.d.cts +1 -1
  6. package/dist/controller.d.ts +1 -1
  7. package/dist/controller.js +472 -3
  8. package/dist/controller.js.map +1 -1
  9. package/dist/index.cjs +1908 -1214
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +46 -3
  12. package/dist/index.d.ts +46 -3
  13. package/dist/index.js +1905 -1215
  14. package/dist/index.js.map +1 -1
  15. package/dist/node/index.cjs +1 -1
  16. package/dist/node/index.cjs.map +1 -1
  17. package/dist/node/index.d.cts +2 -2
  18. package/dist/node/index.d.ts +2 -2
  19. package/dist/node/index.js +1 -1
  20. package/dist/node/index.js.map +1 -1
  21. package/dist/{provider-CTDncg8U.d.cts → provider-BeCgS86X.d.cts} +64 -1
  22. package/dist/{provider-CTDncg8U.d.ts → provider-BeCgS86X.d.ts} +64 -1
  23. package/dist/session/index.cjs +1 -1
  24. package/dist/session/index.cjs.map +1 -1
  25. package/dist/session/index.d.cts +2 -2
  26. package/dist/session/index.d.ts +2 -2
  27. package/dist/session/index.js +1 -1
  28. package/dist/session/index.js.map +1 -1
  29. package/package.json +8 -5
  30. package/src/iframe/base.ts +1 -1
  31. package/src/iframe/keychain.ts +11 -0
  32. package/src/index.ts +1 -0
  33. package/src/types.ts +24 -0
  34. package/src/wallets/argent/index.ts +122 -0
  35. package/src/wallets/bridge.ts +165 -0
  36. package/src/wallets/index.ts +5 -0
  37. package/src/wallets/metamask/index.ts +210 -0
  38. package/src/wallets/phantom/index.ts +124 -0
  39. package/src/wallets/types.ts +32 -0
@@ -1,5 +1,5 @@
1
1
 
2
- > @cartridge/controller@0.7.6 build:deps /home/runner/work/controller/controller/packages/controller
2
+ > @cartridge/controller@0.7.8 build:deps /home/runner/work/controller/controller/packages/controller
3
3
  > tsup
4
4
 
5
5
  CLI 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
  DTS 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
- ESM dist/controller.js 37.57 KB
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
+ ESM dist/controller.js 51.36 KB
24
24
  ESM dist/node/index.js 31.52 KB
25
25
  ESM dist/session/index.js 28.81 KB
26
26
  ESM dist/lookup.js 1.63 KB
27
- ESM dist/index.js 94.45 KB
28
- ESM dist/node/index.js.map 63.66 KB
29
- ESM dist/session/index.js.map 56.24 KB
30
- ESM dist/controller.js.map 73.71 KB
27
+ ESM dist/index.js 120.24 KB
28
+ ESM dist/controller.js.map 105.60 KB
29
+ ESM dist/node/index.js.map 64.46 KB
30
+ ESM dist/session/index.js.map 57.05 KB
31
31
  ESM dist/lookup.js.map 4.00 KB
32
- ESM dist/index.js.map 169.48 KB
33
- ESM ⚡️ Build success in 1300ms
32
+ ESM dist/index.js.map 221.81 KB
33
+ ESM ⚡️ Build success in 1521ms
34
+ CJS dist/controller.cjs 51.42 KB
34
35
  CJS dist/lookup.cjs 1.69 KB
35
36
  CJS dist/node/index.cjs 32.30 KB
36
- CJS dist/controller.cjs 37.62 KB
37
- CJS dist/index.cjs 94.87 KB
37
+ CJS dist/index.cjs 120.75 KB
38
38
  CJS dist/session/index.cjs 28.94 KB
39
+ CJS dist/controller.cjs.map 105.73 KB
39
40
  CJS dist/lookup.cjs.map 4.00 KB
40
- CJS dist/node/index.cjs.map 63.86 KB
41
- CJS dist/controller.cjs.map 73.80 KB
42
- CJS dist/index.cjs.map 169.67 KB
43
- CJS dist/session/index.cjs.map 56.40 KB
44
- CJS ⚡️ Build success in 1300ms
45
- DTS ⚡️ Build success in 6714ms
46
- DTS dist/index.d.ts 1.57 KB
41
+ CJS dist/node/index.cjs.map 64.67 KB
42
+ CJS dist/session/index.cjs.map 57.21 KB
43
+ CJS dist/index.cjs.map 222.04 KB
44
+ CJS ⚡️ Build success in 1522ms
45
+ DTS ⚡️ Build success in 8436ms
46
+ DTS dist/index.d.ts 3.55 KB
47
47
  DTS dist/controller.d.ts 1.37 KB
48
48
  DTS dist/lookup.d.ts 216.00 B
49
49
  DTS dist/node/index.d.ts 2.35 KB
50
50
  DTS dist/session/index.d.ts 1.90 KB
51
51
  DTS dist/policies-DD1aPjQ4.d.ts 565.00 B
52
- DTS dist/provider-CTDncg8U.d.ts 6.90 KB
53
- DTS dist/index.d.cts 1.58 KB
52
+ DTS dist/provider-BeCgS86X.d.ts 9.80 KB
53
+ DTS dist/index.d.cts 3.56 KB
54
54
  DTS dist/controller.d.cts 1.37 KB
55
55
  DTS dist/lookup.d.cts 216.00 B
56
56
  DTS dist/node/index.d.cts 2.36 KB
57
57
  DTS dist/session/index.d.cts 1.90 KB
58
58
  DTS dist/policies-DD1aPjQ4.d.cts 565.00 B
59
- DTS dist/provider-CTDncg8U.d.cts 6.90 KB
59
+ DTS dist/provider-BeCgS86X.d.cts 9.80 KB
@@ -1,9 +1,9 @@
1
1
 
2
- > @cartridge/controller@0.7.6 build /home/runner/work/controller/controller/packages/controller
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 build:deps /home/runner/work/controller/controller/packages/controller
6
+ > @cartridge/controller@0.7.8 build:deps /home/runner/work/controller/controller/packages/controller
7
7
  > tsup
8
8
 
9
9
  CLI 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
  CLI Cleaning output folder
15
15
  ESM Build start
16
16
  CJS Build start
17
- "addAddressPadding", "CallData", "getChecksumAddress", "hash", "typedData" and "TypedDataRevision" are imported from external module "starknet" but never used in "dist/controller.cjs".
18
- 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.
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
+ DTS Build start
19
21
  "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
20
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.
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
- "addAddressPadding", "CallData", "getChecksumAddress", "hash", "typedData" and "TypedDataRevision" are imported from external module "starknet" but never used in "dist/controller.js".
24
- "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
25
- DTS Build start
26
- "constants", "getChecksumAddress", "Provider" and "shortString" are imported from external module "starknet" but never used in "dist/session/index.js".
27
- CJS dist/controller.cjs 37.62 KB
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.
28
27
  CJS dist/lookup.cjs 1.69 KB
29
- CJS dist/index.cjs 94.87 KB
30
28
  CJS dist/node/index.cjs 32.30 KB
31
29
  CJS dist/session/index.cjs 28.94 KB
30
+ CJS dist/controller.cjs 51.42 KB
31
+ CJS dist/index.cjs 120.75 KB
32
32
  CJS dist/lookup.cjs.map 4.00 KB
33
- CJS dist/node/index.cjs.map 63.86 KB
34
- CJS dist/index.cjs.map 169.67 KB
35
- CJS dist/session/index.cjs.map 56.40 KB
36
- CJS dist/controller.cjs.map 73.80 KB
37
- CJS ⚡️ Build success in 1321ms
38
- ESM dist/controller.js 37.57 KB
39
- ESM dist/lookup.js 1.63 KB
33
+ CJS dist/session/index.cjs.map 57.21 KB
34
+ CJS dist/node/index.cjs.map 64.67 KB
35
+ CJS dist/controller.cjs.map 105.73 KB
36
+ CJS dist/index.cjs.map 222.04 KB
37
+ CJS ⚡️ Build success in 1546ms
38
+ ESM dist/controller.js 51.36 KB
40
39
  ESM dist/node/index.js 31.52 KB
41
- ESM dist/index.js 94.45 KB
42
40
  ESM dist/session/index.js 28.81 KB
41
+ ESM dist/index.js 120.24 KB
42
+ ESM dist/lookup.js 1.63 KB
43
+ ESM dist/node/index.js.map 64.46 KB
44
+ ESM dist/session/index.js.map 57.05 KB
45
+ ESM dist/index.js.map 221.81 KB
43
46
  ESM dist/lookup.js.map 4.00 KB
44
- ESM dist/controller.js.map 73.71 KB
45
- ESM dist/node/index.js.map 63.66 KB
46
- ESM dist/session/index.js.map 56.24 KB
47
- ESM dist/index.js.map 169.48 KB
48
- ESM ⚡️ Build success in 1322ms
49
- DTS ⚡️ Build success in 6192ms
50
- DTS dist/index.d.ts 1.57 KB
47
+ ESM dist/controller.js.map 105.60 KB
48
+ ESM ⚡️ Build success in 1548ms
49
+ DTS ⚡️ Build success in 7934ms
50
+ DTS dist/index.d.ts 3.55 KB
51
51
  DTS dist/controller.d.ts 1.37 KB
52
52
  DTS dist/lookup.d.ts 216.00 B
53
53
  DTS dist/node/index.d.ts 2.35 KB
54
54
  DTS dist/session/index.d.ts 1.90 KB
55
55
  DTS dist/policies-DD1aPjQ4.d.ts 565.00 B
56
- DTS dist/provider-CTDncg8U.d.ts 6.90 KB
57
- DTS dist/index.d.cts 1.58 KB
56
+ DTS dist/provider-BeCgS86X.d.ts 9.80 KB
57
+ DTS dist/index.d.cts 3.56 KB
58
58
  DTS dist/controller.d.cts 1.37 KB
59
59
  DTS dist/lookup.d.cts 216.00 B
60
60
  DTS dist/node/index.d.cts 2.36 KB
61
61
  DTS dist/session/index.d.cts 1.90 KB
62
62
  DTS dist/policies-DD1aPjQ4.d.cts 565.00 B
63
- DTS dist/provider-CTDncg8U.d.cts 6.90 KB
63
+ DTS dist/provider-BeCgS86X.d.cts 9.80 KB