@polkadot/extension-dapp 0.44.7 → 0.44.8

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.
@@ -20,7 +20,7 @@
20
20
  name: '@polkadot/extension-dapp',
21
21
  path: (({ url: (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href)) }) && (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))) ? new URL((typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.substring(0, new URL((typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('bundle-polkadot-extension-dapp.js', document.baseURI).href))).pathname.lastIndexOf('/') + 1) : 'auto',
22
22
  type: 'esm',
23
- version: '0.44.7'
23
+ version: '0.44.8'
24
24
  };
25
25
 
26
26
  const unwrapBytes = util.u8aUnwrapBytes;
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { isPromise, objectSpread, u8aEq } from '@polkadot/util';
package/cjs/bundle.js CHANGED
@@ -35,7 +35,7 @@ var _utilCrypto = require("@polkadot/util-crypto");
35
35
  var _util2 = require("./util");
36
36
  var _packageInfo = require("./packageInfo");
37
37
  var _wrapBytes = require("./wrapBytes");
38
- // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
38
+ // Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
39
39
  // SPDX-License-Identifier: Apache-2.0
40
40
 
41
41
  // expose utility functions
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _packageInfo = require("@polkadot/extension-inject/cjs/packageInfo");
8
- // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
8
+ // Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
  var _default = [_packageInfo.packageInfo];
11
11
  exports.default = _default;
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  var _util = require("@polkadot/util");
5
5
  var _detectOther = _interopRequireDefault(require("./detectOther"));
6
6
  var _packageInfo = require("./packageInfo");
7
- // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
7
+ // Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
9
 
10
10
  // Do not edit, auto-generated by @polkadot/dev
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.packageInfo = void 0;
7
- // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
7
+ // Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
9
 
10
10
  // Do not edit, auto-generated by @polkadot/dev
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@polkadot/extension-dapp',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '0.44.7'
16
+ version: '0.44.8'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
package/cjs/util.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.documentReadyPromise = documentReadyPromise;
7
- // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
7
+ // Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
9
 
10
10
  function documentReadyPromise(creator) {
package/cjs/wrapBytes.js CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.wrapBytes = exports.unwrapBytes = exports.isWrapped = exports.PREFIX = exports.POSTFIX = exports.ETHEREUM = void 0;
7
7
  var _util = require("@polkadot/util");
8
- // Copyright 2019-2022 @polkadot/extension authors & contributors
8
+ // Copyright 2019-2023 @polkadot/extension authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
 
11
11
  const ETHEREUM = _util.U8A_WRAP_ETHEREUM;
package/detectOther.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
package/detectPackage.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  // Do not edit, auto-generated by @polkadot/dev
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  // Since we inject into pages, we skip this
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./cjs/detectPackage.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "0.44.7",
20
+ "version": "0.44.8",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -68,9 +68,9 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@babel/runtime": "^7.20.7",
71
- "@polkadot/extension-inject": "^0.44.7",
72
- "@polkadot/util": "^10.2.1",
73
- "@polkadot/util-crypto": "^10.2.1"
71
+ "@polkadot/extension-inject": "^0.44.8",
72
+ "@polkadot/util": "^10.2.3",
73
+ "@polkadot/util-crypto": "^10.2.3"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "@polkadot/api": "*",
package/packageInfo.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  // Do not edit, auto-generated by @polkadot/dev
@@ -7,5 +7,5 @@ export const packageInfo = {
7
7
  name: '@polkadot/extension-dapp',
8
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
9
9
  type: 'esm',
10
- version: '0.44.7'
10
+ version: '0.44.8'
11
11
  };
package/util.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
1
+ // Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export function documentReadyPromise(creator) {
package/wrapBytes.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2019-2022 @polkadot/extension authors & contributors
1
+ // Copyright 2019-2023 @polkadot/extension authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util';