wallaby-cash 2.3.8 → 2.3.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.
package/dist/index.js CHANGED
@@ -4,7 +4,6 @@ import log from 'loglevel';
4
4
  import { AES, enc } from 'crypto-js';
5
5
  import { jwtDecode } from 'jwt-decode';
6
6
  import * as NativeWebAuthn from 'react-native-passkey';
7
- import { omit } from 'lodash';
8
7
  import { atob, toUint8Array } from 'js-base64';
9
8
  import { v4 } from 'uuid';
10
9
 
@@ -577,7 +576,7 @@ const env = {
577
576
  isNative: false,
578
577
  isWeb,
579
578
  };
580
- const currentPackageVersion = "2.3.8" ;
579
+ const currentPackageVersion = "2.3.9" ;
581
580
 
582
581
  /**
583
582
  * Storage keys adapter for Storage interface across different platforms.
@@ -7377,6 +7376,13 @@ const SwapRoutes = {
7377
7376
  },
7378
7377
  };
7379
7378
 
7379
+ function omit(obj, keys) {
7380
+ if (!obj)
7381
+ return {};
7382
+ const keysSet = new Set(keys);
7383
+ return Object.fromEntries(Object.entries(obj).filter(([k]) => !keysSet.has(k)));
7384
+ }
7385
+
7380
7386
  /**
7381
7387
  * React Native Authenticator Implementation
7382
7388
  *
@@ -8661,6 +8667,7 @@ class WalletHandlersService extends Base {
8661
8667
  });
8662
8668
  const importWalletPayload = {
8663
8669
  reference: v4(),
8670
+ walletId: importWalletInput.walletId,
8664
8671
  message,
8665
8672
  signature,
8666
8673
  encryptedSeed: readyForTransportSeedPhrase,
@@ -10352,6 +10359,7 @@ class WalletService extends Base {
10352
10359
  publicKey: clientPublicKey,
10353
10360
  privateKey: decryptedClientAuthPrivKey,
10354
10361
  }, {
10362
+ walletId: input.walletId,
10355
10363
  authenticationOptions: authentication,
10356
10364
  seedPhrase: decryptedSeedPhrase,
10357
10365
  storeSeedPhrase: false,