Skip to content

Commit

Permalink
fixup! chore(deps): install ses
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Dec 18, 2024
1 parent 9fb678c commit 9201fe9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"devDependencies": {
"@agoric/internal": "0.4.0-u18.0",
"@cosmjs/stargate": "^0.28.9",
"@endo/eventual-send": "^1.2.8",
"@subql/cli": "^5.4.0",
"@subql/node-cosmos": "^4.2.1",
"@subql/testing": "latest",
Expand Down
2 changes: 1 addition & 1 deletion scripts/changePrice.mjs
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env node
import 'ses';
import './lockdown.mjs';
import { execa } from 'execa';
import { assertAllDefined } from '@agoric/internal';

Expand Down
2 changes: 1 addition & 1 deletion scripts/createVault.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env node
import 'ses';
import './lockdown.mjs';
import { execa } from 'execa';
import assert from 'node:assert/strict';
import { assertAllDefined } from '@agoric/internal';
Expand Down
10 changes: 10 additions & 0 deletions scripts/lockdown.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import 'ses';
import '@endo/eventual-send/shim.js';

const options = {
overrideTaming: 'severe',
stackFiltering: 'verbose',
errorTaming: 'unsafe',
};

lockdown(options);
2 changes: 1 addition & 1 deletion scripts/placeBid.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env node
import 'ses';
import './lockdown.mjs';
import { execa } from 'execa';
import assert from 'node:assert/strict';
import { assertAllDefined } from '@agoric/internal';
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4321,6 +4321,7 @@ __metadata:
dependencies:
"@agoric/internal": "npm:0.4.0-u18.0"
"@cosmjs/stargate": "npm:^0.28.9"
"@endo/eventual-send": "npm:^1.2.8"
"@subql/cli": "npm:^5.4.0"
"@subql/node-cosmos": "npm:^4.2.1"
"@subql/testing": "npm:latest"
Expand Down

0 comments on commit 9201fe9

Please sign in to comment.