@provablehq/aleo-wallet-adaptor-soter 0.3.0-alpha.0 → 0.3.0-alpha.1

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.
package/dist/index.js CHANGED
@@ -72,12 +72,10 @@ var SoterWalletAdapter = class extends import_aleo_wallet_adaptor_core.BaseAleoW
72
72
  * Check if Soter wallet is available
73
73
  */
74
74
  _checkAvailability() {
75
- console.debug("Checking Soter Wallet availability");
76
75
  this._window = window;
77
76
  if (this._window.soter || this._window.soterWallet) {
78
77
  this.readyState = import_aleo_wallet_standard.WalletReadyState.INSTALLED;
79
78
  this._soterWallet = this._window?.soter || this._window?.soterWallet;
80
- console.debug("Soter Wallet is installed");
81
79
  return true;
82
80
  } else {
83
81
  const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
@@ -85,7 +83,6 @@ var SoterWalletAdapter = class extends import_aleo_wallet_adaptor_core.BaseAleoW
85
83
  this.readyState = import_aleo_wallet_standard.WalletReadyState.LOADABLE;
86
84
  return true;
87
85
  }
88
- console.debug("Soter Wallet is not available");
89
86
  return false;
90
87
  }
91
88
  }
package/dist/index.mjs CHANGED
@@ -65,12 +65,10 @@ var SoterWalletAdapter = class extends BaseAleoWalletAdapter {
65
65
  * Check if Soter wallet is available
66
66
  */
67
67
  _checkAvailability() {
68
- console.debug("Checking Soter Wallet availability");
69
68
  this._window = window;
70
69
  if (this._window.soter || this._window.soterWallet) {
71
70
  this.readyState = WalletReadyState.INSTALLED;
72
71
  this._soterWallet = this._window?.soter || this._window?.soterWallet;
73
- console.debug("Soter Wallet is installed");
74
72
  return true;
75
73
  } else {
76
74
  const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
@@ -78,7 +76,6 @@ var SoterWalletAdapter = class extends BaseAleoWalletAdapter {
78
76
  this.readyState = WalletReadyState.LOADABLE;
79
77
  return true;
80
78
  }
81
- console.debug("Soter Wallet is not available");
82
79
  return false;
83
80
  }
84
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provablehq/aleo-wallet-adaptor-soter",
3
- "version": "0.3.0-alpha.0",
3
+ "version": "0.3.0-alpha.1",
4
4
  "description": "Soter wallet adapter for Aleo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -11,10 +11,10 @@
11
11
  "src"
12
12
  ],
13
13
  "dependencies": {
14
- "@provablehq/aleo-types": "0.3.0-alpha.0",
15
- "@provablehq/aleo-wallet-adaptor-leo": "0.3.0-alpha.0",
16
- "@provablehq/aleo-wallet-adaptor-core": "0.3.0-alpha.0",
17
- "@provablehq/aleo-wallet-standard": "0.3.0-alpha.0"
14
+ "@provablehq/aleo-wallet-adaptor-core": "0.3.0-alpha.1",
15
+ "@provablehq/aleo-wallet-adaptor-leo": "0.3.0-alpha.1",
16
+ "@provablehq/aleo-wallet-standard": "0.3.0-alpha.1",
17
+ "@provablehq/aleo-types": "0.3.0-alpha.1"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
@@ -102,13 +102,11 @@ export class SoterWalletAdapter extends BaseAleoWalletAdapter {
102
102
  * Check if Soter wallet is available
103
103
  */
104
104
  private _checkAvailability(): boolean {
105
- console.debug('Checking Soter Wallet availability');
106
105
  this._window = window as SoterWindow;
107
106
 
108
107
  if (this._window.soter || this._window.soterWallet) {
109
108
  this.readyState = WalletReadyState.INSTALLED;
110
109
  this._soterWallet = this._window?.soter || this._window?.soterWallet;
111
- console.debug('Soter Wallet is installed');
112
110
  return true;
113
111
  } else {
114
112
  // Check if user is on a mobile device
@@ -117,7 +115,6 @@ export class SoterWalletAdapter extends BaseAleoWalletAdapter {
117
115
  this.readyState = WalletReadyState.LOADABLE;
118
116
  return true;
119
117
  }
120
- console.debug('Soter Wallet is not available');
121
118
  return false;
122
119
  }
123
120
  }