Skip to content

Commit

Permalink
feat: use SES for the wallet frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 8, 2020
1 parent 3cd6315 commit 3ba89dc
Show file tree
Hide file tree
Showing 9 changed files with 173 additions and 6,390 deletions.
1 change: 0 additions & 1 deletion packages/dapp-svelte-wallet/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"dependencies": {
"@agoric/eventual-send": "^0.9.3",
"@agoric/harden": "^0.0.8",
"esm": "^3.2.5"
},
"eslintConfig": {
Expand Down
1 change: 0 additions & 1 deletion packages/dapp-svelte-wallet/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"dependencies": {
"@agoric/assert": "^0.0.8",
"@agoric/eventual-send": "^0.9.3",
"@agoric/harden": "^0.0.8",
"@agoric/install-ses": "^0.2.0",
"@agoric/ertp": "^0.6.0",
"@agoric/notifier": "^0.1.3",
Expand Down
1 change: 0 additions & 1 deletion packages/dapp-svelte-wallet/contract/src/contract.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @ts-check
import harden from '@agoric/harden';
import makeIssuerKit from '@agoric/ertp';
import { makeNotifierKit } from '@agoric/notifier';
import { makeZoeHelpers } from '@agoric/zoe/src/contractSupport/zoeHelpers';
Expand Down
1 change: 0 additions & 1 deletion packages/dapp-svelte-wallet/contract/test/test-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { test } from 'tape-promise/tape';
import bundleSource from '@agoric/bundle-source';

import { E } from '@agoric/eventual-send';
import harden from '@agoric/harden';
import { evalContractBundle } from '@agoric/zoe/src/evalContractCode';

import { makeZoe } from '@agoric/zoe';
Expand Down
7 changes: 5 additions & 2 deletions packages/dapp-svelte-wallet/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"devDependencies": {
"@agoric/captp": "^1.3.3",
"@agoric/harden": "^0.0.6",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"livereload-js": "file:livereload-js-v3.3.1.tgz",
"rollup": "^2.3.4",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-svelte": "^5.0.3",
Expand All @@ -27,5 +27,8 @@
},
"files": [
"public"
]
],
"dependencies": {
"livereload-js": "https://github.com/agoric-labs/livereload-js"
}
}
8 changes: 0 additions & 8 deletions packages/dapp-svelte-wallet/ui/src/install-ersatz-harden.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/dapp-svelte-wallet/ui/src/install-ses.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import 'ses/src/lockdown-main';

lockdown({ errorTaming: 'unsafe' });
3 changes: 2 additions & 1 deletion packages/dapp-svelte-wallet/ui/src/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './install-ersatz-harden';
import './install-ses';
// import './install-ersatz-harden';
import './tailwind.css';
import App from './App.svelte';

Expand Down
Loading

0 comments on commit 3ba89dc

Please sign in to comment.