Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update fuels to 0.99 on KMS Account #140

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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/fluffy-tigers-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@fuels/kms-account': minor
---

Update fuels 0.99 on KMS Account
49 changes: 0 additions & 49 deletions .github/workflows/pr-release.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 20.11.0
pnpm-version: 9.5.0
- run: |
pnpm lint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-npm-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
release-npm-latest:
name: Tag packages as latest
runs-on: buildjet-4vcpu-ubuntu-2204
environment: npm-deploy
steps:
- uses: actions/checkout@v3
with:
Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/release-npm-preview.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/release-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ concurrency:
jobs:
release-changesets:
name: Changesets Release
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
environment: npm-deploy
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
githubReleaseName: v${{ env.BUILD_VERSION }}
githubTagName: v${{ env.BUILD_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Release to @main tag
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
]
},
"overrides": {
"vite": ">=5.4.12",
"semver@<7.5.2": ">=7.5.2",
"word-wrap": "npm:@aashutoshrathi/word-wrap",
"@babel/traverse@<7.23.2": ">=7.23.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/kms-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"test:watch": "vitest"
},
"peerDependencies": {
"fuels": ">=0.94.8"
"fuels": ">=0.99.0"
},
"devDependencies": {
"@fuels/tsup-config": "workspace:*",
"aws-sdk-client-mock": "^4.0.2",
"fuels": "^0.94.8",
"vitest": "^2.1.1"
"fuels": "^0.99.0",
"vitest": "^3.0.5"
},
"dependencies": {
"@aws-sdk/client-kms": "^3.658.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/kms-account/src/KMSAccount/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class KMSAccount extends Account {
transactionRequestLike: TransactionRequestLike,
): Promise<string> {
const transactionRequest = transactionRequestify(transactionRequestLike);
const chainId = this.provider.getChainId();
const chainId = await this.provider.getChainId();
const hashedTransaction = transactionRequest.getTransactionId(chainId);
const signature = await this._sign(hashedTransaction);
return hexlify(signature);
Expand Down
Loading
Loading