Skip to content

Commit

Permalink
bump: cjs/core
Browse files Browse the repository at this point in the history
  • Loading branch information
micahkendall committed Jan 22, 2025
1 parent 31efc04 commit 18a36c1
Show file tree
Hide file tree
Showing 4 changed files with 1,175 additions and 355 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-rockets-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blaze-cardano/core": patch
---

bump: cjs/core
18 changes: 9 additions & 9 deletions packages/blaze-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
"@blaze-cardano/eslint-config": "workspace:*",
"@blaze-cardano/tsconfig": "workspace:*",
"eslint": "^8.57.1",
"terser": "^5.34.1",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
"terser": "^5.37.0",
"tsup": "^8.3.5",
"typescript": "^5.7.3"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@cardano-sdk/core": "^0.40.1",
"@cardano-sdk/crypto": "^0.1.30",
"@cardano-sdk/core": "^0.45.0",
"@cardano-sdk/crypto": "^0.1.32",
"@cardano-sdk/util": "^0.15.5",
"@noble/curves": "^1.6.0",
"@noble/ed25519": "^2.1.0",
"@noble/hashes": "^1.5.0",
"@scure/bip39": "^1.4.0",
"@noble/curves": "^1.8.1",
"@noble/ed25519": "^2.2.3",
"@noble/hashes": "^1.7.1",
"@scure/bip39": "^1.5.4",
"blakejs": "^1.2.1"
}
}
17 changes: 13 additions & 4 deletions packages/blaze-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,12 @@ export type CredentialType = C.Cardano.CredentialType;
export const Certificate = C.Serialization.Certificate;
export type Certificate = C.Serialization.Certificate;

export const PoolId = C.Cardano.PoolId;
export type PoolId = C.Cardano.PoolId;
export const PoolId: {
(value: string): PoolId;
fromKeyHash(value: Crypto.Ed25519KeyHashHex): PoolId;
toKeyHash(poolId: PoolId): Crypto.Ed25519KeyHashHex;
} = C.Cardano.PoolId;
export type PoolId = OpaqueString<'PoolId'>;

export const StakeRegistration = C.Serialization.StakeRegistration;
export type StakeRegistration = C.Serialization.StakeRegistration;
Expand Down Expand Up @@ -215,8 +219,13 @@ export type CborReader = C.Serialization.CborReader;
export const CborReaderState = C.Serialization.CborReaderState;
export type CborReaderState = C.Serialization.CborReaderState;

export const RewardAccount = C.Cardano.RewardAccount;
export type RewardAccount = C.Cardano.RewardAccount;
export const RewardAccount: {
(value: string): C.Cardano.RewardAccount;
toHash(rewardAccount: C.Cardano.RewardAccount): Hash28ByteBase16;
fromCredential(credential: C.Cardano.Credential, networkId: C.Cardano.NetworkId): C.Cardano.RewardAccount;
toNetworkId(rewardAccount: C.Cardano.RewardAccount): C.Cardano.NetworkId;
} = C.Cardano.RewardAccount;
export type RewardAccount = OpaqueString<'RewardAccount'>;

export const Hash = C.Serialization.Hash;
export type Hash<T extends string> = C.Serialization.Hash<T>;
Expand Down
Loading

0 comments on commit 18a36c1

Please sign in to comment.