Skip to content

Commit

Permalink
Merge remote-tracking branch 'parity/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatpotato13 committed Mar 12, 2024
2 parents f85c892 + bdd78fa commit be3e75a
Show file tree
Hide file tree
Showing 226 changed files with 2,420 additions and 2,311 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
steps:
- uses: jacogr/action-approve@795afd1dd096a2071d7ec98740661af4e853b7da
with:
authors: jacogr
authors: jacogr, TarikGul
labels: -auto
token: ${{ secrets.GH_PAT_BOT }}
2 changes: 1 addition & 1 deletion .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension authors & contributors
// Copyright 2019-2024 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0

module.exports = require('@polkadot/dev/config/prettier.cjs');
672 changes: 336 additions & 336 deletions .yarn/releases/yarn-4.0.2.cjs → .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ logFilters:

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-4.1.0.cjs
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# CHANGELOG

## 0.46.7 Feb 28, 2024

- **Important** Not published to the stores, aligns with latest released packages.

Changes:

- Upgrade to `@polkadot/api` 10.11.2
- Upgrade to `@polkadot/ui` 3.6.5
- Upgrade to `@polkadot/phishing` 0.22.2


## 0.46.6 Nov 18, 2023

- **Important** Not published to the stores, aligns with latest released packages.

Changes:

- Upgrade to `@polkadot/util` 12.6.1
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
633 Jaco Bump deps (#1300)
634 Jaco 2024 (#1302)
90 Thibaut Sardan add search by address (#1198)
7 Ivan Rukhavets Mention derivation in FAQ (#334)
5 Tarik Gul 0.46.7 (#1319)
4 Amaury Martiny PostMessageProvider with on('connected' | 'disconnected') (#279)
3 Antoine Estienne Add eth test for extension signature (#909)
2 Axel Chalon Add typings to messages (#130)
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2023 @polkadot/extension authors & contributors
// Copyright 2017-2024 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0

import baseConfig from '@polkadot/dev/config/eslint';
Expand Down
2 changes: 1 addition & 1 deletion i18next-scanner.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension authors & contributors
// Copyright 2019-2024 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0

const fs = require('fs');
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
},
"homepage": "https://github.com/InfraBlockchain/infra-extension#readme",
"license": "Apache-2.0",
"packageManager": "yarn@3.2.0",
"packageManager": "yarn@4.1.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/InfraBlockchain/infra-extension.git"
},
"sideEffects": false,
"type": "module",
"version": "0.46.7-1-x",
"version": "0.46.7",
"versions": {
"git": "0.46.7-1-x",
"npm": "0.46.6"
"git": "0.46.7",
"npm": "0.46.7"
},
"workspaces": [
"packages/*"
Expand All @@ -44,10 +44,10 @@
"sinon-chrome": "^3.0.1"
},
"resolutions": {
"@polkadot/api": "^10.11.2",
"@polkadot/api": "^10.11.3",
"@polkadot/keyring": "^12.6.2",
"@polkadot/networks": "^12.6.2",
"@polkadot/types": "^10.11.2",
"@polkadot/types": "^10.11.3",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-fetch": "^12.6.2",
Expand Down
22 changes: 11 additions & 11 deletions packages/extension-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "0.46.7-1-x",
"version": "0.46.7",
"main": "index.js",
"dependencies": {
"@polkadot/api": "^10.11.2",
"@polkadot/extension-chains": "0.46.7-1-x",
"@polkadot/extension-dapp": "0.46.7-1-x",
"@polkadot/extension-inject": "0.46.7-1-x",
"@polkadot/api": "^10.11.3",
"@polkadot/extension-chains": "0.46.7",
"@polkadot/extension-dapp": "0.46.7",
"@polkadot/extension-inject": "0.46.7",
"@polkadot/keyring": "^12.6.2",
"@polkadot/networks": "^12.6.2",
"@polkadot/phishing": "^0.22.1",
"@polkadot/rpc-provider": "^10.11.2",
"@polkadot/types": "^10.11.2",
"@polkadot/ui-keyring": "^3.6.4",
"@polkadot/ui-settings": "^3.6.4",
"@polkadot/phishing": "^0.22.2",
"@polkadot/rpc-provider": "^10.11.3",
"@polkadot/types": "^10.11.3",
"@polkadot/ui-keyring": "^3.6.5",
"@polkadot/ui-settings": "^3.6.5",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/extension-mocks": "0.46.7-1-x"
"@polkadot/extension-mocks": "0.46.7"
}
}
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/RequestBytesSign.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { KeyringPair } from '@polkadot/keyring/types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { KeyringPair } from '@polkadot/keyring/types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/// <reference types="@polkadot/dev-test/globals" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* global chrome */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/handlers/State.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-bg authors & contributors
// Copyright 2019-2024 @polkadot/extension-bg authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* global chrome */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/handlers/Tabs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* global chrome */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/handlers/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

export function withErrorLog (fn: () => unknown): void {
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/handlers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* global chrome */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* global chrome */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { default as handlers, withErrorLog } from './handlers/index.js';
2 changes: 1 addition & 1 deletion packages/extension-base/src/background/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable no-use-before-define */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { packageInfo } from './packageInfo.js';
2 changes: 1 addition & 1 deletion packages/extension-base/src/defaults.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

// this _must_ be changed for each extension
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Since we inject into pages, we skip this
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/packageDetect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2023 @polkadot/extension-base authors & contributors
// Copyright 2017-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit, auto-generated by @polkadot/dev
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-base/src/packageInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2017-2023 @polkadot/extension-base authors & contributors
// Copyright 2017-2024 @polkadot/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.46.7-1-x' };
export const packageInfo = { name: '@polkadot/extension-base', path: 'auto', type: 'auto', version: '0.46.7' };
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/Accounts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { InjectedAccount, InjectedAccounts, Unsubcall } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/Injected.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Injected } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/Metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/PostMessageProvider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { InjectedProvider, ProviderList, ProviderMeta } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/Signer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Signer as SignerInterface, SignerResult } from '@polkadot/api/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable no-redeclare */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes } from '../background/types.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/stores/Accounts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { KeyringJson, KeyringStore } from '@polkadot/ui-keyring/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/stores/Base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

/* global chrome */
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/stores/Metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { MetadataDef } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/stores/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { default as AccountsStore } from './Accounts.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

export interface Message extends MessageEvent {
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/utils/canDerive.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { KeypairType } from '@polkadot/util-crypto/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/utils/getId.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

import { EXTENSION_PREFIX } from '../defaults.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
// Copyright 2019-2024 @polkadot/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

export { canDerive } from './canDerive.js';
4 changes: 2 additions & 2 deletions packages/extension-chains/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "0.46.7-1-x",
"version": "0.46.7",
"main": "index.js",
"dependencies": {
"@polkadot/extension-inject": "0.46.7-1-x",
"@polkadot/extension-inject": "0.46.7",
"@polkadot/networks": "^12.6.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-chains/src/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-chains authors & contributors
// Copyright 2019-2024 @polkadot/extension-chains authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { MetadataDef } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-chains/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-chains authors & contributors
// Copyright 2019-2024 @polkadot/extension-chains authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Since we inject into pages, we skip this
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-chains/src/packageDetect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017-2023 @polkadot/extension-chains authors & contributors
// Copyright 2017-2024 @polkadot/extension-chains authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit, auto-generated by @polkadot/dev
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-chains/src/packageInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2017-2023 @polkadot/extension-chains authors & contributors
// Copyright 2017-2024 @polkadot/extension-chains authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit, auto-generated by @polkadot/dev

export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.46.7-1-x' };
export const packageInfo = { name: '@polkadot/extension-chains', path: 'auto', type: 'auto', version: '0.46.7' };
2 changes: 1 addition & 1 deletion packages/extension-chains/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-chains authors & contributors
// Copyright 2019-2024 @polkadot/extension-chains authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { MetadataDef } from '@polkadot/extension-inject/types';
Expand Down
6 changes: 3 additions & 3 deletions packages/extension-compat-metamask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "0.46.7-1-x",
"version": "0.46.7",
"main": "index.js",
"dependencies": {
"@metamask/detect-provider": "^2.0.0",
"@polkadot/extension-inject": "0.46.7-1-x",
"@polkadot/types": "^10.11.2",
"@polkadot/extension-inject": "0.46.7",
"@polkadot/types": "^10.11.3",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2",
"web3": "^1.10.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-compat-metamask/src/bundle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-compat-metamask authors & contributors
// Copyright 2019-2024 @polkadot/extension-compat-metamask authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-compat-metamask/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2023 @polkadot/extension-compat-metamask authors & contributors
// Copyright 2019-2024 @polkadot/extension-compat-metamask authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Since we inject into pages, we skip this
Expand Down
Loading

0 comments on commit be3e75a

Please sign in to comment.