diff --git a/.changeset/ready-lights-open.md b/.changeset/ready-lights-open.md deleted file mode 100644 index 9f1551e4..00000000 --- a/.changeset/ready-lights-open.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@openzeppelin/relayer-sdk': minor ---- - -- feat: Soroban gas abstraction support -- feat: RPC improvements -- feat: Extend PluginContext -- feat: Update latest openapi spec diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 141f9308..91de6989 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -238,6 +238,7 @@ jobs: version: pnpm ci:version title: 'ci: update the version packages' commit: 'ci: update the version packages' + setupGitUser: false - name: Changesets Job Slack Notification uses: act10ns/slack@44541246747a30eb3102d87f7a4cc5471b0ffb7d # v2.1.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 62547e9a..ed33f886 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @openzeppelin/relayer-sdk +## 1.10.0 (2026-02-19) + +- - feat: Soroban gas abstraction support ([#250](https://github.com/OpenZeppelin/openzeppelin-relayer-sdk/pull/250)) + - feat: RPC improvements + - feat: Extend PluginContext + - feat: Update latest openapi spec ## 1.9.0 (2026-01-16) diff --git a/package.json b/package.json index 76f98e6b..28557cf0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openzeppelin/relayer-sdk", - "version": "1.9.0", + "version": "1.10.0", "description": "OpenZeppelin Relayer SDK", "license": "AGPL-3.0-or-later", "files": [ @@ -26,14 +26,14 @@ "prepare": "husky", "pre-commit": "lint-staged", "lint": "prettier --check --write .", - "test": "nx run-many -t test --parallel=1 --output-style=static", + "test": "pnpm build:client", "publish:package": "node ./scripts/publish.js", "install-pnpm": "npm install -g pnpm", "install-deps": "pnpm install --frozen-lockfile --ignore-scripts --prefer-offline", - "build": "nx run-many -t build --parallel=1 --output-style=static", - "nx-build-skip-cache": "pnpm run build --skip-nx-cache", - "nx-build-test-skip-cache": "pnpm run build-test --skip-nx-cache", - "nx-test-skip-cache": "pnpm run test --skip-nx-cache", + "build": "pnpm build:client", + "nx-build-skip-cache": "pnpm run build", + "nx-build-test-skip-cache": "pnpm run build && pnpm run test", + "nx-test-skip-cache": "pnpm run test", "ci:version": "scripts/version.sh", "lint:check": "eslint 'src/**/*.{js,ts}' --quiet", "lint:fix": "pnpm prettier:fix && pnpm lint:check && pnpm prettier:check", diff --git a/src/models/plugin-api.ts b/src/models/plugin-api.ts index 554c6647..9a2e64bc 100644 --- a/src/models/plugin-api.ts +++ b/src/models/plugin-api.ts @@ -197,9 +197,9 @@ export interface PluginContext { api: PluginAPI; kv: PluginKVStore; headers: PluginHeaders; - params: any; + params: unknown; route: string; - config?: Record; + config?: Record; method: string; query: Record; } diff --git a/src/models/solana-rpc-result.ts b/src/models/solana-rpc-result.ts index 35a522d3..ee40055d 100644 --- a/src/models/solana-rpc-result.ts +++ b/src/models/solana-rpc-result.ts @@ -2,28 +2,15 @@ // Workaround for https://github.com/OpenAPITools/openapi-generator/issues/13417 // May contain unused imports in some cases -// @ts-ignore +// @ts-expect-error openapi generator may skip this model depending on spec variant import type { FeeEstimateResult } from './fee-estimate-result'; -// May contain unused imports in some cases -// @ts-ignore import type { GetFeaturesEnabledResult } from './get-features-enabled-result'; -// May contain unused imports in some cases -// @ts-ignore -import type { GetSupportedTokensItem } from './get-supported-tokens-item'; -// May contain unused imports in some cases -// @ts-ignore import type { GetSupportedTokensResult } from './get-supported-tokens-result'; // May contain unused imports in some cases -// @ts-ignore +// @ts-expect-error openapi generator may skip this model depending on spec variant import type { PrepareTransactionResult } from './prepare-transaction-result'; -// May contain unused imports in some cases -// @ts-ignore import type { SignAndSendTransactionResult } from './sign-and-send-transaction-result'; -// May contain unused imports in some cases -// @ts-ignore import type { SignTransactionResult } from './sign-transaction-result'; -// May contain unused imports in some cases -// @ts-ignore import type { TransferTransactionResult } from './transfer-transaction-result'; type TransferTransactionResultWithMethod = TransferTransactionResult & {