on master help sign in
deps: vite, peg node
9684274tomholford
@@ -1,2 +1,2 @@
1−REACT_APP_INFURA_ENDPOINT='2599df54929b47099bda360958d75aaf'
1+VITE_INFURA_ENDPOINT='2599df54929b47099bda360958d75aaf'
2
2
.env.development+5−5
@@ -1,5 +1,5 @@
1−REACT_APP_DEV_MNEMONIC='benefit crew supreme gesture quantum web media hazard theory mercy wing kitten'
1+VITE_DEV_MNEMONIC='benefit crew supreme gesture quantum web media hazard theory mercy wing kitten'
2−REACT_APP_DEV_GALAXY_TICKET='~wacfus-dabpex-danted-mosfep-pasrud-lavmer-nodtex-taslus-pactyp-milpub-pildeg-fornev-ralmed-dinfeb-fopbyr-sanbet-sovmyl-dozsut-mogsyx-mapwyc-sorrup-ricnec-marnys-lignex'
2+VITE_DEV_GALAXY_TICKET='~wacfus-dabpex-danted-mosfep-pasrud-lavmer-nodtex-taslus-pactyp-milpub-pildeg-fornev-ralmed-dinfeb-fopbyr-sanbet-sovmyl-dozsut-mogsyx-mapwyc-sorrup-ricnec-marnys-lignex'
3−REACT_APP_ROPSTEN_KEY='b7d2af9f01534031ba773374f766ef65'
3+VITE_ROPSTEN_KEY='b7d2af9f01534031ba773374f766ef65'
4−REACT_APP_HD_PATH="m/44'/60'/0'/0/0"
4+VITE_HD_PATH="m/44'/60'/0'/0/0"
5−REACT_APP_STUB_LOCAL='false'
5+VITE_STUB_LOCAL='false'
.nvmrc+1−1
@@ -1 +1 @@
1−16.14.0
1+16.18.0
DEVELOPMENT.md+2−2
@@ -65,9 +65,9 @@ of having to re-authenticate whenever you make a change or refresh the page):
65
65
66- The `.env.development` file contains environment variables that you can
66- The `.env.development` file contains environment variables that you can
67 provide to the application when it's running in development. You can access
67 provide to the application when it's running in development. You can access
68− them via `process.env.REACT_APP_<whatever>`.
68+ them via `import.meta.env.VITE_<whatever>`.
69
69
70−- Set `REACT_APP_STUB_LOCAL='true'` in `.env.development` to enabled stubbing of
70+- Set `VITE_STUB_LOCAL='true'` in `.env.development` to enabled stubbing of
71 certain methods throughout the app.
71 certain methods throughout the app.
72
72
73- The top of the Bridge component in `src/Bridge.js` can be tweaked for setting
73- The top of the Bridge component in `src/Bridge.js` can be tweaked for setting
README.md+4−4
@@ -63,10 +63,10 @@ By default, Bridge uses Tlon's L2 Roller, but can also be configured to use your
63For example:
63For example:
64
64
65```sh
65```sh
66−REACT_APP_ROLLER_HOST=my-personal-roller.net npm run pilot-mainnet
66+VITE_ROLLER_HOST=my-personal-roller.net npm run pilot-mainnet
67```
67```
68
68
69The following are configurable, and will otherwise fallback to the defaults in `constants`:
69The following are configurable, and will otherwise fallback to the defaults in `constants`:
70−- `REACT_APP_ROLLER_HOST` - host
70+- `VITE_ROLLER_HOST` - host
71−- `REACT_APP_ROLLER_PORT` - port
71+- `VITE_ROLLER_PORT` - port
72−- `REACT_APP_ROLLER_TRANSPORT_TYPE` - transport type (e.g., `http` or `https`)
72+- `VITE_ROLLER_TRANSPORT_TYPE` - transport type (e.g., `http` or `https`)
globals.d.tsnew file+13
@@ -0,0 +1,13 @@
1+declare module "\*.svg" {
2+ import React = require("react");
3+ export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
4+ const src: string;
5+ export default src;
6+}
7+
8+declare module "\*.png" {
9+ import React = require("react");
10+ export const ReactComponent: React.FC<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>>>;
11+ const src: string;
12+ export default src;
13+}
public/index.html → index.htmlrenamed+3−2
@@ -7,8 +7,8 @@
7 content="width=device-width, initial-scale=1, shrink-to-fit=no"
7 content="width=device-width, initial-scale=1, shrink-to-fit=no"
8 />
8 />
9 <meta name="theme-color" content="#fff" />
9 <meta name="theme-color" content="#fff" />
10− <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
10+ <link rel="manifest" href="/manifest.json" />
11− <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
11+ <link rel="shortcut icon" href="/favicon.ico" />
12
12
13 <meta
13 <meta
14 name="description"
14 name="description"
@@ -54,6 +54,7 @@
54 </head>
54 </head>
55 <body>
55 <body>
56 <div id="root"></div>
56 <div id="root"></div>
57+ <script type="module" src="/src/index.tsx"></script>
57 <!-- Force load all fonts -->
58 <!-- Force load all fonts -->
58 <div
59 <div
59 aria-visibility="hidden"
60 aria-visibility="hidden"
package-lock.json+25852−59903

This diff is too big to show here.

package.json+22−18

This diff is too big to show here.

src/Bridge.tsx+4−4

This diff is too big to show here.

src/components/Accordion.js → src/components/Accordion.jsxrenamed

The content is the same.

src/components/AspectRatio.js → src/components/AspectRatio.jsxrenamed

The content is the same.

src/components/BarGraph.js → src/components/BarGraph.jsxrenamed

The content is the same.

src/components/Blinky.js → src/components/Blinky.jsxrenamed

The content is the same.

src/components/Buttons.js → src/components/Buttons.jsxrenamed

The content is the same.

src/components/Chip.js → src/components/Chip.jsxrenamed

The content is the same.

src/components/Crumbs.js → src/components/Crumbs.jsxrenamed

The content is the same.

src/components/DownloadKeyfileButton.js → src/components/DownloadKeyfileButton.jsxrenamed

The content is the same.

src/components/DownloadSigilButton.js → src/components/DownloadSigilButton.jsxrenamed

The content is the same.

src/components/Footer.js → src/components/Footer.jsxrenamed

The content is the same.

src/components/FooterButton.js → src/components/FooterButton.jsxrenamed

The content is the same.

src/components/Greeting.js → src/components/Greeting.jsxrenamed

The content is the same.

src/components/Header.js → src/components/Header.jsxrenamed

The content is the same.

src/components/Highlighted.js → src/components/Highlighted.jsxrenamed

The content is the same.

src/components/InlineEthereumTransaction.js → src/components/InlineEthereumTransaction.jsxrenamed

The content is the same.

src/components/InputSigil.js → src/components/InputSigil.jsxrenamed

The content is the same.

src/components/InviteSigilList.js → src/components/InviteSigilList.jsxrenamed

The content is the same.

src/components/LoadingBar.js → src/components/LoadingBar.jsxrenamed

The content is the same.

src/components/LoginButton.js → src/components/LoginButton.jsxrenamed

The content is the same.

src/components/MaybeSigil.js → src/components/MaybeSigil.jsxrenamed

The content is the same.

src/components/MiniBackButton.js → src/components/MiniBackButton.jsxrenamed

The content is the same.

src/components/NavHeader.js → src/components/NavHeader.jsxrenamed

The content is the same.

src/components/NeedFundsNotice.js → src/components/NeedFundsNotice.jsxrenamed

The content is the same.

src/components/NetworkKeys.js → src/components/NetworkKeys.jsxrenamed

The content is the same.

src/components/NoticeBox.js → src/components/NoticeBox.jsxrenamed

The content is the same.

src/components/PaperBuilder.js → src/components/PaperBuilder.jsxrenamed

The content is the same.

src/components/Passport.js → src/components/Passport.jsxrenamed

The content is the same.

src/components/ProgressButton.js → src/components/ProgressButton.jsxrenamed

The content is the same.

src/components/Router.js → src/components/Router.jsxrenamed

The content is the same.

src/components/Sigil.js → src/components/Sigil.jsxrenamed

The content is the same.

src/components/Steps.js → src/components/Steps.jsxrenamed

The content is the same.

src/components/Tabs.js → src/components/Tabs.jsxrenamed

The content is the same.

src/components/UploadButton.js → src/components/UploadButton.jsxrenamed

The content is the same.

src/components/ViewHeader.js → src/components/ViewHeader.jsxrenamed

The content is the same.

src/components/WarningBox.js → src/components/WarningBox.jsxrenamed

The content is the same.

src/components/WithErrorBoundary.js → src/components/WithErrorBoundary.jsxrenamed

The content is the same.

src/components/copiable/CopiableAddress.js → src/components/copiable/CopiableAddress.jsxrenamed

The content is the same.

src/components/copiable/CopiableAddressWrap.js → src/components/copiable/CopiableAddressWrap.jsxrenamed

The content is the same.

src/components/copiable/CopiableWithTooltip.js → src/components/copiable/CopiableWithTooltip.jsxrenamed

The content is the same.

src/components/copiable/CopyButton.js → src/components/copiable/CopyButton.jsxrenamed

The content is the same.

src/form/ColorInput.js → src/form/ColorInput.jsxrenamed

The content is the same.

src/form/EmailChipInput.js → src/form/EmailChipInput.jsxrenamed

The content is the same.

src/form/FormError.js → src/form/FormError.jsxrenamed

The content is the same.

src/form/SubmitButton.js → src/form/SubmitButton.jsxrenamed

The content is the same.

src/form/UploadInput.js → src/form/UploadInput.jsxrenamed

The content is the same.

src/index.tsx+3−3

This diff is too big to show here.

src/indigo-react/components/AccessoryIcon.js → src/indigo-react/components/AccessoryIcon.jsxrenamed

The content is the same.

src/indigo-react/components/Button.js → src/indigo-react/components/Button.jsxrenamed

The content is the same.

src/indigo-react/components/CheckboxInput.js → src/indigo-react/components/CheckboxInput.jsxrenamed

The content is the same.

src/indigo-react/components/Flex.js → src/indigo-react/components/Flex.jsxrenamed

The content is the same.

src/indigo-react/components/Grid.js → src/indigo-react/components/Grid.jsxrenamed

The content is the same.

src/indigo-react/components/IconButton.js → src/indigo-react/components/IconButton.jsxrenamed

The content is the same.

src/indigo-react/components/IndigoApp.js → src/indigo-react/components/IndigoApp.jsxrenamed

The content is the same.

src/indigo-react/components/Input.js → src/indigo-react/components/Input.jsxrenamed

The content is the same.

src/indigo-react/components/LinkButton.js → src/indigo-react/components/LinkButton.jsxrenamed

The content is the same.

src/indigo-react/components/SelectInput.js → src/indigo-react/components/SelectInput.jsxrenamed

The content is the same.

src/indigo-react/components/ToggleInput.js → src/indigo-react/components/ToggleInput.jsxrenamed

The content is the same.

src/indigo-react/components/Typography.js → src/indigo-react/components/Typography.jsxrenamed

The content is the same.

src/lib/MediaQuery.js → src/lib/MediaQuery.jsxrenamed

The content is the same.

src/lib/flags.js+7−7

This diff is too big to show here.

src/lib/useMailer.js+1−1

This diff is too big to show here.

src/lib/walletgen.js+4−2

This diff is too big to show here.

src/nockjs/bits.js+6−7

This diff is too big to show here.

src/nockjs/compiler.js+6−15

This diff is too big to show here.

src/nockjs/hamt.js+1−3

This diff is too big to show here.

src/nockjs/list.js+3−4

This diff is too big to show here.

src/nockjs/noun.js+2−2

This diff is too big to show here.

src/nockjs/serial.js+6−11

This diff is too big to show here.

src/nockjs/test/ack.js+34−10

This diff is too big to show here.

src/nockjs/test/add.js+31−14

This diff is too big to show here.

src/nockjs/test/bits.js+5−5

This diff is too big to show here.

src/nockjs/test/decrement.js+14−13

This diff is too big to show here.

src/nockjs/test/hamt.js+5−5

This diff is too big to show here.

src/nockjs/test/noun.js+7−7

This diff is too big to show here.

src/nockjs/test/serial.js+7−7

This diff is too big to show here.

src/store/network.js → src/store/network.jsxrenamed+2−2

This diff is too big to show here.

src/store/online.js → src/store/online.jsxrenamed

The content is the same.

src/store/pointCache.js → src/store/pointCache.jsxrenamed

The content is the same.

src/store/pointCursor.js → src/store/pointCursor.jsxrenamed

The content is the same.

src/store/starRelease.js → src/store/starRelease.jsxrenamed

The content is the same.

src/store/txnCursor.js → src/store/txnCursor.jsxrenamed

The content is the same.

src/store/wallet.js → src/store/wallet.jsxrenamed

The content is the same.

src/views/AcceptLockup.js → src/views/AcceptLockup.jsxrenamed

The content is the same.

src/views/Activate.js → src/views/Activate.jsxrenamed+1−1

This diff is too big to show here.

src/views/Activate/ActivateCodeForm.tsx+1−1

This diff is too big to show here.

src/views/Activate/MasterKeyConfirm.tsx+1−1

This diff is too big to show here.

src/views/Activate/MasterKeyDownload.tsx+1−1

This diff is too big to show here.

src/views/Activate/MasterKeyReveal.tsx+1−1

This diff is too big to show here.

src/views/Activate/MasterKeyTransfer.tsx+1−1

This diff is too big to show here.

src/views/Activate/ActivateFlow.js → src/views/Activate/useActivateFlow.jsrenamed

The content is the same.

src/views/Activate/useFadeIn.ts+1−1

This diff is too big to show here.

src/views/Activate/withFadeable.tsx+1−1

This diff is too big to show here.

src/views/CreateGalaxy.js → src/views/CreateGalaxy.jsxrenamed

The content is the same.

src/views/Disclaimer.js → src/views/Disclaimer.jsxrenamed

The content is the same.

src/views/Login/Hardware.js → src/views/Login/Hardware.jsxrenamed

The content is the same.

src/views/Login/Metamask.js → src/views/Login/Metamask.jsxrenamed

The content is the same.

src/views/Party/PartySetPoolSize.js → src/views/Party/PartySetPoolSize.jsxrenamed

The content is the same.

src/views/Point/Senate.js → src/views/Point/Senate.jsxrenamed

The content is the same.

src/views/Point/UrbitID.js → src/views/Point/UrbitID.jsxrenamed

The content is the same.

src/views/Point/UrbitOS.js → src/views/Point/UrbitOS.jsxrenamed

The content is the same.

src/views/Senate/Documents.js → src/views/Senate/Documents.jsxrenamed

The content is the same.

src/views/Senate/Upgrades.js → src/views/Senate/Upgrades.jsxrenamed

The content is the same.

src/views/UrbitID/DownloadKeys.js → src/views/UrbitID/DownloadKeys.jsxrenamed

The content is the same.

src/views/UrbitID/ResetKeys.js → src/views/UrbitID/ResetKeys.jsxrenamed

The content is the same.

src/views/UrbitID/ResetKeys/ResetConfirm.js → src/views/UrbitID/ResetKeys/ResetConfirm.jsxrenamed

The content is the same.

src/views/UrbitID/ResetKeys/ResetDownload.js → src/views/UrbitID/ResetKeys/ResetDownload.jsxrenamed

The content is the same.

src/views/UrbitID/ResetKeys/ResetVerify.js → src/views/UrbitID/ResetKeys/ResetVerify.jsxrenamed

The content is the same.

src/views/UrbitID/SetProxy.js → src/views/UrbitID/SetProxy.jsxrenamed

The content is the same.

src/views/UrbitID/SigilGenerator.js → src/views/UrbitID/SigilGenerator.jsxrenamed

The content is the same.

src/worker/custom.d.tsdeleted−11

This diff is too big to show here.

src/worker/generateWalletWorker.tsnew file+9

This diff is too big to show here.

src/worker/index.tsdeleted−4

This diff is too big to show here.

src/worker/worker.ts+3−8

This diff is too big to show here.

truffle-config.js+6−8

This diff is too big to show here.

tsconfig.json+12−16

This diff is too big to show here.

vite-env.d.tsnew file+2

This diff is too big to show here.

vite.config.tsnew file+37

This diff is too big to show here.