From 20a9dec1356f976b59310ecdac128c0cf56a7832 Mon Sep 17 00:00:00 2001 From: "christian.casado" Date: Wed, 7 Aug 2024 09:17:52 +0200 Subject: [PATCH 1/5] Added error codes for funding sources errors --- src/constants/error-code.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constants/error-code.ts b/src/constants/error-code.ts index ee514532..4bfe833d 100644 --- a/src/constants/error-code.ts +++ b/src/constants/error-code.ts @@ -38,4 +38,6 @@ export type ErrorCode = | "unspecified" | "verification_failure" | "warehouse_conflict" - | "webhook_event_type_conflict"; + | "webhook_event_type_conflict" + | "funding_source_missing_configuration" + | "funding_source_error"; From d8d39bd98ac468a79ca4de6865045c16dfc78681 Mon Sep 17 00:00:00 2001 From: "christian.casado" Date: Wed, 7 Aug 2024 10:06:29 +0200 Subject: [PATCH 2/5] Added error codes for funding sources errors --- src/constants/error-type.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constants/error-type.ts b/src/constants/error-type.ts index e6d1c81d..7c4dfa53 100644 --- a/src/constants/error-type.ts +++ b/src/constants/error-type.ts @@ -9,4 +9,6 @@ export type ErrorType = | "security" | "validation" | "business_rules" - | "system"; + | "system" + | "wallet" + | "funding_sources"; From d51feadaf6c4c0a69db9a66786021b84346a4021 Mon Sep 17 00:00:00 2001 From: "christian.casado" Date: Thu, 14 Nov 2024 10:51:44 +0100 Subject: [PATCH 3/5] Empty-Commit From bba966764050dbcda4a37f8ce3f279241332746c Mon Sep 17 00:00:00 2001 From: "christian.casado" Date: Wed, 8 Jan 2025 22:44:16 +0100 Subject: [PATCH 4/5] Empty-Commit From c4b9239bf0662464954640443100975a66a7bfa4 Mon Sep 17 00:00:00 2001 From: "christian.casado" Date: Wed, 8 Jan 2025 23:52:50 +0100 Subject: [PATCH 5/5] increase of version --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b23829b..9ba6cdc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.0.8](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.7...v1.0.8) (2024-01-31) + + +### Features + +* Added error code FundingSourceMissingConfiguration +* Added error code FundingSourceError + ### [1.0.7](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.6...v1.0.7) (2024-01-31) diff --git a/package-lock.json b/package-lock.json index b0aa153e..c84f37b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "shipengine", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "shipengine", - "version": "1.0.7", + "version": "1.0.8", "license": "Apache-2.0", "dependencies": { "abort-controller": "^3.0.0", diff --git a/package.json b/package.json index d62b9fa6..96d3ffd2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shipengine", - "version": "1.0.7", + "version": "1.0.8", "description": "The official ShipEngine JavaScript SDK for Node.js", "keywords": [ "shipengine",