@taquito/wallet-connect 24.3.0-beta.2 → 24.3.0-beta.3

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 (443) hide show
  1. package/dist/lib/{taquito-wallet-connect/src/taquito-wallet-connect.js → taquito-wallet-connect.js} +1 -4
  2. package/dist/lib/{taquito-http-utils/src/version.js → version.js} +2 -2
  3. package/package.json +5 -7
  4. package/dist/lib/taquito/src/batch/constants.js +0 -16
  5. package/dist/lib/taquito/src/batch/rpc-batch-provider.js +0 -327
  6. package/dist/lib/taquito/src/constants.js +0 -135
  7. package/dist/lib/taquito/src/context.js +0 -178
  8. package/dist/lib/taquito/src/contract/big-map.js +0 -57
  9. package/dist/lib/taquito/src/contract/compose.js +0 -6
  10. package/dist/lib/taquito/src/contract/constants.js +0 -4
  11. package/dist/lib/taquito/src/contract/contract-methods/contract-method-factory.js +0 -18
  12. package/dist/lib/taquito/src/contract/contract-methods/contract-method-interface.js +0 -2
  13. package/dist/lib/taquito/src/contract/contract-methods/contract-method-object-param.js +0 -72
  14. package/dist/lib/taquito/src/contract/contract-methods/contract-on-chain-view.js +0 -111
  15. package/dist/lib/taquito/src/contract/contract.js +0 -158
  16. package/dist/lib/taquito/src/contract/errors.js +0 -140
  17. package/dist/lib/taquito/src/contract/index.js +0 -30
  18. package/dist/lib/taquito/src/contract/interface.js +0 -2
  19. package/dist/lib/taquito/src/contract/manager-lambda.js +0 -71
  20. package/dist/lib/taquito/src/contract/prepare.js +0 -231
  21. package/dist/lib/taquito/src/contract/rpc-contract-provider.js +0 -675
  22. package/dist/lib/taquito/src/contract/sapling-state-abstraction.js +0 -24
  23. package/dist/lib/taquito/src/contract/semantic.js +0 -43
  24. package/dist/lib/taquito/src/contract/view_lambda.js +0 -27
  25. package/dist/lib/taquito/src/errors.js +0 -42
  26. package/dist/lib/taquito/src/estimate/errors.js +0 -16
  27. package/dist/lib/taquito/src/estimate/estimate-provider-interface.js +0 -2
  28. package/dist/lib/taquito/src/estimate/estimate.js +0 -176
  29. package/dist/lib/taquito/src/estimate/index.js +0 -20
  30. package/dist/lib/taquito/src/estimate/rpc-estimate-provider.js +0 -640
  31. package/dist/lib/taquito/src/extension/extension.js +0 -2
  32. package/dist/lib/taquito/src/forger/composite-forger.js +0 -32
  33. package/dist/lib/taquito/src/forger/errors.js +0 -30
  34. package/dist/lib/taquito/src/forger/rpc-forger.js +0 -12
  35. package/dist/lib/taquito/src/forger/taquito-local-forger.js +0 -21
  36. package/dist/lib/taquito/src/global-constants/default-global-constants-provider.js +0 -35
  37. package/dist/lib/taquito/src/global-constants/errors.js +0 -30
  38. package/dist/lib/taquito/src/global-constants/interface-global-constants-provider.js +0 -2
  39. package/dist/lib/taquito/src/global-constants/noop-global-constants-provider.js +0 -10
  40. package/dist/lib/taquito/src/import-key.js +0 -40
  41. package/dist/lib/taquito/src/injector/helper.js +0 -18
  42. package/dist/lib/taquito/src/injector/interface.js +0 -2
  43. package/dist/lib/taquito/src/injector/rpc-injector.js +0 -27
  44. package/dist/lib/taquito/src/operations/ballot-operation.js +0 -32
  45. package/dist/lib/taquito/src/operations/batch-operation.js +0 -69
  46. package/dist/lib/taquito/src/operations/delegate-operation.js +0 -54
  47. package/dist/lib/taquito/src/operations/drain-delegate-operation.js +0 -31
  48. package/dist/lib/taquito/src/operations/errors.js +0 -133
  49. package/dist/lib/taquito/src/operations/failing-noop-operation.js +0 -2
  50. package/dist/lib/taquito/src/operations/increase-paid-storage-operation.js +0 -49
  51. package/dist/lib/taquito/src/operations/index.js +0 -54
  52. package/dist/lib/taquito/src/operations/operations.js +0 -193
  53. package/dist/lib/taquito/src/operations/origination-operation.js +0 -78
  54. package/dist/lib/taquito/src/operations/proposals-operation.js +0 -29
  55. package/dist/lib/taquito/src/operations/register-global-constant-operation.js +0 -52
  56. package/dist/lib/taquito/src/operations/reveal-operation.js +0 -74
  57. package/dist/lib/taquito/src/operations/smart-rollup-add-messages-operation.js +0 -44
  58. package/dist/lib/taquito/src/operations/smart-rollup-execute-outbox-message-operation.js +0 -53
  59. package/dist/lib/taquito/src/operations/smart-rollup-originate-operation.js +0 -50
  60. package/dist/lib/taquito/src/operations/transaction-operation.js +0 -73
  61. package/dist/lib/taquito/src/operations/transfer-ticket-operation.js +0 -47
  62. package/dist/lib/taquito/src/operations/types.js +0 -88
  63. package/dist/lib/taquito/src/operations/update-companion-key-operation.js +0 -55
  64. package/dist/lib/taquito/src/operations/update-consensus-key-operation.js +0 -55
  65. package/dist/lib/taquito/src/packer/interface.js +0 -2
  66. package/dist/lib/taquito/src/packer/michel-codec-packer.js +0 -11
  67. package/dist/lib/taquito/src/packer/rpc-packer.js +0 -12
  68. package/dist/lib/taquito/src/parser/interface.js +0 -2
  69. package/dist/lib/taquito/src/parser/michel-codec-parser.js +0 -110
  70. package/dist/lib/taquito/src/parser/noop-parser.js +0 -9
  71. package/dist/lib/taquito/src/prepare/index.js +0 -18
  72. package/dist/lib/taquito/src/prepare/interface.js +0 -2
  73. package/dist/lib/taquito/src/prepare/prepare-provider.js +0 -1049
  74. package/dist/lib/taquito/src/provider.js +0 -363
  75. package/dist/lib/taquito/src/read-provider/interface.js +0 -2
  76. package/dist/lib/taquito/src/read-provider/rpc-read-adapter.js +0 -183
  77. package/dist/lib/taquito/src/signer/errors.js +0 -17
  78. package/dist/lib/taquito/src/signer/noop.js +0 -23
  79. package/dist/lib/taquito/src/subscribe/create-observable-from-subscription.js +0 -20
  80. package/dist/lib/taquito/src/subscribe/errors.js +0 -30
  81. package/dist/lib/taquito/src/subscribe/filters.js +0 -96
  82. package/dist/lib/taquito/src/subscribe/interface.js +0 -2
  83. package/dist/lib/taquito/src/subscribe/observable-subscription.js +0 -79
  84. package/dist/lib/taquito/src/subscribe/polling-subcribe-provider.js +0 -118
  85. package/dist/lib/taquito/src/taquito.js +0 -404
  86. package/dist/lib/taquito/src/tz/interface.js +0 -2
  87. package/dist/lib/taquito/src/tz/rpc-tz-provider.js +0 -46
  88. package/dist/lib/taquito/src/version.js +0 -8
  89. package/dist/lib/taquito/src/wallet/batch-operation.js +0 -71
  90. package/dist/lib/taquito/src/wallet/delegation-operation.js +0 -42
  91. package/dist/lib/taquito/src/wallet/errors.js +0 -40
  92. package/dist/lib/taquito/src/wallet/increase-paid-storage-operation.js +0 -42
  93. package/dist/lib/taquito/src/wallet/index.js +0 -25
  94. package/dist/lib/taquito/src/wallet/interface.js +0 -2
  95. package/dist/lib/taquito/src/wallet/legacy.js +0 -51
  96. package/dist/lib/taquito/src/wallet/operation-factory.js +0 -88
  97. package/dist/lib/taquito/src/wallet/operation.js +0 -221
  98. package/dist/lib/taquito/src/wallet/origination-operation.js +0 -53
  99. package/dist/lib/taquito/src/wallet/receipt.js +0 -46
  100. package/dist/lib/taquito/src/wallet/register-global-constant-operation.js +0 -45
  101. package/dist/lib/taquito/src/wallet/transaction-operation.js +0 -38
  102. package/dist/lib/taquito/src/wallet/transfer-ticket-operation.js +0 -38
  103. package/dist/lib/taquito/src/wallet/wallet.js +0 -445
  104. package/dist/lib/taquito-core/src/errors.js +0 -351
  105. package/dist/lib/taquito-core/src/signer-interfaces.js +0 -2
  106. package/dist/lib/taquito-core/src/taquito-core.js +0 -22
  107. package/dist/lib/taquito-http-utils/src/errors.js +0 -103
  108. package/dist/lib/taquito-http-utils/src/status_code.js +0 -322
  109. package/dist/lib/taquito-http-utils/src/taquito-http-utils.js +0 -308
  110. package/dist/lib/taquito-http-utils/src/transport-errors.js +0 -141
  111. package/dist/lib/taquito-local-forging/src/codec.js +0 -543
  112. package/dist/lib/taquito-local-forging/src/constants.js +0 -291
  113. package/dist/lib/taquito-local-forging/src/decoder.js +0 -64
  114. package/dist/lib/taquito-local-forging/src/encoder.js +0 -63
  115. package/dist/lib/taquito-local-forging/src/errors.js +0 -179
  116. package/dist/lib/taquito-local-forging/src/interface.js +0 -2
  117. package/dist/lib/taquito-local-forging/src/michelson/codec.js +0 -283
  118. package/dist/lib/taquito-local-forging/src/protocols.js +0 -60
  119. package/dist/lib/taquito-local-forging/src/schema/operation.js +0 -259
  120. package/dist/lib/taquito-local-forging/src/taquito-local-forging.js +0 -117
  121. package/dist/lib/taquito-local-forging/src/uint8array-consumer.js +0 -35
  122. package/dist/lib/taquito-local-forging/src/utils.js +0 -18
  123. package/dist/lib/taquito-local-forging/src/validator.js +0 -57
  124. package/dist/lib/taquito-local-forging/src/version.js +0 -8
  125. package/dist/lib/taquito-michel-codec/src/base58.js +0 -255
  126. package/dist/lib/taquito-michel-codec/src/binary.js +0 -1271
  127. package/dist/lib/taquito-michel-codec/src/errors.js +0 -90
  128. package/dist/lib/taquito-michel-codec/src/formatters.js +0 -58
  129. package/dist/lib/taquito-michel-codec/src/global-constants.js +0 -12
  130. package/dist/lib/taquito-michel-codec/src/macros.js +0 -551
  131. package/dist/lib/taquito-michel-codec/src/micheline-emitter.js +0 -128
  132. package/dist/lib/taquito-michel-codec/src/micheline-parser.js +0 -402
  133. package/dist/lib/taquito-michel-codec/src/micheline.js +0 -5
  134. package/dist/lib/taquito-michel-codec/src/michelson-contract.js +0 -93
  135. package/dist/lib/taquito-michel-codec/src/michelson-typecheck.js +0 -1756
  136. package/dist/lib/taquito-michel-codec/src/michelson-types.js +0 -83
  137. package/dist/lib/taquito-michel-codec/src/michelson-validator.js +0 -833
  138. package/dist/lib/taquito-michel-codec/src/scan.js +0 -128
  139. package/dist/lib/taquito-michel-codec/src/taquito-michel-codec.js +0 -38
  140. package/dist/lib/taquito-michel-codec/src/utils.js +0 -323
  141. package/dist/lib/taquito-michel-codec/src/version.js +0 -8
  142. package/dist/lib/taquito-michelson-encoder/src/constants.js +0 -11
  143. package/dist/lib/taquito-michelson-encoder/src/errors.js +0 -38
  144. package/dist/lib/taquito-michelson-encoder/src/michelson-map.js +0 -201
  145. package/dist/lib/taquito-michelson-encoder/src/schema/errors.js +0 -127
  146. package/dist/lib/taquito-michelson-encoder/src/schema/event-schema.js +0 -52
  147. package/dist/lib/taquito-michelson-encoder/src/schema/parameter.js +0 -113
  148. package/dist/lib/taquito-michelson-encoder/src/schema/storage.js +0 -260
  149. package/dist/lib/taquito-michelson-encoder/src/schema/types.js +0 -2
  150. package/dist/lib/taquito-michelson-encoder/src/schema/view-schema.js +0 -90
  151. package/dist/lib/taquito-michelson-encoder/src/taquito-michelson-encoder.js +0 -36
  152. package/dist/lib/taquito-michelson-encoder/src/tokens/bigmap.js +0 -130
  153. package/dist/lib/taquito-michelson-encoder/src/tokens/bls12-381-fr.js +0 -86
  154. package/dist/lib/taquito-michelson-encoder/src/tokens/bls12-381-g1.js +0 -76
  155. package/dist/lib/taquito-michelson-encoder/src/tokens/bls12-381-g2.js +0 -76
  156. package/dist/lib/taquito-michelson-encoder/src/tokens/chain-id.js +0 -78
  157. package/dist/lib/taquito-michelson-encoder/src/tokens/chest-key.js +0 -74
  158. package/dist/lib/taquito-michelson-encoder/src/tokens/chest.js +0 -74
  159. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/address.js +0 -116
  160. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/bool.js +0 -59
  161. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/bytes.js +0 -90
  162. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/int.js +0 -90
  163. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/key_hash.js +0 -90
  164. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/mutez.js +0 -90
  165. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/nat.js +0 -93
  166. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/string.js +0 -48
  167. package/dist/lib/taquito-michelson-encoder/src/tokens/comparable/timestamp.js +0 -66
  168. package/dist/lib/taquito-michelson-encoder/src/tokens/constant.js +0 -80
  169. package/dist/lib/taquito-michelson-encoder/src/tokens/contract.js +0 -86
  170. package/dist/lib/taquito-michelson-encoder/src/tokens/createToken.js +0 -35
  171. package/dist/lib/taquito-michelson-encoder/src/tokens/key.js +0 -97
  172. package/dist/lib/taquito-michelson-encoder/src/tokens/lambda.js +0 -55
  173. package/dist/lib/taquito-michelson-encoder/src/tokens/list.js +0 -85
  174. package/dist/lib/taquito-michelson-encoder/src/tokens/map.js +0 -112
  175. package/dist/lib/taquito-michelson-encoder/src/tokens/never.js +0 -61
  176. package/dist/lib/taquito-michelson-encoder/src/tokens/operation.js +0 -39
  177. package/dist/lib/taquito-michelson-encoder/src/tokens/option.js +0 -88
  178. package/dist/lib/taquito-michelson-encoder/src/tokens/or.js +0 -282
  179. package/dist/lib/taquito-michelson-encoder/src/tokens/pair.js +0 -233
  180. package/dist/lib/taquito-michelson-encoder/src/tokens/sapling-state.js +0 -84
  181. package/dist/lib/taquito-michelson-encoder/src/tokens/sapling-transaction-deprecated.js +0 -74
  182. package/dist/lib/taquito-michelson-encoder/src/tokens/sapling-transaction.js +0 -74
  183. package/dist/lib/taquito-michelson-encoder/src/tokens/set.js +0 -82
  184. package/dist/lib/taquito-michelson-encoder/src/tokens/signature.js +0 -82
  185. package/dist/lib/taquito-michelson-encoder/src/tokens/ticket-deprecated.js +0 -92
  186. package/dist/lib/taquito-michelson-encoder/src/tokens/ticket.js +0 -92
  187. package/dist/lib/taquito-michelson-encoder/src/tokens/token.js +0 -100
  188. package/dist/lib/taquito-michelson-encoder/src/tokens/tokens.js +0 -75
  189. package/dist/lib/taquito-michelson-encoder/src/tokens/unit.js +0 -52
  190. package/dist/lib/taquito-michelson-encoder/src/version.js +0 -8
  191. package/dist/lib/taquito-rpc/src/opkind.js +0 -49
  192. package/dist/lib/taquito-rpc/src/rpc-client-interface.js +0 -60
  193. package/dist/lib/taquito-rpc/src/rpc-client-modules/rpc-cache.js +0 -1118
  194. package/dist/lib/taquito-rpc/src/taquito-rpc.js +0 -990
  195. package/dist/lib/taquito-rpc/src/types.js +0 -114
  196. package/dist/lib/taquito-rpc/src/utils/utils.js +0 -65
  197. package/dist/lib/taquito-rpc/src/version.js +0 -8
  198. package/dist/lib/taquito-signer/src/bls-key.js +0 -104
  199. package/dist/lib/taquito-signer/src/derivation-tools/ecdsa.js +0 -156
  200. package/dist/lib/taquito-signer/src/derivation-tools/ed25519.js +0 -82
  201. package/dist/lib/taquito-signer/src/derivation-tools/index.js +0 -79
  202. package/dist/lib/taquito-signer/src/derivation-tools/types.js +0 -4
  203. package/dist/lib/taquito-signer/src/derivation-tools/utils.js +0 -16
  204. package/dist/lib/taquito-signer/src/ec-key.js +0 -196
  205. package/dist/lib/taquito-signer/src/ed-key.js +0 -130
  206. package/dist/lib/taquito-signer/src/errors.js +0 -77
  207. package/dist/lib/taquito-signer/src/helpers.js +0 -44
  208. package/dist/lib/taquito-signer/src/in-memory-signer.js +0 -240
  209. package/dist/lib/taquito-signer/src/key-interface.js +0 -6
  210. package/dist/lib/taquito-signer/src/taquito-signer.js +0 -28
  211. package/dist/lib/taquito-signer/src/version.js +0 -8
  212. package/dist/lib/taquito-utils/src/constants.js +0 -203
  213. package/dist/lib/taquito-utils/src/encoding.js +0 -606
  214. package/dist/lib/taquito-utils/src/errors.js +0 -45
  215. package/dist/lib/taquito-utils/src/format.js +0 -29
  216. package/dist/lib/taquito-utils/src/taquito-utils.js +0 -42
  217. package/dist/lib/taquito-utils/src/validators.js +0 -236
  218. package/dist/lib/taquito-utils/src/verify-signature.js +0 -136
  219. package/dist/lib/taquito-utils/src/version.js +0 -8
  220. package/dist/lib/taquito-wallet-connect/src/version.js +0 -8
  221. package/dist/types/taquito/src/batch/constants.d.ts +0 -3
  222. package/dist/types/taquito/src/batch/rpc-batch-provider.d.ts +0 -139
  223. package/dist/types/taquito/src/constants.d.ts +0 -81
  224. package/dist/types/taquito/src/context.d.ts +0 -100
  225. package/dist/types/taquito/src/contract/big-map.d.ts +0 -35
  226. package/dist/types/taquito/src/contract/compose.d.ts +0 -5
  227. package/dist/types/taquito/src/contract/constants.d.ts +0 -1
  228. package/dist/types/taquito/src/contract/contract-methods/contract-method-factory.d.ts +0 -14
  229. package/dist/types/taquito/src/contract/contract-methods/contract-method-interface.d.ts +0 -28
  230. package/dist/types/taquito/src/contract/contract-methods/contract-method-object-param.d.ts +0 -39
  231. package/dist/types/taquito/src/contract/contract-methods/contract-on-chain-view.d.ts +0 -43
  232. package/dist/types/taquito/src/contract/contract.d.ts +0 -75
  233. package/dist/types/taquito/src/contract/errors.d.ts +0 -83
  234. package/dist/types/taquito/src/contract/index.d.ts +0 -11
  235. package/dist/types/taquito/src/contract/interface.d.ts +0 -254
  236. package/dist/types/taquito/src/contract/manager-lambda.d.ts +0 -73
  237. package/dist/types/taquito/src/contract/prepare.d.ts +0 -18
  238. package/dist/types/taquito/src/contract/rpc-contract-provider.d.ts +0 -270
  239. package/dist/types/taquito/src/contract/sapling-state-abstraction.d.ts +0 -17
  240. package/dist/types/taquito/src/contract/semantic.d.ts +0 -7
  241. package/dist/types/taquito/src/contract/view_lambda.d.ts +0 -34
  242. package/dist/types/taquito/src/errors.d.ts +0 -26
  243. package/dist/types/taquito/src/estimate/errors.d.ts +0 -8
  244. package/dist/types/taquito/src/estimate/estimate-provider-interface.d.ts +0 -153
  245. package/dist/types/taquito/src/estimate/estimate.d.ts +0 -111
  246. package/dist/types/taquito/src/estimate/index.d.ts +0 -4
  247. package/dist/types/taquito/src/estimate/rpc-estimate-provider.d.ts +0 -174
  248. package/dist/types/taquito/src/extension/extension.d.ts +0 -4
  249. package/dist/types/taquito/src/forger/composite-forger.d.ts +0 -6
  250. package/dist/types/taquito/src/forger/errors.d.ts +0 -16
  251. package/dist/types/taquito/src/forger/rpc-forger.d.ts +0 -7
  252. package/dist/types/taquito/src/forger/taquito-local-forger.d.ts +0 -8
  253. package/dist/types/taquito/src/global-constants/default-global-constants-provider.d.ts +0 -18
  254. package/dist/types/taquito/src/global-constants/errors.d.ts +0 -16
  255. package/dist/types/taquito/src/global-constants/interface-global-constants-provider.d.ts +0 -11
  256. package/dist/types/taquito/src/global-constants/noop-global-constants-provider.d.ts +0 -5
  257. package/dist/types/taquito/src/import-key.d.ts +0 -13
  258. package/dist/types/taquito/src/injector/helper.d.ts +0 -2
  259. package/dist/types/taquito/src/injector/interface.d.ts +0 -5
  260. package/dist/types/taquito/src/injector/rpc-injector.d.ts +0 -7
  261. package/dist/types/taquito/src/operations/ballot-operation.d.ts +0 -18
  262. package/dist/types/taquito/src/operations/batch-operation.d.ts +0 -19
  263. package/dist/types/taquito/src/operations/delegate-operation.d.ts +0 -24
  264. package/dist/types/taquito/src/operations/drain-delegate-operation.d.ts +0 -17
  265. package/dist/types/taquito/src/operations/errors.d.ts +0 -50
  266. package/dist/types/taquito/src/operations/failing-noop-operation.d.ts +0 -17
  267. package/dist/types/taquito/src/operations/increase-paid-storage-operation.d.ts +0 -23
  268. package/dist/types/taquito/src/operations/index.d.ts +0 -18
  269. package/dist/types/taquito/src/operations/operations.d.ts +0 -35
  270. package/dist/types/taquito/src/operations/origination-operation.d.ts +0 -35
  271. package/dist/types/taquito/src/operations/proposals-operation.d.ts +0 -17
  272. package/dist/types/taquito/src/operations/register-global-constant-operation.d.ts +0 -25
  273. package/dist/types/taquito/src/operations/reveal-operation.d.ts +0 -25
  274. package/dist/types/taquito/src/operations/smart-rollup-add-messages-operation.d.ts +0 -20
  275. package/dist/types/taquito/src/operations/smart-rollup-execute-outbox-message-operation.d.ts +0 -24
  276. package/dist/types/taquito/src/operations/smart-rollup-originate-operation.d.ts +0 -23
  277. package/dist/types/taquito/src/operations/transaction-operation.d.ts +0 -28
  278. package/dist/types/taquito/src/operations/transfer-ticket-operation.d.ts +0 -22
  279. package/dist/types/taquito/src/operations/types.d.ts +0 -823
  280. package/dist/types/taquito/src/operations/update-companion-key-operation.d.ts +0 -23
  281. package/dist/types/taquito/src/operations/update-consensus-key-operation.d.ts +0 -23
  282. package/dist/types/taquito/src/packer/interface.d.ts +0 -4
  283. package/dist/types/taquito/src/packer/michel-codec-packer.d.ts +0 -5
  284. package/dist/types/taquito/src/packer/rpc-packer.d.ts +0 -8
  285. package/dist/types/taquito/src/parser/interface.d.ts +0 -4
  286. package/dist/types/taquito/src/parser/michel-codec-parser.d.ts +0 -16
  287. package/dist/types/taquito/src/parser/noop-parser.d.ts +0 -5
  288. package/dist/types/taquito/src/prepare/index.d.ts +0 -2
  289. package/dist/types/taquito/src/prepare/interface.d.ts +0 -152
  290. package/dist/types/taquito/src/prepare/prepare-provider.d.ts +0 -187
  291. package/dist/types/taquito/src/provider.d.ts +0 -50
  292. package/dist/types/taquito/src/read-provider/interface.d.ts +0 -132
  293. package/dist/types/taquito/src/read-provider/rpc-read-adapter.d.ts +0 -130
  294. package/dist/types/taquito/src/signer/errors.d.ts +0 -8
  295. package/dist/types/taquito/src/signer/noop.d.ts +0 -11
  296. package/dist/types/taquito/src/subscribe/create-observable-from-subscription.d.ts +0 -4
  297. package/dist/types/taquito/src/subscribe/errors.d.ts +0 -18
  298. package/dist/types/taquito/src/subscribe/filters.d.ts +0 -6
  299. package/dist/types/taquito/src/subscribe/interface.d.ts +0 -48
  300. package/dist/types/taquito/src/subscribe/observable-subscription.d.ts +0 -21
  301. package/dist/types/taquito/src/subscribe/polling-subcribe-provider.d.ts +0 -23
  302. package/dist/types/taquito/src/taquito.d.ts +0 -248
  303. package/dist/types/taquito/src/tz/interface.d.ts +0 -20
  304. package/dist/types/taquito/src/tz/rpc-tz-provider.d.ts +0 -13
  305. package/dist/types/taquito/src/version.d.ts +0 -4
  306. package/dist/types/taquito/src/wallet/batch-operation.d.ts +0 -13
  307. package/dist/types/taquito/src/wallet/delegation-operation.d.ts +0 -12
  308. package/dist/types/taquito/src/wallet/errors.d.ts +0 -24
  309. package/dist/types/taquito/src/wallet/increase-paid-storage-operation.d.ts +0 -12
  310. package/dist/types/taquito/src/wallet/index.d.ts +0 -9
  311. package/dist/types/taquito/src/wallet/interface.d.ts +0 -66
  312. package/dist/types/taquito/src/wallet/legacy.d.ts +0 -21
  313. package/dist/types/taquito/src/wallet/operation-factory.d.ts +0 -32
  314. package/dist/types/taquito/src/wallet/operation.d.ts +0 -55
  315. package/dist/types/taquito/src/wallet/origination-operation.d.ts +0 -14
  316. package/dist/types/taquito/src/wallet/receipt.d.ts +0 -16
  317. package/dist/types/taquito/src/wallet/register-global-constant-operation.d.ts +0 -13
  318. package/dist/types/taquito/src/wallet/transaction-operation.d.ts +0 -12
  319. package/dist/types/taquito/src/wallet/transfer-ticket-operation.d.ts +0 -12
  320. package/dist/types/taquito/src/wallet/wallet.d.ts +0 -196
  321. package/dist/types/taquito-core/src/errors.d.ts +0 -213
  322. package/dist/types/taquito-core/src/signer-interfaces.d.ts +0 -38
  323. package/dist/types/taquito-core/src/taquito-core.d.ts +0 -6
  324. package/dist/types/taquito-http-utils/src/errors.d.ts +0 -63
  325. package/dist/types/taquito-http-utils/src/status_code.d.ts +0 -318
  326. package/dist/types/taquito-http-utils/src/taquito-http-utils.d.ts +0 -58
  327. package/dist/types/taquito-http-utils/src/transport-errors.d.ts +0 -28
  328. package/dist/types/taquito-local-forging/src/codec.d.ts +0 -79
  329. package/dist/types/taquito-local-forging/src/constants.d.ts +0 -75
  330. package/dist/types/taquito-local-forging/src/decoder.d.ts +0 -5
  331. package/dist/types/taquito-local-forging/src/encoder.d.ts +0 -4
  332. package/dist/types/taquito-local-forging/src/errors.d.ts +0 -109
  333. package/dist/types/taquito-local-forging/src/interface.d.ts +0 -9
  334. package/dist/types/taquito-local-forging/src/michelson/codec.d.ts +0 -49
  335. package/dist/types/taquito-local-forging/src/protocols.d.ts +0 -27
  336. package/dist/types/taquito-local-forging/src/schema/operation.d.ts +0 -198
  337. package/dist/types/taquito-local-forging/src/taquito-local-forging.d.ts +0 -27
  338. package/dist/types/taquito-local-forging/src/uint8array-consumer.d.ts +0 -10
  339. package/dist/types/taquito-local-forging/src/utils.d.ts +0 -3
  340. package/dist/types/taquito-local-forging/src/validator.d.ts +0 -13
  341. package/dist/types/taquito-local-forging/src/version.d.ts +0 -4
  342. package/dist/types/taquito-michel-codec/src/base58.d.ts +0 -13
  343. package/dist/types/taquito-michel-codec/src/binary.d.ts +0 -127
  344. package/dist/types/taquito-michel-codec/src/errors.d.ts +0 -57
  345. package/dist/types/taquito-michel-codec/src/formatters.d.ts +0 -6
  346. package/dist/types/taquito-michel-codec/src/global-constants.d.ts +0 -3
  347. package/dist/types/taquito-michel-codec/src/macros.d.ts +0 -13
  348. package/dist/types/taquito-michel-codec/src/micheline-emitter.d.ts +0 -17
  349. package/dist/types/taquito-michel-codec/src/micheline-parser.d.ts +0 -130
  350. package/dist/types/taquito-michel-codec/src/micheline.d.ts +0 -44
  351. package/dist/types/taquito-michel-codec/src/michelson-contract.d.ts +0 -24
  352. package/dist/types/taquito-michel-codec/src/michelson-typecheck.d.ts +0 -38
  353. package/dist/types/taquito-michel-codec/src/michelson-types.d.ts +0 -147
  354. package/dist/types/taquito-michel-codec/src/michelson-validator.d.ts +0 -66
  355. package/dist/types/taquito-michel-codec/src/scan.d.ts +0 -26
  356. package/dist/types/taquito-michel-codec/src/taquito-michel-codec.d.ts +0 -16
  357. package/dist/types/taquito-michel-codec/src/utils.d.ts +0 -76
  358. package/dist/types/taquito-michel-codec/src/version.d.ts +0 -4
  359. package/dist/types/taquito-michelson-encoder/src/constants.d.ts +0 -8
  360. package/dist/types/taquito-michelson-encoder/src/errors.d.ts +0 -17
  361. package/dist/types/taquito-michelson-encoder/src/michelson-map.d.ts +0 -82
  362. package/dist/types/taquito-michelson-encoder/src/schema/errors.d.ts +0 -83
  363. package/dist/types/taquito-michelson-encoder/src/schema/event-schema.d.ts +0 -12
  364. package/dist/types/taquito-michelson-encoder/src/schema/parameter.d.ts +0 -54
  365. package/dist/types/taquito-michelson-encoder/src/schema/storage.d.ts +0 -97
  366. package/dist/types/taquito-michelson-encoder/src/schema/types.d.ts +0 -105
  367. package/dist/types/taquito-michelson-encoder/src/schema/view-schema.d.ts +0 -53
  368. package/dist/types/taquito-michelson-encoder/src/taquito-michelson-encoder.d.ts +0 -16
  369. package/dist/types/taquito-michelson-encoder/src/tokens/bigmap.d.ts +0 -51
  370. package/dist/types/taquito-michelson-encoder/src/tokens/bls12-381-fr.d.ts +0 -51
  371. package/dist/types/taquito-michelson-encoder/src/tokens/bls12-381-g1.d.ts +0 -47
  372. package/dist/types/taquito-michelson-encoder/src/tokens/bls12-381-g2.d.ts +0 -47
  373. package/dist/types/taquito-michelson-encoder/src/tokens/chain-id.d.ts +0 -51
  374. package/dist/types/taquito-michelson-encoder/src/tokens/chest-key.d.ts +0 -47
  375. package/dist/types/taquito-michelson-encoder/src/tokens/chest.d.ts +0 -47
  376. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/address.d.ts +0 -61
  377. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/bool.d.ts +0 -32
  378. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/bytes.d.ts +0 -52
  379. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/int.d.ts +0 -56
  380. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/key_hash.d.ts +0 -55
  381. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/mutez.d.ts +0 -53
  382. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/nat.d.ts +0 -55
  383. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/string.d.ts +0 -31
  384. package/dist/types/taquito-michelson-encoder/src/tokens/comparable/timestamp.d.ts +0 -34
  385. package/dist/types/taquito-michelson-encoder/src/tokens/constant.d.ts +0 -51
  386. package/dist/types/taquito-michelson-encoder/src/tokens/contract.d.ts +0 -48
  387. package/dist/types/taquito-michelson-encoder/src/tokens/createToken.d.ts +0 -18
  388. package/dist/types/taquito-michelson-encoder/src/tokens/key.d.ts +0 -55
  389. package/dist/types/taquito-michelson-encoder/src/tokens/lambda.d.ts +0 -24
  390. package/dist/types/taquito-michelson-encoder/src/tokens/list.d.ts +0 -46
  391. package/dist/types/taquito-michelson-encoder/src/tokens/map.d.ts +0 -47
  392. package/dist/types/taquito-michelson-encoder/src/tokens/never.d.ts +0 -41
  393. package/dist/types/taquito-michelson-encoder/src/tokens/operation.d.ts +0 -24
  394. package/dist/types/taquito-michelson-encoder/src/tokens/option.d.ts +0 -37
  395. package/dist/types/taquito-michelson-encoder/src/tokens/or.d.ts +0 -53
  396. package/dist/types/taquito-michelson-encoder/src/tokens/pair.d.ts +0 -50
  397. package/dist/types/taquito-michelson-encoder/src/tokens/sapling-state.d.ts +0 -44
  398. package/dist/types/taquito-michelson-encoder/src/tokens/sapling-transaction-deprecated.d.ts +0 -40
  399. package/dist/types/taquito-michelson-encoder/src/tokens/sapling-transaction.d.ts +0 -40
  400. package/dist/types/taquito-michelson-encoder/src/tokens/set.d.ts +0 -43
  401. package/dist/types/taquito-michelson-encoder/src/tokens/signature.d.ts +0 -53
  402. package/dist/types/taquito-michelson-encoder/src/tokens/ticket-deprecated.d.ts +0 -38
  403. package/dist/types/taquito-michelson-encoder/src/tokens/ticket.d.ts +0 -38
  404. package/dist/types/taquito-michelson-encoder/src/tokens/token.d.ts +0 -68
  405. package/dist/types/taquito-michelson-encoder/src/tokens/tokens.d.ts +0 -36
  406. package/dist/types/taquito-michelson-encoder/src/tokens/unit.d.ts +0 -34
  407. package/dist/types/taquito-michelson-encoder/src/version.d.ts +0 -4
  408. package/dist/types/taquito-rpc/src/opkind.d.ts +0 -45
  409. package/dist/types/taquito-rpc/src/rpc-client-interface.d.ts +0 -126
  410. package/dist/types/taquito-rpc/src/rpc-client-modules/rpc-cache.d.ts +0 -473
  411. package/dist/types/taquito-rpc/src/taquito-rpc.d.ts +0 -483
  412. package/dist/types/taquito-rpc/src/types.d.ts +0 -2362
  413. package/dist/types/taquito-rpc/src/utils/utils.d.ts +0 -14
  414. package/dist/types/taquito-rpc/src/version.d.ts +0 -4
  415. package/dist/types/taquito-signer/src/bls-key.d.ts +0 -21
  416. package/dist/types/taquito-signer/src/derivation-tools/ecdsa.d.ts +0 -49
  417. package/dist/types/taquito-signer/src/derivation-tools/ed25519.d.ts +0 -33
  418. package/dist/types/taquito-signer/src/derivation-tools/index.d.ts +0 -12
  419. package/dist/types/taquito-signer/src/derivation-tools/types.d.ts +0 -10
  420. package/dist/types/taquito-signer/src/derivation-tools/utils.d.ts +0 -1
  421. package/dist/types/taquito-signer/src/ec-key.d.ts +0 -42
  422. package/dist/types/taquito-signer/src/ed-key.d.ts +0 -39
  423. package/dist/types/taquito-signer/src/errors.d.ts +0 -51
  424. package/dist/types/taquito-signer/src/helpers.d.ts +0 -10
  425. package/dist/types/taquito-signer/src/in-memory-signer.d.ts +0 -56
  426. package/dist/types/taquito-signer/src/key-interface.d.ts +0 -37
  427. package/dist/types/taquito-signer/src/taquito-signer.d.ts +0 -10
  428. package/dist/types/taquito-signer/src/version.d.ts +0 -4
  429. package/dist/types/taquito-utils/src/constants.d.ts +0 -78
  430. package/dist/types/taquito-utils/src/encoding.d.ts +0 -184
  431. package/dist/types/taquito-utils/src/errors.d.ts +0 -20
  432. package/dist/types/taquito-utils/src/format.d.ts +0 -4
  433. package/dist/types/taquito-utils/src/taquito-utils.d.ts +0 -11
  434. package/dist/types/taquito-utils/src/validators.d.ts +0 -167
  435. package/dist/types/taquito-utils/src/verify-signature.d.ts +0 -22
  436. package/dist/types/taquito-utils/src/version.d.ts +0 -4
  437. package/dist/types/taquito-wallet-connect/src/version.d.ts +0 -4
  438. /package/dist/lib/{taquito-wallet-connect/src/errors.js → errors.js} +0 -0
  439. /package/dist/lib/{taquito-wallet-connect/src/types.js → types.js} +0 -0
  440. /package/dist/types/{taquito-wallet-connect/src/errors.d.ts → errors.d.ts} +0 -0
  441. /package/dist/types/{taquito-wallet-connect/src/taquito-wallet-connect.d.ts → taquito-wallet-connect.d.ts} +0 -0
  442. /package/dist/types/{taquito-wallet-connect/src/types.d.ts → types.d.ts} +0 -0
  443. /package/dist/types/{taquito-http-utils/src/version.d.ts → version.d.ts} +0 -0
@@ -1,38 +0,0 @@
1
- /**
2
- * Signer interface which is used across taquito in order to sign and inject operation
3
- */
4
- export interface Signer {
5
- /**
6
- * @param op Message to sign
7
- * @param magicByte Magic bytes 11 for block, 12 for preattestation, 13 for attestation, 3 for generic, 5 for the PACK format of michelson
8
- * Sign the message and return an object with bytes, sig, prefixSig and sbytes
9
- */
10
- sign(op: string, magicByte?: Uint8Array): Promise<SignResult>;
11
- /**
12
- * Return the public key of the account used by the signer
13
- */
14
- publicKey(): Promise<string>;
15
- /**
16
- * Return the public key hash of the account used by the signer
17
- */
18
- publicKeyHash(): Promise<string>;
19
- /**
20
- * Optionally return the secret key of the account used by the signer
21
- */
22
- secretKey(): Promise<string | undefined>;
23
- /**
24
- * Sign the public key to prove possession for bls key and return an object with bytes, sig, prefixSig and sbytes
25
- */
26
- provePossession?(): Promise<RawSignResult>;
27
- }
28
- export interface SignResult {
29
- bytes: string;
30
- sig: string;
31
- prefixSig: string;
32
- sbytes: string;
33
- }
34
- export interface RawSignResult {
35
- sig: string;
36
- prefixSig: string;
37
- rawSignature: Uint8Array;
38
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * @packageDocumentation
3
- * @module @taquito/core
4
- */
5
- export * from './errors';
6
- export * from './signer-interfaces';
@@ -1,63 +0,0 @@
1
- import { NetworkError } from '@taquito/core';
2
- import { STATUS_CODE } from './status_code';
3
- import { ClassifiedTransportError } from './transport-errors';
4
- /**
5
- * @category Error
6
- * Error that indicates a general failure in making the HTTP request
7
- */
8
- export declare class HttpRequestFailed extends NetworkError {
9
- /** The HTTP method that was attempted. */
10
- readonly method: string;
11
- /** The URL that was requested. */
12
- readonly url: string;
13
- /** The underlying error that caused the request to fail. */
14
- readonly cause: Error;
15
- /** Structured classification of the transport failure, if one was identified. */
16
- readonly transportError?: ClassifiedTransportError;
17
- constructor(
18
- /** The HTTP method that was attempted. */
19
- method: string,
20
- /** The URL that was requested. */
21
- url: string,
22
- /** The underlying error that caused the request to fail. */
23
- cause: Error, transportError?: ClassifiedTransportError);
24
- }
25
- /**
26
- * @category Error
27
- * Error thrown when the endpoint returns an HTTP error to the client
28
- */
29
- export declare class HttpResponseError extends NetworkError {
30
- readonly message: string;
31
- /** The HTTP status code (e.g. 404, 500). */
32
- readonly status: STATUS_CODE;
33
- /** The HTTP status text (e.g. "Not Found"). */
34
- readonly statusText: string;
35
- /** The raw response body text. */
36
- readonly body: string;
37
- /** The URL that was requested. */
38
- readonly url: string;
39
- constructor(message: string,
40
- /** The HTTP status code (e.g. 404, 500). */
41
- status: STATUS_CODE,
42
- /** The HTTP status text (e.g. "Not Found"). */
43
- statusText: string,
44
- /** The raw response body text. */
45
- body: string,
46
- /** The URL that was requested. */
47
- url: string);
48
- }
49
- /**
50
- * @category Error
51
- * Error thrown when an HTTP request exceeds its configured timeout duration.
52
- */
53
- export declare class HttpTimeoutError extends NetworkError {
54
- /** The timeout duration in milliseconds that was exceeded. */
55
- readonly timeout: number;
56
- /** The URL that was requested. */
57
- readonly url: string;
58
- constructor(
59
- /** The timeout duration in milliseconds that was exceeded. */
60
- timeout: number,
61
- /** The URL that was requested. */
62
- url: string);
63
- }
@@ -1,318 +0,0 @@
1
- /**
2
- * Hypertext Transfer Protocol (HTTP) response status codes.
3
- * @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes}
4
- */
5
- export declare enum STATUS_CODE {
6
- /**
7
- * The server has received the request headers and the client should proceed to send the request body
8
- * (in the case of a request for which a body needs to be sent; for example, a POST request).
9
- * Sending a large request body to a server after a request has been rejected for inappropriate headers would be inefficient.
10
- * To have a server check the request's headers, a client must send Expect: 100-continue as a header in its initial request
11
- * and receive a 100 Continue status code in response before sending the body. The response 417 Expectation Failed indicates the request should not be continued.
12
- */
13
- CONTINUE = 100,
14
- /**
15
- * The requester has asked the server to switch protocols and the server has agreed to do so.
16
- */
17
- SWITCHING_PROTOCOLS = 101,
18
- /**
19
- * A WebDAV request may contain many sub-requests involving file operations, requiring a long time to complete the request.
20
- * This code indicates that the server has received and is processing the request, but no response is available yet.
21
- * This prevents the client from timing out and assuming the request was lost.
22
- */
23
- PROCESSING = 102,
24
- /**
25
- * Standard response for successful HTTP requests.
26
- * The actual response will depend on the request method used.
27
- * In a GET request, the response will contain an entity corresponding to the requested resource.
28
- * In a POST request, the response will contain an entity describing or containing the result of the action.
29
- */
30
- OK = 200,
31
- /**
32
- * The request has been fulfilled, resulting in the creation of a new resource.
33
- */
34
- CREATED = 201,
35
- /**
36
- * The request has been accepted for processing, but the processing has not been completed.
37
- * The request might or might not be eventually acted upon, and may be disallowed when processing occurs.
38
- */
39
- ACCEPTED = 202,
40
- /**
41
- * SINCE HTTP/1.1
42
- * The server is a transforming proxy that received a 200 OK from its origin,
43
- * but is returning a modified version of the origin's response.
44
- */
45
- NON_AUTHORITATIVE_INFORMATION = 203,
46
- /**
47
- * The server successfully processed the request and is not returning any content.
48
- */
49
- NO_CONTENT = 204,
50
- /**
51
- * The server successfully processed the request, but is not returning any content.
52
- * Unlike a 204 response, this response requires that the requester reset the document view.
53
- */
54
- RESET_CONTENT = 205,
55
- /**
56
- * The server is delivering only part of the resource (byte serving) due to a range header sent by the client.
57
- * The range header is used by HTTP clients to enable resuming of interrupted downloads,
58
- * or split a download into multiple simultaneous streams.
59
- */
60
- PARTIAL_CONTENT = 206,
61
- /**
62
- * The message body that follows is an XML message and can contain a number of separate response codes,
63
- * depending on how many sub-requests were made.
64
- */
65
- MULTI_STATUS = 207,
66
- /**
67
- * The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response,
68
- * and are not being included again.
69
- */
70
- ALREADY_REPORTED = 208,
71
- /**
72
- * The server has fulfilled a request for the resource,
73
- * and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
74
- */
75
- IM_USED = 226,
76
- /**
77
- * Indicates multiple options for the resource from which the client may choose (via agent-driven content negotiation).
78
- * For example, this code could be used to present multiple video format options,
79
- * to list files with different filename extensions, or to suggest word-sense disambiguation.
80
- */
81
- MULTIPLE_CHOICES = 300,
82
- /**
83
- * This and all future requests should be directed to the given URI.
84
- */
85
- MOVED_PERMANENTLY = 301,
86
- /**
87
- * This is an example of industry practice contradicting the standard.
88
- * The HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect
89
- * (the original describing phrase was "Moved Temporarily"), but popular browsers implemented 302
90
- * with the functionality of a 303 See Other. Therefore, HTTP/1.1 added status codes 303 and 307
91
- * to distinguish between the two behaviours. However, some Web applications and frameworks
92
- * use the 302 status code as if it were the 303.
93
- */
94
- FOUND = 302,
95
- /**
96
- * SINCE HTTP/1.1
97
- * The response to the request can be found under another URI using a GET method.
98
- * When received in response to a POST (or PUT/DELETE), the client should presume that
99
- * the server has received the data and should issue a redirect with a separate GET message.
100
- */
101
- SEE_OTHER = 303,
102
- /**
103
- * Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.
104
- * In such case, there is no need to retransmit the resource since the client still has a previously-downloaded copy.
105
- */
106
- NOT_MODIFIED = 304,
107
- /**
108
- * SINCE HTTP/1.1
109
- * The requested resource is available only through a proxy, the address for which is provided in the response.
110
- * Many HTTP clients (such as Mozilla and Internet Explorer) do not correctly handle responses with this status code, primarily for security reasons.
111
- */
112
- USE_PROXY = 305,
113
- /**
114
- * No longer used. Originally meant "Subsequent requests should use the specified proxy."
115
- */
116
- SWITCH_PROXY = 306,
117
- /**
118
- * SINCE HTTP/1.1
119
- * In this case, the request should be repeated with another URI; however, future requests should still use the original URI.
120
- * In contrast to how 302 was historically implemented, the request method is not allowed to be changed when reissuing the original request.
121
- * For example, a POST request should be repeated using another POST request.
122
- */
123
- TEMPORARY_REDIRECT = 307,
124
- /**
125
- * The request and all future requests should be repeated using another URI.
126
- * 307 and 308 parallel the behaviors of 302 and 301, but do not allow the HTTP method to change.
127
- * So, for example, submitting a form to a permanently redirected resource may continue smoothly.
128
- */
129
- PERMANENT_REDIRECT = 308,
130
- /**
131
- * The server cannot or will not process the request due to an apparent client error
132
- * (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing).
133
- */
134
- BAD_REQUEST = 400,
135
- /**
136
- * Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet
137
- * been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the
138
- * requested resource. See Basic access authentication and Digest access authentication. 401 semantically means
139
- * "unauthenticated",i.e. the user does not have the necessary credentials.
140
- */
141
- UNAUTHORIZED = 401,
142
- /**
143
- * Reserved for future use. The original intention was that this code might be used as part of some form of digital
144
- * cash or micro payment scheme, but that has not happened, and this code is not usually used.
145
- * Google Developers API uses this status if a particular developer has exceeded the daily limit on requests.
146
- */
147
- PAYMENT_REQUIRED = 402,
148
- /**
149
- * The request was valid, but the server is refusing action.
150
- * The user might not have the necessary permissions for a resource.
151
- */
152
- FORBIDDEN = 403,
153
- /**
154
- * The requested resource could not be found but may be available in the future.
155
- * Subsequent requests by the client are permissible.
156
- */
157
- NOT_FOUND = 404,
158
- /**
159
- * A request method is not supported for the requested resource;
160
- * for example, a GET request on a form that requires data to be presented via POST, or a PUT request on a read-only resource.
161
- */
162
- METHOD_NOT_ALLOWED = 405,
163
- /**
164
- * The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
165
- */
166
- NOT_ACCEPTABLE = 406,
167
- /**
168
- * The client must first authenticate itself with the proxy.
169
- */
170
- PROXY_AUTHENTICATION_REQUIRED = 407,
171
- /**
172
- * The server timed out waiting for the request.
173
- * According to HTTP specifications:
174
- * "The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request without modifications at any later time."
175
- */
176
- REQUEST_TIMEOUT = 408,
177
- /**
178
- * Indicates that the request could not be processed because of conflict in the request,
179
- * such as an edit conflict between multiple simultaneous updates.
180
- */
181
- CONFLICT = 409,
182
- /**
183
- * Indicates that the resource requested is no longer available and will not be available again.
184
- * This should be used when a resource has been intentionally removed and the resource should be purged.
185
- * Upon receiving a 410 status code, the client should not request the resource in the future.
186
- * Clients such as search engines should remove the resource from their indices.
187
- * Most use cases do not require clients and search engines to purge the resource, and a "404 Not Found" may be used instead.
188
- */
189
- GONE = 410,
190
- /**
191
- * The request did not specify the length of its content, which is required by the requested resource.
192
- */
193
- LENGTH_REQUIRED = 411,
194
- /**
195
- * The server does not meet one of the preconditions that the requester put on the request.
196
- */
197
- PRECONDITION_FAILED = 412,
198
- /**
199
- * The request is larger than the server is willing or able to process. Previously called "Request Entity Too Large".
200
- */
201
- PAYLOAD_TOO_LARGE = 413,
202
- /**
203
- * The URI provided was too long for the server to process. Often the result of too much data being encoded as a query-string of a GET request,
204
- * in which case it should be converted to a POST request.
205
- * Called "Request-URI Too Long" previously.
206
- */
207
- URI_TOO_LONG = 414,
208
- /**
209
- * The request entity has a media type which the server or resource does not support.
210
- * For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.
211
- */
212
- UNSUPPORTED_MEDIA_TYPE = 415,
213
- /**
214
- * The client has asked for a portion of the file (byte serving), but the server cannot supply that portion.
215
- * For example, if the client asked for a part of the file that lies beyond the end of the file.
216
- * Called "Requested Range Not Satisfiable" previously.
217
- */
218
- RANGE_NOT_SATISFIABLE = 416,
219
- /**
220
- * The server cannot meet the requirements of the Expect request-header field.
221
- */
222
- EXPECTATION_FAILED = 417,
223
- /**
224
- * This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol,
225
- * and is not expected to be implemented by actual HTTP servers. The RFC specifies this code should be returned by
226
- * teapots requested to brew coffee. This HTTP status is used as an Easter egg in some websites, including Google.com.
227
- */
228
- I_AM_A_TEAPOT = 418,
229
- /**
230
- * The request was directed at a server that is not able to produce a response (for example because a connection reuse).
231
- */
232
- MISDIRECTED_REQUEST = 421,
233
- /**
234
- * The request was well-formed but was unable to be followed due to semantic errors.
235
- */
236
- UNPROCESSABLE_ENTITY = 422,
237
- /**
238
- * The resource that is being accessed is locked.
239
- */
240
- LOCKED = 423,
241
- /**
242
- * The request failed due to failure of a previous request (e.g., a PROPPATCH).
243
- */
244
- FAILED_DEPENDENCY = 424,
245
- /**
246
- * The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.
247
- */
248
- UPGRADE_REQUIRED = 426,
249
- /**
250
- * The origin server requires the request to be conditional.
251
- * Intended to prevent "the 'lost update' problem, where a client
252
- * GETs a resource's state, modifies it, and PUTs it back to the server,
253
- * when meanwhile a third party has modified the state on the server, leading to a conflict."
254
- */
255
- PRECONDITION_REQUIRED = 428,
256
- /**
257
- * The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
258
- */
259
- TOO_MANY_REQUESTS = 429,
260
- /**
261
- * The server is unwilling to process the request because either an individual header field,
262
- * or all the header fields collectively, are too large.
263
- */
264
- REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
265
- /**
266
- * A server operator has received a legal demand to deny access to a resource or to a set of resources
267
- * that includes the requested resource. The code 451 was chosen as a reference to the novel Fahrenheit 451.
268
- */
269
- UNAVAILABLE_FOR_LEGAL_REASONS = 451,
270
- /**
271
- * A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
272
- */
273
- INTERNAL_SERVER_ERROR = 500,
274
- /**
275
- * The server either does not recognize the request method, or it lacks the ability to fulfill the request.
276
- * Usually this implies future availability (e.g., a new feature of a web-service API).
277
- */
278
- NOT_IMPLEMENTED = 501,
279
- /**
280
- * The server was acting as a gateway or proxy and received an invalid response from the upstream server.
281
- */
282
- BAD_GATEWAY = 502,
283
- /**
284
- * The server is currently unavailable (because it is overloaded or down for maintenance).
285
- * Generally, this is a temporary state.
286
- */
287
- SERVICE_UNAVAILABLE = 503,
288
- /**
289
- * The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
290
- */
291
- GATEWAY_TIMEOUT = 504,
292
- /**
293
- * The server does not support the HTTP protocol version used in the request
294
- */
295
- HTTP_VERSION_NOT_SUPPORTED = 505,
296
- /**
297
- * Transparent content negotiation for the request results in a circular reference.
298
- */
299
- VARIANT_ALSO_NEGOTIATES = 506,
300
- /**
301
- * The server is unable to store the representation needed to complete the request.
302
- */
303
- INSUFFICIENT_STORAGE = 507,
304
- /**
305
- * The server detected an infinite loop while processing the request.
306
- */
307
- LOOP_DETECTED = 508,
308
- /**
309
- * Further extensions to the request are required for the server to fulfill it.
310
- */
311
- NOT_EXTENDED = 510,
312
- /**
313
- * The client needs to authenticate to gain network access.
314
- * Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used
315
- * to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).
316
- */
317
- NETWORK_AUTHENTICATION_REQUIRED = 511
318
- }
@@ -1,58 +0,0 @@
1
- /**
2
- * @packageDocumentation
3
- * @module @taquito/http-utils
4
- */
5
- export * from './status_code';
6
- export { VERSION } from './version';
7
- export { HttpRequestFailed, HttpResponseError, HttpTimeoutError } from './errors';
8
- export { classifyTransportError } from './transport-errors';
9
- export type { ClassifiedTransportError, TransportErrorKind } from './transport-errors';
10
- type ObjectType = Record<string, any>;
11
- /** Options for {@link HttpBackend.createRequest}. */
12
- export interface HttpRequestOptions {
13
- /** RPC endpoint URL. */
14
- url: string;
15
- /** HTTP method. Defaults to `'GET'`. */
16
- method?: 'GET' | 'POST';
17
- /** Per-request timeout in milliseconds. Defaults to the backend's constructor value (30 000 ms). */
18
- timeout?: number;
19
- /** Parse the response as JSON. When `false`, returns raw text. Defaults to `true`. */
20
- json?: boolean;
21
- /** Query parameters appended to the URL as a query string. */
22
- query?: ObjectType;
23
- /** HTTP headers. `Content-Type: application/json` is set by default if not provided. */
24
- headers?: {
25
- [key: string]: string;
26
- };
27
- }
28
- /**
29
- * HTTP client used by Taquito to communicate with Tezos RPC nodes.
30
- *
31
- * Uses `globalThis.fetch` (Node.js >= 22 built-in or browser native).
32
- * Retries retriable transport errors (socket resets, DNS, timeouts) with
33
- * exponential backoff and jitter. Configure via environment variables:
34
- *
35
- * - `TAQUITO_HTTP_RETRY_COUNT` - max retries (default `1`)
36
- * - `TAQUITO_HTTP_RETRY_BASE_MS` - base delay in ms (default `100`)
37
- * - `TAQUITO_HTTP_TRACE` - emit JSON request logs when `true` or `1`
38
- */
39
- export declare class HttpBackend {
40
- private timeout;
41
- /**
42
- * @param timeout - Default request timeout in milliseconds (default `30000`).
43
- */
44
- constructor(timeout?: number);
45
- /** Serialize an object into a URL query string (including the leading `?`). */
46
- protected serialize(obj?: ObjectType): string;
47
- /**
48
- * Send an HTTP request to the given URL, with automatic retries on transport errors.
49
- *
50
- * @param options - Request configuration (URL, method, timeout, headers, etc.).
51
- * @param data - Request body, serialized to JSON via `JSON.stringify`.
52
- * @returns The parsed JSON response (or raw text when `json: false`).
53
- * @throws {@link HttpResponseError} when the server returns HTTP status >= 400.
54
- * @throws {@link HttpTimeoutError} when the request exceeds the configured timeout.
55
- * @throws {@link HttpRequestFailed} for transport-level failures (network, DNS, socket, etc.).
56
- */
57
- createRequest<T>({ url, method, timeout, query, headers, json }: HttpRequestOptions, data?: object | string): Promise<T>;
58
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Cross-runtime transport error classifier.
3
- *
4
- * Inspects structural properties first (err.code, err.cause.code, err.name),
5
- * falls back to message substring matching only when structure isn't enough.
6
- * Handles node-fetch FetchError, native fetch/undici TypeError + cause chain,
7
- * browser TypeError, Deno, and Bun error shapes.
8
- */
9
- export type TransportErrorKind = 'abort' | 'dns' | 'connect' | 'socket' | 'tls' | 'timeout' | 'network';
10
- /** Result of classifying a transport-level error. */
11
- export interface ClassifiedTransportError {
12
- /** The category of transport failure. */
13
- readonly kind: TransportErrorKind;
14
- /** Whether the request may have been received by the server before the failure. */
15
- readonly mayHaveReachedServer: boolean;
16
- /** The original error that was classified. */
17
- readonly original: Error;
18
- }
19
- /**
20
- * Classify a thrown value as a transport-level error.
21
- *
22
- * Inspects structural properties first (err.code, err.cause.code, err.name),
23
- * then falls back to message substring matching. Handles node-fetch FetchError,
24
- * native fetch/undici TypeError + cause chain, browser TypeError, Deno, and Bun.
25
- *
26
- * @returns the classification, or `undefined` if the error is not transport-related.
27
- */
28
- export declare function classifyTransportError(err: unknown): ClassifiedTransportError | undefined;
@@ -1,79 +0,0 @@
1
- import { PrefixV2 } from '@taquito/utils';
2
- import { MichelsonValue } from './michelson/codec';
3
- import { Uint8ArrayConsumer } from './uint8array-consumer';
4
- export declare const prefixEncoder: (prefix: PrefixV2) => (str: string) => string;
5
- export declare const prefixDecoder: (pre: PrefixV2) => (str: Uint8ArrayConsumer) => string;
6
- export declare const tz1Decoder: (str: Uint8ArrayConsumer) => string;
7
- export declare const branchDecoder: (str: Uint8ArrayConsumer) => string;
8
- export declare const publicKeyHashDecoder: (val: Uint8ArrayConsumer) => string | undefined;
9
- export declare const publicKeyHashesDecoder: (val: Uint8ArrayConsumer) => (string | undefined)[] | undefined;
10
- export declare const branchEncoder: (str: string) => string;
11
- export declare const tz1Encoder: (str: string) => string;
12
- export declare const boolEncoder: (bool: unknown) => string;
13
- export declare const proposalEncoder: (proposal: string) => string;
14
- export declare const proposalDecoder: (proposal: Uint8ArrayConsumer) => string;
15
- export declare const proposalsDecoder: (proposal: Uint8ArrayConsumer) => string[];
16
- export declare const proposalsEncoder: (proposals: string[]) => string;
17
- export declare const ballotEncoder: (ballot: string) => string;
18
- export declare const ballotDecoder: (ballot: Uint8ArrayConsumer) => string;
19
- export declare const pvmKindEncoder: (pvm: string) => string;
20
- export declare const pvmKindDecoder: (pvm: Uint8ArrayConsumer) => string;
21
- export declare const delegateEncoder: (val: string) => string;
22
- export declare const int32Encoder: (val: number | string) => string;
23
- export declare const int32Decoder: (val: Uint8ArrayConsumer) => number;
24
- export declare const int16Encoder: (val: number | string) => string;
25
- export declare const int16Decoder: (val: Uint8ArrayConsumer) => number;
26
- export declare const boolDecoder: (val: Uint8ArrayConsumer) => boolean;
27
- export declare const delegateDecoder: (val: Uint8ArrayConsumer) => string | undefined;
28
- export declare const publicKeyHashEncoder: (val: string) => string;
29
- export declare const publicKeyHashesEncoder: (val?: string[]) => string;
30
- export declare const publicKeyEncoder: (val: string) => string;
31
- export declare const addressEncoder: (val: string) => string;
32
- export declare const smartRollupAddressEncoder: (val: string) => string;
33
- export declare const smartContractAddressEncoder: (val: string) => string;
34
- export declare const publicKeyDecoder: (val: Uint8ArrayConsumer) => string;
35
- export declare const smartRollupCommitmentHashEncoder: (val: string) => string;
36
- export declare const addressDecoder: (val: Uint8ArrayConsumer) => string | undefined;
37
- export declare const smartRollupAddressDecoder: (val: Uint8ArrayConsumer) => string;
38
- export declare const smartContractAddressDecoder: (val: Uint8ArrayConsumer) => string;
39
- export declare const smartRollupCommitmentHashDecoder: (val: Uint8ArrayConsumer) => string;
40
- export declare const zarithEncoder: (n: string) => string;
41
- export declare const zarithDecoder: (n: Uint8ArrayConsumer) => string;
42
- export declare const entrypointDecoder: (value: Uint8ArrayConsumer) => string;
43
- export declare const parametersDecoder: (val: Uint8ArrayConsumer) => {
44
- entrypoint: string;
45
- value: string | number | object | undefined;
46
- } | undefined;
47
- export declare const entrypointEncoder: (entrypoint: string) => string;
48
- export declare const parametersEncoder: (val: {
49
- entrypoint: string;
50
- value: MichelsonValue;
51
- }) => string;
52
- export declare const valueParameterEncoder: (value: MichelsonValue) => string;
53
- export declare const valueParameterDecoder: (val: Uint8ArrayConsumer) => string | number | object | undefined;
54
- export declare const blockPayloadHashEncoder: (str: string) => string;
55
- export declare const blockPayloadHashDecoder: (str: Uint8ArrayConsumer) => string;
56
- export declare const entrypointNameEncoder: (entrypoint: string) => string;
57
- export declare const entrypointNameDecoder: (val: Uint8ArrayConsumer) => string;
58
- export declare const burnLimitEncoder: (val: string) => string;
59
- export declare const burnLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined;
60
- export declare const depositsLimitEncoder: (val: string) => string;
61
- export declare const depositsLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined;
62
- export declare const signatureProofEncoder: (val: string) => string;
63
- export declare const signatureProofDecoder: (value: Uint8ArrayConsumer) => string | undefined;
64
- export declare const paddedBytesEncoder: (val: string, paddingLength?: number) => string;
65
- export declare const paddedBytesDecoder: (val: Uint8ArrayConsumer) => string;
66
- export declare const smartRollupMessageEncoder: (val: string[]) => string;
67
- export declare const smartRollupMessageDecoder: (val: Uint8ArrayConsumer) => string[];
68
- export declare const dalCommitmentEncoder: (val: string) => string;
69
- export declare const dalCommitmentDecoder: (val: Uint8ArrayConsumer) => string;
70
- export declare const slotHeaderEncoder: (val: {
71
- slot_index: number;
72
- commitment: string;
73
- commitment_proof: string;
74
- }) => string;
75
- export declare const slotHeaderDecoder: (val: Uint8ArrayConsumer) => {
76
- slot_index: number;
77
- commitment: string;
78
- commitment_proof: string;
79
- };
@@ -1,75 +0,0 @@
1
- export declare const ENTRYPOINT_MAX_LENGTH = 31;
2
- export declare enum CODEC {
3
- SECRET = "secret",
4
- RAW = "raw",
5
- TZ1 = "tz1",
6
- BRANCH = "branch",
7
- ZARITH = "zarith",
8
- PUBLIC_KEY = "public_key",
9
- PKH = "pkh",
10
- PKH_ARR = "pkhArr",
11
- DELEGATE = "delegate",
12
- SCRIPT = "script",
13
- BALLOT_STATEMENT = "ballotStmt",
14
- PROPOSAL = "proposal",
15
- PROPOSAL_ARR = "proposalArr",
16
- INT32 = "int32",
17
- INT16 = "int16",
18
- PARAMETERS = "parameters",
19
- ADDRESS = "address",
20
- SMART_CONTRACT_ADDRESS = "smart_contract_address",
21
- SMART_ROLLUP_ADDRESS = "smart_rollup_address",
22
- SMART_ROLLUP_COMMITMENT_HASH = "smart_rollup_commitment_hash",
23
- VALUE = "value",
24
- PADDED_BYTES = "padded_bytes",
25
- SMART_ROLLUP_MESSAGE = "smart_rollup_message",
26
- MANAGER = "manager",
27
- BLOCK_PAYLOAD_HASH = "blockPayloadHash",
28
- ENTRYPOINT = "entrypoint",
29
- OPERATION = "operation",
30
- OP_ACTIVATE_ACCOUNT = "activate_account",
31
- OP_DELEGATION = "delegation",
32
- OP_TRANSACTION = "transaction",
33
- OP_ORIGINATION = "origination",
34
- OP_BALLOT = "ballot",
35
- OP_FAILING_NOOP = "failing_noop",
36
- OP_ATTESTATION = "attestation",
37
- OP_ATTESTATION_WITH_DAL = "attestation_with_dal",
38
- OP_SEED_NONCE_REVELATION = "seed_nonce_revelation",
39
- OP_REVEAL = "reveal",
40
- OP_PROPOSALS = "proposals",
41
- OP_REGISTER_GLOBAL_CONSTANT = "register_global_constant",
42
- OP_TRANSFER_TICKET = "transfer_ticket",
43
- BURN_LIMIT = "burn_limit",
44
- OP_INCREASE_PAID_STORAGE = "increase_paid_storage",
45
- OP_UPDATE_CONSENSUS_KEY = "update_consensus_key",
46
- OP_UPDATE_COMPANION_KEY = "update_companion_key",
47
- SIGNATURE_PROOF = "signature_proof",
48
- OP_DRAIN_DELEGATE = "drain_delegate",
49
- DEPOSITS_LIMIT = "deposits_limit",
50
- OP_SET_DEPOSITS_LIMIT = "set_deposits_limit",
51
- OP_SMART_ROLLUP_ORIGINATE = "smart_rollup_originate",
52
- PVM_KIND = "pvm_kind",
53
- OP_SMART_ROLLUP_ADD_MESSAGES = "smart_rollup_add_messages",
54
- OP_SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE = "smart_rollup_execute_outbox_message",
55
- OP_DAL_PUBLISH_COMMITMENT = "dal_publish_commitment",
56
- SLOT_HEADER = "slot_header"
57
- }
58
- export declare const opMapping: {
59
- [key: string]: string;
60
- };
61
- export declare const opMappingReverse: {
62
- [key: string]: string;
63
- };
64
- export declare const kindMapping: {
65
- [key: number]: string;
66
- };
67
- export declare const kindMappingReverse: {
68
- [key: string]: string;
69
- };
70
- export declare const entrypointMapping: {
71
- [key: string]: string;
72
- };
73
- export declare const entrypointMappingReverse: {
74
- [key: string]: string;
75
- };