wallaby-cash 2.3.0-alpha.2 → 2.3.2

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.
Files changed (37) hide show
  1. package/README.md +69 -0
  2. package/dist/generated/api.d.ts +1369 -2674
  3. package/dist/helpers/base64.base.d.ts +12 -0
  4. package/dist/helpers/base64.d.ts +6 -0
  5. package/dist/helpers/base64.native.d.ts +6 -0
  6. package/dist/helpers/normalize-storage-keys.d.ts +8 -0
  7. package/dist/index.cjs.js +1049 -605
  8. package/dist/index.cjs.js.map +1 -1
  9. package/dist/index.d.ts +6 -0
  10. package/dist/index.esm.js +1049 -605
  11. package/dist/index.esm.js.map +1 -1
  12. package/dist/index.js +1212 -645
  13. package/dist/index.js.map +1 -1
  14. package/dist/lib/auth/auth.service.d.ts +1 -1
  15. package/dist/lib/auth/authenticator.d.ts +3 -3
  16. package/dist/lib/auth/authenticator.native.d.ts +36 -0
  17. package/dist/lib/auth/passkey.model.d.ts +10 -3
  18. package/dist/lib/auth/passkey.service.base.d.ts +76 -0
  19. package/dist/lib/auth/passkey.service.d.ts +1 -76
  20. package/dist/lib/auth/passkey.service.native.d.ts +4 -0
  21. package/dist/lib/index.d.ts +1 -0
  22. package/dist/lib/swap/index.d.ts +36 -0
  23. package/dist/lib/system/index.d.ts +14 -4
  24. package/dist/lib/transactions/index.d.ts +4 -2
  25. package/dist/lib/utils/constants.d.ts +1 -1
  26. package/dist/lib/wallet/wallet-data.service.d.ts +8 -6
  27. package/dist/package.json +23 -12
  28. package/dist/routes/index.d.ts +1 -0
  29. package/dist/routes/swap.d.ts +24 -0
  30. package/dist/types/auth.d.ts +152 -4
  31. package/dist/types/common.d.ts +3 -0
  32. package/dist/types/error-response-codes.d.ts +1 -0
  33. package/dist/types/index.d.ts +1 -0
  34. package/dist/types/swap.d.ts +95 -0
  35. package/dist/types/transactions.d.ts +1 -0
  36. package/dist/types/wallet.d.ts +2 -4
  37. package/package.json +23 -12
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { WallabyConfig } from './types';
2
2
  import { AuthService, WalletService, WalletDataService, Utils, Merchants } from './lib';
3
3
  import { System } from './lib/system';
4
4
  import { Transactions } from './lib/transactions';
5
+ import { Swap } from './lib/swap';
5
6
  import { HttpApi } from './lib/api/api';
6
7
  export * from './types';
7
8
  export * from './eth-crypto-utils';
@@ -42,6 +43,11 @@ export declare class Wallaby {
42
43
  * The `transactions` domain contains all transactions calls to Wallaby's APIs.
43
44
  */
44
45
  readonly transactions: Transactions;
46
+ /**
47
+ * The `swap` domain contains all swap-related calls to Wallaby's APIs.
48
+ * @public
49
+ */
50
+ readonly swap: Swap;
45
51
  /**
46
52
  * The `merchants` domain contains all merchants admin calls.
47
53
  *