@openocean.finance/wallet 0.4.60 → 0.4.62
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/MeteorWallet.d.ts +21 -0
- package/lib/Wallets/MeteorWallet.js +123 -0
- package/lib/Wallets/SenderWallet.d.ts +21 -0
- package/lib/Wallets/SenderWallet.js +123 -0
- package/lib/assets/meteor.svg +62 -0
- package/lib/assets/sender.svg +14 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +5 -1
- package/lib/types.d.ts +6 -2
- package/lib/types.js +5 -1
- package/package.json +4 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EnumChains, EnumWalletName, EnumWalletType } from "../types";
|
|
2
|
+
import BaseWallet from "./BaseWallet";
|
|
3
|
+
import { WalletConnection, utils } from "near-api-js";
|
|
4
|
+
import { createTransaction, functionCall } from "near-api-js/lib/transaction";
|
|
5
|
+
declare class MeteorWallet extends BaseWallet {
|
|
6
|
+
name: EnumWalletName;
|
|
7
|
+
icon: any;
|
|
8
|
+
supportChains: EnumChains[];
|
|
9
|
+
type: EnumWalletType;
|
|
10
|
+
sdk: WalletConnection | null;
|
|
11
|
+
createTransaction: typeof createTransaction;
|
|
12
|
+
functionCall: typeof functionCall;
|
|
13
|
+
PublicKey: typeof utils.key_pair.PublicKey;
|
|
14
|
+
utils: typeof utils;
|
|
15
|
+
/**
|
|
16
|
+
* connect metamask and get wallet address
|
|
17
|
+
* @param chainId specific chainId,throw error when not match
|
|
18
|
+
*/
|
|
19
|
+
requestConnect(): Promise<string>;
|
|
20
|
+
}
|
|
21
|
+
export default MeteorWallet;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (_) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
54
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
/**
|
|
58
|
+
* @name MeteorWallet
|
|
59
|
+
* @author openocean
|
|
60
|
+
* @date 2021/4/21
|
|
61
|
+
* @desc
|
|
62
|
+
*/
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
var meteor_svg_1 = __importDefault(require("../assets/meteor.svg"));
|
|
65
|
+
var types_1 = require("../types");
|
|
66
|
+
var BaseWallet_1 = __importDefault(require("./BaseWallet"));
|
|
67
|
+
var near_api_js_1 = require("near-api-js");
|
|
68
|
+
var transaction_1 = require("near-api-js/lib/transaction");
|
|
69
|
+
var utils_1 = require("near-api-js/lib/utils");
|
|
70
|
+
var core_1 = require("@near-wallet-selector/core");
|
|
71
|
+
var meteor_wallet_1 = require("@near-wallet-selector/meteor-wallet");
|
|
72
|
+
var MeteorWallet = /** @class */ (function (_super) {
|
|
73
|
+
__extends(MeteorWallet, _super);
|
|
74
|
+
function MeteorWallet() {
|
|
75
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
_this.name = types_1.EnumWalletName.MeteorWallet;
|
|
77
|
+
_this.icon = meteor_svg_1.default;
|
|
78
|
+
_this.supportChains = [types_1.EnumChains.NEAR];
|
|
79
|
+
_this.type = types_1.EnumWalletType.Extension;
|
|
80
|
+
_this.sdk = null;
|
|
81
|
+
_this.createTransaction = transaction_1.createTransaction;
|
|
82
|
+
_this.functionCall = transaction_1.functionCall;
|
|
83
|
+
_this.PublicKey = utils_1.PublicKey;
|
|
84
|
+
_this.utils = near_api_js_1.utils;
|
|
85
|
+
return _this;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* connect metamask and get wallet address
|
|
89
|
+
* @param chainId specific chainId,throw error when not match
|
|
90
|
+
*/
|
|
91
|
+
MeteorWallet.prototype.requestConnect = function () {
|
|
92
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
93
|
+
var meteorWallet, selector, wallet, accounts;
|
|
94
|
+
return __generator(this, function (_a) {
|
|
95
|
+
switch (_a.label) {
|
|
96
|
+
case 0:
|
|
97
|
+
meteorWallet = (0, meteor_wallet_1.setupMeteorWallet)();
|
|
98
|
+
return [4 /*yield*/, (0, core_1.setupWalletSelector)({
|
|
99
|
+
network: "mainnet",
|
|
100
|
+
debug: true,
|
|
101
|
+
modules: [meteorWallet],
|
|
102
|
+
})];
|
|
103
|
+
case 1:
|
|
104
|
+
selector = _a.sent();
|
|
105
|
+
return [4 /*yield*/, selector.wallet('meteor-wallet')];
|
|
106
|
+
case 2:
|
|
107
|
+
wallet = _a.sent();
|
|
108
|
+
return [4 /*yield*/, wallet.signIn({
|
|
109
|
+
contractId: "a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.factory.bridge.near",
|
|
110
|
+
accounts: []
|
|
111
|
+
})];
|
|
112
|
+
case 3:
|
|
113
|
+
accounts = _a.sent();
|
|
114
|
+
this.sdk = wallet;
|
|
115
|
+
this.address = accounts && accounts[0] && accounts[0].accountId || "";
|
|
116
|
+
return [2 /*return*/, this.address || ""];
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
return MeteorWallet;
|
|
122
|
+
}(BaseWallet_1.default));
|
|
123
|
+
exports.default = MeteorWallet;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EnumChains, EnumWalletName, EnumWalletType } from "../types";
|
|
2
|
+
import BaseWallet from "./BaseWallet";
|
|
3
|
+
import { WalletConnection, utils } from "near-api-js";
|
|
4
|
+
import { createTransaction, functionCall } from "near-api-js/lib/transaction";
|
|
5
|
+
declare class SenderWallet extends BaseWallet {
|
|
6
|
+
name: EnumWalletName;
|
|
7
|
+
icon: any;
|
|
8
|
+
supportChains: EnumChains[];
|
|
9
|
+
type: EnumWalletType;
|
|
10
|
+
sdk: WalletConnection | null;
|
|
11
|
+
createTransaction: typeof createTransaction;
|
|
12
|
+
functionCall: typeof functionCall;
|
|
13
|
+
PublicKey: typeof utils.key_pair.PublicKey;
|
|
14
|
+
utils: typeof utils;
|
|
15
|
+
/**
|
|
16
|
+
* connect metamask and get wallet address
|
|
17
|
+
* @param chainId specific chainId,throw error when not match
|
|
18
|
+
*/
|
|
19
|
+
requestConnect(): Promise<string>;
|
|
20
|
+
}
|
|
21
|
+
export default SenderWallet;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (_) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
54
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
/**
|
|
58
|
+
* @name SenderWallet
|
|
59
|
+
* @author openocean
|
|
60
|
+
* @date 2021/4/21
|
|
61
|
+
* @desc
|
|
62
|
+
*/
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
var sender_svg_1 = __importDefault(require("../assets/sender.svg"));
|
|
65
|
+
var types_1 = require("../types");
|
|
66
|
+
var BaseWallet_1 = __importDefault(require("./BaseWallet"));
|
|
67
|
+
var near_api_js_1 = require("near-api-js");
|
|
68
|
+
var transaction_1 = require("near-api-js/lib/transaction");
|
|
69
|
+
var utils_1 = require("near-api-js/lib/utils");
|
|
70
|
+
var core_1 = require("@near-wallet-selector/core");
|
|
71
|
+
var sender_1 = require("@near-wallet-selector/sender");
|
|
72
|
+
var SenderWallet = /** @class */ (function (_super) {
|
|
73
|
+
__extends(SenderWallet, _super);
|
|
74
|
+
function SenderWallet() {
|
|
75
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
_this.name = types_1.EnumWalletName.SenderWallet;
|
|
77
|
+
_this.icon = sender_svg_1.default;
|
|
78
|
+
_this.supportChains = [types_1.EnumChains.NEAR];
|
|
79
|
+
_this.type = types_1.EnumWalletType.Extension;
|
|
80
|
+
_this.sdk = null;
|
|
81
|
+
_this.createTransaction = transaction_1.createTransaction;
|
|
82
|
+
_this.functionCall = transaction_1.functionCall;
|
|
83
|
+
_this.PublicKey = utils_1.PublicKey;
|
|
84
|
+
_this.utils = near_api_js_1.utils;
|
|
85
|
+
return _this;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* connect metamask and get wallet address
|
|
89
|
+
* @param chainId specific chainId,throw error when not match
|
|
90
|
+
*/
|
|
91
|
+
SenderWallet.prototype.requestConnect = function () {
|
|
92
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
93
|
+
var sender, selector, wallet, accounts;
|
|
94
|
+
return __generator(this, function (_a) {
|
|
95
|
+
switch (_a.label) {
|
|
96
|
+
case 0:
|
|
97
|
+
sender = (0, sender_1.setupSender)();
|
|
98
|
+
return [4 /*yield*/, (0, core_1.setupWalletSelector)({
|
|
99
|
+
network: "mainnet",
|
|
100
|
+
debug: true,
|
|
101
|
+
modules: [sender],
|
|
102
|
+
})];
|
|
103
|
+
case 1:
|
|
104
|
+
selector = _a.sent();
|
|
105
|
+
return [4 /*yield*/, selector.wallet("sender")];
|
|
106
|
+
case 2:
|
|
107
|
+
wallet = _a.sent();
|
|
108
|
+
return [4 /*yield*/, wallet.signIn({
|
|
109
|
+
contractId: "a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.factory.bridge.near",
|
|
110
|
+
accounts: []
|
|
111
|
+
})];
|
|
112
|
+
case 3:
|
|
113
|
+
accounts = _a.sent();
|
|
114
|
+
this.sdk = wallet;
|
|
115
|
+
this.address = accounts && accounts[0] && accounts[0].accountId || "";
|
|
116
|
+
return [2 /*return*/, this.address || ""];
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
return SenderWallet;
|
|
122
|
+
}(BaseWallet_1.default));
|
|
123
|
+
exports.default = SenderWallet;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<svg width="96.000000" height="96.000000" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
2
|
+
<desc>
|
|
3
|
+
Created with Pixso.
|
|
4
|
+
</desc>
|
|
5
|
+
<g clip-path="url(#clip2_1)">
|
|
6
|
+
<circle id="circle" cx="48.000000" cy="48.000000" r="48.000000" fill="#FFFFFF"/>
|
|
7
|
+
<path id="path" d="M26.25 31.7824L36.824 21.2085C36.9788 21.0537 37.1472 20.9154 37.3293 20.7938C37.5113 20.6722 37.7035 20.5694 37.9058 20.4857C38.108 20.4019 38.3165 20.3386 38.5312 20.2959C38.746 20.2532 38.9628 20.2318 39.1818 20.2318C39.4008 20.2318 39.6176 20.2532 39.8323 20.2959C40.0471 20.3386 40.2556 20.4019 40.4578 20.4857C40.6601 20.5694 40.8523 20.6722 41.0343 20.7938C41.2164 20.9154 41.3848 21.0537 41.5396 21.2085C41.6944 21.3633 41.8326 21.5317 41.9543 21.7138C42.0759 21.8958 42.1786 22.088 42.2625 22.2903C42.3462 22.4925 42.4095 22.701 42.4521 22.9158C42.4949 23.1305 42.5162 23.3474 42.5162 23.5663C42.5162 23.7852 42.4949 24.0021 42.4521 24.2168C42.4095 24.4315 42.3462 24.64 42.2625 24.8423C42.1786 25.0446 42.0759 25.2368 41.9543 25.4188C41.8326 25.6009 41.6944 25.7693 41.5396 25.9241L30.9656 36.498C30.8405 36.6233 30.696 36.7198 30.5323 36.7876C30.3688 36.8553 30.1984 36.8892 30.0213 36.8892C29.8442 36.8892 29.6738 36.8553 29.5102 36.7876C29.3466 36.7198 29.2021 36.6233 29.0769 36.498L26.2437 33.6649C26.1185 33.5397 26.022 33.3952 25.9542 33.2316C25.8864 33.068 25.8526 32.8976 25.8526 32.7205C25.8526 32.5434 25.8864 32.373 25.9542 32.2094C26.022 32.0458 26.1248 31.9077 26.25 31.7824Z" fill-rule="nonzero" fill="url(#paint_linear_2_15_0)"/>
|
|
8
|
+
<path id="path" d="M35.0258 42.8262L57.8841 19.9679C58.0375 19.8145 58.2045 19.6775 58.3849 19.557C58.5653 19.4364 58.7557 19.3346 58.9562 19.2516C59.1567 19.1685 59.3633 19.1058 59.5762 19.0635C59.789 19.0212 60.0039 19 60.2209 19C60.4379 19 60.6528 19.0212 60.8656 19.0635C61.0784 19.1058 61.2851 19.1685 61.4856 19.2516C61.686 19.3346 61.8765 19.4364 62.0569 19.557C62.2374 19.6775 62.4043 19.8145 62.5577 19.9679C62.7109 20.1214 62.8477 20.2884 62.9681 20.4688C63.0884 20.6492 63.19 20.8396 63.2728 21.0401C63.3557 21.2405 63.4182 21.447 63.4604 21.6598C63.5026 21.8725 63.5237 22.0873 63.5236 22.3042C63.5235 22.521 63.5023 22.7358 63.4598 22.9485C63.4175 23.1612 63.3547 23.3677 63.2717 23.568C63.1887 23.7684 63.0869 23.9587 62.9664 24.139C62.8459 24.3193 62.709 24.4861 62.5556 24.6395L39.6973 47.4978C39.575 47.6201 39.434 47.7143 39.2742 47.7805C39.1144 47.8467 38.948 47.8798 38.775 47.8798C38.6021 47.8798 38.4356 47.8467 38.2758 47.7805C38.116 47.7143 37.975 47.6201 37.8527 47.4978L35.0195 44.6646C34.8972 44.5423 34.8029 44.4012 34.7368 44.2414C34.6705 44.0816 34.6375 43.9152 34.6375 43.7423C34.6375 43.5693 34.6705 43.4029 34.7368 43.2431C34.8029 43.0833 34.9035 42.9485 35.0258 42.8262Z" fill-rule="nonzero" fill="url(#paint_linear_2_17_0)"/>
|
|
9
|
+
<path id="path" d="M47.7884 50.246L73.6886 24.3458C73.842 24.1923 74.009 24.0553 74.1894 23.9348C74.3699 23.8142 74.5603 23.7124 74.7607 23.6294C74.9612 23.5464 75.1679 23.4837 75.3807 23.4413C75.5936 23.399 75.8085 23.3778 76.0255 23.3778C76.2424 23.3778 76.4573 23.399 76.6702 23.4413C76.883 23.4837 77.0897 23.5464 77.2901 23.6294C77.4906 23.7124 77.681 23.8142 77.8615 23.9348C78.0419 24.0553 78.2089 24.1924 78.3623 24.3458C78.5157 24.4992 78.6527 24.6662 78.7733 24.8466C78.8938 25.027 78.9956 25.2175 79.0787 25.4179C79.1617 25.6184 79.2244 25.8251 79.2667 26.0379C79.309 26.2507 79.3302 26.4656 79.3302 26.6826C79.3302 26.8996 79.309 27.1145 79.2667 27.3273C79.2244 27.5402 79.1617 27.7468 79.0787 27.9473C78.9956 28.1478 78.8938 28.3382 78.7733 28.5186C78.6527 28.6991 78.5157 28.866 78.3623 29.0194L52.462 54.9197C52.3397 55.042 52.1987 55.1362 52.0389 55.2024C51.879 55.2686 51.7126 55.3017 51.5397 55.3017C51.3667 55.3017 51.2003 55.2686 51.0405 55.2024C50.8807 55.1362 50.7396 55.042 50.6174 54.9197L47.7863 52.0886C47.664 51.9663 47.5697 51.8252 47.5035 51.6654C47.4373 51.5056 47.4042 51.3392 47.4042 51.1663C47.4042 50.9933 47.4373 50.8269 47.5035 50.6671C47.5697 50.5073 47.6661 50.3683 47.7884 50.246Z" fill-rule="nonzero" fill="url(#paint_linear_2_19_0)"/>
|
|
10
|
+
<path id="path" d="M60.5526 56.4806L74.3585 42.6748C74.5118 42.5214 74.6788 42.3844 74.8593 42.2638C75.0397 42.1433 75.2301 42.0415 75.4306 41.9584C75.631 41.8754 75.8377 41.8127 76.0505 41.7704C76.2634 41.728 76.4783 41.7069 76.6953 41.7069C76.9122 41.7069 77.1271 41.728 77.34 41.7704C77.5528 41.8127 77.7595 41.8754 77.96 41.9584C78.1604 42.0415 78.3508 42.1433 78.5313 42.2638C78.7117 42.3844 78.8787 42.5214 79.0321 42.6748C79.1855 42.8282 79.3225 42.9952 79.4431 43.1756C79.5636 43.356 79.6654 43.5465 79.7485 43.7469C79.8315 43.9474 79.8942 44.1541 79.9365 44.3669C79.9789 44.5797 80 44.7946 80 45.0116C80 45.2286 79.9789 45.4435 79.9365 45.6564C79.8942 45.8692 79.8315 46.0758 79.7485 46.2763C79.6654 46.4768 79.5636 46.6672 79.4431 46.8477C79.3225 47.0281 79.1855 47.195 79.0321 47.3484L65.2263 61.1543C65.1039 61.2766 64.9629 61.3708 64.803 61.437C64.6432 61.5032 64.4769 61.5363 64.3039 61.5363C64.1309 61.5363 63.9645 61.5032 63.8047 61.437C63.6449 61.3708 63.5038 61.2766 63.3815 61.1543L60.5484 58.3211C60.427 58.1986 60.3336 58.0576 60.2681 57.8981C60.2027 57.7385 60.1702 57.5725 60.1705 57.4C60.171 57.2276 60.2042 57.0617 60.2704 56.9025C60.3366 56.7432 60.4307 56.6026 60.5526 56.4806Z" fill-rule="nonzero" fill="url(#paint_linear_2_21_0)"/>
|
|
11
|
+
<path id="path" d="M23.2091 43.8748L43.7914 23.2925C43.9706 23.1134 44.1655 22.9534 44.3761 22.8127C44.5867 22.6719 44.8091 22.5531 45.0432 22.4561C45.2772 22.3592 45.5184 22.286 45.7669 22.2366C46.0154 22.1872 46.2663 22.1624 46.5197 22.1624C46.7729 22.1624 47.0239 22.1872 47.2723 22.2366C47.5208 22.286 47.7621 22.3592 47.9962 22.4561C48.2302 22.5531 48.4525 22.6719 48.6632 22.8127C48.8738 22.9534 49.0687 23.1134 49.2479 23.2925C49.427 23.4716 49.5869 23.6665 49.7277 23.8772C49.8684 24.0878 49.9872 24.3102 50.0842 24.5442C50.1812 24.7783 50.2543 25.0195 50.3038 25.268C50.3532 25.5165 50.3779 25.7674 50.3779 26.0207C50.3779 26.2741 50.3532 26.525 50.3038 26.7734C50.2543 27.0219 50.1812 27.2632 50.0842 27.4972C49.9872 27.7313 49.8684 27.9536 49.7277 28.1643C49.5869 28.3749 49.427 28.5698 49.2479 28.7489L28.6655 49.3313C28.491 49.5058 28.2898 49.6402 28.0618 49.7346C27.8339 49.8291 27.5964 49.8763 27.3497 49.8763C27.1029 49.8763 26.8655 49.8291 26.6376 49.7346C26.4096 49.6402 26.2083 49.5058 26.0338 49.3313L23.2007 46.4981C23.0262 46.3236 22.8918 46.1224 22.7973 45.8944C22.7029 45.6664 22.6557 45.429 22.6557 45.1823C22.6557 44.9355 22.7029 44.6981 22.7973 44.4702C22.8918 44.2422 23.0346 44.0493 23.2091 43.8748Z" fill-rule="nonzero" fill="url(#paint_linear_2_24_0)"/>
|
|
12
|
+
<path id="path" d="M33.7576 53.2639L62.832 24.1895C63.0152 24.0063 63.2145 23.8427 63.4299 23.6988C63.6453 23.5548 63.8727 23.4333 64.1121 23.3341C64.3514 23.235 64.5982 23.1601 64.8523 23.1096C65.1064 23.059 65.363 23.0338 65.6221 23.0338C65.8812 23.0338 66.1378 23.059 66.3919 23.1096C66.646 23.1601 66.8928 23.235 67.1321 23.3341C67.3715 23.4333 67.5989 23.5548 67.8143 23.6988C68.0297 23.8427 68.229 24.0063 68.4122 24.1895C68.5956 24.3727 68.7592 24.572 68.9033 24.7874C69.0474 25.0028 69.1689 25.2302 69.2682 25.4696C69.3674 25.709 69.4424 25.9558 69.493 26.2099C69.5436 26.4641 69.569 26.7208 69.569 26.9799C69.569 27.2391 69.5438 27.4957 69.4933 27.7499C69.4427 28.0041 69.3679 28.2509 69.2688 28.4903C69.1696 28.7298 69.0481 28.9572 68.9041 29.1727C68.7601 29.3882 68.5966 29.5875 68.4133 29.7708L39.3389 58.8452C39.1564 59.0276 38.946 59.1682 38.7077 59.2669C38.4694 59.3656 38.2212 59.415 37.9632 59.415C37.7052 59.415 37.4571 59.3656 37.2187 59.2669C36.9803 59.1682 36.77 59.0276 36.5876 58.8452L33.7544 56.0121C33.5727 55.8295 33.4327 55.6191 33.3345 55.381C33.2364 55.1428 33.1874 54.8949 33.1877 54.6373C33.188 54.3797 33.2375 54.132 33.3362 53.894C33.435 53.6561 33.5754 53.446 33.7576 53.2639Z" fill-rule="nonzero" fill="url(#paint_linear_2_26_0)"/>
|
|
13
|
+
<rect id="rect" x="44.755554" y="62.413605" rx="3.567428" width="28.520138" height="7.134855" transform="rotate(-45 44.755554 62.413605)" fill="url(#paint_linear_2_28_0)"/>
|
|
14
|
+
<path id="path" d="M64.7047 33.2473L55.0886 42.8574C54.913 43.0325 54.7221 43.1888 54.5158 43.3264C54.3095 43.4639 54.0918 43.5801 53.8627 43.6748C53.6335 43.7695 53.3974 43.841 53.1542 43.8893C52.911 43.9376 52.6654 43.9618 52.4175 43.9618C52.1696 43.9618 51.924 43.9376 51.6808 43.8893C51.4376 43.841 51.2014 43.7695 50.9723 43.6748C50.7432 43.5801 50.5255 43.4639 50.3192 43.3264C50.1129 43.1888 49.9219 43.0325 49.7463 42.8574C49.5713 42.6819 49.415 42.491 49.2774 42.2847C49.1399 42.0784 49.0237 41.8606 48.929 41.6315C48.8343 41.4024 48.7628 41.1662 48.7145 40.923C48.6662 40.6798 48.642 40.4342 48.642 40.1863C48.642 39.9384 48.6662 39.6928 48.7145 39.4496C48.7628 39.2064 48.8343 38.9702 48.929 38.7411C49.0237 38.512 49.1399 38.2943 49.2774 38.088C49.415 37.8817 49.5713 37.6908 49.7463 37.5152L51.7853 35.4748C53.0749 34.1867 53.1713 32.0735 51.907 30.7617C51.7544 30.6034 51.5877 30.4617 51.4069 30.3365C51.226 30.2114 51.0346 30.1054 50.8326 30.0185C50.6306 29.9315 50.4221 29.8654 50.2069 29.82C49.9917 29.7746 49.7742 29.7509 49.5543 29.7489C49.3344 29.7469 49.1165 29.7667 48.9005 29.8081C48.6846 29.8495 48.4749 29.9119 48.2713 29.9951C48.0677 30.0784 47.8745 30.1809 47.6913 30.3027C47.5083 30.4245 47.339 30.5631 47.1836 30.7187L38.1508 39.7411C37.9753 39.9165 37.7845 40.073 37.5782 40.2108C37.372 40.3486 37.1543 40.4649 36.9252 40.5598C36.696 40.6547 36.4598 40.7263 36.2166 40.7747C35.9733 40.8231 35.7277 40.8473 35.4796 40.8473C35.2316 40.8473 34.986 40.8231 34.7427 40.7747C34.4994 40.7263 34.2632 40.6547 34.0341 40.5598C33.8049 40.4649 33.5872 40.3486 33.381 40.2108C33.1747 40.073 32.9839 39.9165 32.8085 39.7411C32.6329 39.5655 32.476 39.3744 32.338 39.1679C32.2 38.9614 32.0835 38.7434 31.9884 38.5139C31.8934 38.2844 31.8216 38.0479 31.7731 37.8043C31.7247 37.5607 31.7004 37.3147 31.7004 37.0663C31.7004 36.8179 31.7247 36.5719 31.7731 36.3283C31.8216 36.0847 31.8934 35.8481 31.9884 35.6187C32.0835 35.3892 32.2 35.1712 32.338 34.9647C32.476 34.7582 32.6329 34.5671 32.8085 34.3915L35.815 31.3835C35.9706 31.228 36.1093 31.0588 36.2311 30.8756C36.3528 30.6925 36.4554 30.4992 36.5386 30.2956C36.6219 30.0921 36.6842 29.8823 36.7256 29.6663C36.767 29.4503 36.7867 29.2323 36.7846 29.0124C36.7825 28.7925 36.7588 28.575 36.7133 28.3598C36.6678 28.1446 36.6016 27.936 36.5145 27.7341C36.4274 27.5321 36.3213 27.3407 36.196 27.16C36.0708 26.9792 35.929 26.8125 35.7704 26.66C34.4586 25.3957 32.3455 25.4937 31.0574 26.7817L22.8957 34.9435C22.8586 34.9806 22.8259 35.0207 22.7903 35.0607C22.2455 35.6262 21.7295 36.2168 21.242 36.8323C20.7546 37.4479 20.2981 38.0856 19.8726 38.7455C19.4471 39.4054 19.0545 40.0844 18.6949 40.7824C18.3352 41.4804 18.0103 42.1942 17.7199 42.9237C17.4296 43.6532 17.1753 44.3951 16.9569 45.1494C16.7386 45.9036 16.5573 46.6666 16.4131 47.4385C16.2688 48.2103 16.1623 48.9873 16.0934 49.7695C16.0246 50.5517 15.9938 51.3353 16.001 52.1205C16.0083 52.9056 16.0535 53.6886 16.1367 54.4694C16.22 55.2502 16.3408 56.0251 16.4993 56.7941C16.6577 57.5631 16.8531 58.3227 17.0853 59.0728C17.3174 59.8229 17.5854 60.5599 17.8891 61.284C18.1929 62.0081 18.5309 62.7157 18.9034 63.407C19.2758 64.0983 19.6808 64.7698 20.1185 65.4218C20.5561 66.0737 21.0242 66.7029 21.5229 67.3094C22.0216 67.9159 22.5485 68.4968 23.1036 69.0522C23.6587 69.6075 24.2393 70.1347 24.8456 70.6337C25.4519 71.1327 26.0809 71.6011 26.7326 72.0391C27.3843 72.477 28.0557 72.8823 28.7468 73.2551C29.4379 73.6278 30.1454 73.9662 30.8693 74.2703C31.5932 74.5744 32.3302 74.8427 33.0801 75.0753C33.8301 75.3078 34.5896 75.5035 35.3585 75.6623C36.1275 75.8212 36.9023 75.9424 37.6831 76.026C38.4638 76.1096 39.2468 76.1552 40.0319 76.1628C40.8171 76.1704 41.6008 76.14 42.383 76.0715C43.1652 76.0031 43.9423 75.8969 44.7141 75.753C45.486 75.6091 46.2491 75.4282 47.0035 75.2102C47.7578 74.9923 48.4998 74.7383 49.2295 74.4483C49.9592 74.1583 50.6731 73.8337 51.3713 73.4744C52.0695 73.1151 52.7486 72.7228 53.4087 72.2976C54.0688 71.8724 54.7067 71.4162 55.3226 70.9291C55.9384 70.442 56.5292 69.9261 57.0949 69.3817L57.0652 69.352C57.1038 69.3164 57.1439 69.2837 57.181 69.2466L71.5887 54.8389C72.8782 53.5508 72.9747 51.4377 71.7104 50.1258C71.5579 49.9675 71.3912 49.8257 71.2104 49.7005C71.0295 49.5754 70.8382 49.4693 70.6362 49.3823C70.4343 49.2952 70.2257 49.229 70.0106 49.1836C69.7954 49.1382 69.5779 49.1144 69.358 49.1123C69.1381 49.1103 68.9202 49.1299 68.7042 49.1713C68.4882 49.2126 68.2785 49.2749 68.075 49.3581C67.8714 49.4413 67.678 49.5438 67.4949 49.6655C67.3118 49.7872 67.1425 49.9258 66.9869 50.0813C66.9869 50.0813 69.6848 47.388 65.5312 51.5445C65.371 51.7049 65.1968 51.8481 65.0084 51.9741C64.82 52.1001 64.6211 52.2066 64.4117 52.2934C64.2024 52.3802 63.9866 52.4457 63.7643 52.49C63.542 52.5342 63.3175 52.5564 63.0908 52.5564C62.8642 52.5564 62.6397 52.5342 62.4174 52.49C62.1951 52.4457 61.9792 52.3802 61.7699 52.2934C61.5605 52.2066 61.3617 52.1001 61.1733 51.9741C60.9849 51.8481 60.8106 51.7049 60.6505 51.5445C60.4901 51.3843 60.3468 51.21 60.2208 51.0215C60.0947 50.8331 59.9883 50.6341 59.9015 50.4247C59.8147 50.2152 59.7491 49.9994 59.7049 49.777C59.6606 49.5547 59.6385 49.3301 59.6385 49.1034C59.6385 48.8767 59.6606 48.6521 59.7049 48.4298C59.7491 48.2074 59.8147 47.9915 59.9015 47.7821C59.9883 47.5727 60.0947 47.3737 60.2208 47.1853C60.3468 46.9968 60.4901 46.8225 60.6505 46.6623L69.4622 37.8491C69.6178 37.6936 69.7565 37.5244 69.8783 37.3412C70.0001 37.1581 70.1026 36.9648 70.1859 36.7612C70.2691 36.5577 70.3314 36.3479 70.3728 36.1319C70.4142 35.9159 70.4339 35.6979 70.4318 35.478C70.4297 35.2581 70.406 35.0406 70.3605 34.8254C70.3151 34.6102 70.2488 34.4016 70.1617 34.1997C70.0746 33.9977 69.9685 33.8063 69.8433 33.6256C69.718 33.4448 69.5762 33.2781 69.4177 33.1257C68.1058 31.8613 65.9942 31.9593 64.7047 33.2473Z" fill-rule="nonzero" fill="url(#paint_linear_2_29_0)"/>
|
|
15
|
+
<rect id="rect" x="23.443268" y="35.732742" rx="1.891301" width="7.563721" height="3.782603" transform="rotate(-45 23.443268 35.732742)" fill="#A4A1EF"/>
|
|
16
|
+
<circle id="circle" cx="32.804016" cy="29.046265" r="1.890560" fill="#C2BFFC"/>
|
|
17
|
+
<rect id="rect" x="44.837219" y="34.395065" rx="1.891301" width="5.673161" height="3.782603" transform="rotate(-45 44.837219 34.395065)" fill="#786BEE"/>
|
|
18
|
+
</g>
|
|
19
|
+
<defs>
|
|
20
|
+
<clipPath id="clip2_1">
|
|
21
|
+
<rect id="meteor" width="96.000000" height="96.000000" fill="white"/>
|
|
22
|
+
</clipPath>
|
|
23
|
+
<linearGradient id="paint_linear_2_15_0" x1="24.704979" y1="27.705276" x2="44.281624" y2="27.705276" gradientUnits="userSpaceOnUse">
|
|
24
|
+
<stop offset="0.070000" stop-color="#232371" stop-opacity="0.800000"/>
|
|
25
|
+
<stop offset="0.940000" stop-color="#171E9B" stop-opacity="0.749020"/>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
<linearGradient id="paint_linear_2_17_0" x1="27.292660" y1="34.832886" x2="41.135445" y2="20.990103" gradientUnits="userSpaceOnUse">
|
|
28
|
+
<stop offset="0.070000" stop-color="#232371" stop-opacity="0.800000"/>
|
|
29
|
+
<stop offset="0.940000" stop-color="#171E9B" stop-opacity="0.749020"/>
|
|
30
|
+
</linearGradient>
|
|
31
|
+
<linearGradient id="paint_linear_2_19_0" x1="42.876354" y1="39.591675" x2="84.012123" y2="39.591675" gradientUnits="userSpaceOnUse">
|
|
32
|
+
<stop offset="0.070000" stop-color="#232371" stop-opacity="0.800000"/>
|
|
33
|
+
<stop offset="0.940000" stop-color="#171E9B" stop-opacity="0.807843"/>
|
|
34
|
+
</linearGradient>
|
|
35
|
+
<linearGradient id="paint_linear_2_21_0" x1="28.203766" y1="46.796928" x2="42.046547" y2="32.954140" gradientUnits="userSpaceOnUse">
|
|
36
|
+
<stop offset="0.070000" stop-color="#232371" stop-opacity="0.800000"/>
|
|
37
|
+
<stop offset="0.940000" stop-color="#171E9B" stop-opacity="0.749020"/>
|
|
38
|
+
</linearGradient>
|
|
39
|
+
<linearGradient id="paint_linear_2_24_0" x1="19.694773" y1="35.608330" x2="54.635384" y2="35.608330" gradientUnits="userSpaceOnUse">
|
|
40
|
+
<stop offset="0.070000" stop-color="#0F0F36"/>
|
|
41
|
+
<stop offset="0.760000" stop-color="#232371"/>
|
|
42
|
+
</linearGradient>
|
|
43
|
+
<linearGradient id="paint_linear_2_26_0" x1="28.176968" y1="40.809582" x2="75.125870" y2="40.809582" gradientUnits="userSpaceOnUse">
|
|
44
|
+
<stop stop-color="#0F0F36"/>
|
|
45
|
+
<stop offset="0.800000" stop-color="#232371"/>
|
|
46
|
+
</linearGradient>
|
|
47
|
+
<linearGradient id="paint_linear_2_28_0" x1="35.094284" y1="57.509491" x2="68.292175" y2="24.311600" gradientUnits="userSpaceOnUse">
|
|
48
|
+
<stop stop-color="#0F0F36"/>
|
|
49
|
+
<stop offset="0.800000" stop-color="#232371"/>
|
|
50
|
+
</linearGradient>
|
|
51
|
+
<linearGradient id="paint_linear_2_29_0" x1="22.773922" y1="69.382233" x2="64.223969" y2="27.932186" gradientUnits="userSpaceOnUse">
|
|
52
|
+
<stop stop-color="#479FF5"/>
|
|
53
|
+
<stop offset="0.220000" stop-color="#405EE5"/>
|
|
54
|
+
<stop offset="0.350000" stop-color="#523BDA"/>
|
|
55
|
+
<stop offset="0.430000" stop-color="#5A55CE"/>
|
|
56
|
+
<stop offset="0.560000" stop-color="#5A55CE"/>
|
|
57
|
+
<stop offset="0.760000" stop-color="#3B3CBB"/>
|
|
58
|
+
<stop offset="0.870000" stop-color="#171E9B"/>
|
|
59
|
+
<stop offset="1.000000" stop-color="#171E9B"/>
|
|
60
|
+
</linearGradient>
|
|
61
|
+
</defs>
|
|
62
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="96.000000" height="96.000000" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
2
|
+
<desc>
|
|
3
|
+
Created with Pixso.
|
|
4
|
+
</desc>
|
|
5
|
+
<g clip-path="url(#clip2_34)">
|
|
6
|
+
<rect id="rect" rx="48.000000" width="96.000000" height="96.000000" fill="#2E79DF"/>
|
|
7
|
+
<path id="path" d="M58.0921 42.5119C59.0433 42.8593 59.9169 43.3133 60.6929 43.8713C61.7256 44.6137 62.5853 45.541 63.2226 46.6491C63.5503 47.219 63.8075 47.8157 63.9963 48.4337C64.1872 49.0562 64.3093 49.7001 64.3652 50.3598C64.7602 54.9977 61.8985 60.3909 56.8059 64.3974L56.576 64.5761C55.6903 65.2566 54.739 65.8956 53.7277 66.4818L30.4045 80C29.72 75.4543 30.9826 70.7855 33.869 67.1861C35.1168 65.6295 36.6683 64.2731 38.4974 63.2129L52.1219 55.3161C53.9787 54.2399 55.1591 52.4409 55.5099 50.4841C55.7891 48.9281 55.5438 47.2727 54.6972 45.8007C54.0165 44.617 53.0389 43.7119 51.9114 43.1248C50.6299 42.4564 49.1542 42.1989 47.7012 42.4096C47.7833 42.3707 47.8656 42.3332 47.9482 42.2969C49.1847 41.9899 50.4062 41.7947 51.5918 41.71C53.958 41.5414 56.1809 41.8129 58.0921 42.5119ZM65.5955 16C66.28 20.5457 65.0174 25.2145 62.131 28.8139C60.8832 30.3705 59.3317 31.7269 57.5026 32.7871L43.8781 40.6839C42.0213 41.7601 40.8409 43.5591 40.4901 45.5159C40.2109 47.0719 40.4562 48.7273 41.3028 50.1993C41.9835 51.383 42.9611 52.2881 44.0886 52.8752C45.3701 53.5436 46.8458 53.8011 48.2988 53.5904C48.2167 53.6293 48.1344 53.6668 48.0518 53.7031C46.8153 54.0101 45.5938 54.2053 44.4082 54.29C42.042 54.4586 39.8191 54.1871 37.9079 53.4881C36.9567 53.1406 36.0831 52.6867 35.3071 52.1287C34.2744 51.3863 33.4147 50.459 32.7774 49.3509C32.4497 48.781 32.1925 48.1843 32.0037 47.5663C31.8128 46.9438 31.6907 46.2999 31.6348 45.6402C31.2398 41.0023 34.1015 35.6091 39.1941 31.6026L39.424 31.4238C40.3097 30.7434 41.261 30.1044 42.2723 29.5183L65.5955 16Z" fill-rule="evenodd" fill="#FFFFFF"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip2_34">
|
|
11
|
+
<rect id="sender" width="96.000000" height="96.000000" fill="white"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
package/lib/index.d.ts
CHANGED
|
@@ -39,5 +39,7 @@ import MartianWallet from './Wallets/MartianWallet';
|
|
|
39
39
|
import PontemWallet from './Wallets/PontemWallet';
|
|
40
40
|
import UnstoppableDomains from './Wallets/UnstoppableDomains';
|
|
41
41
|
import MyNearWallet from "./Wallets/MyNearWallet";
|
|
42
|
+
import MeteorWallet from "./Wallets/MeteorWallet";
|
|
43
|
+
import SenderWallet from "./Wallets/SenderWallet";
|
|
42
44
|
import { EnumChains } from "./types";
|
|
43
|
-
export { MetaMask, BscWallet, Cyano, TronLink, EnumChains, Sollet, SolletIo, OntoMobile, WalletConnect, MathWallet, OntoWallet, SafePalWallet, ImTokenWallet, TokenPocket, TrustWallet, Coin98, Phantom, TerraStation, CoinbaseWallet, CloverWallet, XDEFIWallet, SlopeWallet, SolflareWallet, OKXWallet, KeplrWallet, BraveWallet, CryptoCom, NearWallet, BitKeepWallet, GnosisSafeWallet, BloctoWallet, PetraWallet, MartianWallet, PontemWallet, UnstoppableDomains, MyNearWallet };
|
|
45
|
+
export { MetaMask, BscWallet, Cyano, TronLink, EnumChains, Sollet, SolletIo, OntoMobile, WalletConnect, MathWallet, OntoWallet, SafePalWallet, ImTokenWallet, TokenPocket, TrustWallet, Coin98, Phantom, TerraStation, CoinbaseWallet, CloverWallet, XDEFIWallet, SlopeWallet, SolflareWallet, OKXWallet, KeplrWallet, BraveWallet, CryptoCom, NearWallet, BitKeepWallet, GnosisSafeWallet, BloctoWallet, PetraWallet, MartianWallet, PontemWallet, UnstoppableDomains, MyNearWallet, MeteorWallet, SenderWallet };
|
package/lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MyNearWallet = exports.UnstoppableDomains = exports.PontemWallet = exports.MartianWallet = exports.PetraWallet = exports.BloctoWallet = exports.GnosisSafeWallet = exports.BitKeepWallet = exports.NearWallet = exports.CryptoCom = exports.BraveWallet = exports.KeplrWallet = exports.OKXWallet = exports.SolflareWallet = exports.SlopeWallet = exports.XDEFIWallet = exports.CloverWallet = exports.CoinbaseWallet = exports.TerraStation = exports.Phantom = exports.Coin98 = exports.TrustWallet = exports.TokenPocket = exports.ImTokenWallet = exports.SafePalWallet = exports.OntoWallet = exports.MathWallet = exports.WalletConnect = exports.OntoMobile = exports.SolletIo = exports.Sollet = exports.EnumChains = exports.TronLink = exports.Cyano = exports.BscWallet = exports.MetaMask = void 0;
|
|
6
|
+
exports.SenderWallet = exports.MeteorWallet = exports.MyNearWallet = exports.UnstoppableDomains = exports.PontemWallet = exports.MartianWallet = exports.PetraWallet = exports.BloctoWallet = exports.GnosisSafeWallet = exports.BitKeepWallet = exports.NearWallet = exports.CryptoCom = exports.BraveWallet = exports.KeplrWallet = exports.OKXWallet = exports.SolflareWallet = exports.SlopeWallet = exports.XDEFIWallet = exports.CloverWallet = exports.CoinbaseWallet = exports.TerraStation = exports.Phantom = exports.Coin98 = exports.TrustWallet = exports.TokenPocket = exports.ImTokenWallet = exports.SafePalWallet = exports.OntoWallet = exports.MathWallet = exports.WalletConnect = exports.OntoMobile = exports.SolletIo = exports.Sollet = exports.EnumChains = exports.TronLink = exports.Cyano = exports.BscWallet = exports.MetaMask = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* wallets-manager entry
|
|
9
9
|
* @author openocean
|
|
@@ -80,5 +80,9 @@ var UnstoppableDomains_1 = __importDefault(require("./Wallets/UnstoppableDomains
|
|
|
80
80
|
exports.UnstoppableDomains = UnstoppableDomains_1.default;
|
|
81
81
|
var MyNearWallet_1 = __importDefault(require("./Wallets/MyNearWallet"));
|
|
82
82
|
exports.MyNearWallet = MyNearWallet_1.default;
|
|
83
|
+
var MeteorWallet_1 = __importDefault(require("./Wallets/MeteorWallet"));
|
|
84
|
+
exports.MeteorWallet = MeteorWallet_1.default;
|
|
85
|
+
var SenderWallet_1 = __importDefault(require("./Wallets/SenderWallet"));
|
|
86
|
+
exports.SenderWallet = SenderWallet_1.default;
|
|
83
87
|
var types_1 = require("./types");
|
|
84
88
|
Object.defineProperty(exports, "EnumChains", { enumerable: true, get: function () { return types_1.EnumChains; } });
|
package/lib/types.d.ts
CHANGED
|
@@ -81,7 +81,9 @@ export declare enum EnumWalletName {
|
|
|
81
81
|
MartianWallet = "Martian wallet",
|
|
82
82
|
PontemWallet = "Pontem Wallet",
|
|
83
83
|
UnstoppableDomains = "Unstoppable Domains",
|
|
84
|
-
MyNearWallet = "
|
|
84
|
+
MyNearWallet = "MyNear Wallet",
|
|
85
|
+
MeteorWallet = "Meteor Wallet",
|
|
86
|
+
SenderWallet = "Sender Wallet"
|
|
85
87
|
}
|
|
86
88
|
export declare enum EnumErrors {
|
|
87
89
|
NotMetamask = "40001",
|
|
@@ -118,7 +120,9 @@ export declare enum EnumErrors {
|
|
|
118
120
|
NoPetraWallet = "40034",
|
|
119
121
|
NoMartianWallet = "40035",
|
|
120
122
|
NoPontemWallet = "40036",
|
|
121
|
-
NoCyano = "40037"
|
|
123
|
+
NoCyano = "40037",
|
|
124
|
+
NoMeteorWallet = "40038",
|
|
125
|
+
NoSender = "40039"
|
|
122
126
|
}
|
|
123
127
|
export interface ConnectResult {
|
|
124
128
|
chain: EnumChains;
|
package/lib/types.js
CHANGED
|
@@ -83,7 +83,9 @@ var EnumWalletName;
|
|
|
83
83
|
EnumWalletName["MartianWallet"] = "Martian wallet";
|
|
84
84
|
EnumWalletName["PontemWallet"] = "Pontem Wallet";
|
|
85
85
|
EnumWalletName["UnstoppableDomains"] = "Unstoppable Domains";
|
|
86
|
-
EnumWalletName["MyNearWallet"] = "
|
|
86
|
+
EnumWalletName["MyNearWallet"] = "MyNear Wallet";
|
|
87
|
+
EnumWalletName["MeteorWallet"] = "Meteor Wallet";
|
|
88
|
+
EnumWalletName["SenderWallet"] = "Sender Wallet";
|
|
87
89
|
})(EnumWalletName = exports.EnumWalletName || (exports.EnumWalletName = {}));
|
|
88
90
|
var EnumErrors;
|
|
89
91
|
(function (EnumErrors) {
|
|
@@ -122,4 +124,6 @@ var EnumErrors;
|
|
|
122
124
|
EnumErrors["NoMartianWallet"] = "40035";
|
|
123
125
|
EnumErrors["NoPontemWallet"] = "40036";
|
|
124
126
|
EnumErrors["NoCyano"] = "40037";
|
|
127
|
+
EnumErrors["NoMeteorWallet"] = "40038";
|
|
128
|
+
EnumErrors["NoSender"] = "40039";
|
|
125
129
|
})(EnumErrors = exports.EnumErrors || (exports.EnumErrors = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openocean.finance/wallet",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.62",
|
|
4
4
|
"description": "A multi-chain wallets manager",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,6 +44,9 @@
|
|
|
44
44
|
"@cosmjs/stargate": "^0.28.4",
|
|
45
45
|
"@gnosis.pm/safe-apps-provider": "^0.11.3",
|
|
46
46
|
"@gnosis.pm/safe-apps-sdk": "^7.5.0",
|
|
47
|
+
"@near-wallet-selector/core": "^7.8.2",
|
|
48
|
+
"@near-wallet-selector/meteor-wallet": "^7.8.2",
|
|
49
|
+
"@near-wallet-selector/sender": "^7.8.2",
|
|
47
50
|
"@onflow/fcl": "^0.0.71",
|
|
48
51
|
"@ont-dev/ontology-dapi": "^0.5.7",
|
|
49
52
|
"@project-serum/sol-wallet-adapter": "0.2.0",
|