Skip to content

Commit

Permalink
v0.8.34 - fix offers parse
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelavoyan committed May 23, 2024
1 parent 63db19e commit a5068b6
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 a5068b6

Please sign in to comment.