Skip to content
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
5 changes: 5 additions & 0 deletions .changeset/gold-knives-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solana-program/token-wrap': minor
---

Bump Kit to v6
2 changes: 1 addition & 1 deletion clients/js/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
dist
src/generated
src/generated/**
8 changes: 4 additions & 4 deletions clients/js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
### Major Changes

- First stable release
- expose createMintTx, singleSignerWrapTx, singleSignerUnwrapTx
- provide multisig-helper builders and utilities (combinedMultisigTx, escrow creation, token-account helpers)
- ship generated TypeScript types, codecs, PDA finders and error maps
- add GitHub-Actions & Changesets configs for automated publishing
- expose createMintTx, singleSignerWrapTx, singleSignerUnwrapTx
- provide multisig-helper builders and utilities (combinedMultisigTx, escrow creation, token-account helpers)
- ship generated TypeScript types, codecs, PDA finders and error maps
- add GitHub-Actions & Changesets configs for automated publishing
30 changes: 15 additions & 15 deletions clients/js/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ import prettier from 'eslint-config-prettier';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: ['src/generated/**'],
},
eslint.configs.recommended,
tseslint.configs.eslintRecommended,
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
prettier,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
{
ignores: ['src/generated/**'],
},
eslint.configs.recommended,
tseslint.configs.eslintRecommended,
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
prettier,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
},
);
129 changes: 63 additions & 66 deletions clients/js/package.json
Original file line number Diff line number Diff line change
@@ -1,69 +1,66 @@
{
"name": "@solana-program/token-wrap",
"version": "2.3.0",
"description": "Javascript helpers for interacting with the Solana Token Wrap program",
"author": "Anza Maintainers <maintainers@anza.xyz>",
"license": "Apache-2.0",
"sideEffects": false,
"module": "./dist/src/index.mjs",
"main": "./dist/src/index.js",
"types": "./dist/types/index.d.ts",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/src/index.mjs",
"require": "./dist/src/index.js"
"name": "@solana-program/token-wrap",
"version": "2.3.0",
"description": "Javascript helpers for interacting with the Solana Token Wrap program",
"author": "Anza Maintainers <maintainers@anza.xyz>",
"license": "Apache-2.0",
"sideEffects": false,
"module": "./dist/src/index.mjs",
"main": "./dist/src/index.js",
"types": "./dist/types/index.d.ts",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/src/index.mjs",
"require": "./dist/src/index.js"
}
},
"files": [
"./dist/src",
"./dist/types"
],
"scripts": {
"build": "tsc && tsup",
"build:docs": "typedoc src/index.ts",
"lint": "eslint --ext js,ts,tsx src",
"lint:fix": "eslint --fix --ext js,ts,tsx src",
"format": "prettier --write .",
"format:check": "prettier --check .",
"example:single-signer": "tsx src/examples/single-signer.ts",
"example:multisig": "tsx src/examples/multisig.ts"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/solana-program/token-wrap.git"
},
"bugs": {
"url": "https://github.com/solana-program/token-wrap/issues"
},
"peerDependencies": {
"@solana/kit": "^6.0.0"
},
"dependencies": {
"@solana-program/system": "^0.11.0",
"@solana-program/token": "^0.10.0",
"@solana-program/token-2022": "^0.9.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@solana/kit": "^6.0.0",
"@tsconfig/strictest": "^2.0.8",
"@types/node": "^25.0.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typedoc": "^0.28.15",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0"
}
},
"files": [
"./dist/src",
"./dist/types"
],
"scripts": {
"build": "tsc && tsup",
"build:docs": "typedoc src/index.ts",
"lint": "eslint --ext js,ts,tsx src",
"lint:fix": "eslint --fix --ext js,ts,tsx src",
"format": "prettier --write .",
"format:check": "prettier --check .",
"example:single-signer": "tsx src/examples/single-signer.ts",
"example:multisig": "tsx src/examples/multisig.ts"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/solana-program/token-wrap.git"
},
"bugs": {
"url": "https://github.com/solana-program/token-wrap/issues"
},
"peerDependencies": {
"@solana/kit": "^5.1.0"
},
"dependencies": {
"@solana-program/system": "^0.10.0",
"@solana-program/token": "^0.9.0",
"@solana-program/token-2022": "^0.6.1",
"@solana/accounts": "^5.1.0",
"@solana/rpc-types": "^5.1.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@solana/kit": "^5.1.0",
"@tsconfig/strictest": "^2.0.8",
"@types/node": "^25.0.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typedoc": "^0.28.15",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0"
},
"packageManager": "pnpm@10.15.0"
}
Loading
Loading