Skip to content

Commit 9d75693

Browse files
committed
feat: update modules
1 parent b53a9ec commit 9d75693

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+407
-411
lines changed

docs/pages/reference/modules/modules/Anchor.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ parent: Modules
2121
- [model](#model)
2222
- [Anchor (class)](#anchor-class)
2323
- [schemas](#schemas)
24-
- [CBORBytesSchema](#cborbytesschema)
25-
- [CBORHexSchema](#cborhexschema)
24+
- [FromBytes](#FromBytes)
25+
- [FromHex](#FromHex)
2626
- [FromCDDL](#fromcddl)
2727
- [utils](#utils)
2828
- [Codec](#codec)
@@ -102,14 +102,14 @@ Added in v2.0.0
102102

103103
# schemas
104104

105-
## CBORBytesSchema
105+
## FromBytes
106106

107107
CBOR bytes transformation schema for Anchor.
108108

109109
**Signature**
110110

111111
```ts
112-
export declare const CBORBytesSchema: (
112+
export declare const FromBytes: (
113113
options?: CBOR.CodecOptions
114114
) => Schema.transform<
115115
Schema.transformOrFail<
@@ -127,14 +127,14 @@ export declare const CBORBytesSchema: (
127127

128128
Added in v2.0.0
129129

130-
## CBORHexSchema
130+
## FromHex
131131

132132
CBOR hex transformation schema for Anchor.
133133

134134
**Signature**
135135

136136
```ts
137-
export declare const CBORHexSchema: (
137+
export declare const FromHex: (
138138
options?: CBOR.CodecOptions
139139
) => Schema.transform<
140140
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/CBOR.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ parent: Modules
3030
- [utils](#utils)
3131
- [ArraySchema](#arrayschema)
3232
- [ByteArray](#bytearray)
33-
- [CBORHexSchema](#cborhexschema)
33+
- [FromHex](#FromHex)
3434
- [Codec](#codec)
3535
- [Float](#float)
3636
- [MapSchema](#mapschema)
@@ -274,12 +274,12 @@ export declare const ArraySchema: Schema.Array$<Schema.suspend<CBOR, CBOR, never
274274
export declare const ByteArray: typeof Schema.Uint8ArrayFromSelf
275275
```
276276
277-
## CBORHexSchema
277+
## FromHex
278278
279279
**Signature**
280280
281281
```ts
282-
export declare const CBORHexSchema: (
282+
export declare const FromHex: (
283283
options: CodecOptions
284284
) => Schema.transform<
285285
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/DRep.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ parent: Modules
3434
- [isKeyHashDRep](#iskeyhashdrep)
3535
- [isScriptHashDRep](#isscripthashdrep)
3636
- [schemas](#schemas)
37-
- [CBORBytesSchema](#cborbytesschema)
38-
- [CBORHexSchema](#cborhexschema)
37+
- [FromBytes](#FromBytes)
38+
- [FromHex](#FromHex)
3939
- [DRep](#drep)
4040
- [DRepCDDLSchema](#drepcddlschema)
4141
- [transformation](#transformation)
@@ -275,14 +275,14 @@ Added in v2.0.0
275275
276276
# schemas
277277
278-
## CBORBytesSchema
278+
## FromBytes
279279
280280
CBOR bytes transformation schema for DRep.
281281
282282
**Signature**
283283
284284
```ts
285-
export declare const CBORBytesSchema: (
285+
export declare const FromBytes: (
286286
options?: CBOR.CodecOptions
287287
) => Schema.transform<
288288
Schema.transformOrFail<
@@ -317,14 +317,14 @@ export declare const CBORBytesSchema: (
317317
318318
Added in v2.0.0
319319
320-
## CBORHexSchema
320+
## FromHex
321321
322322
CBOR hex transformation schema for DRep.
323323
324324
**Signature**
325325
326326
```ts
327-
export declare const CBORHexSchema: (
327+
export declare const FromHex: (
328328
options?: CBOR.CodecOptions
329329
) => Schema.transform<
330330
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/DRepCredential.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Added in v2.0.0
2222
- [model](#model)
2323
- [DRepCredential (type alias)](#drepcredential-type-alias)
2424
- [schemas](#schemas)
25-
- [CBORBytesSchema](#cborbytesschema)
25+
- [FromBytes](#FromBytes)
2626
- [DRepCredential](#drepcredential)
2727
- [utils](#utils)
28-
- [CBORHexSchema](#cborhexschema)
28+
- [FromHex](#FromHex)
2929
- [Codec](#codec)
3030
- [equals](#equals)
3131
- [generator](#generator)
@@ -63,14 +63,14 @@ Added in v2.0.0
6363
6464
# schemas
6565
66-
## CBORBytesSchema
66+
## FromBytes
6767
6868
CBOR encoding/decoding schemas.
6969
7070
**Signature**
7171
7272
```ts
73-
export declare const CBORBytesSchema: (
73+
export declare const FromBytes: (
7474
options?: CodecOptions
7575
) => transform<
7676
transformOrFail<typeof Uint8ArrayFromSelf, declare<CBOR, CBOR, readonly [], never>, never>,
@@ -110,12 +110,12 @@ Added in v2.0.0
110110
111111
# utils
112112
113-
## CBORHexSchema
113+
## FromHex
114114
115115
**Signature**
116116
117117
```ts
118-
export declare const CBORHexSchema: (
118+
export declare const FromHex: (
119119
options?: CodecOptions
120120
) => transform<
121121
transform<refine<string, typeof String>, typeof Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/DatumOption.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ parent: Modules
2323
- [isDatumHash](#isdatumhash)
2424
- [isInlineDatum](#isinlinedatum)
2525
- [schemas](#schemas)
26-
- [CBORBytesSchema](#cborbytesschema)
27-
- [CBORHexSchema](#cborhexschema)
26+
- [FromBytes](#FromBytes)
27+
- [FromHex](#FromHex)
2828
- [DatumHash (class)](#datumhash-class)
2929
- [DatumOptionCDDLSchema](#datumoptioncddlschema)
3030
- [DatumOptionSchema](#datumoptionschema)
@@ -134,15 +134,15 @@ Added in v2.0.0
134134

135135
# schemas
136136

137-
## CBORBytesSchema
137+
## FromBytes
138138

139139
CBOR bytes transformation schema for DatumOption.
140140
Transforms between Uint8Array and DatumOption using CBOR encoding.
141141

142142
**Signature**
143143

144144
```ts
145-
export declare const CBORBytesSchema: (
145+
export declare const FromBytes: (
146146
options?: CBOR.CodecOptions
147147
) => Schema.transform<
148148
Schema.transformOrFail<
@@ -165,15 +165,15 @@ export declare const CBORBytesSchema: (
165165

166166
Added in v2.0.0
167167

168-
## CBORHexSchema
168+
## FromHex
169169

170170
CBOR hex transformation schema for DatumOption.
171171
Transforms between hex string and DatumOption using CBOR encoding.
172172

173173
**Signature**
174174

175175
```ts
176-
export declare const CBORHexSchema: (
176+
export declare const FromHex: (
177177
options?: CBOR.CodecOptions
178178
) => Schema.transform<
179179
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/Header.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Added in v2.0.0
2525
- [predicates](#predicates)
2626
- [isHeader](#isheader)
2727
- [schemas](#schemas)
28-
- [CBORBytesSchema](#cborbytesschema)
29-
- [CBORHexSchema](#cborhexschema)
28+
- [FromBytes](#FromBytes)
29+
- [FromHex](#FromHex)
3030
- [FromCDDL](#fromcddl)
3131
- [utils](#utils)
3232
- [Codec](#codec)
@@ -93,14 +93,14 @@ Added in v2.0.0
9393

9494
# schemas
9595

96-
## CBORBytesSchema
96+
## FromBytes
9797

9898
CBOR bytes transformation schema for Header.
9999

100100
**Signature**
101101

102102
```ts
103-
export declare const CBORBytesSchema: (
103+
export declare const FromBytes: (
104104
options?: CBOR.CodecOptions
105105
) => Schema.transform<
106106
Schema.transformOrFail<
@@ -147,14 +147,14 @@ export declare const CBORBytesSchema: (
147147

148148
Added in v2.0.0
149149

150-
## CBORHexSchema
150+
## FromHex
151151

152152
CBOR hex transformation schema for Header.
153153

154154
**Signature**
155155

156156
```ts
157-
export declare const CBORHexSchema: (
157+
export declare const FromHex: (
158158
options?: CBOR.CodecOptions
159159
) => Schema.transform<
160160
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/HeaderBody.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ parent: Modules
1919
- [predicates](#predicates)
2020
- [isHeaderBody](#isheaderbody)
2121
- [schemas](#schemas)
22-
- [CBORBytesSchema](#cborbytesschema)
23-
- [CBORHexSchema](#cborhexschema)
22+
- [FromBytes](#FromBytes)
23+
- [FromHex](#FromHex)
2424
- [FromCDDL](#fromcddl)
2525
- [utils](#utils)
2626
- [Codec](#codec)
@@ -97,14 +97,14 @@ Added in v2.0.0
9797

9898
# schemas
9999

100-
## CBORBytesSchema
100+
## FromBytes
101101

102102
CBOR bytes transformation schema for HeaderBody.
103103

104104
**Signature**
105105

106106
```ts
107-
export declare const CBORBytesSchema: (
107+
export declare const FromBytes: (
108108
options?: CBOR.CodecOptions
109109
) => Schema.transform<
110110
Schema.transformOrFail<
@@ -135,14 +135,14 @@ export declare const CBORBytesSchema: (
135135

136136
Added in v2.0.0
137137

138-
## CBORHexSchema
138+
## FromHex
139139

140140
CBOR hex transformation schema for HeaderBody.
141141

142142
**Signature**
143143

144144
```ts
145-
export declare const CBORHexSchema: (
145+
export declare const FromHex: (
146146
options?: CBOR.CodecOptions
147147
) => Schema.transform<
148148
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/Mint.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ parent: Modules
2626
- [isEmpty](#isempty)
2727
- [schemas](#schemas)
2828
- [AssetMap](#assetmap)
29-
- [CBORBytesSchema](#cborbytesschema)
30-
- [CBORHexSchema](#cborhexschema)
29+
- [FromBytes](#FromBytes)
30+
- [FromHex](#FromHex)
3131
- [Mint](#mint)
3232
- [MintCDDLSchema](#mintcddlschema)
3333
- [transformation](#transformation)
@@ -186,15 +186,15 @@ export declare const AssetMap: Schema.refine<
186186

187187
Added in v2.0.0
188188

189-
## CBORBytesSchema
189+
## FromBytes
190190

191191
CBOR bytes transformation schema for Mint.
192192
Transforms between Uint8Array and Mint using CBOR encoding.
193193

194194
**Signature**
195195

196196
```ts
197-
export declare const CBORBytesSchema: (
197+
export declare const FromBytes: (
198198
options?: CBOR.CodecOptions
199199
) => Schema.transform<
200200
Schema.transformOrFail<
@@ -219,15 +219,15 @@ export declare const CBORBytesSchema: (
219219

220220
Added in v2.0.0
221221

222-
## CBORHexSchema
222+
## FromHex
223223

224224
CBOR hex transformation schema for Mint.
225225
Transforms between hex string and Mint using CBOR encoding.
226226

227227
**Signature**
228228

229229
```ts
230-
export declare const CBORHexSchema: (
230+
export declare const FromHex: (
231231
options?: CBOR.CodecOptions
232232
) => Schema.transform<
233233
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

docs/pages/reference/modules/modules/MultiAsset.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ parent: Modules
2727
- [is](#is)
2828
- [schemas](#schemas)
2929
- [AssetMapSchema](#assetmapschema)
30-
- [CBORBytesSchema](#cborbytesschema)
31-
- [CBORHexSchema](#cborhexschema)
30+
- [FromBytes](#FromBytes)
31+
- [FromHex](#FromHex)
3232
- [MultiAssetCDDLSchema](#multiassetcddlschema)
3333
- [MultiAssetSchema](#multiassetschema)
3434
- [transformation](#transformation)
@@ -196,14 +196,14 @@ export declare const AssetMapSchema: Schema.refine<
196196

197197
Added in v2.0.0
198198

199-
## CBORBytesSchema
199+
## FromBytes
200200

201201
CBOR bytes transformation schema for MultiAsset.
202202

203203
**Signature**
204204

205205
```ts
206-
export declare const CBORBytesSchema: (
206+
export declare const FromBytes: (
207207
options?: CBOR.CodecOptions
208208
) => Schema.transform<
209209
Schema.transformOrFail<
@@ -228,14 +228,14 @@ export declare const CBORBytesSchema: (
228228

229229
Added in v2.0.0
230230

231-
## CBORHexSchema
231+
## FromHex
232232

233233
CBOR hex transformation schema for MultiAsset.
234234

235235
**Signature**
236236

237237
```ts
238-
export declare const CBORHexSchema: (
238+
export declare const FromHex: (
239239
options?: CBOR.CodecOptions
240240
) => Schema.transform<
241241
Schema.transform<Schema.refine<string, typeof Schema.String>, typeof Schema.Uint8ArrayFromSelf>,

0 commit comments

Comments
 (0)