From 4b2099ef9f8e7cfd3abd86028daf7a03cf5f2d3b Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Wed, 4 Mar 2026 13:41:59 +0000 Subject: [PATCH] Changes generated by c20d3bf95d69d27a7a0df481588bba2a1356ad45 This commit was automatically created from gocardless/client-library-templates@c20d3bf95d69d27a7a0df481588bba2a1356ad45 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/22671856666 --- package-lock.json | 4 +-- package.json | 68 +++++++++++++++++++++++++++++------------------ src/constants.ts | 2 +- 3 files changed, 45 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b5fb9f..6ac1f69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gocardless-nodejs", - "version": "8.0.1", + "version": "8.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gocardless-nodejs", - "version": "8.0.1", + "version": "8.0.2", "license": "MIT", "dependencies": { "buffer-equal-constant-time": "1.0.1", diff --git a/package.json b/package.json index 329d67c..359b093 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gocardless-nodejs", - "version": "8.0.1", + "version": "8.0.2", "description": "Node.js client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments", "author": "GoCardless Ltd ", "repository": { @@ -20,64 +20,78 @@ "direct debit" ], "type": "module", - "main": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", + "main": "./esm/index.js", + "types": "./types/index.d.ts", "exports": { ".": { "import": { - "types": "./dist/types/index.d.ts", - "default": "./dist/esm/index.js" + "types": "./types/index.d.ts", + "default": "./esm/index.js" }, "require": { - "types": "./dist/types/index.d.ts", - "default": "./dist/cjs/index.js" + "types": "./types/index.d.ts", + "default": "./cjs/index.js" } }, "./client": { "import": { - "types": "./dist/types/client.d.ts", - "default": "./dist/esm/client.js" + "types": "./types/client.d.ts", + "default": "./esm/client.js" }, "require": { - "types": "./dist/types/client.d.ts", - "default": "./dist/cjs/client.js" + "types": "./types/client.d.ts", + "default": "./cjs/client.js" } }, "./constants": { "import": { - "types": "./dist/types/constants.d.ts", - "default": "./dist/esm/constants.js" + "types": "./types/constants.d.ts", + "default": "./esm/constants.js" }, "require": { - "types": "./dist/types/constants.d.ts", - "default": "./dist/cjs/constants.js" + "types": "./types/constants.d.ts", + "default": "./cjs/constants.js" } }, "./webhooks": { "import": { - "types": "./dist/types/webhooks.d.ts", - "default": "./dist/esm/webhooks.js" + "types": "./types/webhooks.d.ts", + "default": "./esm/webhooks.js" }, "require": { - "types": "./dist/types/webhooks.d.ts", - "default": "./dist/cjs/webhooks.js" + "types": "./types/webhooks.d.ts", + "default": "./cjs/webhooks.js" } }, "./errors": { "import": { - "types": "./dist/types/errors.d.ts", - "default": "./dist/esm/errors.js" + "types": "./types/errors.d.ts", + "default": "./esm/errors.js" }, "require": { - "types": "./dist/types/errors.d.ts", - "default": "./dist/cjs/errors.js" + "types": "./types/errors.d.ts", + "default": "./cjs/errors.js" } }, "./types": { - "types": "./dist/types/types/Types.d.ts" + "import": { + "types": "./types/types/Types.d.ts", + "default": "./esm/types/Types.js" + }, + "require": { + "types": "./types/types/Types.d.ts", + "default": "./cjs/types/Types.js" + } }, "./types/Types": { - "types": "./dist/types/types/Types.d.ts" + "import": { + "types": "./types/types/Types.d.ts", + "default": "./esm/types/Types.js" + }, + "require": { + "types": "./types/types/Types.d.ts", + "default": "./cjs/types/Types.js" + } }, "./package.json": "./package.json" }, @@ -114,7 +128,9 @@ "typescript": "^5.0.2" }, "files": [ - "dist/", + "esm/", + "cjs/", + "types/", "LICENSE.txt", "README.md" ], diff --git a/src/constants.ts b/src/constants.ts index 9dcadf5..3c679a3 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -3,7 +3,7 @@ enum Environments { Sandbox = 'SANDBOX', } -const CLIENT_VERSION = '8.0.1'; +const CLIENT_VERSION = '8.0.2'; const API_VERSION = '2015-07-06'; export { Environments, CLIENT_VERSION, API_VERSION };