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

@substrate/context

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/context - npm Package Compare versions

Comparing version 0.3.18 to 0.3.20

11

CHANGELOG.md

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

## [0.3.20](https://github.com/paritytech/Nomidot/compare/v0.3.19...v0.3.20) (2020-02-11)
### Bug Fixes
* Remove useless stuff from context & ui-components ([#161](https://github.com/paritytech/Nomidot/issues/161)) ([99466a7](https://github.com/paritytech/Nomidot/commit/99466a7a7d012326d8d536f848ac31f75ed7812d))
## [0.3.18](https://github.com/paritytech/Nomidot/compare/v0.3.17...v0.3.18) (2020-02-05)

@@ -8,0 +19,0 @@

1

lib/index.d.ts

@@ -8,3 +8,2 @@ export * from './AccountsContext';

export * from './TxQueueContext';
export * from './types';
export * from './util';

@@ -79,2 +79,18 @@ "use strict";

/**
* Clear the txQueue.
*/
var clear = function () {
var msg = [];
txQueue.forEach(function (_a) {
var method = _a.extrinsic.method, unsubscribe = _a.unsubscribe;
msg.push(method.sectionName + "." + method.methodName);
unsubscribe();
});
setTxQueue([]);
l.log('Cleared all extrinsics');
cancelObservable.next({
msg: "cleared the following extrinsic(s): " + msg.join(' '),
});
};
/**
* Unsubscribe the tx with id `extrinsicId`

@@ -86,3 +102,3 @@ */

tx.unsubscribe();
setTxQueue(txQueue.splice(txQueue.indexOf(tx), 1));
setTxQueue(txQueue.filter(function (tx) { return tx.id !== extrinsicId; }));
}

@@ -159,18 +175,2 @@ };

};
/**
* Clear the txQueue.
*/
var clear = function () {
var msg = [];
txQueue.forEach(function (_a) {
var method = _a.extrinsic.method, unsubscribe = _a.unsubscribe;
msg.push(method.sectionName + "." + method.methodName);
unsubscribe();
});
setTxQueue([]);
l.log('Cleared all extrinsics');
cancelObservable.next({
msg: "cleared the following extrinsic(s): " + msg.join(' '),
});
};
return (react_1.default.createElement(exports.TxQueueContext.Provider, { value: {

@@ -177,0 +177,0 @@ clear: clear,

export * from './keyring';
export * from './provider';
export * from './ui';
export * from './validate';

@@ -12,2 +12,1 @@ "use strict";

__export(require("./ui"));
__export(require("./validate"));
{
"name": "@substrate/context",
"version": "0.3.18",
"version": "0.3.20",
"author": "Parity Technologies <admin@parity.io>",

@@ -27,3 +27,3 @@ "description": "Wrapper to connect React components to PolkadotJS Api",

},
"gitHead": "beb68e2d0df2f37712060e144acec1fadbedf37e"
"gitHead": "db36bd078daa82f4edd8ece51e93d585f5dbc6ad"
}
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