From d6049d95d221ed36837852c6a4e6980fc405672a Mon Sep 17 00:00:00 2001 From: Cory <146833132+corysquid@users.noreply.github.com> Date: Wed, 27 Nov 2024 04:48:45 -0800 Subject: [PATCH] add refund status types (#125) * add refund status types * bump version 0.1.121 --- package.json | 2 +- src/status/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4493582..bf9600a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xsquid/squid-types", - "version": "0.1.120", + "version": "0.1.121", "description": "JS and TS types relating to 0xsquid related projects.", "main": "dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/status/index.ts b/src/status/index.ts index b84196b..fd5700c 100644 --- a/src/status/index.ts +++ b/src/status/index.ts @@ -41,6 +41,7 @@ export enum SquidTransactionStatus { PARTIAL_SUCCESS = "partial_success", NOT_FOUND = "not_found", FAILED_DESTINATION = "failed_on_destination", + REFUNDED = "refunded", } export type StatusResponse = ApiBasicResponse & { @@ -80,6 +81,7 @@ export enum RouteActionStatus { NOT_FOUND = "not_found", UNKNOWN = "unknown", AWAITING = "awaiting", + REFUNDED = "refunded", } export enum CCTPStatus {