Skip to content

Commit

Permalink
chore(deps): install ses
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Dec 20, 2024
1 parent dfc2483 commit 6a69b4e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
"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",
"execa": "^9.5.2",
"prettier": "^3.4.2",
"ses": "^1.10.0",
"starknet": "6.11.0",
"typescript": "^5.7.2"
},
Expand Down
1 change: 1 addition & 0 deletions scripts/changePrice.mjs
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /usr/bin/env node
import './lockdown.mjs';
import { execa } from 'execa';
import { assertAllDefined } from '@agoric/internal';

Expand Down
2 changes: 1 addition & 1 deletion scripts/checkLiquidation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const validate = async ({ apiUrl, maxRetries, retryDuration, expectations, filte

for (const key of Object.keys(expectations)) {
for (let i = 0; i < nodes.length; i++) {
equal(nodes[i][key], expectations[i].key);
equal(nodes[i][key], expectations[key][i]);
}
}

Expand Down
1 change: 1 addition & 0 deletions scripts/createVault.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /usr/bin/env node
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);
1 change: 1 addition & 0 deletions scripts/placeBid.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /usr/bin/env node
import './lockdown.mjs';
import { execa } from 'execa';
import assert from 'node:assert/strict';
import { assertAllDefined } from '@agoric/internal';
Expand Down
2 changes: 2 additions & 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 All @@ -4332,6 +4333,7 @@ __metadata:
js-sha256: "npm:^0.11.0"
pino: "npm:^7.8.0"
prettier: "npm:^3.4.2"
ses: "npm:^1.10.0"
starknet: "npm:6.11.0"
typescript: "npm:^5.7.2"
languageName: unknown
Expand Down

0 comments on commit 6a69b4e

Please sign in to comment.