ripple-binary-codec 2.3.0-batch.0 → 2.3.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.
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { quality, binary, HashPrefix } from './coretypes'
2
2
  import { decodeLedgerData } from './ledger-hashes'
3
- import { ClaimObject, BatchObject } from './binary'
3
+ import { ClaimObject } from './binary'
4
4
  import { JsonObject } from './types/serialized-type'
5
5
  import {
6
6
  XrplDefinitionsBase,
@@ -15,7 +15,6 @@ const {
15
15
  signingData,
16
16
  signingClaimData,
17
17
  multiSigningData,
18
- signingBatchData,
19
18
  binaryToJSON,
20
19
  serializeObject,
21
20
  } = binary
@@ -111,13 +110,6 @@ function encodeForMultisigning(
111
110
  )
112
111
  }
113
112
 
114
- function encodeForSigningBatch(json: object): string {
115
- if (typeof json !== 'object') {
116
- throw new Error()
117
- }
118
- return bytesToHex(signingBatchData(json as BatchObject))
119
- }
120
-
121
113
  /**
122
114
  * Encode a quality value
123
115
  *
@@ -150,7 +142,6 @@ export {
150
142
  encodeForSigning,
151
143
  encodeForSigningClaim,
152
144
  encodeForMultisigning,
153
- encodeForSigningBatch,
154
145
  encodeQuality,
155
146
  decodeQuality,
156
147
  decodeLedgerData,
package/src/.DS_Store DELETED
Binary file