@@ -5,11 +5,11 @@ import {
5
5
b ,
6
6
d ,
7
7
Dict ,
8
- Ident ,
8
+ Protocols ,
9
9
Ilks ,
10
10
Serials ,
11
11
versify ,
12
- Versionage ,
12
+ Vrsn_1_0 ,
13
13
} from '../core/core' ;
14
14
import { Saider } from '../core/saider' ;
15
15
import { Serder } from '../core/serder' ;
@@ -20,7 +20,7 @@ import {
20
20
serializeIssExnAttachment ,
21
21
} from '../core/utils' ;
22
22
import { Operation } from './coring' ;
23
- import { HabState } from '../core/state ' ;
23
+ import { HabState } from '../core/keyState.ts ' ;
24
24
25
25
/** Types of credentials */
26
26
export class CredentialTypes {
@@ -357,7 +357,7 @@ export class Credentials {
357
357
} ) ;
358
358
359
359
const [ , acdc ] = Saider . saidify ( {
360
- v : versify ( Ident . ACDC , undefined , Serials . JSON , 0 ) ,
360
+ v : versify ( Protocols . ACDC , undefined , Serials . JSON , 0 ) ,
361
361
d : '' ,
362
362
u : args . u ,
363
363
i : args . i ?? hab . prefix ,
@@ -369,7 +369,7 @@ export class Credentials {
369
369
} ) ;
370
370
371
371
const [ , iss ] = Saider . saidify ( {
372
- v : versify ( Ident . KERI , undefined , Serials . JSON , 0 ) ,
372
+ v : versify ( Protocols . KERI , undefined , Serials . JSON , 0 ) ,
373
373
t : Ilks . iss ,
374
374
d : '' ,
375
375
i : acdc . d ,
@@ -437,7 +437,7 @@ export class Credentials {
437
437
const hab = await this . client . identifiers ( ) . get ( name ) ;
438
438
const pre : string = hab . prefix ;
439
439
440
- const vs = versify ( Ident . KERI , undefined , Serials . JSON , 0 ) ;
440
+ const vs = versify ( Protocols . KERI , undefined , Serials . JSON , 0 ) ;
441
441
const dt =
442
442
datetime ?? new Date ( ) . toISOString ( ) . replace ( 'Z' , '000+00:00' ) ;
443
443
@@ -641,7 +641,7 @@ export class Registries {
641
641
sn : sn + 1 ,
642
642
data : data ,
643
643
dig : dig ,
644
- version : Versionage ,
644
+ version : Vrsn_1_0 ,
645
645
kind : Serials . JSON ,
646
646
} ) ;
647
647
const keeper = this . client . manager ! . get ( hab ) ;
0 commit comments