Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit eb62c69

Browse files
build(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#7521)
* build(deps-dev): bump typescript from 5.6.3 to 5.7.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.3 to 5.7.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.6.3...v5.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix build --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C <[email protected]>
1 parent 5d1d477 commit eb62c69

File tree

15 files changed

+303
-303
lines changed

15 files changed

+303
-303
lines changed

account-compression/sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@
8686
"ts-jest-resolver": "^2.0.1",
8787
"ts-node": "^10.9.2",
8888
"typedoc": "^0.26.10",
89-
"typescript": "5.6.3"
89+
"typescript": "5.7.2"
9090
}
9191
}

libraries/type-length-value/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
"shx": "^0.3.4",
6161
"ts-node": "^10.9.2",
6262
"typedoc": "^0.26.11",
63-
"typescript": "^5.6.3"
63+
"typescript": "^5.7.2"
6464
}
6565
}

memo/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@
6969
"ts-jest": "^29.2.5",
7070
"ts-node": "^10.9.2",
7171
"typedoc": "^0.26.11",
72-
"typescript": "^5.6.3"
72+
"typescript": "^5.7.2"
7373
}
7474
}

name-service/js/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { JestConfigWithTsJest } from 'ts-jest';
22

33
const jestConfig: JestConfigWithTsJest = {
4-
preset: 'ts-jest/presets/default-esm',
4+
preset: 'ts-jest',
55
};
66

77
export default jestConfig;

name-service/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"ts-jest": "^29.2.5",
5858
"ts-node": "^10.9.2",
5959
"typedoc": "^0.26.11",
60-
"typescript": "^5.6.3"
60+
"typescript": "^5.7.2"
6161
},
6262
"dependencies": {
6363
"@solana/web3.js": "^1.95.5",

name-service/js/src/instructions.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function createInstruction(
1616
nameParentOwner?: PublicKey,
1717
): TransactionInstruction {
1818
const buffers = [
19-
Buffer.from(Int8Array.from([0])),
19+
Buffer.from(Uint8Array.from([0])),
2020
new Numberu32(hashed_name.length).toBuffer(),
2121
hashed_name,
2222
lamports.toBuffer(),
@@ -98,7 +98,7 @@ export function updateInstruction(
9898
parentNameKey: PublicKey | undefined,
9999
): TransactionInstruction {
100100
const buffers = [
101-
Buffer.from(Int8Array.from([1])),
101+
Buffer.from(Uint8Array.from([1])),
102102
offset.toBuffer(),
103103
new Numberu32(input_data.length).toBuffer(),
104104
input_data,
@@ -141,7 +141,7 @@ export function transferInstruction(
141141
nameClassKey?: PublicKey,
142142
nameParent?: PublicKey,
143143
): TransactionInstruction {
144-
const buffers = [Buffer.from(Int8Array.from([2])), newOwnerKey.toBuffer()];
144+
const buffers = [Buffer.from(Uint8Array.from([2])), newOwnerKey.toBuffer()];
145145

146146
const data = Buffer.concat(buffers);
147147

@@ -187,7 +187,7 @@ export function deleteInstruction(
187187
refundTargetKey: PublicKey,
188188
nameOwnerKey: PublicKey,
189189
): TransactionInstruction {
190-
const buffers = [Buffer.from(Int8Array.from([3]))];
190+
const buffers = [Buffer.from(Uint8Array.from([3]))];
191191

192192
const data = Buffer.concat(buffers);
193193
const keys = [
@@ -223,7 +223,7 @@ export function reallocInstruction(
223223
nameOwnerKey: PublicKey,
224224
space: Numberu32,
225225
): TransactionInstruction {
226-
const buffers = [Buffer.from(Int8Array.from([4])), space.toBuffer()];
226+
const buffers = [Buffer.from(Uint8Array.from([4])), space.toBuffer()];
227227

228228
const data = Buffer.concat(buffers);
229229
const keys = [

0 commit comments

Comments
 (0)