Skip to content

Commit a52db02

Browse files
chore: bump @lit-protocol/uint8arrays version to 8.0.0 for testing
Co-Authored-By: [email protected] <[email protected]>
1 parent 776a266 commit a52db02

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import fs from 'fs';
2+
import path from 'path';
3+
4+
describe('Version Check', () => {
5+
it('checks @lit-protocol/uint8arrays version is 8.0.0', () => {
6+
const distPkgPath = path.join(__dirname, '../../dist/packages/uint8arrays/package.json');
7+
const distPkg = JSON.parse(fs.readFileSync(distPkgPath, 'utf8'));
8+
expect(distPkg.version).toBe('8.0.0');
9+
});
10+
11+
it('verifies other packages maintain their versions', () => {
12+
const uint8arraysPath = path.join(__dirname, '../../dist/packages/uint8arrays/package.json');
13+
const uint8arraysPkg = JSON.parse(fs.readFileSync(uint8arraysPath, 'utf8'));
14+
15+
// Check that dependencies maintain their original versions
16+
expect(uint8arraysPkg.dependencies['@lit-protocol/constants']).toBe('7.0.4');
17+
expect(uint8arraysPkg.dependencies['@lit-protocol/types']).toBe('7.0.4');
18+
});
19+
});

packages/uint8arrays/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,5 @@
2121
"tags": [
2222
"universal"
2323
],
24-
"version": "7.0.4",
25-
"main": "./dist/src/index.js",
26-
"typings": "./dist/src/index.d.ts"
27-
}
24+
"version": "8.0.0"
25+
}

0 commit comments

Comments
 (0)