@openocean.finance/wallet 0.4.63 → 0.4.64

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.
@@ -94,6 +94,9 @@ var SenderWallet = /** @class */ (function (_super) {
94
94
  return __generator(this, function (_a) {
95
95
  switch (_a.label) {
96
96
  case 0:
97
+ if (!window.near || !window.near.isSender) {
98
+ throw new Error(types_1.EnumErrors.NoSender);
99
+ }
97
100
  sender = (0, sender_1.setupSender)();
98
101
  return [4 /*yield*/, (0, core_1.setupWalletSelector)({
99
102
  network: "mainnet",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "0.4.63",
3
+ "version": "0.4.64",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {