@subwallet/extension-inject 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-inject authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-inject authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  export { packageInfo } from "./packageInfo.js"; // It is recommended to always use the function below to shield the extension and dapp from
4
4
  // any future changes. The exposed interface will manage access between the 2 environments,
package/chrome.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @subwallet/extension-inject authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-inject authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { extractGlobal, xglobal } from '@polkadot/x-global';
4
4
  export const chrome = extractGlobal('chrome', xglobal.browser);
package/cjs/bundle.js CHANGED
@@ -13,7 +13,7 @@ Object.defineProperty(exports, "packageInfo", {
13
13
 
14
14
  var _packageInfo = require("./packageInfo");
15
15
 
16
- // Copyright 2019-2022 @subwallet/extension-inject authors & contributors
16
+ // Copyright 2019-2022 @polkadot/extension-inject authors & contributors
17
17
  // SPDX-License-Identifier: Apache-2.0
18
18
  // It is recommended to always use the function below to shield the extension and dapp from
19
19
  // any future changes. The exposed interface will manage access between the 2 environments,
package/cjs/chrome.js CHANGED
@@ -7,7 +7,7 @@ exports.chrome = void 0;
7
7
 
8
8
  var _xGlobal = require("@polkadot/x-global");
9
9
 
10
- // Copyright 2019-2022 @subwallet/extension-inject authors & contributors
10
+ // Copyright 2019-2022 @polkadot/extension-inject authors & contributors
11
11
  // SPDX-License-Identifier: Apache-2.0
12
12
  const chrome = (0, _xGlobal.extractGlobal)('chrome', _xGlobal.xglobal.browser);
13
13
  exports.chrome = chrome;
package/cjs/crossenv.js CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  var _xGlobal = require("@polkadot/x-global");
4
4
 
5
- // Copyright 2019-2022 @subwallet/extension-inject authors & contributors
5
+ // Copyright 2019-2022 @polkadot/extension-inject authors & contributors
6
6
  // SPDX-License-Identifier: Apache-2.0
7
7
  (0, _xGlobal.exposeGlobal)('chrome', _xGlobal.xglobal.browser);
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@subwallet/extension-inject',
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/crossenv.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @subwallet/extension-inject authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-inject authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { exposeGlobal, xglobal } from '@polkadot/x-global';
4
4
  exposeGlobal('chrome', xglobal.browser);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @subwallet/extension-inject authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-inject 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
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "sideEffects": true,
16
16
  "type": "module",
17
- "version": "0.4.2-1",
17
+ "version": "0.4.2-2",
18
18
  "main": "./cjs/index.js",
19
19
  "module": "./index.js",
20
20
  "types": "./index.d.ts",
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@subwallet/extension-inject',
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
  };