@lucid-evolution/wallet 0.1.29 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -123,7 +123,7 @@ function discoverOwnUsedTxKeyHashes(tx, ownKeyHashes, ownUtxos) {
123
123
  case 2: {
124
124
  const credential = cert.as_stake_delegation()?.stake_credential();
125
125
  if (credential?.kind() === 0) {
126
- const keyHash = credential.to_cbor_hex();
126
+ const keyHash = credential.as_pub_key()?.to_hex();
127
127
  usedKeyHashes.push(keyHash);
128
128
  }
129
129
  break;
package/dist/index.js CHANGED
@@ -82,7 +82,7 @@ function discoverOwnUsedTxKeyHashes(tx, ownKeyHashes, ownUtxos) {
82
82
  case 2: {
83
83
  const credential = cert.as_stake_delegation()?.stake_credential();
84
84
  if (credential?.kind() === 0) {
85
- const keyHash = credential.to_cbor_hex();
85
+ const keyHash = credential.as_pub_key()?.to_hex();
86
86
  usedKeyHashes.push(keyHash);
87
87
  }
88
88
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucid-evolution/wallet",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "dependencies": {
28
28
  "@anastasia-labs/cardano-multiplatform-lib-nodejs": "^5.3.1-2",
29
29
  "@lucid-evolution/bip39": "0.2.10",
30
- "@lucid-evolution/core-utils": "0.1.8",
31
30
  "@lucid-evolution/core-types": "0.1.11",
31
+ "@lucid-evolution/core-utils": "0.1.8",
32
32
  "@lucid-evolution/sign_data": "0.1.11",
33
33
  "@lucid-evolution/utils": "0.1.27"
34
34
  },