@polkadot/extension-dapp 0.42.5-8 → 0.42.5-9

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.
@@ -15,7 +15,7 @@ const polkadotExtensionDapp = (function (exports, util, utilCrypto) {
15
15
 
16
16
  const packageInfo = {
17
17
  name: '@polkadot/extension-dapp',
18
- version: '0.42.5-8'
18
+ version: '0.42.5-9'
19
19
  };
20
20
 
21
21
  const unwrapBytes = util.u8aUnwrapBytes;
package/bundle.cjs CHANGED
@@ -41,7 +41,7 @@ var _packageInfo = require("./packageInfo.cjs");
41
41
 
42
42
  var _wrapBytes = require("./wrapBytes.cjs");
43
43
 
44
- // Copyright 2019-2021 @polkadot/extension-dapp authors & contributors
44
+ // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
45
45
  // SPDX-License-Identifier: Apache-2.0
46
46
  // expose utility functions
47
47
  // just a helper (otherwise we cast all-over, so shorter and more readable)
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { u8aEq } from '@polkadot/util';
4
4
  import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
package/cjs/dirname.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  declare const __dirname: string | undefined;
package/cjs/dirname.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  module.exports = typeof __dirname === 'string'
package/detectOther.cjs CHANGED
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var _packageInfo = require("@polkadot/extension-inject/packageInfo");
9
9
 
10
- // Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
10
+ // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
11
11
  // SPDX-License-Identifier: Apache-2.0
12
12
  var _default = [_packageInfo.packageInfo];
13
13
  exports.default = _default;
package/detectOther.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
4
4
  export default [injectInfo];
package/detectPackage.cjs CHANGED
@@ -10,6 +10,6 @@ var _dirname2 = _interopRequireDefault(require("./cjs/dirname"));
10
10
 
11
11
  var _packageInfo2 = require("./packageInfo.cjs");
12
12
 
13
- // Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
13
+ // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
14
14
  // SPDX-License-Identifier: Apache-2.0
15
15
  (0, _util.detectPackage)(_packageInfo2.packageInfo, typeof _dirname2.default !== 'undefined' && _dirname2.default, [_packageInfo.packageInfo]);
package/detectPackage.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
4
4
  import { detectPackage } from '@polkadot/util';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-dapp 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,11 +17,11 @@
17
17
  "./detectPackage.cjs"
18
18
  ],
19
19
  "type": "module",
20
- "version": "0.42.5-8",
20
+ "version": "0.42.5-9",
21
21
  "main": "index.js",
22
22
  "dependencies": {
23
23
  "@babel/runtime": "^7.16.7",
24
- "@polkadot/extension-inject": "^0.42.5-8",
24
+ "@polkadot/extension-inject": "^0.42.5-9",
25
25
  "@polkadot/util": "^8.2.2",
26
26
  "@polkadot/util-crypto": "^8.2.2"
27
27
  },
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-dapp',
12
- version: '0.42.5-8'
12
+ version: '0.42.5-9'
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-dapp',
6
- version: '0.42.5-8'
6
+ version: '0.42.5-9'
7
7
  };
package/util.cjs CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.documentReadyPromise = documentReadyPromise;
7
7
 
8
- // Copyright 2019-2021 @polkadot/extension-dapp authors & contributors
8
+ // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
  function documentReadyPromise(creator) {
11
11
  return new Promise(resolve => {
package/util.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2021 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  export function documentReadyPromise(creator) {
4
4
  return new Promise(resolve => {
package/wrapBytes.cjs CHANGED
@@ -7,7 +7,7 @@ exports.wrapBytes = exports.unwrapBytes = exports.isWrapped = exports.PREFIX = e
7
7
 
8
8
  var _util = require("@polkadot/util");
9
9
 
10
- // Copyright 2019-2021 @polkadot/extension authors & contributors
10
+ // Copyright 2019-2022 @polkadot/extension authors & contributors
11
11
  // SPDX-License-Identifier: Apache-2.0
12
12
  const ETHEREUM = _util.U8A_WRAP_ETHEREUM;
13
13
  exports.ETHEREUM = ETHEREUM;
package/wrapBytes.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2021 @polkadot/extension authors & contributors
1
+ // Copyright 2019-2022 @polkadot/extension authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util';
4
4
  export const ETHEREUM = U8A_WRAP_ETHEREUM;