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", 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"; 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";