Skip to content

Commit

Permalink
Merge pull request #79 from velocitycareerlabs/VL-7723
Browse files Browse the repository at this point in the history
v0.8.34 - fix offers parse
  • Loading branch information
michaelavoyan authored May 23, 2024
2 parents bb1f9c3 + a5068b6 commit 1fa7cb8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/sample-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@fastify/autoload": "~5.7.1",
"env-var": "~7.3.0",
"fastify": "~4.15.0",
"@velocitycareerlabs/vnf-nodejs-wallet-sdk": "^0.8.33"
"@velocitycareerlabs/vnf-nodejs-wallet-sdk": "^0.8.34"
},
"devDependencies": {
"@jest/globals": "~29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@velocitycareerlabs/vnf-nodejs-wallet-sdk",
"version": "0.8.33",
"version": "0.8.34",
"description": "VNF Wallet SDK Nodejs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class GenerateOffersRepositoryImpl
}

parse(offersResponse: Response, sessionToken: VCLToken): VCLOffers {
const payload = JSON.parse(offersResponse.payload);
const payload = offersResponse.payload;

if (payload) {
if (Array.isArray(payload)) {
Expand Down
Loading

0 comments on commit 1fa7cb8

Please sign in to comment.