@btc-vision/wallet-sdk 1.0.7 → 2.0.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.
Files changed (82) hide show
  1. package/LICENSE +15 -15
  2. package/README.md +24 -24
  3. package/dist/index.cjs.js +2 -0
  4. package/dist/index.cjs.js.map +1 -0
  5. package/dist/index.d.ts +841 -0
  6. package/dist/index.esm.js +2 -0
  7. package/dist/index.esm.js.map +1 -0
  8. package/package.json +53 -75
  9. package/es/bundle.js +0 -2
  10. package/es/bundle.js.LICENSE.txt +0 -48
  11. package/lib/address/index.d.ts +0 -36
  12. package/lib/address/index.js +0 -200
  13. package/lib/bitcoin-core.d.ts +0 -5
  14. package/lib/bitcoin-core.js +0 -7
  15. package/lib/constants.d.ts +0 -1
  16. package/lib/constants.js +0 -2
  17. package/lib/error.d.ts +0 -20
  18. package/lib/error.js +0 -25
  19. package/lib/index.d.ts +0 -14
  20. package/lib/index.js +0 -21
  21. package/lib/keyring/hd-keyring.d.ts +0 -50
  22. package/lib/keyring/hd-keyring.js +0 -199
  23. package/lib/keyring/index.d.ts +0 -4
  24. package/lib/keyring/index.js +0 -4
  25. package/lib/keyring/interfaces/SimpleKeyringOptions.d.ts +0 -52
  26. package/lib/keyring/interfaces/SimpleKeyringOptions.js +0 -70
  27. package/lib/keyring/keystone-keyring.d.ts +0 -82
  28. package/lib/keyring/keystone-keyring.js +0 -318
  29. package/lib/keyring/simple-keyring.d.ts +0 -11
  30. package/lib/keyring/simple-keyring.js +0 -61
  31. package/lib/message/bip322-simple.d.ts +0 -19
  32. package/lib/message/bip322-simple.js +0 -145
  33. package/lib/message/deterministic-ecdsa.d.ts +0 -2
  34. package/lib/message/deterministic-ecdsa.js +0 -62
  35. package/lib/message/ecdsa.d.ts +0 -3
  36. package/lib/message/ecdsa.js +0 -24
  37. package/lib/message/index.d.ts +0 -3
  38. package/lib/message/index.js +0 -3
  39. package/lib/network/index.d.ts +0 -14
  40. package/lib/network/index.js +0 -35
  41. package/lib/runes/index.d.ts +0 -1
  42. package/lib/runes/index.js +0 -1
  43. package/lib/runes/rund_id.d.ts +0 -11
  44. package/lib/runes/rund_id.js +0 -25
  45. package/lib/runes/varint.d.ts +0 -14
  46. package/lib/runes/varint.js +0 -39
  47. package/lib/transaction/index.d.ts +0 -3
  48. package/lib/transaction/index.js +0 -3
  49. package/lib/transaction/inscription-utxo.d.ts +0 -33
  50. package/lib/transaction/inscription-utxo.js +0 -127
  51. package/lib/transaction/transaction.d.ts +0 -51
  52. package/lib/transaction/transaction.js +0 -353
  53. package/lib/transaction/utxo.d.ts +0 -35
  54. package/lib/transaction/utxo.js +0 -102
  55. package/lib/tx-helpers/index.d.ts +0 -8
  56. package/lib/tx-helpers/index.js +0 -8
  57. package/lib/tx-helpers/send-atomicals-ft.d.ts +0 -16
  58. package/lib/tx-helpers/send-atomicals-ft.js +0 -51
  59. package/lib/tx-helpers/send-atomicals-nft.d.ts +0 -14
  60. package/lib/tx-helpers/send-atomicals-nft.js +0 -30
  61. package/lib/tx-helpers/send-btc.d.ts +0 -28
  62. package/lib/tx-helpers/send-btc.js +0 -60
  63. package/lib/tx-helpers/send-inscription.d.ts +0 -16
  64. package/lib/tx-helpers/send-inscription.js +0 -34
  65. package/lib/tx-helpers/send-inscriptions.d.ts +0 -14
  66. package/lib/tx-helpers/send-inscriptions.js +0 -30
  67. package/lib/tx-helpers/send-runes.d.ts +0 -19
  68. package/lib/tx-helpers/send-runes.js +0 -87
  69. package/lib/tx-helpers/split-inscription-utxo.d.ts +0 -15
  70. package/lib/tx-helpers/split-inscription-utxo.js +0 -43
  71. package/lib/types.d.ts +0 -59
  72. package/lib/types.js +0 -12
  73. package/lib/utils.d.ts +0 -23
  74. package/lib/utils.js +0 -58
  75. package/lib/wallet/abstract-wallet.d.ts +0 -6
  76. package/lib/wallet/abstract-wallet.js +0 -1
  77. package/lib/wallet/estimate-wallet.d.ts +0 -23
  78. package/lib/wallet/estimate-wallet.js +0 -157
  79. package/lib/wallet/index.d.ts +0 -3
  80. package/lib/wallet/index.js +0 -3
  81. package/lib/wallet/local-wallet.d.ts +0 -23
  82. package/lib/wallet/local-wallet.js +0 -167
package/LICENSE CHANGED
@@ -1,15 +1,15 @@
1
- ISC License
2
-
3
- Copyright (c) 2022 Unisat
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted, provided that the above
7
- copyright notice and this permission notice appear in all copies.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1
+ ISC License
2
+
3
+ Copyright (c) 2022 Unisat
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # UniSat Wallet SDK
2
-
3
- ## Getting started
4
-
5
- This repo uses a yarn workspace. To get started, run:
6
-
7
- ```shell
8
- # install
9
- yarn install
10
-
11
- # build
12
- yarn build
13
-
14
- # test
15
- yarn test
16
- ```
17
-
18
- ## Usage
19
-
20
- ```shell
21
-
22
- yarn add @unisat/wallet-sdk
23
-
24
- ```
1
+ # UniSat Wallet SDK
2
+
3
+ ## Getting started
4
+
5
+ This repo uses a yarn workspace. To get started, run:
6
+
7
+ ```shell
8
+ # install
9
+ yarn install
10
+
11
+ # build
12
+ yarn build
13
+
14
+ # test
15
+ yarn test
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ ```shell
21
+
22
+ yarn add @unisat/wallet-sdk
23
+
24
+ ```