New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@exodus/models

Package Overview
Dependencies
Maintainers
101
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/models - npm Package Compare versions

Comparing version 12.4.0 to 12.5.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [12.5.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/models@12.4.0...@exodus/models@12.5.0) (2025-02-04)
### Features
- feat(xopay): provider in fiat order model (#11295)
## [12.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/models@12.3.1...@exodus/models@12.4.0) (2025-01-13)

@@ -8,0 +14,0 @@

@@ -27,2 +27,3 @@ type WithoutProto<T extends object> = T extends {

readonly sardine: "sardine";
readonly xopay: "xopay";
};

@@ -124,2 +125,3 @@ export type Provider = Values<typeof PROVIDERS>;

sardine: Values<typeof SARDINE_ORDER_STATUS>;
xopay: Values<typeof XOPAY_ORDER_STATUS>;
};

@@ -132,2 +134,15 @@ export declare const ORDER_STATUS_TO_ONRAMPER_STATUS: {

};
export declare const XOPAY_ORDER_STATUS: {
readonly __proto__: null;
readonly completed: "COMPLETED";
readonly error: "ERROR";
readonly failed: "FAILED";
readonly in_progress: "IN_PROGRESS";
};
export declare const ORDER_STATUS_TO_XOPAY_STATUS: {
readonly __proto__: null;
readonly complete: readonly ["COMPLETED"];
readonly failed: readonly ["ERROR", "FAILED"];
readonly "in-progress": readonly ["IN_PROGRESS"];
};
export declare const STALE_STATUS: {

@@ -141,2 +156,3 @@ readonly __proto__: null;

readonly sardine: "Expired";
readonly xopay: "FAILED";
};

@@ -151,2 +167,3 @@ export declare const COMPLETE_STATUS: {

readonly sardine: "Complete";
readonly xopay: "COMPLETED";
};

@@ -192,3 +209,9 @@ export declare const STATUS_MAP: {

};
readonly xopay: {
readonly __proto__: null;
readonly complete: readonly ["COMPLETED"];
readonly failed: readonly ["ERROR", "FAILED"];
readonly "in-progress": readonly ["IN_PROGRESS"];
};
};
export {};

@@ -21,2 +21,3 @@ export const ORDER_TYPES = {

sardine: 'sardine',
xopay: 'xopay',
};

@@ -145,2 +146,15 @@ export const MOONPAY_ORDER_STATUS = {

};
export const XOPAY_ORDER_STATUS = {
__proto__: null,
completed: 'COMPLETED',
error: 'ERROR',
failed: 'FAILED',
in_progress: 'IN_PROGRESS',
};
export const ORDER_STATUS_TO_XOPAY_STATUS = {
__proto__: null,
[ORDER_STATUS.complete]: [XOPAY_ORDER_STATUS.completed],
[ORDER_STATUS.failed]: [XOPAY_ORDER_STATUS.error, XOPAY_ORDER_STATUS.failed],
[ORDER_STATUS.in_progress]: [XOPAY_ORDER_STATUS.in_progress],
};
export const STALE_STATUS = {

@@ -154,2 +168,3 @@ __proto__: null,

[PROVIDERS.sardine]: SARDINE_ORDER_STATUS.expired,
[PROVIDERS.xopay]: XOPAY_ORDER_STATUS.failed,
};

@@ -164,2 +179,3 @@ export const COMPLETE_STATUS = {

[PROVIDERS.sardine]: SARDINE_ORDER_STATUS.complete,
[PROVIDERS.xopay]: XOPAY_ORDER_STATUS.completed,
};

@@ -174,2 +190,3 @@ export const STATUS_MAP = {

[PROVIDERS.sardine]: ORDER_STATUS_TO_SARDINE_STATUS,
[PROVIDERS.xopay]: ORDER_STATUS_TO_XOPAY_STATUS,
};

4

package.json
{
"name": "@exodus/models",
"version": "12.4.0",
"version": "12.5.0",
"description": "Containers for common business objects in the wild world of Exodus wallets",

@@ -46,3 +46,3 @@ "type": "module",

},
"gitHead": "1ca73a18a6aade1f93830aab54e80968d6940537"
"gitHead": "d6fb8764d3b27ec7d2297a3ba229882a92c4b307"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc