@ethereansos/interfaces-core 0.4.3 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -13427,7 +13427,7 @@ var Web3ContextProvider = function Web3ContextProvider(props) {
13427
13427
  var activeChain = props.activeChain || 1;
13428
13428
  var connectors = context.walletConnectors.reduce(function (acc, connector) {
13429
13429
  if (!connector.settings || connector.settings[activeChain]) {
13430
- return _objectSpread2(_objectSpread2({}, acc), _defineProperty({}, connector.id, connector.settings[activeChain]));
13430
+ return _objectSpread2(_objectSpread2({}, acc), _defineProperty({}, connector.id, connector.settings ? connector.settings[activeChain] : {}));
13431
13431
  }
13432
13432
 
13433
13433
  return acc;
package/dist/index.esm.js CHANGED
@@ -13418,7 +13418,7 @@ var Web3ContextProvider = function Web3ContextProvider(props) {
13418
13418
  var activeChain = props.activeChain || 1;
13419
13419
  var connectors = context.walletConnectors.reduce(function (acc, connector) {
13420
13420
  if (!connector.settings || connector.settings[activeChain]) {
13421
- return _objectSpread2(_objectSpread2({}, acc), _defineProperty({}, connector.id, connector.settings[activeChain]));
13421
+ return _objectSpread2(_objectSpread2({}, acc), _defineProperty({}, connector.id, connector.settings ? connector.settings[activeChain] : {}));
13422
13422
  }
13423
13423
 
13424
13424
  return acc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethereansos/interfaces-core",
3
- "version": "0.4.3",
3
+ "version": "0.4.7",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -19,7 +19,8 @@
19
19
  "docs:api:utils": "jsdoc2md src/lib/utils/*.js > docs/api/utils.md",
20
20
  "docs:api:web3": "jsdoc2md src/lib/web3/*.js > docs/api/web3.md",
21
21
  "docs:api": "npm run docs:api:math && npm run docs:api:utils && npm run docs:api:web3",
22
- "docs": "docsify serve ./docs -p 3001"
22
+ "docs": "docsify serve ./docs -p 3001",
23
+ "publish": "npm run build && npm publish"
23
24
  },
24
25
  "keywords": [],
25
26
  "author": "",