@safe-global/safe-gateway-typescript-sdk
Advanced tools
Comparing version 3.22.2 to 3.22.3-beta.0
import type { SwapOrder, TwapOrder } from './transactions'; | ||
export declare enum ConfirmationViewTypes { | ||
COW_SWAP_ORDER = "COW_SWAP_ORDER", | ||
COW_SWAP_TWAP_ORDER = "COW_SWAP_TWAP_ORDER" | ||
COW_SWAP_TWAP_ORDER = "COW_SWAP_TWAP_ORDER", | ||
KILN_NATIVE_STAKING_DEPOSIT = "KILN_NATIVE_STAKING_DEPOSIT" | ||
} | ||
@@ -42,3 +43,13 @@ export type DecodedDataRequest = { | ||
} & DecodedDataResponse & Omit<TwapOrder, 'type' | 'humanDescription' | 'richDecodedInfo'>; | ||
export type OrderConfirmationView = SwapOrderConfirmationView | TwapOrderConfirmationView; | ||
export type NativeStakingDepositConfirmationView = { | ||
type: ConfirmationViewTypes.KILN_NATIVE_STAKING_DEPOSIT; | ||
status: 'unknown'; | ||
estimatedEntryTime: number; | ||
estimatedExitTime: number; | ||
estimatedWithdrawalTime: number; | ||
fee: number; | ||
monthlyNrr: number; | ||
annualNrr: number; | ||
} & DecodedDataResponse; | ||
export type OrderConfirmationView = SwapOrderConfirmationView | TwapOrderConfirmationView | NativeStakingDepositConfirmationView; | ||
export {}; |
@@ -8,3 +8,4 @@ "use strict"; | ||
ConfirmationViewTypes["COW_SWAP_TWAP_ORDER"] = "COW_SWAP_TWAP_ORDER"; | ||
ConfirmationViewTypes["KILN_NATIVE_STAKING_DEPOSIT"] = "KILN_NATIVE_STAKING_DEPOSIT"; | ||
})(ConfirmationViewTypes = exports.ConfirmationViewTypes || (exports.ConfirmationViewTypes = {})); | ||
//# sourceMappingURL=decoded-data.js.map |
{ | ||
"name": "@safe-global/safe-gateway-typescript-sdk", | ||
"version": "3.22.2", | ||
"version": "3.22.3-beta.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138310
3374
2