@powerhousedao/connect 1.0.24-dev.0 → 1.1.0

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 (37) hide show
  1. package/dist/.env +1 -1
  2. package/dist/assets/{app-DWlDE8AF.css → app-Dtx0nq4m.css} +181 -240
  3. package/dist/assets/{app-B5yYl0zv.js → app-SJyv410V.js} +33037 -34663
  4. package/dist/assets/{app-loader-NDVZu4bS.css → app-loader-3ipafc56.css} +228 -238
  5. package/dist/assets/{app-loader-CmEZOj3m.js → app-loader-BsJCIY3v.js} +417 -735
  6. package/dist/assets/{ccip-KtRjx9vh.js → ccip-CWiYf37C.js} +8 -6
  7. package/dist/assets/{content-2lJzkjLx.js → content-DrqtiFBt.js} +456 -1094
  8. package/dist/assets/{index-BVVRVlZN.js → index-CS0mQFrd.js} +3 -4
  9. package/dist/assets/{index-BhHOiwFw.js → index-DFoYtrS6.js} +3693 -3516
  10. package/dist/assets/{index-dSMCpjcQ.js → index-n2OSuQ3g.js} +171 -23
  11. package/dist/assets/{main.DA6nl4Ov.js → main.BcxEuVs0.js} +12 -3
  12. package/dist/assets/{style-CdxGKc2g.css → style-0ej1afQi.css} +95 -39
  13. package/dist/external-packages.js +0 -1
  14. package/dist/hmr.js +0 -1
  15. package/dist/index.html +1 -1
  16. package/dist/service-worker.js +0 -1
  17. package/dist/vite-envs.sh +1 -1
  18. package/package.json +20 -21
  19. package/dist/assets/app-B5yYl0zv.js.map +0 -1
  20. package/dist/assets/app-loader-CmEZOj3m.js.map +0 -1
  21. package/dist/assets/browser-D5LEpLBa.js +0 -27224
  22. package/dist/assets/browser-D5LEpLBa.js.map +0 -1
  23. package/dist/assets/ccip-KtRjx9vh.js.map +0 -1
  24. package/dist/assets/content-2lJzkjLx.js.map +0 -1
  25. package/dist/assets/index-BVVRVlZN.js.map +0 -1
  26. package/dist/assets/index-BhHOiwFw.js.map +0 -1
  27. package/dist/assets/index-DZiF5od7.js +0 -208
  28. package/dist/assets/index-DZiF5od7.js.map +0 -1
  29. package/dist/assets/index-dSMCpjcQ.js.map +0 -1
  30. package/dist/assets/main.DA6nl4Ov.js.map +0 -1
  31. package/dist/assets/reactor-analytics-CF_JKt8H.js +0 -42
  32. package/dist/assets/reactor-analytics-CF_JKt8H.js.map +0 -1
  33. package/dist/assets/router-Ch1WZD-6.js +0 -1585
  34. package/dist/assets/router-Ch1WZD-6.js.map +0 -1
  35. package/dist/external-packages.js.map +0 -1
  36. package/dist/hmr.js.map +0 -1
  37. package/dist/service-worker.js.map +0 -1
@@ -1,16 +1,19 @@
1
+ var __defProp = Object.defineProperty;
1
2
  var __typeError = (msg) => {
2
3
  throw TypeError(msg);
3
4
  };
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
7
  var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
5
8
  var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
6
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
7
10
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
8
11
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
9
- var _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn, _store, _namespace, _BaseStorage_instances, buildKey_fn, _baseUrl, _store2, _connectId, _eventEmitter, _Renown_instances, updateUser_fn, getCredential_fn;
10
- import { U as RENOWN_URL, V as getEnsInfo } from "./app-B5yYl0zv.js";
11
- import { X, a1, a0, Z, a2, Y, _, $ } from "./app-B5yYl0zv.js";
12
- import { ah as connectConfig, _ as logger } from "./app-loader-CmEZOj3m.js";
13
- import "./main.DA6nl4Ov.js";
12
+ var _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, _store, _namespace, _BaseStorage_instances, buildKey_fn, _baseUrl, _store2, _connectId, _eventEmitter, _Renown_instances, updateUser_fn, getCredential_fn;
13
+ import { _ as __vitePreload } from "./main.BcxEuVs0.js";
14
+ import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-SJyv410V.js";
15
+ import { i, h, d, j, b, f, s } from "./app-SJyv410V.js";
16
+ import { ah as connectConfig, ac as logger } from "./app-loader-BsJCIY3v.js";
14
17
  import "react/jsx-runtime";
15
18
  import "react";
16
19
  import "react-dom";
@@ -71,6 +74,157 @@ __privateAdd(_BrowserKeyStorage, _DB_NAME, "browserKeyDB");
71
74
  __privateAdd(_BrowserKeyStorage, _STORE_NAME, "keyPairs");
72
75
  __privateAdd(_BrowserKeyStorage, _KEY, "keyPair");
73
76
  let BrowserKeyStorage = _BrowserKeyStorage;
77
+ function ab2hex(ab) {
78
+ return Array.prototype.map.call(
79
+ new Uint8Array(ab),
80
+ (x) => ("00" + x.toString(16)).slice(-2)
81
+ ).join("");
82
+ }
83
+ const _ConnectCrypto = class _ConnectCrypto {
84
+ constructor(keyPairStorage) {
85
+ __privateAdd(this, _ConnectCrypto_instances);
86
+ __privateAdd(this, _subtleCrypto);
87
+ __privateAdd(this, _keyPair);
88
+ __privateAdd(this, _keyPairStorage);
89
+ __privateAdd(this, _did);
90
+ __privateAdd(this, _sign, async (...args) => {
91
+ return (await __privateGet(this, _subtleCrypto)).sign(...args);
92
+ });
93
+ __privateAdd(this, _verify, async (...args) => {
94
+ return (await __privateGet(this, _subtleCrypto)).verify(...args);
95
+ });
96
+ __privateSet(this, _keyPairStorage, keyPairStorage);
97
+ __privateSet(this, _subtleCrypto, __privateMethod(this, _ConnectCrypto_instances, initCrypto_fn).call(this));
98
+ __privateSet(this, _did, __privateMethod(this, _ConnectCrypto_instances, initialize_fn).call(this));
99
+ }
100
+ did() {
101
+ return __privateGet(this, _did);
102
+ }
103
+ async regenerateDid() {
104
+ __privateSet(this, _keyPair, await __privateMethod(this, _ConnectCrypto_instances, generateECDSAKeyPair_fn).call(this));
105
+ await __privateGet(this, _keyPairStorage).saveKeyPair(await __privateMethod(this, _ConnectCrypto_instances, exportKeyPair_fn).call(this));
106
+ }
107
+ async sign(data) {
108
+ var _a;
109
+ if ((_a = __privateGet(this, _keyPair)) == null ? void 0 : _a.privateKey) {
110
+ const subtleCrypto = await __privateGet(this, _subtleCrypto);
111
+ const arrayBuffer = await subtleCrypto.sign(
112
+ _ConnectCrypto.signAlgorithm,
113
+ __privateGet(this, _keyPair).privateKey,
114
+ data.buffer
115
+ );
116
+ return new Uint8Array(arrayBuffer);
117
+ } else {
118
+ throw new Error("No private key available");
119
+ }
120
+ }
121
+ };
122
+ _subtleCrypto = new WeakMap();
123
+ _keyPair = new WeakMap();
124
+ _keyPairStorage = new WeakMap();
125
+ _did = new WeakMap();
126
+ _ConnectCrypto_instances = new WeakSet();
127
+ initCrypto_fn = function() {
128
+ return new Promise((resolve, reject) => {
129
+ var _a;
130
+ if (typeof window === "undefined") {
131
+ __vitePreload(() => import("node:crypto"), true ? [] : void 0).then((module) => {
132
+ resolve(module.webcrypto.subtle);
133
+ }).catch(reject);
134
+ } else {
135
+ if (!((_a = window.crypto) == null ? void 0 : _a.subtle)) {
136
+ reject(new Error("Crypto module not available"));
137
+ }
138
+ resolve(window.crypto.subtle);
139
+ }
140
+ });
141
+ };
142
+ initialize_fn = async function() {
143
+ const loadedKeyPair = await __privateGet(this, _keyPairStorage).loadKeyPair();
144
+ if (loadedKeyPair) {
145
+ __privateSet(this, _keyPair, await __privateMethod(this, _ConnectCrypto_instances, importKeyPair_fn).call(this, loadedKeyPair));
146
+ console.log("Found key pair");
147
+ } else {
148
+ __privateSet(this, _keyPair, await __privateMethod(this, _ConnectCrypto_instances, generateECDSAKeyPair_fn).call(this));
149
+ console.log("Created key pair");
150
+ await __privateGet(this, _keyPairStorage).saveKeyPair(await __privateMethod(this, _ConnectCrypto_instances, exportKeyPair_fn).call(this));
151
+ }
152
+ const did = await __privateMethod(this, _ConnectCrypto_instances, parseDid_fn).call(this);
153
+ console.log("Connect DID:", did);
154
+ return did;
155
+ };
156
+ parseDid_fn = async function() {
157
+ if (!__privateGet(this, _keyPair)) {
158
+ throw new Error("No key pair available");
159
+ }
160
+ const subtleCrypto = await __privateGet(this, _subtleCrypto);
161
+ const publicKeyRaw = await subtleCrypto.exportKey(
162
+ "raw",
163
+ __privateGet(this, _keyPair).publicKey
164
+ );
165
+ const multicodecName = "p256-pub";
166
+ const rawKey = rawKeyInHexfromUncompressed(ab2hex(publicKeyRaw));
167
+ const compressedKey = compressedKeyInHexfromRaw(rawKey);
168
+ const did = encodeDIDfromHexString(multicodecName, compressedKey);
169
+ return did;
170
+ };
171
+ generateECDSAKeyPair_fn = async function() {
172
+ const subtleCrypto = await __privateGet(this, _subtleCrypto);
173
+ const keyPair = await subtleCrypto.generateKey(
174
+ _ConnectCrypto.algorithm,
175
+ true,
176
+ ["sign", "verify"]
177
+ );
178
+ return keyPair;
179
+ };
180
+ exportKeyPair_fn = async function() {
181
+ if (!__privateGet(this, _keyPair)) {
182
+ throw new Error("No key pair available");
183
+ }
184
+ const subtleCrypto = await __privateGet(this, _subtleCrypto);
185
+ const jwkKeyPair = {
186
+ publicKey: await subtleCrypto.exportKey(
187
+ "jwk",
188
+ __privateGet(this, _keyPair).publicKey
189
+ ),
190
+ privateKey: await subtleCrypto.exportKey(
191
+ "jwk",
192
+ __privateGet(this, _keyPair).privateKey
193
+ )
194
+ };
195
+ return jwkKeyPair;
196
+ };
197
+ importKeyPair_fn = async function(jwkKeyPair) {
198
+ const subtleCrypto = await __privateGet(this, _subtleCrypto);
199
+ return {
200
+ publicKey: await subtleCrypto.importKey(
201
+ "jwk",
202
+ jwkKeyPair.publicKey,
203
+ _ConnectCrypto.algorithm,
204
+ true,
205
+ ["verify"]
206
+ ),
207
+ privateKey: await subtleCrypto.importKey(
208
+ "jwk",
209
+ jwkKeyPair.privateKey,
210
+ _ConnectCrypto.algorithm,
211
+ true,
212
+ ["sign"]
213
+ )
214
+ };
215
+ };
216
+ _sign = new WeakMap();
217
+ _verify = new WeakMap();
218
+ __publicField(_ConnectCrypto, "algorithm", {
219
+ name: "ECDSA",
220
+ namedCurve: "P-256"
221
+ });
222
+ __publicField(_ConnectCrypto, "signAlgorithm", {
223
+ name: "ECDSA",
224
+ namedCurve: "P-256",
225
+ hash: "SHA-256"
226
+ });
227
+ let ConnectCrypto = _ConnectCrypto;
74
228
  function parsePkhDid(did) {
75
229
  const parts = did.split(":");
76
230
  if (!did.startsWith("did:pkh:") || parts.length !== 5) {
@@ -146,7 +300,7 @@ class Renown {
146
300
  __privateAdd(this, _baseUrl);
147
301
  __privateAdd(this, _store2);
148
302
  __privateAdd(this, _connectId);
149
- __privateAdd(this, _eventEmitter, new EventTarget());
303
+ __privateAdd(this, _eventEmitter, new eventsExports.EventEmitter());
150
304
  __privateSet(this, _store2, store2);
151
305
  __privateSet(this, _connectId, connectId);
152
306
  __privateSet(this, _baseUrl, baseUrl);
@@ -198,12 +352,9 @@ class Renown {
198
352
  __privateMethod(this, _Renown_instances, updateUser_fn).call(this, void 0);
199
353
  }
200
354
  on(event, listener) {
201
- const eventListener = (e) => {
202
- listener(e.detail);
203
- };
204
- __privateGet(this, _eventEmitter).addEventListener(event, eventListener);
355
+ __privateGet(this, _eventEmitter).on(event, listener);
205
356
  return () => {
206
- __privateGet(this, _eventEmitter).removeEventListener(event, eventListener);
357
+ __privateGet(this, _eventEmitter).removeListener(event, listener);
207
358
  };
208
359
  }
209
360
  }
@@ -214,9 +365,7 @@ _eventEmitter = new WeakMap();
214
365
  _Renown_instances = new WeakSet();
215
366
  updateUser_fn = function(user) {
216
367
  user ? __privateGet(this, _store2).set("user", user) : __privateGet(this, _store2).delete("user");
217
- __privateGet(this, _eventEmitter).dispatchEvent(
218
- new CustomEvent("user", { detail: user })
219
- );
368
+ __privateGet(this, _eventEmitter).emit("user", user);
220
369
  };
221
370
  getCredential_fn = async function(address, chainId, connectId) {
222
371
  if (!__privateGet(this, _baseUrl)) {
@@ -239,18 +388,17 @@ getCredential_fn = async function(address, chainId, connectId) {
239
388
  export {
240
389
  BaseStorage,
241
390
  BrowserKeyStorage,
242
- X as ConnectCrypto,
243
- a1 as RENOWN_CHAIN_ID,
244
- a0 as RENOWN_NETWORK_ID,
391
+ ConnectCrypto,
392
+ i as RENOWN_CHAIN_ID,
393
+ h as RENOWN_NETWORK_ID,
245
394
  RENOWN_URL,
246
395
  Renown,
247
- Z as addExternalPackage,
248
- a2 as getChain,
396
+ d as addExternalPackage,
397
+ j as getChain,
249
398
  getEnsInfo,
250
- Y as getHMRModule,
399
+ b as getHMRModule,
251
400
  initRenownBrowser,
252
401
  parsePkhDid,
253
- _ as removeExternalPackage,
254
- $ as subscribeExternalPackages
402
+ f as removeExternalPackage,
403
+ s as subscribeExternalPackages
255
404
  };
256
- //# sourceMappingURL=index-dSMCpjcQ.js.map
@@ -43,12 +43,22 @@ const seen = {};
43
43
  const __vitePreload = function preload(baseModule, deps, importerUrl) {
44
44
  let promise = Promise.resolve();
45
45
  if (deps && deps.length > 0) {
46
+ let allSettled2 = function(promises) {
47
+ return Promise.all(
48
+ promises.map(
49
+ (p) => Promise.resolve(p).then(
50
+ (value) => ({ status: "fulfilled", value }),
51
+ (reason) => ({ status: "rejected", reason })
52
+ )
53
+ )
54
+ );
55
+ };
46
56
  document.getElementsByTagName("link");
47
57
  const cspNonceMeta = document.querySelector(
48
58
  "meta[property=csp-nonce]"
49
59
  );
50
60
  const cspNonce = (cspNonceMeta == null ? void 0 : cspNonceMeta.nonce) || (cspNonceMeta == null ? void 0 : cspNonceMeta.getAttribute("nonce"));
51
- promise = Promise.allSettled(
61
+ promise = allSettled2(
52
62
  deps.map((dep) => {
53
63
  dep = assetsURL(dep);
54
64
  if (dep in seen) return;
@@ -99,8 +109,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
99
109
  return baseModule().catch(handlePreloadError);
100
110
  });
101
111
  };
102
- __vitePreload(() => import("./index-BVVRVlZN.js"), true ? [] : void 0);
112
+ __vitePreload(() => import("./index-CS0mQFrd.js"), true ? [] : void 0);
103
113
  export {
104
114
  __vitePreload as _
105
115
  };
106
- //# sourceMappingURL=main.DA6nl4Ov.js.map
@@ -1,6 +1,7 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
2
2
 
3
- /*! tailwindcss v4.0.14 | MIT License | https://tailwindcss.com */
3
+ /*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
4
+ @layer properties;
4
5
  :root {
5
6
  --toastify-color-light: #fff;
6
7
  --toastify-color-dark: #121212;
@@ -722,17 +723,7 @@
722
723
  --default-transition-duration: 150ms;
723
724
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
724
725
  --default-font-family: var(--font-sans);
725
- --default-font-feature-settings: var(--font-sans--font-feature-settings);
726
- --default-font-variation-settings: var(
727
- --font-sans--font-variation-settings
728
- );
729
726
  --default-mono-font-family: var(--font-mono);
730
- --default-mono-font-feature-settings: var(
731
- --font-mono--font-feature-settings
732
- );
733
- --default-mono-font-variation-settings: var(
734
- --font-mono--font-variation-settings
735
- );
736
727
  }
737
728
  }
738
729
  @layer base {
@@ -746,14 +737,11 @@
746
737
  line-height: 1.5;
747
738
  -webkit-text-size-adjust: 100%;
748
739
  tab-size: 4;
749
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
740
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
750
741
  font-feature-settings: var(--default-font-feature-settings, normal);
751
- font-variation-settings: var( --default-font-variation-settings, normal );
742
+ font-variation-settings: var(--default-font-variation-settings, normal);
752
743
  -webkit-tap-highlight-color: transparent;
753
744
  }
754
- body {
755
- line-height: inherit;
756
- }
757
745
  hr {
758
746
  height: 0;
759
747
  color: inherit;
@@ -776,9 +764,9 @@
776
764
  font-weight: bolder;
777
765
  }
778
766
  code, kbd, samp, pre {
779
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
780
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
781
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
767
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
768
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
769
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
782
770
  font-size: 1em;
783
771
  }
784
772
  small {
@@ -842,7 +830,14 @@
842
830
  }
843
831
  ::placeholder {
844
832
  opacity: 1;
845
- color: color-mix(in oklab, currentColor 50%, transparent);
833
+ }
834
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
835
+ ::placeholder {
836
+ color: currentcolor;
837
+ @supports (color: color-mix(in lab, red, red)) {
838
+ color: color-mix(in oklab, currentcolor 50%, transparent);
839
+ }
840
+ }
846
841
  }
847
842
  textarea {
848
843
  resize: vertical;
@@ -1015,7 +1010,7 @@
1015
1010
  rotate: 180deg;
1016
1011
  }
1017
1012
  .transform {
1018
- transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z) var(--tw-skew-x) var(--tw-skew-y);
1013
+ transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
1019
1014
  }
1020
1015
  .resize {
1021
1016
  resize: both;
@@ -1283,7 +1278,7 @@
1283
1278
  }
1284
1279
  .focus-visible\:ring-2 {
1285
1280
  &:focus-visible {
1286
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentColor);
1281
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1287
1282
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1288
1283
  }
1289
1284
  }
@@ -1378,9 +1373,6 @@ input[type="number"] {
1378
1373
  h1, h2, h3, h4, h5, h6, p {
1379
1374
  color: var(--color-gray-900);
1380
1375
  }
1381
- button {
1382
- cursor: pointer;
1383
- }
1384
1376
  }
1385
1377
  @layer theme, base, components, utilities;
1386
1378
  @layer theme;
@@ -1395,14 +1387,11 @@ input[type="number"] {
1395
1387
  line-height: 1.5;
1396
1388
  -webkit-text-size-adjust: 100%;
1397
1389
  tab-size: 4;
1398
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
1390
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
1399
1391
  font-feature-settings: var(--default-font-feature-settings, normal);
1400
- font-variation-settings: var( --default-font-variation-settings, normal );
1392
+ font-variation-settings: var(--default-font-variation-settings, normal);
1401
1393
  -webkit-tap-highlight-color: transparent;
1402
1394
  }
1403
- body {
1404
- line-height: inherit;
1405
- }
1406
1395
  hr {
1407
1396
  height: 0;
1408
1397
  color: inherit;
@@ -1425,9 +1414,9 @@ input[type="number"] {
1425
1414
  font-weight: bolder;
1426
1415
  }
1427
1416
  code, kbd, samp, pre {
1428
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
1429
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
1430
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
1417
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
1418
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
1419
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
1431
1420
  font-size: 1em;
1432
1421
  }
1433
1422
  small {
@@ -1491,7 +1480,14 @@ input[type="number"] {
1491
1480
  }
1492
1481
  ::placeholder {
1493
1482
  opacity: 1;
1494
- color: color-mix(in oklab, currentColor 50%, transparent);
1483
+ }
1484
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
1485
+ ::placeholder {
1486
+ color: currentcolor;
1487
+ @supports (color: color-mix(in lab, red, red)) {
1488
+ color: color-mix(in oklab, currentcolor 50%, transparent);
1489
+ }
1490
+ }
1495
1491
  }
1496
1492
  textarea {
1497
1493
  resize: vertical;
@@ -1535,27 +1531,22 @@ input[type="number"] {
1535
1531
  @property --tw-rotate-x {
1536
1532
  syntax: "*";
1537
1533
  inherits: false;
1538
- initial-value: rotateX(0);
1539
1534
  }
1540
1535
  @property --tw-rotate-y {
1541
1536
  syntax: "*";
1542
1537
  inherits: false;
1543
- initial-value: rotateY(0);
1544
1538
  }
1545
1539
  @property --tw-rotate-z {
1546
1540
  syntax: "*";
1547
1541
  inherits: false;
1548
- initial-value: rotateZ(0);
1549
1542
  }
1550
1543
  @property --tw-skew-x {
1551
1544
  syntax: "*";
1552
1545
  inherits: false;
1553
- initial-value: skewX(0);
1554
1546
  }
1555
1547
  @property --tw-skew-y {
1556
1548
  syntax: "*";
1557
1549
  inherits: false;
1558
- initial-value: skewY(0);
1559
1550
  }
1560
1551
  @property --tw-border-style {
1561
1552
  syntax: "*";
@@ -1579,6 +1570,11 @@ input[type="number"] {
1579
1570
  syntax: "*";
1580
1571
  inherits: false;
1581
1572
  }
1573
+ @property --tw-shadow-alpha {
1574
+ syntax: "<percentage>";
1575
+ inherits: false;
1576
+ initial-value: 100%;
1577
+ }
1582
1578
  @property --tw-inset-shadow {
1583
1579
  syntax: "*";
1584
1580
  inherits: false;
@@ -1588,6 +1584,11 @@ input[type="number"] {
1588
1584
  syntax: "*";
1589
1585
  inherits: false;
1590
1586
  }
1587
+ @property --tw-inset-shadow-alpha {
1588
+ syntax: "<percentage>";
1589
+ inherits: false;
1590
+ initial-value: 100%;
1591
+ }
1591
1592
  @property --tw-ring-color {
1592
1593
  syntax: "*";
1593
1594
  inherits: false;
@@ -1670,3 +1671,58 @@ input[type="number"] {
1670
1671
  syntax: "*";
1671
1672
  inherits: false;
1672
1673
  }
1674
+ @property --tw-drop-shadow-color {
1675
+ syntax: "*";
1676
+ inherits: false;
1677
+ }
1678
+ @property --tw-drop-shadow-alpha {
1679
+ syntax: "<percentage>";
1680
+ inherits: false;
1681
+ initial-value: 100%;
1682
+ }
1683
+ @property --tw-drop-shadow-size {
1684
+ syntax: "*";
1685
+ inherits: false;
1686
+ }
1687
+ @layer properties {
1688
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1689
+ *, ::before, ::after, ::backdrop {
1690
+ --tw-rotate-x: initial;
1691
+ --tw-rotate-y: initial;
1692
+ --tw-rotate-z: initial;
1693
+ --tw-skew-x: initial;
1694
+ --tw-skew-y: initial;
1695
+ --tw-border-style: solid;
1696
+ --tw-leading: initial;
1697
+ --tw-font-weight: initial;
1698
+ --tw-shadow: 0 0 #0000;
1699
+ --tw-shadow-color: initial;
1700
+ --tw-shadow-alpha: 100%;
1701
+ --tw-inset-shadow: 0 0 #0000;
1702
+ --tw-inset-shadow-color: initial;
1703
+ --tw-inset-shadow-alpha: 100%;
1704
+ --tw-ring-color: initial;
1705
+ --tw-ring-shadow: 0 0 #0000;
1706
+ --tw-inset-ring-color: initial;
1707
+ --tw-inset-ring-shadow: 0 0 #0000;
1708
+ --tw-ring-inset: initial;
1709
+ --tw-ring-offset-width: 0px;
1710
+ --tw-ring-offset-color: #fff;
1711
+ --tw-ring-offset-shadow: 0 0 #0000;
1712
+ --tw-outline-style: solid;
1713
+ --tw-blur: initial;
1714
+ --tw-brightness: initial;
1715
+ --tw-contrast: initial;
1716
+ --tw-grayscale: initial;
1717
+ --tw-hue-rotate: initial;
1718
+ --tw-invert: initial;
1719
+ --tw-opacity: initial;
1720
+ --tw-saturate: initial;
1721
+ --tw-sepia: initial;
1722
+ --tw-drop-shadow: initial;
1723
+ --tw-drop-shadow-color: initial;
1724
+ --tw-drop-shadow-alpha: 100%;
1725
+ --tw-drop-shadow-size: initial;
1726
+ }
1727
+ }
1728
+ }
@@ -2,4 +2,3 @@ const externalPackages = [];
2
2
  export {
3
3
  externalPackages as default
4
4
  };
5
- //# sourceMappingURL=external-packages.js.map
package/dist/hmr.js CHANGED
@@ -2,4 +2,3 @@ const hmr = import.meta.hot;
2
2
  export {
3
3
  hmr
4
4
  };
5
- //# sourceMappingURL=hmr.js.map
package/dist/index.html CHANGED
@@ -64,4 +64,4 @@
64
64
  "react-dom": "https://esm.sh/react-dom",
65
65
  "react-dom/": "https://esm.sh/react-dom/"
66
66
  }
67
- }</script><script type="module" crossorigin="" src="/assets/main.DA6nl4Ov.js"></script></head><body><div id="app"></div></body></html>
67
+ }</script><script type="module" crossorigin="" src="/assets/main.BcxEuVs0.js"></script></head><body><div id="app"></div></body></html>
@@ -44,4 +44,3 @@ async function updateClients(version, requiresHardRefresh) {
44
44
  });
45
45
  });
46
46
  }
47
- //# sourceMappingURL=service-worker.js.map
package/dist/vite-envs.sh CHANGED
@@ -11,7 +11,7 @@ replaceAll() {
11
11
  }'
12
12
  }
13
13
 
14
- html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLkRBNm5sNE92LmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | base64 -d)
14
+ html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLkJjeEV1VnMwLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | base64 -d)
15
15
 
16
16
  BASE_URL_base64="eEFwV2RSclg5OWtQclZnZ0UiLyIK"
17
17
  BASE_URL=$(echo "Lwo=" | base64 -d)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/connect",
3
3
  "productName": "Powerhouse-Connect",
4
- "version": "1.0.24-dev.0",
4
+ "version": "1.1.0",
5
5
  "description": "Powerhouse Connect",
6
6
  "main": "./dist/index.html",
7
7
  "type": "module",
@@ -35,20 +35,19 @@
35
35
  "@electron-forge/publisher-github": "^7.2.0",
36
36
  "@electron-forge/shared-types": "^7.7.0",
37
37
  "@playwright/test": "^1.41.2",
38
- "@powerhousedao/diff-analyzer": "^0.0.0-dev.4",
39
38
  "@rollup/plugin-node-resolve": "^15.2.3",
40
39
  "@sentry/browser": "^9.1.0",
41
40
  "@sentry/react": "^7.109.0",
42
- "@sentry/vite-plugin": "^2.22.2",
43
- "@tailwindcss/vite": "^4.0.9",
41
+ "@sentry/vite-plugin": "^2.23.0",
42
+ "@tailwindcss/vite": "^4.1.4",
44
43
  "@tanstack/react-virtual": "^3.8.1",
45
- "@types/node": "^22.15.17",
44
+ "@types/node": "^22.13.10",
46
45
  "@types/react": "^18.2.79",
47
46
  "@types/react-dom": "^18.2.18",
48
47
  "@types/uuid": "^9.0.7",
49
48
  "@types/wicg-file-system-access": "^2020.9.6",
50
- "@vitejs/plugin-basic-ssl": "^1.2.0",
51
- "@vitejs/plugin-react": "^4.2.1",
49
+ "@vitejs/plugin-basic-ssl": "^2.0.0",
50
+ "@vitejs/plugin-react": "^4.4.1",
52
51
  "asar": "^3.2.0",
53
52
  "did-key-creator": "^1.2.0",
54
53
  "electron": "30.0.0",
@@ -73,24 +72,24 @@
73
72
  "react-i18next": "^13.5.0",
74
73
  "react-router-dom": "^6.11.2",
75
74
  "tailwind-merge": "^3.0.2",
76
- "tailwindcss": "^4.0.9",
75
+ "tailwindcss": "^4.1.4",
77
76
  "uuid": "^9.0.1",
78
77
  "viem": "^2.8.13",
79
- "vite": "^6.2.2",
80
- "vite-envs": "^4.4.11",
78
+ "vite": "^6.3.3",
79
+ "vite-envs": "^4.6.0",
81
80
  "vite-plugin-html": "^3.2.2",
82
81
  "vite-plugin-node-polyfills": "^0.23.0",
83
- "vite-plugin-svgr": "^4.2.0",
84
- "vite-tsconfig-paths": "^4.3.2",
82
+ "vite-plugin-svgr": "^4.3.0",
83
+ "vite-tsconfig-paths": "^5.1.4",
85
84
  "xvfb-maybe": "^0.2.1",
86
- "@powerhousedao/builder-tools": "0.9.38-dev.0",
87
- "@powerhousedao/design-system": "1.39.27-dev.0",
88
- "@powerhousedao/reactor-browser": "1.22.35-dev.0",
89
- "@powerhousedao/config": "1.27.0-dev.12",
90
- "@powerhousedao/scalars": "1.33.1-dev.10",
91
- "@powerhousedao/common": "1.10.45-dev.0",
92
- "document-drive": "1.29.12-dev.5",
93
- "document-model": "2.28.1-dev.13"
85
+ "@powerhousedao/builder-tools": "0.10.0",
86
+ "@powerhousedao/common": "1.11.0",
87
+ "@powerhousedao/config": "1.28.0",
88
+ "@powerhousedao/design-system": "1.40.0",
89
+ "@powerhousedao/reactor-browser": "1.23.0",
90
+ "document-drive": "1.30.0",
91
+ "document-model": "3.0.0",
92
+ "@powerhousedao/scalars": "2.0.0"
94
93
  },
95
94
  "optionalDependencies": {
96
95
  "@esbuild/linux-x64": "^0.21.4",
@@ -111,7 +110,7 @@
111
110
  "format": "prettier --write \"**/*.+(js|ts|jsx|tsx|json)\"",
112
111
  "dev": "vite -c vite.renderer.config.mts",
113
112
  "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev",
114
- "prebuild": "npm run clean && tsc --build --noEmit",
113
+ "prebuild": "tsc --build --noEmit",
115
114
  "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts",
116
115
  "preview:web": "vite preview -c vite.renderer.config.mts",
117
116
  "e2e": "playwright test",