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: upgrade fuels #141

Closed
wants to merge 3 commits into from
Closed
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
4 changes: 2 additions & 2 deletions packages/kms-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"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",
"fuels": "^0.99.0",
"vitest": "^2.1.1"
},
"dependencies": {
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
1 change: 1 addition & 0 deletions packages/kms-account/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"outDir": "./dist",
"rootDir": "./src",
"strict": false,
"skipLibCheck": true,
"esModuleInterop": true
},
"include": ["src/**/*"],
Expand Down
Loading
Loading