@originals/sdk 1.8.1 → 1.8.3

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.
@@ -5,6 +5,7 @@ export async function sha256Bytes(input) {
5
5
  if (!subtle) {
6
6
  throw new Error('SubtleCrypto not available in this environment');
7
7
  }
8
+ // Use type assertion to handle Uint8Array<ArrayBufferLike> compatibility with SubtleCrypto
8
9
  const digest = await subtle.digest('SHA-256', data);
9
10
  return new Uint8Array(digest);
10
11
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@originals/sdk",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "TypeScript SDK for the Originals Protocol - creating, discovering, and transferring digital assets with cryptographically verifiable provenance",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
8
  "files": [
9
9
  "dist"
10
10
  ],