bsv-sdk 0.18.1 → 0.19.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.
@@ -1,26 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module BSV
4
- module Network
5
- # @deprecated Use {BSV::Network::Protocols::WoCREST} directly instead.
6
- # The facade converted clean Result objects into exceptions — every
7
- # consumer immediately caught them and converted back to data.
8
- # Use the protocol layer, which returns Result objects natively.
9
- class WhatsOnChain
10
- # Raised when deprecated facade classes are instantiated.
11
- class DeprecationError < StandardError; end
12
-
13
- MESSAGE = 'BSV::Network::WhatsOnChain is deprecated. ' \
14
- 'Use BSV::Network::Protocols::WoCREST directly — it returns Result objects ' \
15
- 'instead of raising exceptions. See BSV::Network::Protocols::WoCREST for usage.'
16
-
17
- def self.default(**)
18
- raise DeprecationError, MESSAGE
19
- end
20
-
21
- def initialize(*)
22
- raise DeprecationError, MESSAGE
23
- end
24
- end
25
- end
26
- end