Skip to content

Commit

Permalink
fix: correctly parse value from block
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Sep 2, 2022
1 parent 35b0ffb commit 1d95e3d
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 116 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on:
push:
# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /
- '*' # Push events to every tag not containing /
name: Create Release Binaries
jobs:
generate:
Expand All @@ -26,7 +26,7 @@ jobs:
id: github_release
uses: mikepenz/release-changelog-builder-action@v3
with:
configuration: ".github/workflows/configuration.json"
configuration: '.github/workflows/configuration.json'
commitMode: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kyve/near",
"version": "0.3.5",
"version": "0.3.6",
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc",
Expand All @@ -22,15 +22,14 @@
"singleQuote": true
},
"dependencies": {
"@kyve/core": "1.3.5",
"near-api-js": "^0.44.2"
"@kyve/core": "^1.3.5",
"near-api-js": "^1.0.0"
},
"devDependencies": {
"@types/bn.js": "^5.1.0",
"pkg": "^5.6.0",
"prettier": "^2.6.2",
"@types/bn.js": "^5.1.1",
"pkg": "^5.8.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.4",
"webhook-discord": "^3.7.8"
"typescript": "^4.8.2"
}
}
2 changes: 1 addition & 1 deletion src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class Near implements IRuntime {
}

public async formatValue(value: any): Promise<string> {
return value.hash;
return value.header.hash;
}

private async generateCoinbaseCloudHeaders(core: Node): Promise<any> {
Expand Down
Loading

0 comments on commit 1d95e3d

Please sign in to comment.