forked from Koniverse/SubWallet-Extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change packages from @polkadot/extension-xxx to @subwallet/extension-xxx
- Loading branch information
Showing
525 changed files
with
2,743 additions
and
2,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2019-2022 @polkadot/extension authors & contributors | ||
// Copyright 2019-2022 @subwallet/extension authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
module.exports = require('@polkadot/dev/config/prettier.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2019-2022 @polkadot/extension authors & contributors | ||
// Copyright 2019-2022 @subwallet/extension authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# @polkadot/extension-base | ||
# @subwallet/extension-base | ||
|
||
Functions, classes and other utilities used in `@polkadot/extension`. These include: | ||
Functions, classes and other utilities used in `@subwallet/extension`. These include: | ||
- background script handlers, | ||
- message passing, | ||
- scripts injected inside pages. | ||
|
||
They are primarily meant to be used in `@polkadot/extension`, and can be broken without any notice to cater for `@polkadot/extension`'s needs. | ||
They are primarily meant to be used in `@subwallet/extension`, and can be broken without any notice to cater for `@subwallet/extension`'s needs. | ||
|
||
They are exported here if you wish to use part of them in the development of your own extension. Don't forget to add `process.env.EXTENSION_PREFIX` to separate ports and stores from the current extension's ones. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
"author": "Jaco Greeff <[email protected]>", | ||
"bugs": "https://github.com/Koniverse/Subwallet-V2/issues", | ||
"contributors": [], | ||
"description": "Functions, classes and other utilities used in @polkadot/extension", | ||
"description": "Functions, classes and other utilities used in @subwallet/extension", | ||
"homepage": "https://github.com/Koniverse/Subwallet-V2/tree/master/packages/extension-base#readme", | ||
"license": "Apache-2.0", | ||
"maintainers": [], | ||
"name": "@polkadot/extension-base", | ||
"name": "@subwallet/extension-base", | ||
"repository": { | ||
"directory": "packages/extension-base", | ||
"type": "git", | ||
|
@@ -23,9 +23,6 @@ | |
"@babel/runtime": "^7.16.7", | ||
"@ethereumjs/common": "^2.6.3", | ||
"@polkadot/api": "^7.3.1", | ||
"@polkadot/extension-chains": "^0.4.1", | ||
"@polkadot/extension-dapp": "^0.4.1", | ||
"@polkadot/extension-inject": "^0.4.1", | ||
"@polkadot/keyring": "^8.3.1", | ||
"@polkadot/networks": "^8.3.1", | ||
"@polkadot/phishing": "^0.11.30", | ||
|
@@ -35,12 +32,15 @@ | |
"@polkadot/ui-settings": "^0.89.1", | ||
"@polkadot/util": "^8.3.1", | ||
"@polkadot/util-crypto": "^8.3.1", | ||
"@subwallet/extension-chains": "^0.4.1", | ||
"@subwallet/extension-dapp": "^0.4.1", | ||
"@subwallet/extension-inject": "^0.4.1", | ||
"ethereumjs-tx": "^2.1.2", | ||
"eventemitter3": "^4.0.7", | ||
"rxjs": "^7.5.1", | ||
"web3": "^1.7.1" | ||
}, | ||
"devDependencies": { | ||
"@polkadot/extension-mocks": "^0.4.1" | ||
"@subwallet/extension-mocks": "^0.4.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/extension-base/src/background/handlers/Extension.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/extension-base/src/background/handlers/subscriptions.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors | ||
// Copyright 2019-2022 @subwallet/extension-base authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
export { packageInfo } from './packageInfo'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors | ||
// Copyright 2017-2022 @subwallet/extension-base authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { packageInfo as chainsInfo } from '@polkadot/extension-chains/packageInfo'; | ||
import { packageInfo as dappInfo } from '@polkadot/extension-dapp/packageInfo'; | ||
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo'; | ||
import { packageInfo as chainsInfo } from '@subwallet/extension-chains/packageInfo'; | ||
import { packageInfo as dappInfo } from '@subwallet/extension-dapp/packageInfo'; | ||
import { packageInfo as injectInfo } from '@subwallet/extension-inject/packageInfo'; | ||
|
||
export default [chainsInfo, dappInfo, injectInfo]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors | ||
// Copyright 2017-2022 @subwallet/extension-base authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
// Do not edit, auto-generated by @polkadot/dev | ||
|
||
export const packageInfo = { name: '@polkadot/extension-base', path: 'auto', type: 'auto', version: '0.4.1' }; | ||
export const packageInfo = { name: '@subwallet/extension-base', path: 'auto', type: 'auto', version: '0.4.1' }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.