@onekeyfe/onekey-alph-provider 2.1.17-alpha.0 → 2.1.18

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.
@@ -33,8 +33,10 @@ function isWalletEventMethodMatch({ method, name }) {
33
33
  export class ProviderAlph extends InteractiveSignerProvider {
34
34
  constructor(props) {
35
35
  super();
36
- this.id = 'onekey';
37
- this.name = 'OneKey';
36
+ this.id = 'alephium';
37
+ this.name = 'Alephium';
38
+ // id = 'onekey';
39
+ // name = 'OneKey';
38
40
  this.icon = 'https://uni.onekey-asset.com/static/logo/onekey.png';
39
41
  this.version = '0.9.4';
40
42
  this.onDisconnected = undefined;
@@ -36,8 +36,10 @@ function isWalletEventMethodMatch({ method, name }) {
36
36
  class ProviderAlph extends web3_1.InteractiveSignerProvider {
37
37
  constructor(props) {
38
38
  super();
39
- this.id = 'onekey';
40
- this.name = 'OneKey';
39
+ this.id = 'alephium';
40
+ this.name = 'Alephium';
41
+ // id = 'onekey';
42
+ // name = 'OneKey';
41
43
  this.icon = 'https://uni.onekey-asset.com/static/logo/onekey.png';
42
44
  this.version = '0.9.4';
43
45
  this.onDisconnected = undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.registerAlephiumProvider = void 0;
3
+ exports.registerAlephiumProvider = registerAlephiumProvider;
4
4
  function registerAlephiumProvider(provider) {
5
5
  function announceProvider() {
6
6
  window.dispatchEvent(new CustomEvent('announceAlephiumProvider', {
@@ -10,4 +10,3 @@ function registerAlephiumProvider(provider) {
10
10
  window.addEventListener('requestAlephiumProvider', announceProvider);
11
11
  announceProvider();
12
12
  }
13
- exports.registerAlephiumProvider = registerAlephiumProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/onekey-alph-provider",
3
- "version": "2.1.17-alpha.0",
3
+ "version": "2.1.18",
4
4
  "keywords": [
5
5
  "cross-inpage-provider"
6
6
  ],
@@ -31,10 +31,10 @@
31
31
  "@alephium/get-extension-wallet": "^1.5.2",
32
32
  "@alephium/walletconnect-provider": "^1.5.2",
33
33
  "@alephium/web3": "^1.5.2",
34
- "@onekeyfe/cross-inpage-provider-core": "2.1.17-alpha.0",
35
- "@onekeyfe/cross-inpage-provider-errors": "2.1.17-alpha.0",
36
- "@onekeyfe/cross-inpage-provider-types": "2.1.17-alpha.0",
37
- "@onekeyfe/extension-bridge-injected": "2.1.17-alpha.0"
34
+ "@onekeyfe/cross-inpage-provider-core": "2.1.18",
35
+ "@onekeyfe/cross-inpage-provider-errors": "2.1.18",
36
+ "@onekeyfe/cross-inpage-provider-types": "2.1.18",
37
+ "@onekeyfe/extension-bridge-injected": "2.1.18"
38
38
  },
39
- "gitHead": "2f084706f4501f4d8850017cd9586b825db88e5e"
39
+ "gitHead": "37fa1037312327275e28c3acea89fd2110430328"
40
40
  }