@stokr/components-library 0.8.7 → 0.8.9

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.
@@ -112,7 +112,7 @@ var makeOptInTx = /*#__PURE__*/function () {
112
112
  while (1) switch (_context3.prev = _context3.next) {
113
113
  case 0:
114
114
  _context3.next = 2;
115
- return (0, _fetchData.default)('user/createOptinTx', {
115
+ return (0, _fetchData.default)('wallet/createOptinTx', {
116
116
  account: address,
117
117
  assetId: Number(assetId)
118
118
  });
@@ -129,19 +129,19 @@ var UserChecklist = function UserChecklist(props) {
129
129
  message: liquidWallets.length > 0 ? 'Your address is registered' : 'Register a Liquid address where you will receive the securities',
130
130
  state: liquidWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
131
131
  link: "".concat(platformURL, "/register-liquid-securities")
132
- }, {
133
- title: 'Ethereum Address',
134
- message: ethWallets.length > 0 ? 'Your address is registered' : 'Register an Ethereum address where you will receive the securities',
135
- state: ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
136
- //link: '', //`${platformURL}/register-ethereum`,
137
- disabled: true,
138
- tooltip: 'Connecting your ethereum wallet is currently disabled until we have a new offer using the ethereum network.'
139
132
  }, {
140
133
  title: 'Algorand Address',
141
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 ',
142
135
  state: algoWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
143
136
  //: '',
144
137
  openModal: _ToDoList.ToDoModal.ALGO
138
+ }, {
139
+ title: 'Ethereum Address',
140
+ message: ethWallets.length > 0 ? 'Your address is registered' : 'Register an Ethereum address where you will receive the securities',
141
+ state: ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
142
+ //link: '', //`${platformURL}/register-ethereum`,
143
+ disabled: true,
144
+ tooltip: 'Registering your ethereum wallet is currently disabled until we have a new offer using the ethereum network.'
145
145
  }]);
146
146
  setoptionalTasks([{
147
147
  title: 'Tax ID',
@@ -172,32 +172,37 @@ var UserChecklist = function UserChecklist(props) {
172
172
  message: !isFromAllowedCountry ? 'Sorry, you are living in a country where this is not available' : liquidWallets.length > 0 ? 'Your address is registered' : 'Register a Liquid address where you will receive the securities',
173
173
  state: !isFromAllowedCountry ? _ToDoList.ToDoTaskState.NOT_AVAILABLE : liquidWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
174
174
  link: isFromAllowedCountry && "".concat(platformURL, "/register-liquid-securities")
175
- }, {
176
- title: 'Ethereum Address',
177
- 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',
178
- state: !isFromAllowedCountry ? _ToDoList.ToDoTaskState.NOT_AVAILABLE : ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
179
- disabled: true,
180
- tooltip: 'Connecting your ethereum wallet is currently disabled until we have a new offer using the ethereum network.'
181
175
  }, {
182
176
  title: 'Algorand Address',
183
177
  message: algoWallets.length > 0 ? 'Opt-in into more assets' : 'Register an Algorand address and opt-in into a project you want to invest in ',
184
178
  state: algoWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
185
179
  openModal: _ToDoList.ToDoModal.ALGO
186
180
  //link: '',
187
- }]);
188
-
189
- setoptionalTasks([(countryObj === null || countryObj === void 0 ? void 0 : countryObj.SEPA) && {
190
- title: 'Invest in Euro',
191
- message: getInvestInEuroChecklist(isFromAllowedCountry, user).message,
192
- state: getInvestInEuroChecklist(isFromAllowedCountry, user).state,
193
- link: isFromAllowedCountry && kyc_status && kyc_status !== 'Draft' && "".concat(platformURL, "/verify-identity")
194
181
  }, {
182
+ title: 'Ethereum Address',
183
+ 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',
184
+ state: !isFromAllowedCountry ? _ToDoList.ToDoTaskState.NOT_AVAILABLE : ethWallets.length > 0 ? _ToDoList.ToDoTaskState.APPROVED : _ToDoList.ToDoTaskState.SKIPPED,
185
+ disabled: true,
186
+ tooltip: 'Registering your ethereum wallet is currently disabled until we have a new offer using the ethereum network.'
187
+ }]);
188
+ var optionalTasks = [{
195
189
  title: 'Tax ID',
196
190
  message: !userData.taxId ? 'To invest in certain offerings, you need to provide your tax ID' : userData.taxId && 'You tax ID is submitted',
197
191
  state: !userData.taxId ? _ToDoList.ToDoTaskState.SKIPPED : userData.taxId && _ToDoList.ToDoTaskState.APPROVED,
198
192
  openModal: _ToDoList.ToDoModal.TAX_ID,
199
193
  tooltip: "Some offers require you to provide your Tax ID before being able to invest.\n\nYour tax information will be disclosed to the Luxembourg tax authorities annually for tax compliance purposes required by the Common Reporting Standard implementation."
200
- }]);
194
+ }];
195
+ if (countryObj !== null && countryObj !== void 0 && countryObj.SEPA) {
196
+ //add an item at first place
197
+ //only if the user is from a SEPA country
198
+ optionalTasks.splice(0, 0, {
199
+ title: 'Invest in Euro',
200
+ message: getInvestInEuroChecklist(isFromAllowedCountry, user).message,
201
+ state: getInvestInEuroChecklist(isFromAllowedCountry, user).state,
202
+ link: isFromAllowedCountry && kyc_status && kyc_status !== 'Draft' && "".concat(platformURL, "/verify-identity")
203
+ });
204
+ }
205
+ setoptionalTasks(optionalTasks);
201
206
  }
202
207
  };
203
208
  return /*#__PURE__*/_react.default.createElement(_ToDoList.default, _extends({}, props, {
@@ -158,10 +158,179 @@ var userDev = {
158
158
  'la-boulangerie': true
159
159
  }
160
160
  };
161
+ var userStaging = {
162
+ _id: '5e3571e222143e0016516946',
163
+ name: '',
164
+ lastname: ' ',
165
+ user_type: 'investor',
166
+ email: 'lukas@stokr.io',
167
+ hashedPassword: '98701a2450ab7d365ba1b39a437db25ac8b658d1',
168
+ activate_token: '',
169
+ active: true,
170
+ company: null,
171
+ fa2: false,
172
+ entity_name: '',
173
+ username: 'lukas3567478hkg',
174
+ country: 'Canada',
175
+ kyc_status: 'Accepted',
176
+ KYCDocuments: {
177
+ libId: 'bec16caf-2967-4199-a160-fd3874ba5a6d',
178
+ fileId: 'a20cb676-6a29-4d19-8406-6db276218f64',
179
+ id: 'a20cb676-6a29-4d19-8406-6db276218f64',
180
+ contentType: 'application/pdf',
181
+ name: '2',
182
+ filename: '8f77bda4bb318ad2532853a5b22d43f31637148577350.pdf',
183
+ links: [{
184
+ type: 'Library',
185
+ id: 'bec16caf-2967-4199-a160-fd3874ba5a6d'
186
+ }],
187
+ docType: '1',
188
+ fileid: 'a20cb676-6a29-4d19-8406-6db276218f64',
189
+ status: 'Pending',
190
+ dt: '2023-01-06T10:45:54.142Z'
191
+ },
192
+ investor_eth_addresses: [{
193
+ name: 'Test',
194
+ address: '0x6d78f66d27f6979be13347f5c1c95facc395dfea'
195
+ }, {
196
+ name: '6aa',
197
+ address: '0x6aa5a27132f2a828350e06fb20e04e7e5e205e9a'
198
+ }, {
199
+ name: '8908',
200
+ address: '0x3b5101257201b4a31a90c025eb57a41ea0ce46f4'
201
+ }, {
202
+ name: 'f7',
203
+ address: '0xf711a3529eb53a6375f10c0bbb4646081ffcdc48'
204
+ }, {
205
+ name: 'kghf',
206
+ address: '0x8f02dde046cdfecccf068a39a7c3844e49f5e33d'
207
+ }],
208
+ is_risk_questionnaire_finished: true,
209
+ lemonwayWallet: {
210
+ ID: '5e3571e222143e0016516946',
211
+ STATUS: '6',
212
+ poa_fileid: '42',
213
+ passport_fileid: '24',
214
+ dt: '2020-02-05T13:33:04.705Z'
215
+ },
216
+ liquid_network: {
217
+ GAID: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
218
+ dt: '2021-10-12T07:59:24.256Z',
219
+ id: null,
220
+ is_company: null,
221
+ name: null,
222
+ categories: null,
223
+ creator: null,
224
+ whitelisted_gaids: ['GAvqQSMd9PpUqkPzKN2CvRzMihBYJ', 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ', 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ'],
225
+ '73491f31-80c0-4f81-90cf-45a0beb8a458': {
226
+ id: 510,
227
+ categories: [25],
228
+ GAID: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
229
+ is_company: false,
230
+ whitelisted_gaids: ['GAvqQSMd9PpUqkPzKN2CvRzMihBYJ']
231
+ },
232
+ 'f5197b40-2220-4d31-8752-16dc79cec9f2': {
233
+ id: 178,
234
+ categories: [null],
235
+ whitelisted_gaids: ['GAvqQSMd9PpUqkPzKN2CvRzMihBYJ'],
236
+ GAID: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
237
+ creator: 33
238
+ },
239
+ '2812e39a-ad94-4368-9db4-9d98c1c00f38': {
240
+ id: 121,
241
+ categories: [3],
242
+ GAID: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
243
+ is_company: false,
244
+ whitelisted_gaids: ['GAvqQSMd9PpUqkPzKN2CvRzMihBYJ']
245
+ },
246
+ '3fc1284a-e2fa-41a7-8a88-d6932e436120': {
247
+ id: 510,
248
+ categories: [44],
249
+ GAID: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
250
+ is_company: false,
251
+ whitelisted_gaids: ['GAvqQSMd9PpUqkPzKN2CvRzMihBYJ']
252
+ },
253
+ '35c3c8ed-59a3-4a87-9612-b48236aeab3b': {
254
+ id: 1305,
255
+ categories: [24],
256
+ GAID: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
257
+ is_company: false,
258
+ whitelisted_gaids: ['GAvqQSMd9PpUqkPzKN2CvRzMihBYJ']
259
+ }
260
+ },
261
+ notificationSent: false,
262
+ investor_algo_addresses: [{
263
+ name: '1234',
264
+ address: 'FNM3FMLCFU3YSX7RINUCJD6LU6XSCBARUS47RFZ47MFDLN7VTOJEMZF3AE',
265
+ whitelistedAssets: ['20918100', '97457378']
266
+ }, {
267
+ name: '12341234',
268
+ address: 'ZKPNVQ4B3LZ2H4YXJXHNCVALCOOQP6DFLBU5HW65S3M7RGV757P63K72K4'
269
+ }, {
270
+ name: 'Lukas Test',
271
+ address: '7K7WKUEUCE2AWDGQG45JVHUDKNHYKWMHII6C2ULV4PO4OR5WZP74J2NHJA',
272
+ whitelistedAssets: ['97457378']
273
+ }, {
274
+ name: 'Test Lukas',
275
+ address: 'WMQDAPWWVPZVCGOXCMUV6TZMOWYR24AY5FD6BUP6KXUOXHZ5JCK4ZWN2LM',
276
+ whitelistedAssets: ['92363258', '97457378']
277
+ }],
278
+ // countryObj: {
279
+ // _id: '63c6817057bd250006b111ab',
280
+ // name: 'Canada',
281
+ // ISO2: 'CA',
282
+ // ISO3: 'CAN',
283
+ // isAllowed: true,
284
+ // signUpWarning: true,
285
+ // 'blockstream-mining': true,
286
+ // },
287
+ wallets: [{
288
+ _id: '6446a691d4a3e282ab0986ea',
289
+ userId: '5e3571e222143e0016516946',
290
+ type: 'liquid',
291
+ address: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
292
+ name: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
293
+ createdAt: '2021-10-12T07:59:24.256Z',
294
+ isPrimary: true
295
+ }, {
296
+ _id: '6446a691d4a3e282ab0986eb',
297
+ userId: '5e3571e222143e0016516946',
298
+ type: 'liquid',
299
+ address: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
300
+ assetIds: ['2812e39a-ad94-4368-9db4-9d98c1c00f38'],
301
+ liquidAccount: 'infinite-fleet',
302
+ registered_user: 121,
303
+ name: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
304
+ createdAt: '2021-10-12T07:59:24.256Z',
305
+ isPrimary: true
306
+ }, {
307
+ _id: '6446a691d4a3e282ab0986ec',
308
+ userId: '5e3571e222143e0016516946',
309
+ type: 'liquid',
310
+ address: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
311
+ assetIds: ['73491f31-80c0-4f81-90cf-45a0beb8a458', 'f5197b40-2220-4d31-8752-16dc79cec9f2'],
312
+ liquidAccount: 'stokr',
313
+ registered_user: 510,
314
+ name: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
315
+ createdAt: '2021-10-12T07:59:24.256Z',
316
+ isPrimary: true
317
+ }, {
318
+ _id: '6446a691d4a3e282ab0986ed',
319
+ userId: '5e3571e222143e0016516946',
320
+ type: 'liquid',
321
+ address: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
322
+ assetIds: ['35c3c8ed-59a3-4a87-9612-b48236aeab3b'],
323
+ liquidAccount: 'blockstream',
324
+ registered_user: 1305,
325
+ name: 'GAvqQSMd9PpUqkPzKN2CvRzMihBYJ',
326
+ createdAt: '2021-10-12T07:59:24.256Z',
327
+ isPrimary: true
328
+ }]
329
+ };
161
330
  var UserChecklist_user_dev = Template.bind({});
162
331
  exports.UserChecklist_user_dev = UserChecklist_user_dev;
163
332
  UserChecklist_user_dev.args = {
164
- user: userDev,
333
+ user: userStaging,
165
334
  useRelativePath: true,
166
335
  getTasksCount: function getTasksCount(data) {
167
336
  // console.log(data)
@@ -76,7 +76,9 @@ var CryptoAddress = function CryptoAddress(_ref) {
76
76
  }
77
77
  }))), /*#__PURE__*/_react.default.createElement(_CryptoAddress.Body, {
78
78
  noBody: noBody
79
- }, /*#__PURE__*/_react.default.createElement(_CryptoAddress.DataBox, null, data.value && /*#__PURE__*/_react.default.createElement(_CryptoAddress.Value, null, data.unit && "".concat(data.unit, " "), data.value, data.tooltip && /*#__PURE__*/_react.default.createElement("div", null, copyToClipBoard(data.value, copiedAddressToClipboard, setCopiedAddressToClipboard))), data.eqValue && /*#__PURE__*/_react.default.createElement(_CryptoAddress.Equal, null, '= ', data.eqUnit && "".concat(data.eqUnit, " "), data.eqValue)), /*#__PURE__*/_react.default.createElement(_CryptoAddress.InfoBox, null, /*#__PURE__*/_react.default.createElement(_CryptoAddress.Value, null, info.unit && /*#__PURE__*/_react.default.createElement("strong", null, info.unit), info.value), info.eqValue && /*#__PURE__*/_react.default.createElement(_CryptoAddress.Equal, null, info.noEqualsToSign ? ' ' : '= ', info.eqUnit && /*#__PURE__*/_react.default.createElement("strong", null, info.eqUnit), info.eqValue))), sideOptions && /*#__PURE__*/_react.default.createElement(_CryptoAddress.OptionsWrapper, null, sideOptions)))));
79
+ }, /*#__PURE__*/_react.default.createElement(_CryptoAddress.DataBox, null, data.value && /*#__PURE__*/_react.default.createElement(_CryptoAddress.Value, {
80
+ fontSize: fontSize
81
+ }, data.unit && "".concat(data.unit, " "), data.value, data.tooltip && /*#__PURE__*/_react.default.createElement("div", null, copyToClipBoard(data.value, copiedAddressToClipboard, setCopiedAddressToClipboard))), data.eqValue && /*#__PURE__*/_react.default.createElement(_CryptoAddress.Equal, null, '= ', data.eqUnit && "".concat(data.eqUnit, " "), data.eqValue)), /*#__PURE__*/_react.default.createElement(_CryptoAddress.InfoBox, null, /*#__PURE__*/_react.default.createElement(_CryptoAddress.Value, null, info.unit && /*#__PURE__*/_react.default.createElement("strong", null, info.unit), info.value), info.eqValue && /*#__PURE__*/_react.default.createElement(_CryptoAddress.Equal, null, info.noEqualsToSign ? ' ' : '= ', info.eqUnit && /*#__PURE__*/_react.default.createElement("strong", null, info.eqUnit), info.eqValue))), sideOptions && /*#__PURE__*/_react.default.createElement(_CryptoAddress.OptionsWrapper, null, sideOptions)))));
80
82
  };
81
83
  exports.CryptoAddress = CryptoAddress;
82
84
  var copyToClipBoard = function copyToClipBoard(value, isCopied, setCopy) {
@@ -343,21 +343,21 @@ var Header = function Header(_ref3) {
343
343
  return toggleMenu('main');
344
344
  }
345
345
  }, "Profile and Privacy")), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuItem, null, /*#__PURE__*/_react.default.createElement("a", {
346
- href: "".concat(newPlatformUrlForUserMenu, "/settings/ethereum-address"),
346
+ href: "".concat(newPlatformUrlForUserMenu, "/settings/liquid-address"),
347
347
  onClick: function onClick() {
348
348
  return toggleMenu('main');
349
349
  }
350
- }, "Ethereum Addresses")), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuItem, null, /*#__PURE__*/_react.default.createElement("a", {
351
- href: "".concat(newPlatformUrlForUserMenu, "/settings/liquid-address"),
350
+ }, "Liquid Addresses")), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuItem, null, /*#__PURE__*/_react.default.createElement("a", {
351
+ href: "".concat(newPlatformUrlForUserMenu, "/settings/algorand-address"),
352
352
  onClick: function onClick() {
353
353
  return toggleMenu('main');
354
354
  }
355
- }, "Liquid Securities Account")), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuItem, null, /*#__PURE__*/_react.default.createElement("a", {
356
- href: "".concat(newPlatformUrlForUserMenu, "/settings/algorand-address"),
355
+ }, "Algorand Addresses")), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuItem, null, /*#__PURE__*/_react.default.createElement("a", {
356
+ href: "".concat(newPlatformUrlForUserMenu, "/settings/ethereum-address"),
357
357
  onClick: function onClick() {
358
358
  return toggleMenu('main');
359
359
  }
360
- }, "Algorand Addresses")))))), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuPart, {
360
+ }, "Ethereum Addresses")))))), /*#__PURE__*/_react.default.createElement(_Header.MobileMenuPart, {
361
361
  withPadding: true,
362
362
  flexColumnt: true,
363
363
  noPaddingTop: !signupFlow,
@@ -181,27 +181,27 @@ var MainMenu = /*#__PURE__*/function (_PureComponent) {
181
181
  }, /*#__PURE__*/_react.default.createElement("span", {
182
182
  style: spanStyleForMenu
183
183
  }, "Profile & Privacy")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
184
- isActive: this.checkActive('ethereum-address'),
185
- onClick: function onClick() {
186
- window.location.replace("".concat(platformUrlForUserMenu, "/settings/ethereum-address"));
187
- }
188
- }, /*#__PURE__*/_react.default.createElement("span", {
189
- style: spanStyleForMenu
190
- }, "Ethereum Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
191
184
  isActive: this.checkActive('liquid-address'),
192
185
  onClick: function onClick() {
193
186
  window.location.replace("".concat(platformUrlForUserMenu, "/settings/liquid-address"));
194
187
  }
195
188
  }, /*#__PURE__*/_react.default.createElement("span", {
196
189
  style: spanStyleForMenu
197
- }, "Liquid Securities Account")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
190
+ }, "Liquid Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
198
191
  isActive: this.checkActive('algorand-address'),
199
192
  onClick: function onClick() {
200
193
  window.location.replace("".concat(platformUrlForUserMenu, "/settings/algorand-address"));
201
194
  }
202
195
  }, /*#__PURE__*/_react.default.createElement("span", {
203
196
  style: spanStyleForMenu
204
- }, "Algorand Addresses")))))), !isAdmin && /*#__PURE__*/_react.default.createElement(_reactCollapse.Collapse, {
197
+ }, "Algorand Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
198
+ isActive: this.checkActive('ethereum-address'),
199
+ onClick: function onClick() {
200
+ window.location.replace("".concat(platformUrlForUserMenu, "/settings/ethereum-address"));
201
+ }
202
+ }, /*#__PURE__*/_react.default.createElement("span", {
203
+ style: spanStyleForMenu
204
+ }, "Ethereum Addresses")))))), !isAdmin && /*#__PURE__*/_react.default.createElement(_reactCollapse.Collapse, {
205
205
  isOpened: isScrollDown,
206
206
  hasNestedCollapse: true
207
207
  }, /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOptions, null, /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
@@ -213,14 +213,6 @@ var MainMenu = /*#__PURE__*/function (_PureComponent) {
213
213
  }, /*#__PURE__*/_react.default.createElement("span", {
214
214
  style: spanStyleForMenu
215
215
  }, "Profile & Privacy")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
216
- scrollDown: true,
217
- isActive: this.checkActive('ethereum-address'),
218
- onClick: function onClick() {
219
- window.location.replace("".concat(platformUrlForUserMenu, "/settings/ethereum-address"));
220
- }
221
- }, /*#__PURE__*/_react.default.createElement("span", {
222
- style: spanStyleForMenu
223
- }, "Ethereum Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
224
216
  scrollDown: true,
225
217
  isActive: this.checkActive('liquid-address'),
226
218
  onClick: function onClick() {
@@ -228,7 +220,7 @@ var MainMenu = /*#__PURE__*/function (_PureComponent) {
228
220
  }
229
221
  }, /*#__PURE__*/_react.default.createElement("span", {
230
222
  style: spanStyleForMenu
231
- }, "Liquid Securities Account")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
223
+ }, "Liquid Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
232
224
  scrollDown: true,
233
225
  isActive: this.checkActive('algorand-address'),
234
226
  onClick: function onClick() {
@@ -237,6 +229,14 @@ var MainMenu = /*#__PURE__*/function (_PureComponent) {
237
229
  }, /*#__PURE__*/_react.default.createElement("span", {
238
230
  style: spanStyleForMenu
239
231
  }, "Algorand Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
232
+ scrollDown: true,
233
+ isActive: this.checkActive('ethereum-address'),
234
+ onClick: function onClick() {
235
+ window.location.replace("".concat(platformUrlForUserMenu, "/settings/ethereum-address"));
236
+ }
237
+ }, /*#__PURE__*/_react.default.createElement("span", {
238
+ style: spanStyleForMenu
239
+ }, "Ethereum Addresses")), /*#__PURE__*/_react.default.createElement(_MainMenu.SettingsOption, {
240
240
  scrollDown: true,
241
241
  onClick: function onClick() {
242
242
  _this2.setScrollUp();
@@ -134,7 +134,7 @@ var AlgoAdressSelect = function AlgoAdressSelect(props) {
134
134
  data = null;
135
135
  _context2.prev = 3;
136
136
  _context2.next = 6;
137
- return (0, _fetchData.default)('user/algoBalances', {
137
+ return (0, _fetchData.default)('wallet/algoBalances', {
138
138
  accounts: addressArr
139
139
  });
140
140
  case 6:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",