@polkadot/extension-inject 0.40.5-2 → 0.41.2-0

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/index.cjs CHANGED
@@ -10,10 +10,11 @@ exports.injectExtension = injectExtension;
10
10
  // It is recommended to always use the function below to shield the extension and dapp from
11
11
  // any future changes. The exposed interface will manage access between the 2 environments,
12
12
  // be it via window (current), postMessage (under consideration) or any other mechanism
13
- function injectExtension(enable, {
14
- name,
15
- version
16
- }) {
13
+ function injectExtension(enable, _ref) {
14
+ let {
15
+ name,
16
+ version
17
+ } = _ref;
17
18
  // small helper with the typescript types, just cast window
18
19
  const windowInject = window; // don't clobber the existing object, we will add it (or create as needed)
19
20
 
package/package.json CHANGED
@@ -3,7 +3,6 @@
3
3
  "bugs": "https://github.com/polkadot-js/extension/issues",
4
4
  "contributors": [],
5
5
  "description": "A generic injector (usable to any extension), that populates the base exposed interfaces to be used by dapps.",
6
- "engines": {},
7
6
  "homepage": "https://github.com/polkadot-js/extension/tree/master/packages/extension-inject#readme",
8
7
  "license": "Apache-2",
9
8
  "maintainers": [],
@@ -15,7 +14,7 @@
15
14
  },
16
15
  "sideEffects": false,
17
16
  "type": "module",
18
- "version": "0.40.5-2",
17
+ "version": "0.41.2-0",
19
18
  "main": "index.js",
20
19
  "dependencies": {
21
20
  "@babel/runtime": "^7.15.4"
package/packageInfo.cjs CHANGED
@@ -9,6 +9,6 @@ exports.packageInfo = void 0;
9
9
  // Auto-generated by @polkadot/dev, do not edit
10
10
  const packageInfo = {
11
11
  name: '@polkadot/extension-inject',
12
- version: '0.40.5-2'
12
+ version: '0.41.2-0'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -3,5 +3,5 @@
3
3
  // Auto-generated by @polkadot/dev, do not edit
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/extension-inject',
6
- version: '0.40.5-2'
6
+ version: '0.41.2-0'
7
7
  };