@onekeyfe/onekey-solana-provider 2.1.17 → 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.
@@ -31,6 +31,24 @@ class ProviderSolana extends ProviderSolanaBase {
31
31
  this.isSolflare = true;
32
32
  this.isGlow = true;
33
33
  this._publicKey = null;
34
+ this._registerEvents = this._registerEvents.bind(this);
35
+ this._callBridge = this._callBridge.bind(this);
36
+ this._handleAccountChange = this._handleAccountChange.bind(this);
37
+ this._handleConnected = this._handleConnected.bind(this);
38
+ this._handleDisconnected = this._handleDisconnected.bind(this);
39
+ this._handleSignAndSendTransaction = this._handleSignAndSendTransaction.bind(this);
40
+ this._handleSignTransaction = this._handleSignTransaction.bind(this);
41
+ this._handleSignAllTransactions = this._handleSignAllTransactions.bind(this);
42
+ this._handleSignMessage = this._handleSignMessage.bind(this);
43
+ this.request = this.request.bind(this);
44
+ this.connect = this.connect.bind(this);
45
+ this.disconnect = this.disconnect.bind(this);
46
+ this.signAndSendTransaction = this.signAndSendTransaction.bind(this);
47
+ this.signTransaction = this.signTransaction.bind(this);
48
+ this.signAllTransactions = this.signAllTransactions.bind(this);
49
+ this.signMessage = this.signMessage.bind(this);
50
+ this.isAccountsChanged = this.isAccountsChanged.bind(this);
51
+ this.bridgeRequest = this.bridgeRequest.bind(this);
34
52
  this._registerEvents();
35
53
  }
36
54
  _registerEvents() {
@@ -37,6 +37,24 @@ class ProviderSolana extends ProviderSolanaBase_1.ProviderSolanaBase {
37
37
  this.isSolflare = true;
38
38
  this.isGlow = true;
39
39
  this._publicKey = null;
40
+ this._registerEvents = this._registerEvents.bind(this);
41
+ this._callBridge = this._callBridge.bind(this);
42
+ this._handleAccountChange = this._handleAccountChange.bind(this);
43
+ this._handleConnected = this._handleConnected.bind(this);
44
+ this._handleDisconnected = this._handleDisconnected.bind(this);
45
+ this._handleSignAndSendTransaction = this._handleSignAndSendTransaction.bind(this);
46
+ this._handleSignTransaction = this._handleSignTransaction.bind(this);
47
+ this._handleSignAllTransactions = this._handleSignAllTransactions.bind(this);
48
+ this._handleSignMessage = this._handleSignMessage.bind(this);
49
+ this.request = this.request.bind(this);
50
+ this.connect = this.connect.bind(this);
51
+ this.disconnect = this.disconnect.bind(this);
52
+ this.signAndSendTransaction = this.signAndSendTransaction.bind(this);
53
+ this.signTransaction = this.signTransaction.bind(this);
54
+ this.signAllTransactions = this.signAllTransactions.bind(this);
55
+ this.signMessage = this.signMessage.bind(this);
56
+ this.isAccountsChanged = this.isAccountsChanged.bind(this);
57
+ this.bridgeRequest = this.bridgeRequest.bind(this);
40
58
  this._registerEvents();
41
59
  }
42
60
  _registerEvents() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/onekey-solana-provider",
3
- "version": "2.1.17",
3
+ "version": "2.1.18",
4
4
  "keywords": [
5
5
  "cross-inpage-provider",
6
6
  "solona"
@@ -29,10 +29,10 @@
29
29
  "start": "tsc --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@onekeyfe/cross-inpage-provider-core": "2.1.17",
33
- "@onekeyfe/cross-inpage-provider-errors": "2.1.17",
34
- "@onekeyfe/cross-inpage-provider-types": "2.1.17",
35
- "@onekeyfe/extension-bridge-injected": "2.1.17",
32
+ "@onekeyfe/cross-inpage-provider-core": "2.1.18",
33
+ "@onekeyfe/cross-inpage-provider-errors": "2.1.18",
34
+ "@onekeyfe/cross-inpage-provider-types": "2.1.18",
35
+ "@onekeyfe/extension-bridge-injected": "2.1.18",
36
36
  "@solana/wallet-standard-features": "^1.1.0",
37
37
  "@solana/web3.js": "^1.41.3",
38
38
  "@wallet-standard/base": "^1.0.1",
@@ -41,5 +41,5 @@
41
41
  "devDependencies": {
42
42
  "@types/bs58": "^4.0.1"
43
43
  },
44
- "gitHead": "6b9e350734a850a60dbf9fa4406190900f8f13f2"
44
+ "gitHead": "37fa1037312327275e28c3acea89fd2110430328"
45
45
  }