Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account-compression/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.2",
"typedoc": "^0.26.10",
"typescript": "5.6.3"
"typescript": "5.7.2"
}
}
2 changes: 1 addition & 1 deletion libraries/type-length-value/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
"shx": "^0.3.4",
"ts-node": "^10.9.2",
"typedoc": "^0.26.11",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}
2 changes: 1 addition & 1 deletion memo/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.11",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}
2 changes: 1 addition & 1 deletion name-service/js/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { JestConfigWithTsJest } from 'ts-jest';

const jestConfig: JestConfigWithTsJest = {
preset: 'ts-jest/presets/default-esm',
preset: 'ts-jest',
};

export default jestConfig;
2 changes: 1 addition & 1 deletion name-service/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.11",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"dependencies": {
"@solana/web3.js": "^1.95.5",
Expand Down
10 changes: 5 additions & 5 deletions name-service/js/src/instructions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function createInstruction(
nameParentOwner?: PublicKey,
): TransactionInstruction {
const buffers = [
Buffer.from(Int8Array.from([0])),
Buffer.from(Uint8Array.from([0])),
new Numberu32(hashed_name.length).toBuffer(),
hashed_name,
lamports.toBuffer(),
Expand Down Expand Up @@ -98,7 +98,7 @@ export function updateInstruction(
parentNameKey: PublicKey | undefined,
): TransactionInstruction {
const buffers = [
Buffer.from(Int8Array.from([1])),
Buffer.from(Uint8Array.from([1])),
offset.toBuffer(),
new Numberu32(input_data.length).toBuffer(),
input_data,
Expand Down Expand Up @@ -141,7 +141,7 @@ export function transferInstruction(
nameClassKey?: PublicKey,
nameParent?: PublicKey,
): TransactionInstruction {
const buffers = [Buffer.from(Int8Array.from([2])), newOwnerKey.toBuffer()];
const buffers = [Buffer.from(Uint8Array.from([2])), newOwnerKey.toBuffer()];

const data = Buffer.concat(buffers);

Expand Down Expand Up @@ -187,7 +187,7 @@ export function deleteInstruction(
refundTargetKey: PublicKey,
nameOwnerKey: PublicKey,
): TransactionInstruction {
const buffers = [Buffer.from(Int8Array.from([3]))];
const buffers = [Buffer.from(Uint8Array.from([3]))];

const data = Buffer.concat(buffers);
const keys = [
Expand Down Expand Up @@ -223,7 +223,7 @@ export function reallocInstruction(
nameOwnerKey: PublicKey,
space: Numberu32,
): TransactionInstruction {
const buffers = [Buffer.from(Int8Array.from([4])), space.toBuffer()];
const buffers = [Buffer.from(Uint8Array.from([4])), space.toBuffer()];

const data = Buffer.concat(buffers);
const keys = [
Expand Down
Loading