Skip to content

Commit a8c5606

Browse files
committed
refactor: use pascal case
1 parent 8a0069b commit a8c5606

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

packages/evolution/src/core/message-signing/cose-key.ts renamed to packages/evolution/src/core/message-signing/CoseKey.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import * as Bytes from "../Bytes.js"
1111
import * as CBOR from "../CBOR.js"
1212
import * as PrivateKey from "../PrivateKey.js"
1313
import * as VKey from "../VKey.js"
14-
import { HeaderMap, headerMapNew } from "./header.js"
15-
import type { Label } from "./label.js"
14+
import { HeaderMap, headerMapNew } from "./Header.js"
15+
import type { Label } from "./Label.js"
1616
import {
1717
AlgorithmId,
1818
CurveType,
1919
KeyOperation,
2020
KeyType,
2121
labelFromInt,
22-
labelFromText
23-
} from "./label.js"
22+
labelFromText,
23+
} from "./Label.js"
2424

2525
// ============================================================================
2626
// COSEKey

packages/evolution/src/core/message-signing/cose-sign.ts renamed to packages/evolution/src/core/message-signing/CoseSign.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Equal, Hash, Inspectable, ParseResult, Schema } from "effect"
1313
import * as Bytes from "../Bytes.js"
1414
import * as CBOR from "../CBOR.js"
1515
import * as Ed25519Signature from "../Ed25519Signature.js"
16-
import { HeaderMapFromCBORBytes, Headers, headersNew } from "./header.js"
16+
import { HeaderMapFromCBORBytes, Headers, headersNew } from "./Header.js"
1717

1818
// ============================================================================
1919
// COSESignature

packages/evolution/src/core/message-signing/cose-sign1.ts renamed to packages/evolution/src/core/message-signing/CoseSign1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import {
1616
HeaderMapFromCBORBytes,
1717
Headers,
1818
headersNew
19-
} from "./header.js"
20-
import type { Label} from "./label.js";
21-
import { labelFromInt, labelFromText } from "./label.js"
22-
import { fnv32a } from "./utils.js"
19+
} from "./Header.js"
20+
import type { Label} from "./Label.js";
21+
import { labelFromInt, labelFromText } from "./Label.js"
22+
import { fnv32a } from "./Utils.js"
2323

2424
// ============================================================================
2525
// COSESign1

packages/evolution/src/core/message-signing/sign-data.ts renamed to packages/evolution/src/core/message-signing/SignData.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import type * as CBOR from "../CBOR.js"
1414
import * as KeyHash from "../KeyHash.js"
1515
import * as PrivateKey from "../PrivateKey.js"
1616
import * as VKey from "../VKey.js"
17-
import { COSEKeyFromCBORBytes, EdDSA25519Key } from "./cose-key.js"
18-
import { coseSign1BuilderNew, COSESign1FromCBORBytes } from "./cose-sign1.js"
19-
import { headerMapNew, headersNew } from "./header.js"
20-
import { AlgorithmId, labelFromInt, labelFromText } from "./label.js"
21-
import type { Payload } from "./utils.js"
17+
import { COSEKeyFromCBORBytes, EdDSA25519Key } from "./CoseKey.js"
18+
import { coseSign1BuilderNew, COSESign1FromCBORBytes } from "./CoseSign1.js"
19+
import { headerMapNew, headersNew } from "./Header.js"
20+
import { AlgorithmId, labelFromInt, labelFromText } from "./Label.js"
21+
import type { Payload } from "./Utils.js"
2222

2323
// ============================================================================
2424
// Types

packages/evolution/src/core/message-signing/header.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import { Equal, Hash, Inspectable, ParseResult, Schema } from "effect"
99

1010
import * as Bytes from "../Bytes.js"
1111
import * as CBOR from "../CBOR.js"
12-
import type { AlgorithmId } from "./label.js"
12+
import type { AlgorithmId } from "./Label.js"
1313
import {
1414
Label,
1515
labelFromInt,
1616
labelFromText
17-
} from "./label.js"
17+
} from "./Label.js"
1818

1919
// ============================================================================
2020
// HeaderMap

packages/evolution/src/core/message-signing/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
* @category Message Signing
99
*/
1010

11-
export * as COSEKey from "./cose-key.js"
12-
export * as COSESign from "./cose-sign.js"
13-
export * as COSESign1 from "./cose-sign1.js"
14-
export * as Header from "./header.js"
15-
export * as Label from "./label.js"
16-
export * as SignData from "./sign-data.js"
17-
export * as Utils from "./utils.js"
11+
export * as COSEKey from "./CoseKey.js"
12+
export * as COSESign from "./CoseSign.js"
13+
export * as COSESign1 from "./CoseSign1.js"
14+
export * as Header from "./Header.js"
15+
export * as Label from "./Label.js"
16+
export * as SignData from "./SignData.js"
17+
export * as Utils from "./Utils.js"

0 commit comments

Comments
 (0)