Skip to content

Commit

Permalink
Merge pull request #144 from gocardless/template-changes
Browse files Browse the repository at this point in the history
Release 3.7.0
  • Loading branch information
amaraliou committed Dec 19, 2022
2 parents ee449cb + ba29929 commit a1de92a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gocardless-nodejs",
"version": "3.6.1",
"version": "3.7.0",
"description": "Node.js client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments",
"author": "GoCardless Ltd <[email protected]>",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ enum Environments {
Sandbox = 'SANDBOX',
}

const CLIENT_VERSION = '3.6.1';
const CLIENT_VERSION = '3.7.0';
const API_VERSION = '2015-07-06';

export { Environments, CLIENT_VERSION, API_VERSION };
2 changes: 1 addition & 1 deletion src/services/blockService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export class BlockService {
): Promise<BlockListResponse> {
const urlParameters = [];
const requestParams = {
path: '/block_by_ref',
path: '/blocks/block_by_ref',
method: 'post',
urlParameters,
requestParameters,
Expand Down
4 changes: 2 additions & 2 deletions src/services/creditorService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ interface CreditorCreateRequest {
// [ISO 3166-1 alpha-2
// code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)

country_code?: string;
country_code: string;

// The type of business of the creditor. Currently, `individual`, `company`,
// `charity`, `partnership`, and `trust` are supported.

creditor_type?: Types.CreditorCreditorType;
creditor_type: Types.CreditorCreditorType;

// The creditor's name.

Expand Down

0 comments on commit a1de92a

Please sign in to comment.