@polkadot/extension-base 0.61.7 → 0.62.2

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.
@@ -37,8 +37,8 @@ export default class Extension {
37
37
  keyring.addExternal(address, { genesisHash, name });
38
38
  return true;
39
39
  }
40
- accountsCreateHardware({ accountIndex, address, addressOffset, genesisHash, hardwareType, name }) {
41
- keyring.addHardware(address, hardwareType, { accountIndex, addressOffset, genesisHash, name });
40
+ accountsCreateHardware({ accountIndex, address, addressOffset, genesisHash, hardwareType, name, type }) {
41
+ keyring.addHardware(address, hardwareType, { accountIndex, addressOffset, genesisHash, name, type });
42
42
  return true;
43
43
  }
44
44
  accountsCreateSuri({ genesisHash, name, password, suri, type }) {
@@ -168,6 +168,7 @@ export interface RequestAccountCreateHardware {
168
168
  genesisHash: HexString;
169
169
  hardwareType: string;
170
170
  name: string;
171
+ type: KeypairType;
171
172
  }
172
173
  export interface RequestAccountChangePassword {
173
174
  address: string;
@@ -39,8 +39,8 @@ class Extension {
39
39
  ui_keyring_1.keyring.addExternal(address, { genesisHash, name });
40
40
  return true;
41
41
  }
42
- accountsCreateHardware({ accountIndex, address, addressOffset, genesisHash, hardwareType, name }) {
43
- ui_keyring_1.keyring.addHardware(address, hardwareType, { accountIndex, addressOffset, genesisHash, name });
42
+ accountsCreateHardware({ accountIndex, address, addressOffset, genesisHash, hardwareType, name, type }) {
43
+ ui_keyring_1.keyring.addHardware(address, hardwareType, { accountIndex, addressOffset, genesisHash, name, type });
44
44
  return true;
45
45
  }
46
46
  accountsCreateSuri({ genesisHash, name, password, suri, type }) {
@@ -168,6 +168,7 @@ export interface RequestAccountCreateHardware {
168
168
  genesisHash: HexString;
169
169
  hardwareType: string;
170
170
  name: string;
171
+ type: KeypairType;
171
172
  }
172
173
  export interface RequestAccountChangePassword {
173
174
  address: string;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/extension-base', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.61.7' };
4
+ exports.packageInfo = { name: '@polkadot/extension-base', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.62.2' };
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "0.61.7",
21
+ "version": "0.62.2",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -479,15 +479,15 @@
479
479
  }
480
480
  },
481
481
  "dependencies": {
482
- "@polkadot/api": "^16.4.6",
483
- "@polkadot/extension-chains": "0.61.7",
484
- "@polkadot/extension-dapp": "0.61.7",
485
- "@polkadot/extension-inject": "0.61.7",
482
+ "@polkadot/api": "^16.4.8",
483
+ "@polkadot/extension-chains": "0.62.2",
484
+ "@polkadot/extension-dapp": "0.62.2",
485
+ "@polkadot/extension-inject": "0.62.2",
486
486
  "@polkadot/keyring": "^13.5.6",
487
487
  "@polkadot/networks": "^13.5.6",
488
- "@polkadot/phishing": "^0.25.18",
489
- "@polkadot/rpc-provider": "^16.4.6",
490
- "@polkadot/types": "^16.4.6",
488
+ "@polkadot/phishing": "^0.25.20",
489
+ "@polkadot/rpc-provider": "^16.4.8",
490
+ "@polkadot/types": "^16.4.8",
491
491
  "@polkadot/ui-keyring": "^3.16.1",
492
492
  "@polkadot/ui-settings": "^3.16.1",
493
493
  "@polkadot/util": "^13.5.6",
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/extension-base', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.61.7' };
1
+ export const packageInfo = { name: '@polkadot/extension-base', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.62.2' };