diff --git a/.gitignore b/.gitignore index d7db5c3..f2d345b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ _agstate/yarn-links/ .parcel-cache/ ui/.cache/ ui/dist/ +ui/public/conf/ diff --git a/ui/package.json b/ui/package.json index 39d817e..9dff1b3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -50,7 +50,7 @@ "@endo/marshal": "^0.6.9", "lit": "^2.0.2", "regenerator-runtime": "0.13.7", - "ses": "^0.15.11" + "ses": "^0.18.2" }, "devDependencies": { "caniuse-lite": "1.0.30001251", diff --git a/ui/public/conf/defaults.js b/ui/public/conf/defaults.js deleted file mode 100644 index c6be2d5..0000000 --- a/ui/public/conf/defaults.js +++ /dev/null @@ -1,14 +0,0 @@ -// GENERATED FROM /Users/katesills/code/dapp-fungible-faucet/api/deploy.js -export default { - INSTANCE_BOARD_ID: '794977354', - INSTALLATION_BOARD_ID: '1530295560', - INVITE_BRAND_BOARD_ID: '500716545', - brandBoardIds: { - Token: '529406044', - }, - issuerBoardIds: { - Token: '715805464', - }, - BRIDGE_URL: 'http://127.0.0.1:8000', - API_URL: 'http://127.0.0.1:8000', -}; diff --git a/ui/public/conf/installationConstants.js b/ui/public/conf/installationConstants.js deleted file mode 100644 index b23f2af..0000000 --- a/ui/public/conf/installationConstants.js +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED FROM /Users/katesills/code/dapp-fungible-faucet/contract/deploy.js -export default { - CONTRACT_NAME: 'fungibleFaucet', - INSTALLATION_BOARD_ID: '1530295560', -}; diff --git a/ui/public/src/install-ses-lockdown.js b/ui/public/src/install-ses-lockdown.js index 5e7fb6b..b3c63d0 100644 --- a/ui/public/src/install-ses-lockdown.js +++ b/ui/public/src/install-ses-lockdown.js @@ -1,7 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ /* global lockdown */ import 'ses/dist/ses.umd'; // adds lockdown, harden, and Compartment -import '@endo/eventual-send/shim'; // adds support needed by E const errorTaming = process.env.NODE_ENV === 'development' ? 'unsafe' : 'safe'; diff --git a/ui/public/src/main.js b/ui/public/src/main.js index 2729216..8981aa3 100644 --- a/ui/public/src/main.js +++ b/ui/public/src/main.js @@ -2,6 +2,7 @@ // @ts-check /* globals document mdc */ import './install-ses-lockdown.js'; +import '@endo/eventual-send/shim'; // adds support needed by E import { E } from '@endo/eventual-send'; import { observeNotifier } from '@agoric/notifier'; import dappConstants from '../lib/constants.js'; diff --git a/yarn.lock b/yarn.lock index 5459635..1004777 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5296,11 +5296,16 @@ serve-static@1.15.0: parseurl "~1.3.3" send "0.18.0" -ses@^0.15.11, ses@^0.15.15, ses@^0.15.17: +ses@^0.15.15, ses@^0.15.17: version "0.15.17" resolved "https://registry.yarnpkg.com/ses/-/ses-0.15.17.tgz#84e20cd08fb294989c6499942d220bd6604e1884" integrity sha512-T8XKsR5LGV57ilyqE4InFJKWVniEEFGai0CjuVJPju9LvnjYPXvZ7V8jP7sGtJ500ApRVgNBCu+5ZcSUhiuXig== +ses@^0.18.2: + version "0.18.2" + resolved "https://registry.yarnpkg.com/ses/-/ses-0.18.2.tgz#09adabc732c0dee3fa443c4c5e6672d59d25e241" + integrity sha512-AGoYxx1035q60uICxzkqMzzHf6bQuMtgTHWKnmv+qHjY/dAIKMgRT47HY/AdFquGbJCp17AEekBXFbITiS1YUA== + set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"