Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agoric

Package Overview
Dependencies
Maintainers
1
Versions
2593
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agoric - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

21

CHANGELOG.md

@@ -6,2 +6,23 @@ # Change Log

# [0.6.0](https://github.com/Agoric/agoric-sdk/compare/agoric@0.5.0...agoric@0.6.0) (2020-05-04)
### Bug Fixes
* change default dapp to dapp-encouragement ([#939](https://github.com/Agoric/agoric-sdk/issues/939)) ([0a2c97a](https://github.com/Agoric/agoric-sdk/commit/0a2c97ae71059a0af5da55a6a2bacbaad10cddc5))
* don't use the (nonexistent) _agstate/agoric-wallet anymore ([0b739a6](https://github.com/Agoric/agoric-sdk/commit/0b739a64991e1319ac96d12bd76c9a36d408625b))
* get working with latest relayer ([3d39496](https://github.com/Agoric/agoric-sdk/commit/3d394963ce16556a639bf6f4118c5e91377b6bcc))
* implement nestedEvaluate where it was missing ([8f7d17f](https://github.com/Agoric/agoric-sdk/commit/8f7d17fe6a0c452df8c701c708d73cc79144071c))
* remove unnecessary files ([a13e937](https://github.com/Agoric/agoric-sdk/commit/a13e9375bccd6ff03e814745ca489fead21956f8))
### Features
* add Presence, getInterfaceOf, deepCopyData to marshal ([aac1899](https://github.com/Agoric/agoric-sdk/commit/aac1899b6cefc4241af04911a92ffc50fbac3429))
* symlink wallet from agoric-sdk or NPM for all ag-solos ([fdade37](https://github.com/Agoric/agoric-sdk/commit/fdade3773ae270d1ecbcf79f05d8b58c580e2350))
# [0.5.0](https://github.com/Agoric/agoric-sdk/compare/agoric@0.5.0-alpha.0...agoric@0.5.0) (2020-04-13)

@@ -8,0 +29,0 @@

8

lib/deploy.js

@@ -78,7 +78,7 @@ /* eslint-disable no-await-in-loop */

const nestedEvaluate = src =>
evaluateProgram(src, { require, HandledPromise, nestedEvaluate });
const actualSource = `(${source}\n)\n${sourceMap}`;
const mainNS = evaluateProgram(actualSource, {
require,
HandledPromise,
})();
const mainNS = nestedEvaluate(actualSource)();
const main = mainNS.default;

@@ -85,0 +85,0 @@ if (typeof main !== 'function') {

@@ -30,12 +30,2 @@ import path from 'path';

);
log(chalk.bold.green(`link SDK _agstate/agoric-wallet`));
await rimraf('_agstate/agoric-wallet');
const agWallet = path.resolve(__dirname, '../agoric-wallet-build');
try {
await fs.stat(`${agWallet}/index.html`);
await fs.symlink(agWallet, `_agstate/agoric-wallet`);
} catch (e) {
await fs.symlink(agWallet, `_agstate/agoric-wallet`);
}
} else {

@@ -56,10 +46,2 @@ // Delete any symlinks.

}
// FIXME: Copy the agoric-wallet-build more portably
log(chalk.bold.green(`copy bundled _agstate/agoric-wallet`));
await rimraf('_agstate/agoric-wallet');
const agWallet = path.resolve(__dirname, '../agoric-wallet-build');
if (await pspawn('cp', ['-a', agWallet, '_agstate/agoric-wallet'])) {
log.error('Cannot copy _agstate/agoric-wallet');
}
}

@@ -66,0 +48,0 @@

import chalk from 'chalk';
import { Command } from 'commander';
const DEFAULT_DAPP_TEMPLATE = 'dapp-simple-exchange';
const DEFAULT_DAPP_TEMPLATE = 'dapp-encouragement';
const DEFAULT_DAPP_URL_BASE = 'git://github.com/Agoric/';

@@ -19,3 +19,3 @@

log.error(`current directory wasn't created by '${progname} init'`);
return usage(1);
program.help();
}

@@ -22,0 +22,0 @@ };

@@ -40,18 +40,2 @@ import path from 'path';

const linkHtml = async name => {
log(chalk.green('linking html directories'));
// const dappHtml = `_agstate/agoric-servers/${name}/dapp-html`;
const htmlWallet = `_agstate/agoric-servers/${name}/html/wallet`;
// await Promise.all([fs.unlink(dappHtml).catch(() => {}), fs.unlink(htmlWallet).catch(() => {})]);
await Promise.all([
// fs.symlink('../../../ui/build', dappHtml).catch(() => {}),
fs
.unlink(htmlWallet)
.catch(_ => {})
.then(_ =>
fs.symlink('../../../../_agstate/agoric-wallet', htmlWallet),
),
]);
};
let agSolo;

@@ -105,3 +89,2 @@ let agSetupSolo;

}
await linkHtml(profileName);

@@ -159,4 +142,3 @@ if (!popts.restart) {

if (!(await exists(agServer))) {
const status =
(await setupRun('--no-restart')) || (await linkHtml(profileName));
const status = await setupRun('--no-restart');
if (status) {

@@ -212,4 +194,3 @@ return status;

if (!(await exists(agServer))) {
const status =
(await setupRun('--no-restart')) || (await linkHtml(profileName));
const status = await setupRun('--no-restart');
if (status) {

@@ -216,0 +197,0 @@ return status;

{
"name": "agoric",
"version": "0.5.0",
"version": "0.6.0",
"description": "Manage the Agoric Javascript smart contract platform",

@@ -8,4 +8,3 @@ "main": "lib/main.js",

"files": [
"lib",
"template"
"lib"
],

@@ -28,7 +27,7 @@ "scripts": {

"dependencies": {
"@agoric/bundle-source": "^1.1.2",
"@agoric/captp": "^1.2.3",
"@agoric/evaluate": "^2.2.3",
"@agoric/eventual-send": "^0.8.0",
"@agoric/produce-promise": "^0.0.5",
"@agoric/bundle-source": "^1.1.3",
"@agoric/captp": "^1.3.0",
"@agoric/evaluate": "^2.2.4",
"@agoric/eventual-send": "^0.9.0",
"@agoric/produce-promise": "^0.1.0",
"anylogger": "^0.21.0",

@@ -52,3 +51,3 @@ "builtin-modules": "^3.1.0",

"homepage": "https://github.com/Agoric/agoric-sdk#readme",
"gitHead": "a5fe2624fedcf3b8adf46ed6c157c29fd459b2ed"
"gitHead": "534d1a65d79f9dd176cc670f374c9de2cd081a7e"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc