@ledgerhq/vault-common 2.7.3 → 2.8.0

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkVKKF4FUUjs = require('./chunk-VKKF4FUU.js');
3
+ var _chunk42W3DGXBjs = require('./chunk-42W3DGXB.js');
4
4
 
5
5
 
6
- var _chunkC7MZATA3js = require('./chunk-C7MZATA3.js');
6
+ var _chunkZ3OMUBXEjs = require('./chunk-Z3OMUBXE.js');
7
7
 
8
8
 
9
9
 
@@ -15,10 +15,10 @@ var _chunkC7MZATA3js = require('./chunk-C7MZATA3.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkY5S46OBEjs = require('./chunk-Y5S46OBE.js');
18
+ var _chunkA6UNM54Vjs = require('./chunk-A6UNM54V.js');
19
19
 
20
20
 
21
- var _chunkGUCXQ7R6js = require('./chunk-GUCXQ7R6.js');
21
+ var _chunkLBTWTQGWjs = require('./chunk-LBTWTQGW.js');
22
22
 
23
23
 
24
24
 
@@ -39,14 +39,14 @@ var _chunkGUCXQ7R6js = require('./chunk-GUCXQ7R6.js');
39
39
 
40
40
 
41
41
 
42
- var _chunk4XY6A2YSjs = require('./chunk-4XY6A2YS.js');
42
+ var _chunkGBWFFILFjs = require('./chunk-GBWFFILF.js');
43
43
 
44
44
 
45
45
  var _chunk3L2XDBZ2js = require('./chunk-3L2XDBZ2.js');
46
46
 
47
47
 
48
48
 
49
- var _chunkPDP57LSKjs = require('./chunk-PDP57LSK.js');
49
+ var _chunkLUGUDCF7js = require('./chunk-LUGUDCF7.js');
50
50
 
51
51
 
52
52
  var _chunkPZ5AY32Cjs = require('./chunk-PZ5AY32C.js');
@@ -316,8 +316,8 @@ async function bakeManifest(_manifest, pool, options = {}) {
316
316
  logger
317
317
  );
318
318
  }
319
- const runner = options.runner || _chunkY5S46OBEjs.createDefaultRunner_default.call(void 0, pool, options);
320
- const manifestFromGate = await _chunkC7MZATA3js.recipeManifest.call(void 0, pool, { saveAccountsIndexes: true });
319
+ const runner = options.runner || _chunkA6UNM54Vjs.createDefaultRunner_default.call(void 0, pool, options);
320
+ const manifestFromGate = await _chunkZ3OMUBXEjs.recipeManifest.call(void 0, pool, { saveAccountsIndexes: true });
321
321
  const { rawData } = manifestFromGate;
322
322
  const {
323
323
  groupsByName,
@@ -415,49 +415,49 @@ async function bakeManifest(_manifest, pool, options = {}) {
415
415
  )
416
416
  );
417
417
  }
418
- await _chunk4XY6A2YSjs.queue.call(void 0,
418
+ await _chunkGBWFFILFjs.queue.call(void 0,
419
419
  _sortBy2.default.call(void 0, adminsAndOperators, (u) => u.device),
420
420
  genCreateAdminsAndOperators()
421
421
  );
422
422
  if (manifest.users.api) {
423
423
  logger.step("LAM users creation");
424
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.users.api, genCreateAPIUser());
424
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.users.api, genCreateAPIUser());
425
425
  }
426
426
  if (manifest.users.apiV2) {
427
427
  logger.step("API users creation");
428
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.users.apiV2, genCreateAPIV2User());
428
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.users.apiV2, genCreateAPIV2User());
429
429
  }
430
430
  }
431
431
  if (manifest.workspaceRules) {
432
432
  logger.step("Workspace rules creation");
433
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.workspaceRules, createWorkspaceRule);
433
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.workspaceRules, createWorkspaceRule);
434
434
  }
435
435
  if (manifest.groups) {
436
436
  logger.step("Groups");
437
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.groups, createGroup);
437
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.groups, createGroup);
438
438
  }
439
439
  if (manifest.whitelists) {
440
440
  logger.step("Whitelists");
441
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.whitelists, createWhitelist);
441
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.whitelists, createWhitelist);
442
442
  }
443
443
  if (manifest.tradelink) {
444
444
  logger.step("TradeLink");
445
445
  const adminDevices = await pool.getOnboardingAdminDevices();
446
- await _chunk4XY6A2YSjs.queue.call(void 0,
446
+ await _chunkGBWFFILFjs.queue.call(void 0,
447
447
  adminDevices.map((a) => ({ user: a[1], contractNames: ["TRADELINK_ADDENDUM", "TRADELINK"] })),
448
448
  approveContracts
449
449
  );
450
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.tradelink.custodians, createTradelinkCustodian);
451
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.tradelink.assetManagers, createTradelinkAssetManager);
452
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.tradelink.exchanges, createTradelinkExchange);
450
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.tradelink.custodians, createTradelinkCustodian);
451
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.tradelink.assetManagers, createTradelinkAssetManager);
452
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.tradelink.exchanges, createTradelinkExchange);
453
453
  await createTradelinkNetwork(manifest.tradelink);
454
454
  if (manifest.tradelink.onboarded) {
455
455
  await onboardTradelinkNetwork(manifest.tradelink);
456
- await _chunk4XY6A2YSjs.queue.call(void 0,
456
+ await _chunkGBWFFILFjs.queue.call(void 0,
457
457
  manifest.tradelink.exchanges,
458
458
  (exchange) => onboardTradelinkEntity(exchange, "exchanges")
459
459
  );
460
- await _chunk4XY6A2YSjs.queue.call(void 0,
460
+ await _chunkGBWFFILFjs.queue.call(void 0,
461
461
  manifest.tradelink.assetManagers,
462
462
  (am) => onboardTradelinkEntity(am, "asset_managers")
463
463
  );
@@ -465,20 +465,20 @@ async function bakeManifest(_manifest, pool, options = {}) {
465
465
  }
466
466
  if (manifest.policies) {
467
467
  logger.step("Policies");
468
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.policies, createVaultPolicy);
468
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.policies, createVaultPolicy);
469
469
  }
470
470
  if (manifest.accounts) {
471
471
  logger.step("Accounts");
472
472
  manifest.accounts = _orderBy2.default.call(void 0, manifest.accounts, "contractAddress", "desc");
473
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.accounts, createAccount);
473
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.accounts, createAccount);
474
474
  }
475
475
  if (manifest.entities) {
476
476
  logger.step("Entities");
477
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.entities, createVaultEntity);
477
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.entities, createVaultEntity);
478
478
  }
479
479
  if (manifest.exchanges) {
480
480
  logger.step("Exchanges");
481
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.exchanges, createVaultExchange);
481
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.exchanges, createVaultExchange);
482
482
  }
483
483
  if (manifest.quorum) {
484
484
  logger.step("Quorum");
@@ -486,7 +486,7 @@ async function bakeManifest(_manifest, pool, options = {}) {
486
486
  }
487
487
  if (manifest.contractApprovals) {
488
488
  logger.step("Contract Approvals");
489
- await _chunk4XY6A2YSjs.queue.call(void 0, manifest.contractApprovals, approveContracts);
489
+ await _chunkGBWFFILFjs.queue.call(void 0, manifest.contractApprovals, approveContracts);
490
490
  }
491
491
  logger.success("Done");
492
492
  async function editQuorum(quorum) {
@@ -570,7 +570,7 @@ async function bakeManifest(_manifest, pool, options = {}) {
570
570
  }
571
571
  function genCreateUser(role) {
572
572
  return async function createUser(device) {
573
- const name = manifest.customUsernames && manifest.customUsernames[device] || _chunk4XY6A2YSjs.getDefaultUsername.call(void 0, role, device);
573
+ const name = manifest.customUsernames && manifest.customUsernames[device] || _chunkGBWFFILFjs.getDefaultUsername.call(void 0, role, device);
574
574
  const userID = await pool.getUserID(device);
575
575
  const findByUserID = (ud) => ud.user.user_id === userID;
576
576
  const existingUser = usersWithDevice.find(findByUserID);
@@ -1271,11 +1271,11 @@ var pathArrayToString = (path) => {
1271
1271
  if (!path[0] || !path[1]) throw new Error("Invalid path array");
1272
1272
  return `${path[0] & 268435455}'/${path[1] & 268435455}'`;
1273
1273
  };
1274
- var __DEVICE_API_NETWORK__ = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
1274
+ var __DEVICE_API_NETWORK__ = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
1275
1275
  baseURL: process.env.VAULT_DEVICE_API_URL || "https://localhost:8443/device-api"
1276
1276
  });
1277
1277
  function setDeviceAPIEndpoint(url) {
1278
- __DEVICE_API_NETWORK__ = _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: url });
1278
+ __DEVICE_API_NETWORK__ = _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: url });
1279
1279
  }
1280
1280
  function createAPIDevice(options = {}) {
1281
1281
  const { deviceAPISessionID, overrideSeeds, deviceAPIURL, psdModel = "STAX" } = options;
@@ -1298,7 +1298,7 @@ function createAPIDevice(options = {}) {
1298
1298
  version: 3
1299
1299
  // This is used to choose Noise Channel mode
1300
1300
  };
1301
- const deviceAPINetwork = deviceAPIURL ? _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: deviceAPIURL }) : __DEVICE_API_NETWORK__;
1301
+ const deviceAPINetwork = deviceAPIURL ? _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: deviceAPIURL }) : __DEVICE_API_NETWORK__;
1302
1302
  return deviceAPINetwork(method, url, data, requestOptions);
1303
1303
  };
1304
1304
  const getPublicKey = async (transport, path, secp256k1 = true) => {
@@ -1895,7 +1895,7 @@ function createInteractions(device) {
1895
1895
  const finalizePairing = {
1896
1896
  responseKey: "pairing_payload",
1897
1897
  action: ({ onboardingRegisterChallenge, transport, u2f_key }) => {
1898
- const secure_channel = _chunk4XY6A2YSjs.extractSecureChannel.call(void 0,
1898
+ const secure_channel = _chunkGBWFFILFjs.extractSecureChannel.call(void 0,
1899
1899
  onboardingRegisterChallenge,
1900
1900
  u2f_key.pubKey.toUpperCase()
1901
1901
  );
@@ -1910,7 +1910,7 @@ function createInteractions(device) {
1910
1910
  const onboardingRegisterDevice = {
1911
1911
  responseKey: "u2f_register",
1912
1912
  action: async ({ u2f_key, onboardingRegisterChallenge, role, username, transport }) => {
1913
- const secure_channel = _chunk4XY6A2YSjs.extractSecureChannel.call(void 0,
1913
+ const secure_channel = _chunkGBWFFILFjs.extractSecureChannel.call(void 0,
1914
1914
  onboardingRegisterChallenge,
1915
1915
  u2f_key.pubKey.toUpperCase()
1916
1916
  );
@@ -2102,8 +2102,8 @@ var createDevicesPool = (options, { logger = _vaultutils.SILENT_LOGGER } = {}) =
2102
2102
  recordStore
2103
2103
  });
2104
2104
  const { loginFlow, readOnlyLoginFlow, registerUserFlow, approveFlow, approveFlowWithoutHSM } = interactions;
2105
- const workspace = _chunk4XY6A2YSjs.getWorkspaceFromGate.call(void 0, gate);
2106
- const network = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2105
+ const workspace = _chunkGBWFFILFjs.getWorkspaceFromGate.call(void 0, gate);
2106
+ const network = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2107
2107
  baseURL: gate,
2108
2108
  networkDelay
2109
2109
  });
@@ -2146,7 +2146,7 @@ var createDevicesPool = (options, { logger = _vaultutils.SILENT_LOGGER } = {}) =
2146
2146
  };
2147
2147
  const injectToken = () => _token;
2148
2148
  if (!_token || process.env.NODE_ENV === "test") {
2149
- const network2 = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2149
+ const network2 = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2150
2150
  baseURL: gate,
2151
2151
  interceptToken,
2152
2152
  injectToken,
@@ -2160,7 +2160,7 @@ var createDevicesPool = (options, { logger = _vaultutils.SILENT_LOGGER } = {}) =
2160
2160
  throw new Error("Could not extract token from login");
2161
2161
  }
2162
2162
  }
2163
- const authNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2163
+ const authNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2164
2164
  baseURL: gate,
2165
2165
  token: _token,
2166
2166
  networkDelay
@@ -2263,7 +2263,7 @@ var createDevicesPool = (options, { logger = _vaultutils.SILENT_LOGGER } = {}) =
2263
2263
  }
2264
2264
  }
2265
2265
  };
2266
- const apiNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2266
+ const apiNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2267
2267
  baseURL: lamURL || "",
2268
2268
  networkDelay
2269
2269
  });
@@ -2326,7 +2326,7 @@ var createDevicesPool_default = createDevicesPool;
2326
2326
 
2327
2327
  // src/createFaucet.ts
2328
2328
  var createPralineFaucet = (url) => async (opts) => {
2329
- const network = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2329
+ const network = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2330
2330
  baseURL: url
2331
2331
  });
2332
2332
  const { recipient, amount } = opts;
@@ -2365,13 +2365,13 @@ async function createPledge({
2365
2365
  }, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2366
2366
  const gateAccount = accountsByName[account.name];
2367
2367
  if (!gateAccount) throw new Error(`Can't find account with name ${account.name}`);
2368
- const apiNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2368
+ const apiNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2369
2369
  baseURL: apiGateway
2370
2370
  });
2371
2371
  logger.info(`Authenticate for ${apiUser.name}`);
2372
- const workspace = _chunk4XY6A2YSjs.getWorkspaceFromGate.call(void 0, gate);
2373
- const bearerToken = await _chunkY5S46OBEjs.authenticate.call(void 0, pool, apiNetwork, workspace, apiUser, logger);
2374
- const pledge = await _chunkY5S46OBEjs.getTradelinkPledge.call(void 0, {
2372
+ const workspace = _chunkGBWFFILFjs.getWorkspaceFromGate.call(void 0, gate);
2373
+ const bearerToken = await _chunkA6UNM54Vjs.authenticate.call(void 0, pool, apiNetwork, workspace, apiUser, logger);
2374
+ const pledge = await _chunkA6UNM54Vjs.getTradelinkPledge.call(void 0, {
2375
2375
  apiNetwork,
2376
2376
  workspace,
2377
2377
  gateAccount,
@@ -2385,8 +2385,8 @@ async function createPledge({
2385
2385
  const admin = await pool.login(4);
2386
2386
  tokens = await fetchTokens_default(admin, { logger });
2387
2387
  }
2388
- const unit = _chunk4XY6A2YSjs.getAccountUnit.call(void 0, account, tokens);
2389
- const serializedAmount = _chunk4XY6A2YSjs.serializeUnitValue.call(void 0, unit, amount);
2388
+ const unit = _chunkGBWFFILFjs.getAccountUnit.call(void 0, account, tokens);
2389
+ const serializedAmount = _chunkGBWFFILFjs.serializeUnitValue.call(void 0, unit, amount);
2390
2390
  const data = {
2391
2391
  type: "CREATE_PLEDGE_INCREMENT",
2392
2392
  data: {
@@ -2411,7 +2411,7 @@ async function createPledge({
2411
2411
  });
2412
2412
  logger.info(`Approving pledge ${pledgeRequestResp.id}`);
2413
2413
  logger.info("Decode challenge");
2414
- const apiChallenge = await _chunkY5S46OBEjs.decodeChallenge.call(void 0, {
2414
+ const apiChallenge = await _chunkA6UNM54Vjs.decodeChallenge.call(void 0, {
2415
2415
  apiNetwork,
2416
2416
  workspace,
2417
2417
  bearerToken,
@@ -2420,7 +2420,7 @@ async function createPledge({
2420
2420
  });
2421
2421
  logger.info(apiChallenge.decodedChallenge);
2422
2422
  logger.info("Sign and approve");
2423
- return await _chunkY5S46OBEjs.signAndApprove.call(void 0, {
2423
+ return await _chunkA6UNM54Vjs.signAndApprove.call(void 0, {
2424
2424
  apiNetwork,
2425
2425
  workspace,
2426
2426
  bearerToken,
@@ -2447,20 +2447,20 @@ async function createSettlement({
2447
2447
  }, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2448
2448
  const gateAccount = accountsByName[account.name];
2449
2449
  if (!gateAccount) throw new Error(`Can't find account with name ${account.name}`);
2450
- const apiNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, {
2450
+ const apiNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, {
2451
2451
  baseURL: apiGateway
2452
2452
  });
2453
2453
  logger.info(`Authenticate for ${apiUser.name}`);
2454
- const workspace = _chunk4XY6A2YSjs.getWorkspaceFromGate.call(void 0, gate);
2455
- const bearerToken = await _chunkY5S46OBEjs.authenticate.call(void 0, pool, apiNetwork, workspace, apiUser, logger);
2456
- const pledge = await _chunkY5S46OBEjs.getTradelinkPledge.call(void 0, {
2454
+ const workspace = _chunkGBWFFILFjs.getWorkspaceFromGate.call(void 0, gate);
2455
+ const bearerToken = await _chunkA6UNM54Vjs.authenticate.call(void 0, pool, apiNetwork, workspace, apiUser, logger);
2456
+ const pledge = await _chunkA6UNM54Vjs.getTradelinkPledge.call(void 0, {
2457
2457
  apiNetwork,
2458
2458
  workspace,
2459
2459
  gateAccount,
2460
2460
  bearerToken,
2461
2461
  exchange
2462
2462
  });
2463
- const recipient = await _chunkY5S46OBEjs.getTradelinkRecipient.call(void 0, { pool, gateAccount, pledge });
2463
+ const recipient = await _chunkA6UNM54Vjs.getTradelinkRecipient.call(void 0, { pool, gateAccount, pledge });
2464
2464
  const settlementAmount = Math.floor(pledge.amount * percentage / 100);
2465
2465
  let txIntent = {
2466
2466
  account_id: gateAccount.id,
@@ -2556,10 +2556,10 @@ async function deploy(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2556
2556
  const now = Date.now();
2557
2557
  logger.step(`Deploying ${payload.name}`);
2558
2558
  const url = remoteURL.replace(/https:\/\/(.*?)\./, `https://${payload.name}.`);
2559
- const network = _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: `${remoteURL}/api` });
2559
+ const network = _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: `${remoteURL}/api` });
2560
2560
  const deployment = await network("POST", "/deploy", payload);
2561
2561
  const gateURL = `https://${deployment.instance.name}.${deployment.instance.host}/gate/minivault`;
2562
- const gateNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: gateURL });
2562
+ const gateNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: gateURL });
2563
2563
  let state = toSimplifiedState(deployment);
2564
2564
  const logState = () => {
2565
2565
  const step = deployment.steps.find((s) => s.key === state.currentStep);
@@ -2597,14 +2597,14 @@ async function deploy(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2597
2597
  await gateNetwork("GET", "/onboarding/state");
2598
2598
  resolve();
2599
2599
  } catch (e2) {
2600
- await _chunk4XY6A2YSjs.wait.call(void 0, 3e3);
2600
+ await _chunkGBWFFILFjs.wait.call(void 0, 3e3);
2601
2601
  pollGate();
2602
2602
  }
2603
2603
  }
2604
2604
  if (useHTTPPolling) {
2605
2605
  logger.info("Using HTTP polling strategy (will not output deployment steps)");
2606
2606
  logger.info("Waiting 30 seconds for domain to be deployed...");
2607
- await _chunk4XY6A2YSjs.wait.call(void 0, 3e4);
2607
+ await _chunkGBWFFILFjs.wait.call(void 0, 3e4);
2608
2608
  logger.info("Waiting for Gate to be ready...");
2609
2609
  pollGate();
2610
2610
  } else {
@@ -2624,7 +2624,7 @@ async function deploy(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2624
2624
 
2625
2625
  async function destroy(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2626
2626
  const { remoteURL = DEFAULT_VAULT_REMOTE_URL, name } = opts;
2627
- const network = _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: `${remoteURL}/api` });
2627
+ const network = _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: `${remoteURL}/api` });
2628
2628
  await network("DELETE", `/instances/${name}`);
2629
2629
  logger.success(`Successfully destroyed instance ${name}`);
2630
2630
  if (opts.wait) {
@@ -2649,7 +2649,7 @@ async function destroy(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2649
2649
  async function getMVInstances(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2650
2650
  const { remoteURL = DEFAULT_VAULT_REMOTE_URL } = opts;
2651
2651
  logger.info("Fetching instances...");
2652
- const network = _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: `${remoteURL}/api` });
2652
+ const network = _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: `${remoteURL}/api` });
2653
2653
  const instances = await network("GET", "/instances");
2654
2654
  return instances;
2655
2655
  }
@@ -2692,8 +2692,8 @@ async function send({
2692
2692
  const admin = await pool.login(4);
2693
2693
  tokens = await fetchTokens_default(admin, { logger });
2694
2694
  }
2695
- const unit = _chunk4XY6A2YSjs.getAccountUnit.call(void 0, account, tokens);
2696
- const serializedAmount = _chunk4XY6A2YSjs.serializeUnitValue.call(void 0, unit, transaction.amount);
2695
+ const unit = _chunkGBWFFILFjs.getAccountUnit.call(void 0, account, tokens);
2696
+ const serializedAmount = _chunkGBWFFILFjs.serializeUnitValue.call(void 0, unit, transaction.amount);
2697
2697
  const matchingRule = getMatchingMultiAuthRule({
2698
2698
  account,
2699
2699
  transaction,
@@ -2925,7 +2925,7 @@ async function upgrade(opts, { logger = _vaultutils.SILENT_LOGGER } = {}) {
2925
2925
  const now = Date.now();
2926
2926
  logger.step(`Upgrading ${payload.name}`);
2927
2927
  const socket = _socketioclient2.default.call(void 0, remoteURL);
2928
- const network = _chunkGUCXQ7R6js.createNetwork.call(void 0, { baseURL: remoteURL });
2928
+ const network = _chunkLBTWTQGWjs.createNetwork.call(void 0, { baseURL: remoteURL });
2929
2929
  const { jobID } = await network("PUT", "/api/upgrade", payload);
2930
2930
  let resolve = null;
2931
2931
  let reject = null;
@@ -2996,7 +2996,7 @@ function validateManifest(_manifest) {
2996
2996
  }
2997
2997
  if ("currency" in account) {
2998
2998
  try {
2999
- _chunk4XY6A2YSjs.getCryptoCurrencyById.call(void 0, account.currency);
2999
+ _chunkGBWFFILFjs.getCryptoCurrencyById.call(void 0, account.currency);
3000
3000
  } catch (e) {
3001
3001
  throw Error(`Invalid account currency: "${account.currency}"`);
3002
3002
  }
@@ -3096,7 +3096,7 @@ function validateManifest(_manifest) {
3096
3096
  manifest.whitelists.forEach((whitelist) => {
3097
3097
  whitelist.addresses.map((address) => {
3098
3098
  try {
3099
- _chunk4XY6A2YSjs.getCryptoCurrencyById.call(void 0, address.currency);
3099
+ _chunkGBWFFILFjs.getCryptoCurrencyById.call(void 0, address.currency);
3100
3100
  } catch (e) {
3101
3101
  throw Error(`Invalid whitelist currency: "${address.currency}"`);
3102
3102
  }
@@ -3169,7 +3169,7 @@ async function wipeBackend(wipeOpts, runnableOpts = {}) {
3169
3169
  }
3170
3170
  logger.step("Wiping backend data");
3171
3171
  const gateNetworkOptions = { baseURL: wipeOpts.gate };
3172
- const gateNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, gateNetworkOptions);
3172
+ const gateNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, gateNetworkOptions);
3173
3173
  try {
3174
3174
  await gateNetwork("POST", "/maintenance/wipe");
3175
3175
  } catch (e4) {
@@ -3182,7 +3182,7 @@ async function wipeBackend(wipeOpts, runnableOpts = {}) {
3182
3182
  if (wipeOpts.lam) {
3183
3183
  const lamNetworkOptions = { baseURL: wipeOpts.lam };
3184
3184
  const headersAPILam = wipeOpts.lamAPIKey ? { headers: { "X-Ledger-API-Key": wipeOpts.lamAPIKey } } : {};
3185
- const lamNetwork = _chunkGUCXQ7R6js.createNetwork.call(void 0, lamNetworkOptions);
3185
+ const lamNetwork = _chunkLBTWTQGWjs.createNetwork.call(void 0, lamNetworkOptions);
3186
3186
  logger.step("Wiping LAM data");
3187
3187
  try {
3188
3188
  const lamWipeResponse = await lamNetwork(
@@ -3199,7 +3199,7 @@ async function wipeBackend(wipeOpts, runnableOpts = {}) {
3199
3199
  }
3200
3200
  }
3201
3201
  logger.step("Resetting HSM compartment");
3202
- const hsmBridge = _chunkVKKF4FUUjs.createHSMBridge_default.call(void 0, wipeOpts);
3202
+ const hsmBridge = _chunk42W3DGXBjs.createHSMBridge_default.call(void 0, wipeOpts);
3203
3203
  await hsmBridge.resetCompartment(wipeOpts.hsmCompartmentID, runnableOpts);
3204
3204
  logger.success("Wiped backend data");
3205
3205
  }
@@ -3255,5 +3255,5 @@ var wipeBackend_default = wipeBackend;
3255
3255
 
3256
3256
 
3257
3257
 
3258
- exports.DEFAULT_SPAWN_WATCH_TIMEOUT_MINUTES = DEFAULT_SPAWN_WATCH_TIMEOUT_MINUTES; exports.DEFAULT_VAULT_REMOTE_URL = DEFAULT_VAULT_REMOTE_URL; exports.GateGroupRequestTypeDefs = _chunkPDP57LSKjs.GateGroupRequestTypeDefs; exports.LIGHT_EVM_CURRENCIES = _chunk4XY6A2YSjs.LIGHT_EVM_CURRENCIES; exports.bakeManifest = bakeManifest; exports.createAPIDevice = createAPIDevice_default; exports.createConfigCatEnvironment = createConfigCatEnvironment; exports.createDevicesPool = createDevicesPool_default; exports.createFaucet = createFaucet_default; exports.createInteractions = createInteractions; exports.createNetwork = _chunkGUCXQ7R6js.createNetwork; exports.createPledge = createPledge_default; exports.createSettlement = createSettlement_default; exports.deleteConfigCatEnvironment = deleteConfigCatEnvironment; exports.deploy = deploy; exports.deserializeUnitValue = _chunk4XY6A2YSjs.deserializeUnitValue; exports.destroy = destroy; exports.device = device_exports; exports.extractSecureChannel = _chunk4XY6A2YSjs.extractSecureChannel; exports.feesLevels = _chunkPDP57LSKjs.feesLevels; exports.fetchTokens = fetchTokens_default; exports.genSeed = genSeed_default; exports.getAccountTypeByCurrency = _chunk4XY6A2YSjs.getAccountTypeByCurrency; exports.getAccountUnit = _chunk4XY6A2YSjs.getAccountUnit; exports.getAuthTokens = _chunkY5S46OBEjs.getAuthTokens; exports.getCryptoCurrencyById = _chunk4XY6A2YSjs.getCryptoCurrencyById; exports.getCurrencyOrToken = _chunk4XY6A2YSjs.getCurrencyOrToken; exports.getCurrencyUnit = _chunk4XY6A2YSjs.getCurrencyUnit; exports.getDefaultUsername = _chunk4XY6A2YSjs.getDefaultUsername; exports.getGateAccountUnit = _chunk4XY6A2YSjs.getGateAccountUnit; exports.getMVInstances = getMVInstances; exports.getTokenUnit = _chunk4XY6A2YSjs.getTokenUnit; exports.getWorkspaceFromGate = _chunk4XY6A2YSjs.getWorkspaceFromGate; exports.listCryptoCurrencies = _chunk4XY6A2YSjs.listCryptoCurrencies; exports.performRequest = _chunkY5S46OBEjs.performRequest; exports.prepareRequest = _chunkY5S46OBEjs.prepareRequest_default; exports.queue = _chunk4XY6A2YSjs.queue; exports.recipeManifest = _chunkC7MZATA3js.recipeManifest; exports.reviewAPIRequest = _chunkY5S46OBEjs.reviewAPIRequest_default; exports.send = send_default; exports.serializeUnitValue = _chunk4XY6A2YSjs.serializeUnitValue; exports.setConfigCatFeatureFlagValues = setConfigCatFeatureFlagValues; exports.setDeviceAPIEndpoint = setDeviceAPIEndpoint; exports.unwrapConnection = _chunk4XY6A2YSjs.unwrapConnection; exports.upgrade = upgrade; exports.validateManifest = validateManifest; exports.vaultCoins = _chunk4XY6A2YSjs.vaultCoins; exports.wait = _chunk4XY6A2YSjs.wait; exports.wipeBackend = wipeBackend_default; exports.xpubToExtendedPubKey = _chunk4XY6A2YSjs.xpubToExtendedPubKey;
3258
+ exports.DEFAULT_SPAWN_WATCH_TIMEOUT_MINUTES = DEFAULT_SPAWN_WATCH_TIMEOUT_MINUTES; exports.DEFAULT_VAULT_REMOTE_URL = DEFAULT_VAULT_REMOTE_URL; exports.GateGroupRequestTypeDefs = _chunkLUGUDCF7js.GateGroupRequestTypeDefs; exports.LIGHT_EVM_CURRENCIES = _chunkGBWFFILFjs.LIGHT_EVM_CURRENCIES; exports.bakeManifest = bakeManifest; exports.createAPIDevice = createAPIDevice_default; exports.createConfigCatEnvironment = createConfigCatEnvironment; exports.createDevicesPool = createDevicesPool_default; exports.createFaucet = createFaucet_default; exports.createInteractions = createInteractions; exports.createNetwork = _chunkLBTWTQGWjs.createNetwork; exports.createPledge = createPledge_default; exports.createSettlement = createSettlement_default; exports.deleteConfigCatEnvironment = deleteConfigCatEnvironment; exports.deploy = deploy; exports.deserializeUnitValue = _chunkGBWFFILFjs.deserializeUnitValue; exports.destroy = destroy; exports.device = device_exports; exports.extractSecureChannel = _chunkGBWFFILFjs.extractSecureChannel; exports.feesLevels = _chunkLUGUDCF7js.feesLevels; exports.fetchTokens = fetchTokens_default; exports.genSeed = genSeed_default; exports.getAccountTypeByCurrency = _chunkGBWFFILFjs.getAccountTypeByCurrency; exports.getAccountUnit = _chunkGBWFFILFjs.getAccountUnit; exports.getAuthTokens = _chunkA6UNM54Vjs.getAuthTokens; exports.getCryptoCurrencyById = _chunkGBWFFILFjs.getCryptoCurrencyById; exports.getCurrencyOrToken = _chunkGBWFFILFjs.getCurrencyOrToken; exports.getCurrencyUnit = _chunkGBWFFILFjs.getCurrencyUnit; exports.getDefaultUsername = _chunkGBWFFILFjs.getDefaultUsername; exports.getGateAccountUnit = _chunkGBWFFILFjs.getGateAccountUnit; exports.getMVInstances = getMVInstances; exports.getTokenUnit = _chunkGBWFFILFjs.getTokenUnit; exports.getWorkspaceFromGate = _chunkGBWFFILFjs.getWorkspaceFromGate; exports.listCryptoCurrencies = _chunkGBWFFILFjs.listCryptoCurrencies; exports.performRequest = _chunkA6UNM54Vjs.performRequest; exports.prepareRequest = _chunkA6UNM54Vjs.prepareRequest_default; exports.queue = _chunkGBWFFILFjs.queue; exports.recipeManifest = _chunkZ3OMUBXEjs.recipeManifest; exports.reviewAPIRequest = _chunkA6UNM54Vjs.reviewAPIRequest_default; exports.send = send_default; exports.serializeUnitValue = _chunkGBWFFILFjs.serializeUnitValue; exports.setConfigCatFeatureFlagValues = setConfigCatFeatureFlagValues; exports.setDeviceAPIEndpoint = setDeviceAPIEndpoint; exports.unwrapConnection = _chunkGBWFFILFjs.unwrapConnection; exports.upgrade = upgrade; exports.validateManifest = validateManifest; exports.vaultCoins = _chunkGBWFFILFjs.vaultCoins; exports.wait = _chunkGBWFFILFjs.wait; exports.wipeBackend = wipeBackend_default; exports.xpubToExtendedPubKey = _chunkGBWFFILFjs.xpubToExtendedPubKey;
3259
3259
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { cL as GateAccountsByName, cN as GateExchangesByName, cJ as GateGroupsByName, cO as GatePoliciesByName, cU as GateTradelinkAssetManagerByName, cP as GateTradelinkCustodianByName, cR as GateTradelinkExchangeByName, cT as GateTradelinkHSMAssetManagerByName, cQ as GateTradelinkHSMCustodianByName, cS as GateTradelinkHSMExchangeByName, cM as GateVaultEntitiesByName, cK as GateWhitelistsByName, cX as RecipeManifestOptions, cW as RecipeManifestResult, cV as RecipeRawData, t as default, cI as getDeviceIndex } from './index-BIQCk3eV.js';
1
+ export { cL as GateAccountsByName, cN as GateExchangesByName, cJ as GateGroupsByName, cO as GatePoliciesByName, cU as GateTradelinkAssetManagerByName, cP as GateTradelinkCustodianByName, cR as GateTradelinkExchangeByName, cT as GateTradelinkHSMAssetManagerByName, cQ as GateTradelinkHSMCustodianByName, cS as GateTradelinkHSMExchangeByName, cM as GateVaultEntitiesByName, cK as GateWhitelistsByName, cX as RecipeManifestOptions, cW as RecipeManifestResult, cV as RecipeRawData, t as default, cI as getDeviceIndex } from './index--kkMSHZ6.js';
2
2
  import '@ledgerhq/hw-transport-mocker';
3
3
  import '@ledgerhq/types-cryptoassets';
4
4
  import '@ledgerhq/vault-utils';
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkC7MZATA3js = require('./chunk-C7MZATA3.js');
5
- require('./chunk-4XY6A2YS.js');
4
+ var _chunkZ3OMUBXEjs = require('./chunk-Z3OMUBXE.js');
5
+ require('./chunk-GBWFFILF.js');
6
6
  require('./chunk-PZ5AY32C.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkC7MZATA3js.recipeManifest; exports.getDeviceIndex = _chunkC7MZATA3js.getDeviceIndex;
10
+ exports.default = _chunkZ3OMUBXEjs.recipeManifest; exports.getDeviceIndex = _chunkZ3OMUBXEjs.getDeviceIndex;
11
11
  //# sourceMappingURL=recipeManifest.js.map
@@ -1,4 +1,4 @@
1
- import { D as DevicesPool, b as ManifestAPIV2User, R as RunnableOptions, c as APIRequestResponse } from './index-BIQCk3eV.js';
1
+ import { D as DevicesPool, b as ManifestAPIV2User, R as RunnableOptions, c as APIRequestResponse } from './index--kkMSHZ6.js';
2
2
  import '@ledgerhq/hw-transport-mocker';
3
3
  import '@ledgerhq/types-cryptoassets';
4
4
  import '@ledgerhq/vault-utils';
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkY5S46OBEjs = require('./chunk-Y5S46OBE.js');
4
- require('./chunk-GUCXQ7R6.js');
5
- require('./chunk-4XY6A2YS.js');
3
+ var _chunkA6UNM54Vjs = require('./chunk-A6UNM54V.js');
4
+ require('./chunk-LBTWTQGW.js');
5
+ require('./chunk-GBWFFILF.js');
6
6
  require('./chunk-3L2XDBZ2.js');
7
7
  require('./chunk-PZ5AY32C.js');
8
8
 
9
9
 
10
- exports.default = _chunkY5S46OBEjs.reviewAPIRequest_default;
10
+ exports.default = _chunkA6UNM54Vjs.reviewAPIRequest_default;
11
11
  //# sourceMappingURL=reviewAPIRequest.js.map
@@ -3,4 +3,4 @@ export { CryptoCurrency, TokenCurrency } from '@ledgerhq/types-cryptoassets';
3
3
  import '@ledgerhq/vault-utils';
4
4
  import 'bignumber.js';
5
5
  import 'socket.io-client';
6
- export { A as APIBearerTokenResponse, cD as APIBitcoinLikeSend, cB as APICreateTransactionRequest, cF as APIEstimateFeesResponse, cE as APIEthereumLikeSend, cC as APIGenericSend, cA as APIGetChallengeResponse, c as APIRequestResponse, af as AccountStatus, ae as AccountType, a9 as AdminDevice, B as BakeManifestOptions, cG as CardanoBalances, cH as CardanoStakeInfo, a_ as CardanoVoteDelegationDrep, C as CliOptions, O as Connection, K as ConnectionEdge, c8 as CurrencyOrToken, c4 as DaemonAddress, cp as DataTradelinkNetworkEntity, d as DeployOptions, cu as DeploymentStep, ct as DeploymentStepID, bU as DeserializedManifest, e as DestroyOptions, D as DevicesPool, z as DevicesPoolOptions, E as EntityType, bW as FeesLevel, a5 as GateAPIKey, bi as GateAPIKeyRequest, b8 as GateAPIV2UserAccessRequest, G as GateAccount, aF as GateAccountBitcoin, aM as GateAccountCardano, aw as GateAccountCommon, aH as GateAccountERC20, az as GateAccountEthereum, ax as GateAccountExchangeOptions, aO as GateAccountPolkadot, b1 as GateAccountRequest, aI as GateAccountRipple, aL as GateAccountSolana, aJ as GateAccountStellar, aG as GateAccountTRC20, aK as GateAccountTezos, ay as GateAccountTradelinkData, aN as GateAccountTron, b3 as GateActivateRequest, a$ as GateAddress, c0 as GateCoinCapabilities, c1 as GateCurrency, a3 as GateDeviceType, ab as GateDigestGroup, bg as GateDigestsRequest, Q as GateEditWorkspaceRuleRequest, X as GateEntity, aT as GateExchange, bc as GateExchangeRequest, ac as GateFees, ad as GateFeesEIP1559, _ as GateForcedUnpledge, b6 as GateForcedUnpledgeRequest, b0 as GateGenericRequest, an as GateGovernanceRule, ao as GateGovernanceRulesSet, aa as GateGroup, bf as GateGroupRequest, be as GateGroupRequestTypeDefs, av as GateLabel, a8 as GateMessage, ba as GateMessageRequest, bh as GateOrganizationRequest, Y as GatePledgeIncrement, b5 as GatePledgeIncrementRequest, aU as GatePolicy, bl as GatePolicyRequest, Z as GateRepledge, b4 as GateRepledgeRequest, S as GateRequest, V as GateRequestType, ai as GateRuleMultiAuth, ah as GateRuleMultiAuthStep, al as GateRuleSCI, aj as GateRuleThreshold, am as GateRuleTransactionFilter, ak as GateRuleWhitelist, a7 as GateSCIConfig, b9 as GateSCIConfigRequest, b2 as GateSPLTokenAccountRequest, i as GateTokenCurrency, a0 as GateTradelink, a2 as GateTradelinkAssetManager, aD as GateTradelinkAssetManagerRequest, aV as GateTradelinkEntity, a1 as GateTradelinkExchange, aC as GateTradelinkExchangeRequest, aW as GateTradelinkNetwork, aX as GateTradelinkOnboardingStatus, aB as GateTradelinkRequest, aA as GateTradelinkThirdParty, o as GateTransaction, bd as GateTransactionRequest, aZ as GateTransactionType, a6 as GateTransfer, bj as GateTransferRequest, a4 as GateUser, b7 as GateUserRequest, aY as GateVaultEntity, bk as GateVaultEntityRequest, aP as GateVaultEntityStatus, m as GateWhitelist, bb as GateWhitelistRequest, aQ as GateWorkspacePermission, aS as GateWorkspaceRule, aR as GateWorkspaceRuleStep, cz as GetU2FPubKeyInteraction, H as HelmValue, J as HelmValues, cr as HsmCertificate, q as Interaction, cy as InteractionResponses, I as Interactions, L as LamOptions, b$ as LegacyERC20Token, cl as MBRBakeTradelinkEntityWithAddresses, cd as MRBakeAccountParams, cg as MRBakeExchangeParams, cc as MRBakeGroupParams, ch as MRBakePolicyParams, cn as MRBakeTradelinkEntityOnboardingParams, cm as MRBakeTradelinkEntityParams, co as MRBakeTradelinkNetworkParams, ci as MRBakeTradelinkOnboardingParams, ce as MRBakeVaultEntityParams, cf as MRBakeWhitelistParams, ca as MRCreateAPIUserParams, cb as MRCreateAPIV2UserParams, c9 as MRCreateUserParams, cj as MREditQuorumParams, ck as MREditWorkspaceRuleParams, j as MVInstance, cw as MVInstanceDeployment, cv as MVInstanceDeploymentFF, cx as MVPod, M as Manifest, bL as ManifestAPIUser, b as ManifestAPIV2User, a as ManifestAccount, bF as ManifestAccountConfig, bE as ManifestAccountRule, bv as ManifestAccountRuleCardanoStaking, bA as ManifestAccountRuleCreateSplTokenAccount, bt as ManifestAccountRuleDeployContract, bz as ManifestAccountRuleMessageSigning, bp as ManifestAccountRuleMultiAuth, bo as ManifestAccountRuleMultiAuthStep, bs as ManifestAccountRulePolkadotStaking, bw as ManifestAccountRuleRawSigning, bq as ManifestAccountRuleSCI, bx as ManifestAccountRuleSend, bu as ManifestAccountRuleSolanaStaking, by as ManifestAccountRuleStake, br as ManifestAccountRuleTezosDelegation, bD as ManifestAccountRuleThreshold, bB as ManifestAccountRuleTransferSplToken, bC as ManifestAccountRuleWhitelist, bG as ManifestAccountTradelinkData, bT as ManifestContractApproval, bM as ManifestExchange, l as ManifestGroup, bN as ManifestPolicy, cq as ManifestRunner, bQ as ManifestTradelink, bR as ManifestTradelinkEntity, bS as ManifestTradelinkEntityWithAddresses, k as ManifestTransaction, bK as ManifestUser, bH as ManifestVaultEntity, bJ as ManifestWhitelist, bI as ManifestWhitelistAddress, bP as ManifestWorkspaceRule, bO as ManifestWorkspaceRuleStep, b_ as MockNetworkResponse, N as Network, bX as OnboardingContext, bY as OnboardingStep, bm as Organization, P as PoolOptions, f as PsdModel, w as RawAccount, y as RawEntity, v as RawGroup, u as RawUser, x as RawWhiteList, bZ as RecordLogger, R as RunnableOptions, aE as SPLToken, cs as SecureChannel, $ as TradelinkNetwork, T as TransportType, n as UTXOsPickingStrategy, ag as Unit, p as UpgradeOptions, U as UserContext, F as UserContextRunnable, bn as UserDevice, c6 as UserWithDevice, c7 as UserWithoutDevice, c5 as VaultEvent, c2 as WeirdGateERC20Token, at as WeirdGateGovernanceRule, au as WeirdGateGovernanceRulesSet, aq as WeirdGateRuleMultiAuth, ap as WeirdGateRuleMultiAuthStep, ar as WeirdGateRuleThreshold, as as WeirdGateRuleWhitelist, c3 as WeirdGateTokenCurrency, W as WipeOptions, bV as feesLevels } from '../index-BIQCk3eV.js';
6
+ export { A as APIBearerTokenResponse, cD as APIBitcoinLikeSend, cB as APICreateTransactionRequest, cF as APIEstimateFeesResponse, cE as APIEthereumLikeSend, cC as APIGenericSend, cA as APIGetChallengeResponse, c as APIRequestResponse, af as AccountStatus, ae as AccountType, a9 as AdminDevice, B as BakeManifestOptions, cG as CardanoBalances, cH as CardanoStakeInfo, a_ as CardanoVoteDelegationDrep, C as CliOptions, O as Connection, K as ConnectionEdge, c8 as CurrencyOrToken, c4 as DaemonAddress, cp as DataTradelinkNetworkEntity, d as DeployOptions, cu as DeploymentStep, ct as DeploymentStepID, bU as DeserializedManifest, e as DestroyOptions, D as DevicesPool, z as DevicesPoolOptions, E as EntityType, bW as FeesLevel, a5 as GateAPIKey, bi as GateAPIKeyRequest, b8 as GateAPIV2UserAccessRequest, G as GateAccount, aF as GateAccountBitcoin, aM as GateAccountCardano, aw as GateAccountCommon, aH as GateAccountERC20, az as GateAccountEthereum, ax as GateAccountExchangeOptions, aO as GateAccountPolkadot, b1 as GateAccountRequest, aI as GateAccountRipple, aL as GateAccountSolana, aJ as GateAccountStellar, aG as GateAccountTRC20, aK as GateAccountTezos, ay as GateAccountTradelinkData, aN as GateAccountTron, b3 as GateActivateRequest, a$ as GateAddress, c0 as GateCoinCapabilities, c1 as GateCurrency, a3 as GateDeviceType, ab as GateDigestGroup, bg as GateDigestsRequest, Q as GateEditWorkspaceRuleRequest, X as GateEntity, aT as GateExchange, bc as GateExchangeRequest, ac as GateFees, ad as GateFeesEIP1559, _ as GateForcedUnpledge, b6 as GateForcedUnpledgeRequest, b0 as GateGenericRequest, an as GateGovernanceRule, ao as GateGovernanceRulesSet, aa as GateGroup, bf as GateGroupRequest, be as GateGroupRequestTypeDefs, av as GateLabel, a8 as GateMessage, ba as GateMessageRequest, bh as GateOrganizationRequest, Y as GatePledgeIncrement, b5 as GatePledgeIncrementRequest, aU as GatePolicy, bl as GatePolicyRequest, Z as GateRepledge, b4 as GateRepledgeRequest, S as GateRequest, V as GateRequestType, ai as GateRuleMultiAuth, ah as GateRuleMultiAuthStep, al as GateRuleSCI, aj as GateRuleThreshold, am as GateRuleTransactionFilter, ak as GateRuleWhitelist, a7 as GateSCIConfig, b9 as GateSCIConfigRequest, b2 as GateSPLTokenAccountRequest, i as GateTokenCurrency, a0 as GateTradelink, a2 as GateTradelinkAssetManager, aD as GateTradelinkAssetManagerRequest, aV as GateTradelinkEntity, a1 as GateTradelinkExchange, aC as GateTradelinkExchangeRequest, aW as GateTradelinkNetwork, aX as GateTradelinkOnboardingStatus, aB as GateTradelinkRequest, aA as GateTradelinkThirdParty, o as GateTransaction, bd as GateTransactionRequest, aZ as GateTransactionType, a6 as GateTransfer, bj as GateTransferRequest, a4 as GateUser, b7 as GateUserRequest, aY as GateVaultEntity, bk as GateVaultEntityRequest, aP as GateVaultEntityStatus, m as GateWhitelist, bb as GateWhitelistRequest, aQ as GateWorkspacePermission, aS as GateWorkspaceRule, aR as GateWorkspaceRuleStep, cz as GetU2FPubKeyInteraction, H as HelmValue, J as HelmValues, cr as HsmCertificate, q as Interaction, cy as InteractionResponses, I as Interactions, L as LamOptions, b$ as LegacyERC20Token, cl as MBRBakeTradelinkEntityWithAddresses, cd as MRBakeAccountParams, cg as MRBakeExchangeParams, cc as MRBakeGroupParams, ch as MRBakePolicyParams, cn as MRBakeTradelinkEntityOnboardingParams, cm as MRBakeTradelinkEntityParams, co as MRBakeTradelinkNetworkParams, ci as MRBakeTradelinkOnboardingParams, ce as MRBakeVaultEntityParams, cf as MRBakeWhitelistParams, ca as MRCreateAPIUserParams, cb as MRCreateAPIV2UserParams, c9 as MRCreateUserParams, cj as MREditQuorumParams, ck as MREditWorkspaceRuleParams, j as MVInstance, cw as MVInstanceDeployment, cv as MVInstanceDeploymentFF, cx as MVPod, M as Manifest, bL as ManifestAPIUser, b as ManifestAPIV2User, a as ManifestAccount, bF as ManifestAccountConfig, bE as ManifestAccountRule, bv as ManifestAccountRuleCardanoStaking, bA as ManifestAccountRuleCreateSplTokenAccount, bt as ManifestAccountRuleDeployContract, bz as ManifestAccountRuleMessageSigning, bp as ManifestAccountRuleMultiAuth, bo as ManifestAccountRuleMultiAuthStep, bs as ManifestAccountRulePolkadotStaking, bw as ManifestAccountRuleRawSigning, bq as ManifestAccountRuleSCI, bx as ManifestAccountRuleSend, bu as ManifestAccountRuleSolanaStaking, by as ManifestAccountRuleStake, br as ManifestAccountRuleTezosDelegation, bD as ManifestAccountRuleThreshold, bB as ManifestAccountRuleTransferSplToken, bC as ManifestAccountRuleWhitelist, bG as ManifestAccountTradelinkData, bT as ManifestContractApproval, bM as ManifestExchange, l as ManifestGroup, bN as ManifestPolicy, cq as ManifestRunner, bQ as ManifestTradelink, bR as ManifestTradelinkEntity, bS as ManifestTradelinkEntityWithAddresses, k as ManifestTransaction, bK as ManifestUser, bH as ManifestVaultEntity, bJ as ManifestWhitelist, bI as ManifestWhitelistAddress, bP as ManifestWorkspaceRule, bO as ManifestWorkspaceRuleStep, b_ as MockNetworkResponse, N as Network, bX as OnboardingContext, bY as OnboardingStep, bm as Organization, P as PoolOptions, f as PsdModel, w as RawAccount, y as RawEntity, v as RawGroup, u as RawUser, x as RawWhiteList, bZ as RecordLogger, R as RunnableOptions, aE as SPLToken, cs as SecureChannel, $ as TradelinkNetwork, T as TransportType, n as UTXOsPickingStrategy, ag as Unit, p as UpgradeOptions, U as UserContext, F as UserContextRunnable, bn as UserDevice, c6 as UserWithDevice, c7 as UserWithoutDevice, c5 as VaultEvent, c2 as WeirdGateERC20Token, at as WeirdGateGovernanceRule, au as WeirdGateGovernanceRulesSet, aq as WeirdGateRuleMultiAuth, ap as WeirdGateRuleMultiAuthStep, ar as WeirdGateRuleThreshold, as as WeirdGateRuleWhitelist, c3 as WeirdGateTokenCurrency, W as WipeOptions, bV as feesLevels } from '../index--kkMSHZ6.js';
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkPDP57LSKjs = require('../chunk-PDP57LSK.js');
4
+ var _chunkLUGUDCF7js = require('../chunk-LUGUDCF7.js');
5
5
  require('../chunk-PZ5AY32C.js');
6
6
 
7
7
 
8
8
 
9
- exports.GateGroupRequestTypeDefs = _chunkPDP57LSKjs.GateGroupRequestTypeDefs; exports.feesLevels = _chunkPDP57LSKjs.feesLevels;
9
+ exports.GateGroupRequestTypeDefs = _chunkLUGUDCF7js.GateGroupRequestTypeDefs; exports.feesLevels = _chunkLUGUDCF7js.feesLevels;
10
10
  //# sourceMappingURL=index.js.map
package/lib/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ag as Unit, a as ManifestAccount, i as GateTokenCurrency, G as GateAccount, ae as AccountType, c8 as CurrencyOrToken, O as Connection, cs as SecureChannel } from './index-BIQCk3eV.js';
1
+ import { ag as Unit, a as ManifestAccount, i as GateTokenCurrency, G as GateAccount, ae as AccountType, c8 as CurrencyOrToken, O as Connection, cs as SecureChannel } from './index--kkMSHZ6.js';
2
2
  import '@ledgerhq/hw-transport-mocker';
3
3
  import '@ledgerhq/types-cryptoassets';
4
4
  import '@ledgerhq/vault-utils';
package/lib/utils.js CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
 
17
17
 
18
- var _chunk4XY6A2YSjs = require('./chunk-4XY6A2YS.js');
18
+ var _chunkGBWFFILFjs = require('./chunk-GBWFFILF.js');
19
19
  require('./chunk-PZ5AY32C.js');
20
20
 
21
21
 
@@ -34,5 +34,5 @@ require('./chunk-PZ5AY32C.js');
34
34
 
35
35
 
36
36
 
37
- exports.LIGHT_EVM_CURRENCIES = _chunk4XY6A2YSjs.LIGHT_EVM_CURRENCIES; exports.deserializeUnitValue = _chunk4XY6A2YSjs.deserializeUnitValue; exports.extractSecureChannel = _chunk4XY6A2YSjs.extractSecureChannel; exports.getAccountTypeByCurrency = _chunk4XY6A2YSjs.getAccountTypeByCurrency; exports.getAccountUnit = _chunk4XY6A2YSjs.getAccountUnit; exports.getCurrencyOrToken = _chunk4XY6A2YSjs.getCurrencyOrToken; exports.getCurrencyUnit = _chunk4XY6A2YSjs.getCurrencyUnit; exports.getDefaultUsername = _chunk4XY6A2YSjs.getDefaultUsername; exports.getGateAccountUnit = _chunk4XY6A2YSjs.getGateAccountUnit; exports.getTokenUnit = _chunk4XY6A2YSjs.getTokenUnit; exports.getWorkspaceFromGate = _chunk4XY6A2YSjs.getWorkspaceFromGate; exports.queue = _chunk4XY6A2YSjs.queue; exports.serializeUnitValue = _chunk4XY6A2YSjs.serializeUnitValue; exports.unwrapConnection = _chunk4XY6A2YSjs.unwrapConnection; exports.wait = _chunk4XY6A2YSjs.wait; exports.xpubToExtendedPubKey = _chunk4XY6A2YSjs.xpubToExtendedPubKey;
37
+ exports.LIGHT_EVM_CURRENCIES = _chunkGBWFFILFjs.LIGHT_EVM_CURRENCIES; exports.deserializeUnitValue = _chunkGBWFFILFjs.deserializeUnitValue; exports.extractSecureChannel = _chunkGBWFFILFjs.extractSecureChannel; exports.getAccountTypeByCurrency = _chunkGBWFFILFjs.getAccountTypeByCurrency; exports.getAccountUnit = _chunkGBWFFILFjs.getAccountUnit; exports.getCurrencyOrToken = _chunkGBWFFILFjs.getCurrencyOrToken; exports.getCurrencyUnit = _chunkGBWFFILFjs.getCurrencyUnit; exports.getDefaultUsername = _chunkGBWFFILFjs.getDefaultUsername; exports.getGateAccountUnit = _chunkGBWFFILFjs.getGateAccountUnit; exports.getTokenUnit = _chunkGBWFFILFjs.getTokenUnit; exports.getWorkspaceFromGate = _chunkGBWFFILFjs.getWorkspaceFromGate; exports.queue = _chunkGBWFFILFjs.queue; exports.serializeUnitValue = _chunkGBWFFILFjs.serializeUnitValue; exports.unwrapConnection = _chunkGBWFFILFjs.unwrapConnection; exports.wait = _chunkGBWFFILFjs.wait; exports.xpubToExtendedPubKey = _chunkGBWFFILFjs.xpubToExtendedPubKey;
38
38
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/vault-common",
3
- "version": "2.7.3",
3
+ "version": "2.8.0",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/LedgerHQ/vault-ts",
6
6
  "license": "BSD-2-Clause",