@cartridge/controller 0.11.2 → 0.11.3-alpha.1

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,13 +1,13 @@
1
1
 
2
- > @cartridge/controller@0.11.2 build:deps /home/runner/work/controller/controller/packages/controller
2
+ > @cartridge/controller@0.11.3-alpha.1 build:deps /home/runner/work/controller/controller/packages/controller
3
3
  > pnpm build
4
4
 
5
5
 
6
- > @cartridge/controller@0.11.2 build /home/runner/work/controller/controller/packages/controller
6
+ > @cartridge/controller@0.11.3-alpha.1 build /home/runner/work/controller/controller/packages/controller
7
7
  > pnpm build:browser && pnpm build:node
8
8
 
9
9
 
10
- > @cartridge/controller@0.11.2 build:browser /home/runner/work/controller/controller/packages/controller
10
+ > @cartridge/controller@0.11.3-alpha.1 build:browser /home/runner/work/controller/controller/packages/controller
11
11
  > vite build
12
12
 
13
13
  vite v6.3.4 building for production...
@@ -18,13 +18,13 @@ rendering chunks...
18
18
  [vite:dts] Start generate declaration files...
19
19
  computing gzip size...
20
20
  dist/session.js  8.91 kB │ gzip: 2.75 kB │ map: 20.99 kB
21
- dist/provider-s-80NdXp.js  13.95 kB │ gzip: 5.76 kB │ map: 36.15 kB
22
- dist/index.js 141.39 kB │ gzip: 36.09 kB │ map: 454.73 kB
23
- [vite:dts] Declaration files built in 4899ms.
21
+ dist/provider-DhVLZ8hd.js  13.96 kB │ gzip: 5.77 kB │ map: 36.15 kB
22
+ dist/index.js 141.41 kB │ gzip: 36.10 kB │ map: 454.76 kB
23
+ [vite:dts] Declaration files built in 4778ms.
24
24
 
25
- ✓ built in 6.69s
25
+ ✓ built in 6.66s
26
26
 
27
- > @cartridge/controller@0.11.2 build:node /home/runner/work/controller/controller/packages/controller
27
+ > @cartridge/controller@0.11.3-alpha.1 build:node /home/runner/work/controller/controller/packages/controller
28
28
  > tsup --config tsup.node.config.ts
29
29
 
30
30
  CLI Building entry: src/node/index.ts
@@ -38,13 +38,13 @@ computing gzip size...
38
38
  "constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
39
39
  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.
40
40
  "constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
41
- CJS dist/node/index.cjs 22.32 KB
42
- CJS dist/node/index.cjs.map 51.36 KB
43
- CJS ⚡️ Build success in 385ms
44
- ESM dist/node/index.js 21.53 KB
41
+ CJS dist/node/index.cjs 22.33 KB
42
+ CJS dist/node/index.cjs.map 51.37 KB
43
+ CJS ⚡️ Build success in 443ms
44
+ ESM dist/node/index.js 21.54 KB
45
45
  ESM dist/node/index.js.map 51.13 KB
46
- ESM ⚡️ Build success in 386ms
46
+ ESM ⚡️ Build success in 443ms
47
47
  DTS Build start
48
- DTS ⚡️ Build success in 4180ms
48
+ DTS ⚡️ Build success in 4334ms
49
49
  DTS dist/node/index.d.ts 5.94 KB
50
50
  DTS dist/node/index.d.cts 5.94 KB
@@ -1,9 +1,9 @@
1
1
 
2
- > @cartridge/controller@0.11.2 build /home/runner/work/controller/controller/packages/controller
2
+ > @cartridge/controller@0.11.3-alpha.1 build /home/runner/work/controller/controller/packages/controller
3
3
  > pnpm build:browser && pnpm build:node
4
4
 
5
5
 
6
- > @cartridge/controller@0.11.2 build:browser /home/runner/work/controller/controller/packages/controller
6
+ > @cartridge/controller@0.11.3-alpha.1 build:browser /home/runner/work/controller/controller/packages/controller
7
7
  > vite build
8
8
 
9
9
  vite v6.3.4 building for production...
@@ -14,13 +14,13 @@ rendering chunks...
14
14
  [vite:dts] Start generate declaration files...
15
15
  computing gzip size...
16
16
  dist/session.js  8.91 kB │ gzip: 2.75 kB │ map: 20.99 kB
17
- dist/provider-s-80NdXp.js  13.95 kB │ gzip: 5.76 kB │ map: 36.15 kB
18
- dist/index.js 141.39 kB │ gzip: 36.09 kB │ map: 454.73 kB
19
- [vite:dts] Declaration files built in 5021ms.
17
+ dist/provider-DhVLZ8hd.js  13.96 kB │ gzip: 5.77 kB │ map: 36.15 kB
18
+ dist/index.js 141.41 kB │ gzip: 36.10 kB │ map: 454.76 kB
19
+ [vite:dts] Declaration files built in 5199ms.
20
20
 
21
- ✓ built in 7.03s
21
+ ✓ built in 7.20s
22
22
 
23
- > @cartridge/controller@0.11.2 build:node /home/runner/work/controller/controller/packages/controller
23
+ > @cartridge/controller@0.11.3-alpha.1 build:node /home/runner/work/controller/controller/packages/controller
24
24
  > tsup --config tsup.node.config.ts
25
25
 
26
26
  CLI Building entry: src/node/index.ts
@@ -34,13 +34,13 @@ computing gzip size...
34
34
  "constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.js".
35
35
  "constants", "getChecksumAddress" and "shortString" are imported from external module "starknet" but never used in "dist/node/index.cjs".
36
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
- ESM dist/node/index.js 21.53 KB
37
+ ESM dist/node/index.js 21.54 KB
38
38
  ESM dist/node/index.js.map 51.13 KB
39
- ESM ⚡️ Build success in 282ms
40
- CJS dist/node/index.cjs 22.32 KB
41
- CJS dist/node/index.cjs.map 51.36 KB
42
- CJS ⚡️ Build success in 282ms
39
+ ESM ⚡️ Build success in 393ms
40
+ CJS dist/node/index.cjs 22.33 KB
41
+ CJS dist/node/index.cjs.map 51.37 KB
42
+ CJS ⚡️ Build success in 394ms
43
43
  DTS Build start
44
- DTS ⚡️ Build success in 4180ms
44
+ DTS ⚡️ Build success in 4311ms
45
45
  DTS dist/node/index.d.ts 5.94 KB
46
46
  DTS dist/node/index.d.cts 5.94 KB
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { WalletAccount as Rt, constants as K, num as rt, shortString as De } from "starknet";
2
- import { R as Q, t as Ut, i as Tt, K as nt, B as zt, N as x, p as Lt, v as Dt, A as Ot } from "./provider-s-80NdXp.js";
3
- import { a as Xn, d as Jn, E as Zn, f as es, e as ts, F as rs, I as ns, h as ss, n as os, b as is, c as as } from "./provider-s-80NdXp.js";
2
+ import { R as Q, t as Ut, i as Tt, K as nt, B as zt, N as x, p as Lt, v as Dt, A as Ot } from "./provider-DhVLZ8hd.js";
3
+ import { a as Xn, d as Jn, E as Zn, f as es, e as ts, F as rs, I as ns, h as ss, n as os, b as is, c as as } from "./provider-DhVLZ8hd.js";
4
4
  class Oe extends Rt {
5
5
  keychain;
6
6
  modal;
@@ -341,7 +341,7 @@ class cr {
341
341
  const i = document.head, a = document.createElement("meta");
342
342
  a.name = "viewport", a.id = "controller-viewport", a.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, interactive-widget=resizes-content", i.appendChild(a);
343
343
  const l = document.createElement("iframe");
344
- l.src = r.toString(), l.id = e, l.style.border = "none", l.sandbox.add("allow-forms"), l.sandbox.add("allow-popups"), l.sandbox.add("allow-popups-to-escape-sandbox"), l.sandbox.add("allow-scripts"), l.sandbox.add("allow-same-origin"), l.allow = "publickey-credentials-create *; publickey-credentials-get *; clipboard-write", l.style.scrollbarWidth = "none", l.style.setProperty("-ms-overflow-style", "none"), l.style.setProperty("-webkit-scrollbar", "none"), document.hasStorageAccess && l.sandbox.add("allow-storage-access-by-user-activation");
344
+ l.src = r.toString(), l.id = e, l.style.border = "none", l.sandbox.add("allow-forms"), l.sandbox.add("allow-popups"), l.sandbox.add("allow-popups-to-escape-sandbox"), l.sandbox.add("allow-scripts"), l.sandbox.add("allow-same-origin"), l.allow = "publickey-credentials-create *; publickey-credentials-get *; clipboard-write; local-network-access *", l.style.scrollbarWidth = "none", l.style.setProperty("-ms-overflow-style", "none"), l.style.setProperty("-webkit-scrollbar", "none"), document.hasStorageAccess && l.sandbox.add("allow-storage-access-by-user-activation");
345
345
  const c = document.createElement("div");
346
346
  c.id = "controller", c.style.position = "fixed", c.style.height = "100%", c.style.width = "100%", c.style.top = "0", c.style.left = "0", c.style.zIndex = "10000", c.style.backgroundColor = "rgba(0,0,0,0.6)", c.style.display = "none", c.style.alignItems = "center", c.style.justifyContent = "center", c.style.transition = "opacity 0.2s ease", c.style.opacity = "0", c.style.pointerEvents = "auto", c.style.overscrollBehaviorY = "contain", c.style.scrollbarWidth = "none", c.style.setProperty("-ms-overflow-style", "none"), c.style.setProperty("-webkit-scrollbar", "none"), c.appendChild(l), c.addEventListener(
347
347
  "touchstart",