opnet 1.0.32 → 1.0.33

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 (155) hide show
  1. package/browser/_version.d.ts +1 -1
  2. package/browser/index.js +1 -1
  3. package/browser/providers/AbstractRpcProvider.d.ts +5 -3
  4. package/browser/providers/JSONRpcProvider.d.ts +1 -1
  5. package/browser/scripts/ITestContract.d.ts +11 -0
  6. package/browser/transactions/decoders/UnwrapTransaction.d.ts +11 -0
  7. package/browser/transactions/interfaces/transactions/IUnwrapTransaction.d.ts +28 -0
  8. package/build/_version.d.ts +1 -1
  9. package/build/_version.js +1 -1
  10. package/build/contracts/Contract.js +3 -0
  11. package/build/providers/AbstractRpcProvider.d.ts +5 -3
  12. package/build/providers/AbstractRpcProvider.js +33 -6
  13. package/build/providers/JSONRpcProvider.d.ts +1 -1
  14. package/build/scripts/ITestContract.d.ts +11 -0
  15. package/build/scripts/ITestContract.js +219 -4
  16. package/build/scripts/testMethodsReg.js +9 -8
  17. package/build/transactions/TransactionParser.js +3 -0
  18. package/build/transactions/decoders/UnwrapTransaction.d.ts +11 -0
  19. package/build/transactions/decoders/UnwrapTransaction.js +28 -0
  20. package/build/transactions/interfaces/transactions/IUnwrapTransaction.d.ts +28 -0
  21. package/build/transactions/interfaces/transactions/IUnwrapTransaction.js +1 -0
  22. package/cjs/_version.d.ts +1 -1
  23. package/cjs/_version.js +1 -1
  24. package/cjs/block/Block.d.ts +1 -1
  25. package/cjs/block/interfaces/IBlock.d.ts +1 -1
  26. package/cjs/common/CommonTypes.d.ts +3 -0
  27. package/cjs/opnet.d.ts +4 -1
  28. package/cjs/opnet.js +4 -1
  29. package/cjs/providers/AbstractRpcProvider.d.ts +9 -5
  30. package/cjs/providers/AbstractRpcProvider.js +49 -31
  31. package/cjs/providers/JSONRpcProvider.d.ts +3 -2
  32. package/cjs/providers/JSONRpcProvider.js +18 -3
  33. package/cjs/providers/WebsocketRpcProvider.d.ts +3 -2
  34. package/cjs/providers/WebsocketRpcProvider.js +3 -3
  35. package/cjs/providers/interfaces/Generate.d.ts +1 -15
  36. package/cjs/providers/interfaces/JSONRpc.d.ts +11 -0
  37. package/cjs/providers/interfaces/JSONRpc.js +2 -0
  38. package/cjs/providers/interfaces/JSONRpcMethods.d.ts +17 -0
  39. package/cjs/providers/interfaces/JSONRpcMethods.js +21 -0
  40. package/cjs/providers/interfaces/JSONRpcParams.d.ts +3 -0
  41. package/cjs/providers/interfaces/JSONRpcParams.js +2 -0
  42. package/cjs/providers/interfaces/JSONRpcResult.d.ts +51 -0
  43. package/cjs/providers/interfaces/JSONRpcResult.js +29 -0
  44. package/cjs/scripts/testMethods.js +7 -9
  45. package/cjs/scripts/testMethodsReg.js +2 -2
  46. package/cjs/storage/interfaces/IStorageValue.d.ts +1 -2
  47. package/cjs/transactions/Transaction.d.ts +1 -1
  48. package/cjs/transactions/interfaces/ITransaction.d.ts +1 -1
  49. package/cjs/utils/BitcoinUtils.d.ts +1 -1
  50. package/docs/assets/search.js +1 -1
  51. package/docs/classes/AbstractRpcProvider.html +31 -21
  52. package/docs/classes/BaseContract.html +7 -7
  53. package/docs/classes/BitcoinAddress.html +2 -2
  54. package/docs/classes/BitcoinInterface.html +2 -2
  55. package/docs/classes/BitcoinUtils.html +2 -2
  56. package/docs/classes/Block.html +3 -3
  57. package/docs/classes/CallResult.html +2 -2
  58. package/docs/classes/ContractData.html +2 -2
  59. package/docs/classes/DeploymentTransaction.html +24 -24
  60. package/docs/classes/GenericTransaction.html +14 -14
  61. package/docs/classes/IBaseContract.html +7 -7
  62. package/docs/classes/InteractionTransaction.html +21 -21
  63. package/docs/classes/JSONRpcProvider.html +34 -19
  64. package/docs/classes/OPNetEvent.html +2 -2
  65. package/docs/classes/StoredValue.html +2 -2
  66. package/docs/classes/TransactionBase.html +14 -14
  67. package/docs/classes/TransactionInput.html +2 -2
  68. package/docs/classes/TransactionOutput.html +2 -2
  69. package/docs/classes/TransactionParser.html +2 -2
  70. package/docs/classes/TransactionReceipt.html +7 -7
  71. package/docs/classes/UTXO.html +2 -2
  72. package/docs/classes/WebSocketRpcProvider.html +34 -19
  73. package/docs/classes/WrapTransaction.html +28 -28
  74. package/docs/enums/BitcoinAbiTypes.html +2 -2
  75. package/docs/enums/GenerateTarget.html +2 -2
  76. package/docs/enums/JSONRPCErrorCode.html +2 -2
  77. package/docs/enums/JSONRPCErrorHttpCodes.html +2 -2
  78. package/docs/enums/JSONRpcMethods.html +9 -9
  79. package/docs/enums/OPNetTransactionTypes.html +2 -2
  80. package/docs/functions/getContract.html +1 -1
  81. package/docs/interfaces/BaseContractProperties.html +2 -2
  82. package/docs/interfaces/BitcoinAbiValue.html +3 -3
  83. package/docs/interfaces/BitcoinInterfaceAbiBase.html +2 -2
  84. package/docs/interfaces/BroadcastedTransaction.html +6 -6
  85. package/docs/interfaces/ContractEvents.html +1 -1
  86. package/docs/interfaces/EventBaseData.html +2 -2
  87. package/docs/interfaces/FunctionBaseData.html +2 -2
  88. package/docs/interfaces/IAccessList.html +1 -1
  89. package/docs/interfaces/IAccessListItem.html +1 -1
  90. package/docs/interfaces/IBlock.html +3 -3
  91. package/docs/interfaces/IBlockCommon.html +3 -3
  92. package/docs/interfaces/IBlockWitness.html +2 -2
  93. package/docs/interfaces/IBlockWitnessAPI.html +2 -2
  94. package/docs/interfaces/ICallRequestError.html +2 -2
  95. package/docs/interfaces/ICallResultData.html +2 -2
  96. package/docs/interfaces/ICommonTransaction.html +16 -16
  97. package/docs/interfaces/IContract.html +2 -2
  98. package/docs/interfaces/IDecodedEvent.html +2 -2
  99. package/docs/interfaces/IDeploymentTransaction.html +23 -23
  100. package/docs/interfaces/IGenericTransaction.html +13 -13
  101. package/docs/interfaces/IInteractionTransaction.html +20 -20
  102. package/docs/interfaces/IRawContract.html +2 -2
  103. package/docs/interfaces/IRawContractEvents.html +1 -1
  104. package/docs/interfaces/IStorageValue.html +2 -2
  105. package/docs/interfaces/ITransactionBase.html +13 -13
  106. package/docs/interfaces/ITransactionInput.html +2 -2
  107. package/docs/interfaces/ITransactionOutput.html +2 -2
  108. package/docs/interfaces/ITransactionReceipt.html +5 -5
  109. package/docs/interfaces/IUTXO.html +2 -2
  110. package/docs/interfaces/IWrapTransaction.html +27 -27
  111. package/docs/interfaces/JSONRpc2Request.html +2 -2
  112. package/docs/interfaces/JSONRpc2ResponseError.html +2 -2
  113. package/docs/interfaces/JSONRpc2ResponseResult.html +2 -2
  114. package/docs/interfaces/JSONRpc2ResultData.html +1 -1
  115. package/docs/interfaces/JSONRpcErrorData.html +1 -1
  116. package/docs/interfaces/JSONRpcParams.html +1 -1
  117. package/docs/interfaces/JSONRpcResultError.html +2 -2
  118. package/docs/interfaces/NetEventDocument.html +5 -5
  119. package/docs/interfaces/ReorgInformation.html +2 -2
  120. package/docs/types/BaseContractProperty.html +1 -1
  121. package/docs/types/BigNumberish.html +1 -1
  122. package/docs/types/BitcoinAddressLike.html +1 -1
  123. package/docs/types/BitcoinInterfaceAbi.html +1 -1
  124. package/docs/types/BlockHeaderChecksumProof.html +1 -1
  125. package/docs/types/BlockTag.html +1 -1
  126. package/docs/types/BlockWitnesses.html +1 -1
  127. package/docs/types/ContractDecodedObjectResult.html +1 -1
  128. package/docs/types/DecodedCallResult.html +1 -1
  129. package/docs/types/DecodedOutput.html +1 -1
  130. package/docs/types/GenerationParameters.html +1 -1
  131. package/docs/types/ICallResult.html +1 -1
  132. package/docs/types/ITransaction.html +1 -1
  133. package/docs/types/InteractionType.html +1 -1
  134. package/docs/types/JSONRpc2RequestParams.html +1 -1
  135. package/docs/types/JSONRpc2Result.html +1 -1
  136. package/docs/types/JSONRpcId.html +1 -1
  137. package/docs/types/JsonRpcCallResult.html +1 -1
  138. package/docs/types/JsonRpcError.html +1 -1
  139. package/docs/types/JsonRpcPayload.html +1 -1
  140. package/docs/types/JsonRpcResult.html +1 -1
  141. package/docs/types/Numeric.html +1 -1
  142. package/docs/types/PointerLike.html +1 -1
  143. package/docs/types/RawContractEvents.html +1 -1
  144. package/docs/types/UTXOs.html +1 -1
  145. package/docs/variables/version.html +1 -1
  146. package/package.json +4 -4
  147. package/src/_version.ts +1 -1
  148. package/src/contracts/Contract.ts +7 -0
  149. package/src/providers/AbstractRpcProvider.ts +66 -17
  150. package/src/providers/JSONRpcProvider.ts +2 -2
  151. package/src/scripts/ITestContract.ts +253 -5
  152. package/src/scripts/testMethodsReg.ts +32 -10
  153. package/src/transactions/TransactionParser.ts +4 -0
  154. package/src/transactions/decoders/UnwrapTransaction.ts +67 -0
  155. package/src/transactions/interfaces/transactions/IUnwrapTransaction.ts +59 -0
@@ -1 +1 @@
1
- export declare const version = "1.0.32";
1
+ export declare const version = "1.0.33";