Byump dev (w/ detectPackage) (#966)
This commit is contained in:
parent
47361fa56d
commit
1ffb235719
@ -6,6 +6,7 @@ Changes:
|
|||||||
|
|
||||||
- Ensure that only latest metadata is applied (when multiple genesis)
|
- Ensure that only latest metadata is applied (when multiple genesis)
|
||||||
- Rename all `*.test.ts` to `*.spec.ts` (cross-repo consistency)
|
- Rename all `*.test.ts` to `*.spec.ts` (cross-repo consistency)
|
||||||
|
- Only apply cross-browser environment globally in non-content scripts
|
||||||
- Ensure package path is availble under ESM & CJS
|
- Ensure package path is availble under ESM & CJS
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.16.7",
|
"@babel/core": "^7.16.7",
|
||||||
"@polkadot/dev": "^0.65.11",
|
"@polkadot/dev": "^0.65.14",
|
||||||
"@types/jest": "^27.4.0",
|
"@types/jest": "^27.4.0",
|
||||||
"i18next-scanner": "^3.1.0",
|
"i18next-scanner": "^3.1.0",
|
||||||
"sinon-chrome": "^3.0.1"
|
"sinon-chrome": "^3.0.1"
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
"@polkadot/extension-inject": "^0.42.5-14",
|
"@polkadot/extension-inject": "^0.42.5-14",
|
||||||
"@polkadot/keyring": "^8.2.2",
|
"@polkadot/keyring": "^8.2.2",
|
||||||
"@polkadot/networks": "^8.2.2",
|
"@polkadot/networks": "^8.2.2",
|
||||||
"@polkadot/phishing": "^0.7.22",
|
"@polkadot/phishing": "^0.7.24",
|
||||||
"@polkadot/rpc-provider": "^7.2.1",
|
"@polkadot/rpc-provider": "^7.2.1",
|
||||||
"@polkadot/types": "^7.2.1",
|
"@polkadot/types": "^7.2.1",
|
||||||
"@polkadot/ui-keyring": "^0.88.2-0",
|
"@polkadot/ui-keyring": "^0.88.2-0",
|
||||||
|
|||||||
8
packages/extension-base/src/cjs/dirname.d.ts
vendored
8
packages/extension-base/src/cjs/dirname.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
declare const __dirname: string | undefined;
|
|
||||||
|
|
||||||
export default __dirname;
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
module.exports = typeof __dirname === 'string'
|
|
||||||
? __dirname.replace('/cjs', '')
|
|
||||||
: undefined;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"type":"commonjs"
|
|
||||||
}
|
|
||||||
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import dirname from './cjs/dirname';
|
|
||||||
import others from './detectOther';
|
import others from './detectOther';
|
||||||
import { packageInfo } from './packageInfo';
|
import { packageInfo } from './packageInfo';
|
||||||
|
|
||||||
detectPackage(packageInfo, dirname, others);
|
detectPackage(packageInfo, packageInfo.path, others);
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/extension-base', version: '0.42.5-14' };
|
export const packageInfo = { name: '@polkadot/extension-base', path: 'auto', type: 'auto', version: '0.42.5-14' };
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
declare const __dirname: string | undefined;
|
|
||||||
|
|
||||||
export default __dirname;
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
module.exports = typeof __dirname === 'string'
|
|
||||||
? __dirname.replace('/cjs', '')
|
|
||||||
: undefined;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"type":"commonjs"
|
|
||||||
}
|
|
||||||
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import dirname from './cjs/dirname';
|
|
||||||
import others from './detectOther';
|
import others from './detectOther';
|
||||||
import { packageInfo } from './packageInfo';
|
import { packageInfo } from './packageInfo';
|
||||||
|
|
||||||
detectPackage(packageInfo, dirname, others);
|
detectPackage(packageInfo, packageInfo.path, others);
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/extension-chains', version: '0.42.5-14' };
|
export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.42.5-14' };
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-compat-metamask authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
declare const __dirname: string | undefined;
|
|
||||||
|
|
||||||
export default __dirname;
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-compat-metamask authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
module.exports = typeof __dirname === 'string'
|
|
||||||
? __dirname.replace('/cjs', '')
|
|
||||||
: undefined;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"type":"commonjs"
|
|
||||||
}
|
|
||||||
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import dirname from './cjs/dirname';
|
|
||||||
import others from './detectOther';
|
import others from './detectOther';
|
||||||
import { packageInfo } from './packageInfo';
|
import { packageInfo } from './packageInfo';
|
||||||
|
|
||||||
detectPackage(packageInfo, dirname, others);
|
detectPackage(packageInfo, packageInfo.path, others);
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/extension-compat-metamask', version: '0.42.5-14' };
|
export const packageInfo = { name: '@polkadot/extension-compat-metamask', path: 'auto', type: 'auto', version: '0.42.5-14' };
|
||||||
|
|||||||
8
packages/extension-dapp/src/cjs/dirname.d.ts
vendored
8
packages/extension-dapp/src/cjs/dirname.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
declare const __dirname: string | undefined;
|
|
||||||
|
|
||||||
export default __dirname;
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
module.exports = typeof __dirname === 'string'
|
|
||||||
? __dirname.replace('/cjs', '')
|
|
||||||
: undefined;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"type":"commonjs"
|
|
||||||
}
|
|
||||||
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import dirname from './cjs/dirname';
|
|
||||||
import others from './detectOther';
|
import others from './detectOther';
|
||||||
import { packageInfo } from './packageInfo';
|
import { packageInfo } from './packageInfo';
|
||||||
|
|
||||||
detectPackage(packageInfo, dirname, others);
|
detectPackage(packageInfo, packageInfo.path, others);
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/extension-dapp', version: '0.42.5-14' };
|
export const packageInfo = { name: '@polkadot/extension-dapp', path: 'auto', type: 'auto', version: '0.42.5-14' };
|
||||||
|
|||||||
@ -21,7 +21,8 @@
|
|||||||
"@polkadot/rpc-provider": "^7.2.1",
|
"@polkadot/rpc-provider": "^7.2.1",
|
||||||
"@polkadot/types": "^7.2.1",
|
"@polkadot/types": "^7.2.1",
|
||||||
"@polkadot/util": "^8.2.2",
|
"@polkadot/util": "^8.2.2",
|
||||||
"@polkadot/util-crypto": "^8.2.2"
|
"@polkadot/util-crypto": "^8.2.2",
|
||||||
|
"@polkadot/x-global": "^8.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chrome": "^0.0.174",
|
"@types/chrome": "^0.0.174",
|
||||||
|
|||||||
6
packages/extension-inject/src/chrome.ts
Normal file
6
packages/extension-inject/src/chrome.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import { extractGlobal, xglobal } from '@polkadot/x-global';
|
||||||
|
|
||||||
|
export const chrome = extractGlobal('chrome', xglobal.browser);
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-inject authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
declare const __dirname: string | undefined;
|
|
||||||
|
|
||||||
export default __dirname;
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension-inject authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
module.exports = typeof __dirname === 'string'
|
|
||||||
? __dirname.replace('/cjs', '')
|
|
||||||
: undefined;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"type":"commonjs"
|
|
||||||
}
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if (typeof chrome === 'undefined') {
|
import { exposeGlobal, xglobal } from '@polkadot/x-global';
|
||||||
self.chrome = self.browser as unknown as typeof chrome;
|
|
||||||
}
|
exposeGlobal('chrome', xglobal.browser);
|
||||||
|
|||||||
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import dirname from './cjs/dirname';
|
|
||||||
import others from './detectOther';
|
import others from './detectOther';
|
||||||
import { packageInfo } from './packageInfo';
|
import { packageInfo } from './packageInfo';
|
||||||
|
|
||||||
detectPackage(packageInfo, dirname, others);
|
detectPackage(packageInfo, packageInfo.path, others);
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/extension-inject', version: '0.42.5-14' };
|
export const packageInfo = { name: '@polkadot/extension-inject', path: 'auto', type: 'auto', version: '0.42.5-14' };
|
||||||
|
|||||||
@ -22,11 +22,11 @@
|
|||||||
"@polkadot/extension-ui": "^0.42.5-14"
|
"@polkadot/extension-ui": "^0.42.5-14"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/dev": "^0.65.11",
|
"@polkadot/dev": "^0.65.14",
|
||||||
"babel-loader": "^8.2.3",
|
"babel-loader": "^8.2.3",
|
||||||
"browser-resolve": "^2.0.0",
|
"browser-resolve": "^2.0.0",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"copy-webpack-plugin": "^9.1.0",
|
"copy-webpack-plugin": "^10.2.0",
|
||||||
"crypto-browserify": "^3.12.0",
|
"crypto-browserify": "^3.12.0",
|
||||||
"extract-loader": "^5.1.0",
|
"extract-loader": "^5.1.0",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
|
|||||||
8
packages/extension/src/cjs/dirname.d.ts
vendored
8
packages/extension/src/cjs/dirname.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
declare const __dirname: string | undefined;
|
|
||||||
|
|
||||||
export default __dirname;
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/extension authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
|
||||||
|
|
||||||
module.exports = typeof __dirname === 'string'
|
|
||||||
? __dirname.replace('/cjs', '')
|
|
||||||
: undefined;
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"type":"commonjs"
|
|
||||||
}
|
|
||||||
@ -1,11 +1,10 @@
|
|||||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import '@polkadot/extension-inject/crossenv';
|
|
||||||
|
|
||||||
import type { Message } from '@polkadot/extension-base/types';
|
import type { Message } from '@polkadot/extension-base/types';
|
||||||
|
|
||||||
import { MESSAGE_ORIGIN_CONTENT, MESSAGE_ORIGIN_PAGE, PORT_CONTENT } from '@polkadot/extension-base/defaults';
|
import { MESSAGE_ORIGIN_CONTENT, MESSAGE_ORIGIN_PAGE, PORT_CONTENT } from '@polkadot/extension-base/defaults';
|
||||||
|
import { chrome } from '@polkadot/extension-inject/chrome';
|
||||||
|
|
||||||
// connect to the extension
|
// connect to the extension
|
||||||
const port = chrome.runtime.connect({ name: PORT_CONTENT });
|
const port = chrome.runtime.connect({ name: PORT_CONTENT });
|
||||||
|
|||||||
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import dirname from './cjs/dirname';
|
|
||||||
import others from './detectOther';
|
import others from './detectOther';
|
||||||
import { packageInfo } from './packageInfo';
|
import { packageInfo } from './packageInfo';
|
||||||
|
|
||||||
detectPackage(packageInfo, dirname, others);
|
detectPackage(packageInfo, packageInfo.path, others);
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/extension', version: '0.42.5-14' };
|
export const packageInfo = { name: '@polkadot/extension', path: 'auto', type: 'auto', version: '0.42.5-14' };
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import '@polkadot/extension-inject/crossenv';
|
|
||||||
|
|
||||||
import type { RequestSignatures, TransportRequestMessage } from '@polkadot/extension-base/background/types';
|
import type { RequestSignatures, TransportRequestMessage } from '@polkadot/extension-base/background/types';
|
||||||
import type { Message } from '@polkadot/extension-base/types';
|
import type { Message } from '@polkadot/extension-base/types';
|
||||||
|
|
||||||
@ -10,6 +8,13 @@ import { MESSAGE_ORIGIN_CONTENT } from '@polkadot/extension-base/defaults';
|
|||||||
import { enable, handleResponse, redirectIfPhishing } from '@polkadot/extension-base/page';
|
import { enable, handleResponse, redirectIfPhishing } from '@polkadot/extension-base/page';
|
||||||
import { injectExtension } from '@polkadot/extension-inject';
|
import { injectExtension } from '@polkadot/extension-inject';
|
||||||
|
|
||||||
|
function inject () {
|
||||||
|
injectExtension(enable, {
|
||||||
|
name: 'polkadot-js',
|
||||||
|
version: process.env.PKG_VERSION as string
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// setup a response listener (events created by the loader for extension responses)
|
// setup a response listener (events created by the loader for extension responses)
|
||||||
window.addEventListener('message', ({ data, source }: Message): void => {
|
window.addEventListener('message', ({ data, source }: Message): void => {
|
||||||
// only allow messages from our window, by the loader
|
// only allow messages from our window, by the loader
|
||||||
@ -32,10 +37,3 @@ redirectIfPhishing().then((gotRedirected) => {
|
|||||||
console.warn(`Unable to determine if the site is in the phishing list: ${(e as Error).message}`);
|
console.warn(`Unable to determine if the site is in the phishing list: ${(e as Error).message}`);
|
||||||
inject();
|
inject();
|
||||||
});
|
});
|
||||||
|
|
||||||
function inject () {
|
|
||||||
injectExtension(enable, {
|
|
||||||
name: 'polkadot-js',
|
|
||||||
version: process.env.PKG_VERSION as string
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|||||||
130
yarn.lock
130
yarn.lock
@ -2385,9 +2385,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/dev@npm:^0.65.11":
|
"@polkadot/dev@npm:^0.65.14":
|
||||||
version: 0.65.11
|
version: 0.65.14
|
||||||
resolution: "@polkadot/dev@npm:0.65.11"
|
resolution: "@polkadot/dev@npm:0.65.14"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/cli": ^7.16.7
|
"@babel/cli": ^7.16.7
|
||||||
"@babel/core": ^7.16.7
|
"@babel/core": ^7.16.7
|
||||||
@ -2473,7 +2473,7 @@ __metadata:
|
|||||||
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
|
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
|
||||||
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
|
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
|
||||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
|
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
|
||||||
checksum: fff61419134166317047d50f30761596fba9b0fdffeae0e544edac09f4a49388ed969586dc2a121d83bcfcfdaa8a56111206f5fe7a745ef2be223d14b31eb9fa
|
checksum: 1f84b340baf285c26eee908e05e1cfd01887f536ba57fddb319580a2783337f9e3967dc9cbf1e7a18af9e6c660ab97638397d0202ef99321e543af848ff6aa95
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -2489,7 +2489,7 @@ __metadata:
|
|||||||
"@polkadot/extension-mocks": ^0.42.5-14
|
"@polkadot/extension-mocks": ^0.42.5-14
|
||||||
"@polkadot/keyring": ^8.2.2
|
"@polkadot/keyring": ^8.2.2
|
||||||
"@polkadot/networks": ^8.2.2
|
"@polkadot/networks": ^8.2.2
|
||||||
"@polkadot/phishing": ^0.7.22
|
"@polkadot/phishing": ^0.7.24
|
||||||
"@polkadot/rpc-provider": ^7.2.1
|
"@polkadot/rpc-provider": ^7.2.1
|
||||||
"@polkadot/types": ^7.2.1
|
"@polkadot/types": ^7.2.1
|
||||||
"@polkadot/ui-keyring": ^0.88.2-0
|
"@polkadot/ui-keyring": ^0.88.2-0
|
||||||
@ -2555,6 +2555,7 @@ __metadata:
|
|||||||
"@polkadot/types": ^7.2.1
|
"@polkadot/types": ^7.2.1
|
||||||
"@polkadot/util": ^8.2.2
|
"@polkadot/util": ^8.2.2
|
||||||
"@polkadot/util-crypto": ^8.2.2
|
"@polkadot/util-crypto": ^8.2.2
|
||||||
|
"@polkadot/x-global": ^8.2.2
|
||||||
"@types/chrome": ^0.0.174
|
"@types/chrome": ^0.0.174
|
||||||
"@types/firefox-webext-browser": ^94.0.1
|
"@types/firefox-webext-browser": ^94.0.1
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -2629,14 +2630,14 @@ __metadata:
|
|||||||
resolution: "@polkadot/extension@workspace:packages/extension"
|
resolution: "@polkadot/extension@workspace:packages/extension"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": ^7.16.7
|
"@babel/runtime": ^7.16.7
|
||||||
"@polkadot/dev": ^0.65.11
|
"@polkadot/dev": ^0.65.14
|
||||||
"@polkadot/extension-base": ^0.42.5-14
|
"@polkadot/extension-base": ^0.42.5-14
|
||||||
"@polkadot/extension-inject": ^0.42.5-14
|
"@polkadot/extension-inject": ^0.42.5-14
|
||||||
"@polkadot/extension-ui": ^0.42.5-14
|
"@polkadot/extension-ui": ^0.42.5-14
|
||||||
babel-loader: ^8.2.3
|
babel-loader: ^8.2.3
|
||||||
browser-resolve: ^2.0.0
|
browser-resolve: ^2.0.0
|
||||||
buffer: ^6.0.3
|
buffer: ^6.0.3
|
||||||
copy-webpack-plugin: ^9.1.0
|
copy-webpack-plugin: ^10.2.0
|
||||||
crypto-browserify: ^3.12.0
|
crypto-browserify: ^3.12.0
|
||||||
extract-loader: ^5.1.0
|
extract-loader: ^5.1.0
|
||||||
file-loader: ^6.2.0
|
file-loader: ^6.2.0
|
||||||
@ -2703,15 +2704,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/phishing@npm:^0.7.22":
|
"@polkadot/phishing@npm:^0.7.24":
|
||||||
version: 0.7.22
|
version: 0.7.24
|
||||||
resolution: "@polkadot/phishing@npm:0.7.22"
|
resolution: "@polkadot/phishing@npm:0.7.24"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": ^7.16.7
|
"@babel/runtime": ^7.16.7
|
||||||
"@polkadot/util": ^8.2.2
|
"@polkadot/util": ^8.2.2
|
||||||
"@polkadot/util-crypto": ^8.2.2
|
"@polkadot/util-crypto": ^8.2.2
|
||||||
"@polkadot/x-fetch": ^8.2.2
|
"@polkadot/x-fetch": ^8.2.2
|
||||||
checksum: f117d104033a3902ee6ac78b820ff021e343e4390b577ca2379f064e455ed23975441d5c4cbc1b95de353b1da341ebc53f0a8bc831100c2c245f4b7ffcc684b2
|
checksum: 559d807660bbcbccb2f7196e9c432c966afb5fa2e637acf6c0fd90cbd6264c77bd6c75d34493ab4e5e7c11a8f18b83233c0404531f8dcf2412be19b85a11fbb7
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -4315,6 +4316,20 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"ajv-formats@npm:^2.1.1":
|
||||||
|
version: 2.1.1
|
||||||
|
resolution: "ajv-formats@npm:2.1.1"
|
||||||
|
dependencies:
|
||||||
|
ajv: ^8.0.0
|
||||||
|
peerDependencies:
|
||||||
|
ajv: ^8.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
ajv:
|
||||||
|
optional: true
|
||||||
|
checksum: 4a287d937f1ebaad4683249a4c40c0fa3beed30d9ddc0adba04859026a622da0d317851316ea64b3680dc60f5c3c708105ddd5d5db8fe595d9d0207fd19f90b7
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"ajv-keywords@npm:^3.5.2":
|
"ajv-keywords@npm:^3.5.2":
|
||||||
version: 3.5.2
|
version: 3.5.2
|
||||||
resolution: "ajv-keywords@npm:3.5.2"
|
resolution: "ajv-keywords@npm:3.5.2"
|
||||||
@ -4324,6 +4339,17 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"ajv-keywords@npm:^5.0.0":
|
||||||
|
version: 5.1.0
|
||||||
|
resolution: "ajv-keywords@npm:5.1.0"
|
||||||
|
dependencies:
|
||||||
|
fast-deep-equal: ^3.1.3
|
||||||
|
peerDependencies:
|
||||||
|
ajv: ^8.8.2
|
||||||
|
checksum: c35193940b853119242c6757787f09ecf89a2c19bcd36d03ed1a615e710d19d450cb448bfda407b939aba54b002368c8bff30529cc50a0536a8e10bcce300421
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5":
|
"ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5":
|
||||||
version: 6.12.6
|
version: 6.12.6
|
||||||
resolution: "ajv@npm:6.12.6"
|
resolution: "ajv@npm:6.12.6"
|
||||||
@ -4336,6 +4362,18 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"ajv@npm:^8.0.0, ajv@npm:^8.8.0":
|
||||||
|
version: 8.8.2
|
||||||
|
resolution: "ajv@npm:8.8.2"
|
||||||
|
dependencies:
|
||||||
|
fast-deep-equal: ^3.1.1
|
||||||
|
json-schema-traverse: ^1.0.0
|
||||||
|
require-from-string: ^2.0.2
|
||||||
|
uri-js: ^4.2.2
|
||||||
|
checksum: 90849ef03c4f4f7051d15f655120137b89e3205537d683beebd39d95f40c0ca00ea8476cd999602d2f433863e7e4bf1b81d1869d1e07f4dcf56d71b6430a605c
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"ansi-align@npm:^3.0.0":
|
"ansi-align@npm:^3.0.0":
|
||||||
version: 3.0.0
|
version: 3.0.0
|
||||||
resolution: "ansi-align@npm:3.0.0"
|
resolution: "ansi-align@npm:3.0.0"
|
||||||
@ -4548,6 +4586,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"array-union@npm:^3.0.1":
|
||||||
|
version: 3.0.1
|
||||||
|
resolution: "array-union@npm:3.0.1"
|
||||||
|
checksum: 47b29f88258e8f37ffb93ddaa327d4308edd950b52943c172b73558afdd3fa74cfd68816ba5aa4b894242cf281fa3c6d0362ae057e4a18bddbaedbe46ebe7112
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"array-uniq@npm:^1.0.1":
|
"array-uniq@npm:^1.0.1":
|
||||||
version: 1.0.3
|
version: 1.0.3
|
||||||
resolution: "array-uniq@npm:1.0.3"
|
resolution: "array-uniq@npm:1.0.3"
|
||||||
@ -6535,19 +6580,19 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"copy-webpack-plugin@npm:^9.1.0":
|
"copy-webpack-plugin@npm:^10.2.0":
|
||||||
version: 9.1.0
|
version: 10.2.0
|
||||||
resolution: "copy-webpack-plugin@npm:9.1.0"
|
resolution: "copy-webpack-plugin@npm:10.2.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
fast-glob: ^3.2.7
|
fast-glob: ^3.2.7
|
||||||
glob-parent: ^6.0.1
|
glob-parent: ^6.0.1
|
||||||
globby: ^11.0.3
|
globby: ^12.0.2
|
||||||
normalize-path: ^3.0.0
|
normalize-path: ^3.0.0
|
||||||
schema-utils: ^3.1.1
|
schema-utils: ^4.0.0
|
||||||
serialize-javascript: ^6.0.0
|
serialize-javascript: ^6.0.0
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
webpack: ^5.1.0
|
webpack: ^5.1.0
|
||||||
checksum: 06cb4fb6fc99a95ccfd3169115ee57f64953e5b4075900fc8faab98b7e7d3fcd6915b125fdb98c919cfd55e581a8444f5c6b9dbb342cbd60b154d8fb3f79f2b9
|
checksum: ae99dc42d0fbe4d7fc4a6a0902130c4420c7a2f27a995df55b4fcaa5c5aec371b4545609249f93e8db0f5b95daaed053e74f38d794ace1336f21886c29e2fddc
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -9162,6 +9207,20 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"globby@npm:^12.0.2":
|
||||||
|
version: 12.0.2
|
||||||
|
resolution: "globby@npm:12.0.2"
|
||||||
|
dependencies:
|
||||||
|
array-union: ^3.0.1
|
||||||
|
dir-glob: ^3.0.1
|
||||||
|
fast-glob: ^3.2.7
|
||||||
|
ignore: ^5.1.8
|
||||||
|
merge2: ^1.4.1
|
||||||
|
slash: ^4.0.0
|
||||||
|
checksum: f474ced866755f48ce7e8a7e11b0a1d90fa1f1c25cf86c245fbf05a862accfba695102a843b6386dbe41fa73c2f9a7e625bf566fa7648d2e1304f58748975e3f
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"globby@npm:^6.1.0":
|
"globby@npm:^6.1.0":
|
||||||
version: 6.1.0
|
version: 6.1.0
|
||||||
resolution: "globby@npm:6.1.0"
|
resolution: "globby@npm:6.1.0"
|
||||||
@ -11096,6 +11155,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"json-schema-traverse@npm:^1.0.0":
|
||||||
|
version: 1.0.0
|
||||||
|
resolution: "json-schema-traverse@npm:1.0.0"
|
||||||
|
checksum: 02f2f466cdb0362558b2f1fd5e15cce82ef55d60cd7f8fa828cf35ba74330f8d767fcae5c5c2adb7851fa811766c694b9405810879bc4e1ddd78a7c0e03658ad
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"json-schema@npm:0.2.3":
|
"json-schema@npm:0.2.3":
|
||||||
version: 0.2.3
|
version: 0.2.3
|
||||||
resolution: "json-schema@npm:0.2.3"
|
resolution: "json-schema@npm:0.2.3"
|
||||||
@ -11668,7 +11734,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"merge2@npm:^1.3.0":
|
"merge2@npm:^1.3.0, merge2@npm:^1.4.1":
|
||||||
version: 1.4.1
|
version: 1.4.1
|
||||||
resolution: "merge2@npm:1.4.1"
|
resolution: "merge2@npm:1.4.1"
|
||||||
checksum: 7268db63ed5169466540b6fb947aec313200bcf6d40c5ab722c22e242f651994619bcd85601602972d3c85bd2cc45a358a4c61937e9f11a061919a1da569b0c2
|
checksum: 7268db63ed5169466540b6fb947aec313200bcf6d40c5ab722c22e242f651994619bcd85601602972d3c85bd2cc45a358a4c61937e9f11a061919a1da569b0c2
|
||||||
@ -13977,6 +14043,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"require-from-string@npm:^2.0.2":
|
||||||
|
version: 2.0.2
|
||||||
|
resolution: "require-from-string@npm:2.0.2"
|
||||||
|
checksum: a03ef6895445f33a4015300c426699bc66b2b044ba7b670aa238610381b56d3f07c686251740d575e22f4c87531ba662d06937508f0f3c0f1ddc04db3130560b
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"requirejs-config-file@npm:^4.0.0":
|
"requirejs-config-file@npm:^4.0.0":
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
resolution: "requirejs-config-file@npm:4.0.0"
|
resolution: "requirejs-config-file@npm:4.0.0"
|
||||||
@ -14209,7 +14282,7 @@ resolve@^2.0.0-next.3:
|
|||||||
resolution: "root-workspace-0b6124@workspace:."
|
resolution: "root-workspace-0b6124@workspace:."
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/core": ^7.16.7
|
"@babel/core": ^7.16.7
|
||||||
"@polkadot/dev": ^0.65.11
|
"@polkadot/dev": ^0.65.14
|
||||||
"@types/jest": ^27.4.0
|
"@types/jest": ^27.4.0
|
||||||
i18next-scanner: ^3.1.0
|
i18next-scanner: ^3.1.0
|
||||||
sinon-chrome: ^3.0.1
|
sinon-chrome: ^3.0.1
|
||||||
@ -14345,6 +14418,18 @@ resolve@^2.0.0-next.3:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"schema-utils@npm:^4.0.0":
|
||||||
|
version: 4.0.0
|
||||||
|
resolution: "schema-utils@npm:4.0.0"
|
||||||
|
dependencies:
|
||||||
|
"@types/json-schema": ^7.0.9
|
||||||
|
ajv: ^8.8.0
|
||||||
|
ajv-formats: ^2.1.1
|
||||||
|
ajv-keywords: ^5.0.0
|
||||||
|
checksum: c843e92fdd1a5c145dbb6ffdae33e501867f9703afac67bdf35a685e49f85b1dcc10ea250033175a64bd9d31f0555bc6785b8359da0c90bcea30cf6dfbb55a8f
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"scrypt-js@npm:^3.0.0, scrypt-js@npm:^3.0.1":
|
"scrypt-js@npm:^3.0.0, scrypt-js@npm:^3.0.1":
|
||||||
version: 3.0.1
|
version: 3.0.1
|
||||||
resolution: "scrypt-js@npm:3.0.1"
|
resolution: "scrypt-js@npm:3.0.1"
|
||||||
@ -14672,6 +14757,13 @@ resolve@^2.0.0-next.3:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"slash@npm:^4.0.0":
|
||||||
|
version: 4.0.0
|
||||||
|
resolution: "slash@npm:4.0.0"
|
||||||
|
checksum: da8e4af73712253acd21b7853b7e0dbba776b786e82b010a5bfc8b5051a1db38ed8aba8e1e8f400dd2c9f373be91eb1c42b66e91abb407ff42b10feece5e1d2d
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"smart-buffer@npm:^4.1.0":
|
"smart-buffer@npm:^4.1.0":
|
||||||
version: 4.2.0
|
version: 4.2.0
|
||||||
resolution: "smart-buffer@npm:4.2.0"
|
resolution: "smart-buffer@npm:4.2.0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user