@@ -14,20 +14,20 @@ parent: Modules
1414 - [ toCBORBytes] ( #tocborbytes )
1515 - [ toCBORHex] ( #tocborhex )
1616- [ model] ( #model )
17- - [ CredentialSchema (type alias)] ( #credentialschema -type-alias )
17+ - [ Credential (type alias)] ( #credential -type-alias )
1818- [ parsing] ( #parsing )
1919 - [ fromCBORBytes] ( #fromcborbytes )
2020 - [ fromCBORHex] ( #fromcborhex )
2121- [ predicates] ( #predicates )
2222 - [ is] ( #is )
2323- [ schemas] ( #schemas )
24- - [ CredentialSchema ] ( #credentialschema )
24+ - [ Credential ] ( #credential )
2525 - [ FromCDDL] ( #fromcddl )
2626- [ testing] ( #testing )
2727 - [ arbitrary] ( #arbitrary )
2828- [ utils] ( #utils )
2929 - [ CDDLSchema] ( #cddlschema )
30- - [ Credential (type alias)] ( #credential -type-alias )
30+ - [ CredentialEncoded (type alias)] ( #credentialencoded -type-alias )
3131 - [ FromCBORBytes] ( #fromcborbytes-1 )
3232 - [ FromCBORHex] ( #fromcborhex-1 )
3333 - [ makeKeyHash] ( #makekeyhash )
@@ -44,7 +44,7 @@ Convert a Credential to CBOR bytes.
4444** Signature**
4545
4646``` ts
47- export declare const toCBORBytes: (credential : CredentialSchema , options ? : CBOR .CodecOptions ) => Uint8Array
47+ export declare const toCBORBytes: (credential : Credential , options ? : CBOR .CodecOptions ) => Uint8Array
4848` ` `
4949
5050Added in v2.0.0
@@ -56,22 +56,22 @@ Convert a Credential to CBOR hex string.
5656**Signature**
5757
5858` ` ` ts
59- export declare const toCBORHex: (credential : CredentialSchema , options ? : CBOR .CodecOptions ) => string
59+ export declare const toCBORHex: (credential : Credential , options ? : CBOR .CodecOptions ) => string
6060` ` `
6161
6262Added in v2.0.0
6363
6464# model
6565
66- ## CredentialSchema (type alias)
66+ ## Credential (type alias)
6767
6868Type representing a credential that can be either a key hash or script hash
6969Used in various address formats to identify ownership
7070
7171**Signature**
7272
7373` ` ` ts
74- export type CredentialSchema = typeof CredentialSchema .Type
74+ export type Credential = typeof Credential .Type
7575` ` `
7676
7777Added in v2.0.0
@@ -85,7 +85,7 @@ Parse a Credential from CBOR bytes.
8585**Signature**
8686
8787` ` ` ts
88- export declare const fromCBORBytes: (bytes : Uint8Array , options ? : CBOR .CodecOptions ) => CredentialSchema
88+ export declare const fromCBORBytes: (bytes : Uint8Array , options ? : CBOR .CodecOptions ) => Credential
8989` ` `
9090
9191Added in v2.0.0
@@ -97,7 +97,7 @@ Parse a Credential from CBOR hex string.
9797**Signature**
9898
9999` ` ` ts
100- export declare const fromCBORHex: (hex : string , options ? : CBOR .CodecOptions ) => CredentialSchema
100+ export declare const fromCBORHex: (hex : string , options ? : CBOR .CodecOptions ) => Credential
101101` ` `
102102
103103Added in v2.0.0
@@ -121,7 +121,7 @@ Added in v2.0.0
121121
122122# schemas
123123
124- ## CredentialSchema
124+ ## Credential
125125
126126Credential schema representing either a key hash or script hash
127127credential = [0, addr_keyhash // 1, script_hash]
@@ -130,7 +130,7 @@ Used to identify ownership of addresses or stake rights
130130**Signature**
131131
132132` ` ` ts
133- export declare const CredentialSchema : Schema .Union <[typeof KeyHash .KeyHash , typeof ScriptHash .ScriptHash ]>
133+ export declare const Credential : Schema .Union <[typeof KeyHash .KeyHash , typeof ScriptHash .ScriptHash ]>
134134` ` `
135135
136136Added in v2.0.0
@@ -177,12 +177,12 @@ Added in v2.0.0
177177export declare const CDDLSchema: Schema .Tuple2 <Schema .Literal <[0n , 1n ]>, typeof Schema .Uint8ArrayFromSelf >
178178` ` `
179179
180- ## Credential (type alias)
180+ ## CredentialEncoded (type alias)
181181
182182**Signature**
183183
184184` ` ` ts
185- export type Credential = typeof CredentialSchema .Encoded
185+ export type CredentialEncoded = typeof Credential .Encoded
186186` ` `
187187
188188## FromCBORBytes
@@ -235,13 +235,13 @@ export declare const FromCBORHex: (
235235**Signature**
236236
237237` ` ` ts
238- export declare const makeKeyHash: (hash : Uint8Array ) => CredentialSchema
238+ export declare const makeKeyHash: (hash : Uint8Array ) => Credential
239239` ` `
240240
241241## makeScriptHash
242242
243243**Signature**
244244
245245` ` ` ts
246- export declare const makeScriptHash: (hash : Uint8Array ) => CredentialSchema
246+ export declare const makeScriptHash: (hash : Uint8Array ) => Credential
247247` ` `
0 commit comments