wallaby-cash 2.0.1-alpha.32 → 2.0.1-alpha.34

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/README.md CHANGED
@@ -14,6 +14,7 @@ The SDK currently supports the following blockchains:
14
14
  - Base
15
15
  - Binance chain
16
16
  - Bitcoin
17
+ - Bsc
17
18
  - Ethereum
18
19
  - Polygon
19
20
  - Sui
@@ -59,21 +60,3 @@ wallaby.wallets.getTokenBalance()
59
60
  wallaby.transactions.transfer()
60
61
  wallaby.system.getSupportedBlockchains()
61
62
  ```
62
-
63
- ## **Dependencies**
64
-
65
- **Required packages and functions used:**
66
-
67
- - [eth-crypto: v2.6.0 (Latest)](https://www.npmjs.com/package/eth-crypto)
68
-
69
- - `createIdentity`: Generates public/private key pair. Which are called `clientAuthPubKey` and `clientAuthPrivKey` in wallaby. _To differentiate them from wallaby’s key pair. Which are called `wallabyAuthPubKey` and `wallabyAuthPrivKey`_
70
- - `hash`: It uses `keccak256` function to hash the message string coming from wallaby.
71
- - `sign`: It generates a signature from a hashed message (with client public key) and the client private key
72
- - `encryptWithPublicKey`: Encrypts a string (_in our case the seed-phrase_) using the public key.
73
- - `decryptWithPrivateKey`: decrypts a string (_in our case the seed-phrase_) with the private key.
74
- - `publicKeyByPrivateKey`: Generates the public key using the private key.
75
-
76
- - [crypto-js v4.1.1 (latest)](https://www.npmjs.com/package/crypto-js)
77
- - `AES` used to encrypt the private key with the password.
78
- - [axios v1.3.4 (latest)](https://www.npmjs.com/package/axios)
79
- - `create`: used to instantiate an axios instance.
@@ -0,0 +1,3 @@
1
+ export declare function base64ToUint8Array(base64: string): Uint8Array;
2
+ export declare function uint8ArrayToBase64(bytes: Uint8Array): string;
3
+ export declare const decodeBase64URL: (base64url: string) => Uint8Array;