@subwallet/extension-compat-metamask 0.4.2-1 → 0.4.2-2

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/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @subwallet/extension-compat-metamask authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import detectEthereumProvider from '@metamask/detect-provider';
4
4
  import Web3 from 'web3';
package/cjs/bundle.js CHANGED
@@ -21,7 +21,7 @@ var _util = require("@polkadot/util");
21
21
 
22
22
  var _packageInfo = require("./packageInfo");
23
23
 
24
- // Copyright 2019-2022 @subwallet/extension-compat-metamask authors & contributors
24
+ // Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
25
25
  // SPDX-License-Identifier: Apache-2.0
26
26
  function isMetaMaskProvider(prov) {
27
27
  (0, _util.assert)(prov && prov.isMetaMask, 'Injected provider is not MetaMask');
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@subwallet/extension-compat-metamask',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '0.4.2-1'
14
+ version: '0.4.2-2'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @subwallet/extension-compat-metamask authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // Since we inject into pages, we skip this
4
4
  // import './detectPackage';
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./cjs/detectPackage.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "0.4.2-1",
20
+ "version": "0.4.2-2",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -61,7 +61,7 @@
61
61
  "@metamask/detect-provider": "^1.2.0",
62
62
  "@polkadot/types": "^7.3.1",
63
63
  "@polkadot/util": "^8.3.1",
64
- "@subwallet/extension-inject": "^0.4.2-1",
64
+ "@subwallet/extension-inject": "^0.4.2-2",
65
65
  "web3": "^1.6.1"
66
66
  },
67
67
  "peerDependencies": {
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@subwallet/extension-compat-metamask',
6
6
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '0.4.2-1'
8
+ version: '0.4.2-2'
9
9
  };