@totemsdk/core 1.0.3 → 1.0.4

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.
@@ -14,7 +14,7 @@
14
14
  * for use with the EnhancedTransactionBuilder.
15
15
  */
16
16
  import { sha3_256 } from '@noble/hashes/sha3.js';
17
- import { sha256 } from '@noble/hashes/sha256.js';
17
+ import { sha256 } from '@noble/hashes/sha2.js';
18
18
  import { randomBytes } from '@noble/hashes/utils.js';
19
19
  import { createTimelockDescriptor, createHTLCDescriptor, createMASTDescriptor, createExchangeDescriptor, createFlashCashDescriptor, createSlowCashDescriptor } from './types.js';
20
20
  function kissHex(hex) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@totemsdk/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Core cryptographic primitives for Totem SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { sha3_256 } from '@noble/hashes/sha3.js';
18
- import { sha256 } from '@noble/hashes/sha256.js';
18
+ import { sha256 } from '@noble/hashes/sha2.js';
19
19
  import { randomBytes } from '@noble/hashes/utils.js';
20
20
  import type {
21
21
  ScriptDescriptor,