Skip to content

Commit

Permalink
Merge pull request #73 from oderayi/bugfix/#1386-add-bulk-transfers-r…
Browse files Browse the repository at this point in the history
…esourceType

#1386: Add bulkTransfers & bulkQuotes to resource types for JWS signing
  • Loading branch information
elnyry-sam-k authored Jul 17, 2020
2 parents bd8ada5 + 93511f2 commit 4fcd12e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/jws/jwsSigner.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const jws = require('jws');
const SIGNATURE_ALGORITHM = 'RS256';

// a regular expression to extract the Mojaloop API spec compliant HTTP-URI header value
const uriRegex = /(?:^.*)(\/(participants|parties|quotes|transfers|transactionRequests|authorizations)(\/.*)*)$/;
const uriRegex = /(?:^.*)(\/(participants|parties|quotes|bulkQuotes|transfers|bulkTransfers|transactionRequests|authorizations)(\/.*)*)$/;


/**
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/sdk-standard-components",
"version": "10.6.2",
"version": "10.6.3",
"description": "A set of standard components for connecting to Mojaloop API enabled Switches",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 4fcd12e

Please sign in to comment.