@openocean.finance/wallet 0.4.9 → 0.4.10
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/lib/Wallets/MetaMask.js +1 -0
- package/lib/Wallets/NearWallet.js +2 -2
- package/lib/assets/near.svg +10 -0
- package/lib/types.d.ts +1 -0
- package/lib/types.js +1 -0
- package/package.json +1 -1
package/lib/Wallets/MetaMask.js
CHANGED
|
@@ -61,7 +61,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
61
61
|
* @desc
|
|
62
62
|
*/
|
|
63
63
|
// @ts-ignore
|
|
64
|
-
var
|
|
64
|
+
var near_svg_1 = __importDefault(require("../assets/near.svg"));
|
|
65
65
|
var types_1 = require("../types");
|
|
66
66
|
var BaseWallet_1 = __importDefault(require("./BaseWallet"));
|
|
67
67
|
var near_api_js_1 = require("near-api-js");
|
|
@@ -70,7 +70,7 @@ var NearWallet = /** @class */ (function (_super) {
|
|
|
70
70
|
function NearWallet() {
|
|
71
71
|
var _this = _super.call(this) || this;
|
|
72
72
|
_this.name = types_1.EnumWalletName.NearWallet;
|
|
73
|
-
_this.icon =
|
|
73
|
+
_this.icon = near_svg_1.default;
|
|
74
74
|
_this.supportChains = [
|
|
75
75
|
types_1.EnumChains.NEAR
|
|
76
76
|
];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>near</title>
|
|
4
|
+
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="near" fill-rule="nonzero">
|
|
6
|
+
<circle id="Oval" fill="#FFFFFF" cx="16" cy="16" r="16"></circle>
|
|
7
|
+
<path d="M22.0444,7.02222 L17.8667,13.22222 C17.5778,13.64444 18.1333,14.15556 18.5333,13.8 L22.6444,10.22222 C22.7556,10.13333 22.9111,10.2 22.9111,10.35556 L22.9111,21.5333 C22.9111,21.6889 22.7111,21.7556 22.6222,21.6444 L10.17778,6.755556 C9.77778,6.266667 9.2,6 8.55556,6 L8.11111,6 C6.955556,6 6,6.955556 6,8.13333 L6,23.8667 C6,25.0444 6.955556,26 8.13333,26 C8.86667,26 9.55556,25.6222 9.95556,24.9778 L14.13333,18.7778 C14.42222,18.3556 13.86667,17.8444 13.46667,18.2 L9.35556,21.7556 C9.24444,21.8444 9.08889,21.7778 9.08889,21.6222 L9.08889,10.46667 C9.08889,10.31111 9.28889,10.24444 9.37778,10.35556 L21.8222,25.2444 C22.2222,25.7333 22.8222,26 23.4444,26 L23.8889,26 C25.0667,26 26.0222,25.0444 26.0222,23.8667 L26.0222,8.13333 C26,6.955556 25.0444,6 23.8667,6 C23.1333,6 22.4444,6.377778 22.0444,7.02222 Z" id="Path" fill="#000000"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</g>
|
|
10
|
+
</svg>
|
package/lib/types.d.ts
CHANGED
package/lib/types.js
CHANGED