@stokr/components-library 0.9.2 → 0.9.3
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.
|
@@ -134,7 +134,7 @@ var UserChecklist = function UserChecklist(props) {
|
|
|
134
134
|
message: algoWallets.length > 0 ? 'Opt-in into more assets' : 'Register an Algorand address and opt-in into a project you want to invest in ',
|
|
135
135
|
state: algoWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
|
|
136
136
|
disabled: true,
|
|
137
|
-
tooltip:
|
|
137
|
+
tooltip: 'Registering your Algorand address is currently disabled until we have a new offer using the Algorand network.',
|
|
138
138
|
openModal: _ToDoList.ToDoModal.ALGO
|
|
139
139
|
}, {
|
|
140
140
|
title: 'Ethereum Address',
|
|
@@ -142,7 +142,7 @@ var UserChecklist = function UserChecklist(props) {
|
|
|
142
142
|
state: ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
|
|
143
143
|
//link: '', //`${platformURL}/register-ethereum`,
|
|
144
144
|
disabled: true,
|
|
145
|
-
tooltip: 'Registering your
|
|
145
|
+
tooltip: 'Registering your Ethereum address is currently disabled until we have a new offer using the Ethereum network.'
|
|
146
146
|
}]);
|
|
147
147
|
setoptionalTasks([{
|
|
148
148
|
title: 'Tax ID',
|
|
@@ -179,14 +179,14 @@ var UserChecklist = function UserChecklist(props) {
|
|
|
179
179
|
state: algoWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
|
|
180
180
|
openModal: _ToDoList.ToDoModal.ALGO,
|
|
181
181
|
disabled: true,
|
|
182
|
-
tooltip:
|
|
182
|
+
tooltip: 'Registering your Algorand address is currently disabled until we have a new offer using the Algorand network.'
|
|
183
183
|
//link: '',
|
|
184
184
|
}, {
|
|
185
185
|
title: 'Ethereum Address',
|
|
186
186
|
message: !isFromAllowedCountry ? 'Sorry, you are living in a country where this is not available' : ethWallets.length > 0 ? 'Your address is registered' : 'Register an Ethereum address where you will receive the securities',
|
|
187
187
|
state: !isFromAllowedCountry ? _ToDoList.ToDoTaskState.NOT_AVAILABLE : ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
|
|
188
188
|
disabled: true,
|
|
189
|
-
tooltip: 'Registering your
|
|
189
|
+
tooltip: 'Registering your Ethereum address is currently disabled until we have a new offer using the Ethereum network.'
|
|
190
190
|
}]);
|
|
191
191
|
var optionalTasks = [{
|
|
192
192
|
title: 'Tax ID',
|
|
@@ -154,7 +154,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
154
154
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
155
155
|
while (1) switch (_context.prev = _context.next) {
|
|
156
156
|
case 0:
|
|
157
|
-
_axios.default.post("https://kycdocs.stokr
|
|
157
|
+
_axios.default.post("https://kycdocs.stokr.io/kyc/upload?ip=".concat(ip), data, {
|
|
158
158
|
headers: {
|
|
159
159
|
'Content-Type': 'multipart/form-data'
|
|
160
160
|
}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.walletTypes = exports.platformURL = exports.platformDomain = void 0;
|
|
7
|
-
var platformDomain = process.env.REACT_APP_WEBSITE_DOMAIN || 'stokr.
|
|
7
|
+
var platformDomain = process.env.REACT_APP_WEBSITE_DOMAIN || 'stokr.io';
|
|
8
8
|
exports.platformDomain = platformDomain;
|
|
9
9
|
var platformURL = 'https://' + platformDomain;
|
|
10
10
|
exports.platformURL = platformURL;
|
package/dist/model/axios.js
CHANGED
|
@@ -8,7 +8,7 @@ var _axios = _interopRequireDefault(require("axios"));
|
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
9
|
/* Libraries */
|
|
10
10
|
|
|
11
|
-
var BASE_URL = process.env.REACT_APP_API_URL || 'https://platform-api.stokr.
|
|
11
|
+
var BASE_URL = process.env.REACT_APP_API_URL || 'https://platform-api.stokr.io/api/v1/';
|
|
12
12
|
var _default = _axios.default.create({
|
|
13
13
|
headers: {
|
|
14
14
|
'Content-Type': 'application/json'
|
|
@@ -8,7 +8,7 @@ var _axios = _interopRequireDefault(require("axios"));
|
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
9
|
/* Libraries */
|
|
10
10
|
|
|
11
|
-
var BASE_URL = process.env.REACT_APP_BASE_URL_PUBLIC || 'https://platform-api-no-auth.stokr.
|
|
11
|
+
var BASE_URL = process.env.REACT_APP_BASE_URL_PUBLIC || 'https://platform-api-no-auth.stokr.io/api/v1/';
|
|
12
12
|
var _default = _axios.default.create({
|
|
13
13
|
headers: {
|
|
14
14
|
'Content-Type': 'application/json'
|