@safe-global/safe-gateway-typescript-sdk
Advanced tools
Comparing version 3.22.3-beta.13 to 3.22.3-beta.14
@@ -253,1 +253,2 @@ import type { operations } from './types/api'; | ||
export declare function putAccountDataSettings(address: string, body: operations['put_account_data_settings']['parameters']['body']): Promise<import("./types/accounts").AccountDataSetting[]>; | ||
export declare function getIndexingStatus(chainId: string): Promise<import("./types/chains").ChainIndexingStatus>; |
@@ -18,3 +18,3 @@ "use strict"; | ||
exports.deleteAccount = exports.getAccount = exports.createAccount = exports.verifyAuth = exports.getAuthNonce = exports.getContract = exports.getSafeOverviews = exports.unsubscribeAll = exports.unsubscribeSingle = exports.registerRecoveryModule = exports.deleteRegisteredEmail = exports.getRegisteredEmail = exports.verifyEmail = exports.resendEmailVerificationCode = exports.changeEmail = exports.registerEmail = exports.unregisterDevice = exports.unregisterSafe = exports.registerDevice = exports.getDelegates = exports.confirmSafeMessage = exports.proposeSafeMessage = exports.getSafeMessage = exports.getSafeMessages = exports.getDecodedData = exports.getMasterCopies = exports.getSafeApps = exports.getChainConfig = exports.getChainsConfig = exports.getConfirmationView = exports.proposeTransaction = exports.getNonces = exports.postSafeGasEstimation = exports.deleteTransaction = exports.getTransactionDetails = exports.getTransactionQueue = exports.getTransactionHistory = exports.getCollectiblesPage = exports.getCollectibles = exports.getAllOwnedSafes = exports.getOwnedSafes = exports.getFiatCurrencies = exports.getBalances = exports.getMultisigTransactions = exports.getModuleTransactions = exports.getIncomingTransfers = exports.getSafeInfo = exports.getRelayCount = exports.relayTransaction = exports.setBaseUrl = void 0; | ||
exports.putAccountDataSettings = exports.getAccountDataSettings = exports.getAccountDataTypes = void 0; | ||
exports.getIndexingStatus = exports.putAccountDataSettings = exports.getAccountDataSettings = exports.getAccountDataTypes = void 0; | ||
const endpoint_1 = require("./endpoint"); | ||
@@ -531,3 +531,9 @@ const config_1 = require("./config"); | ||
exports.putAccountDataSettings = putAccountDataSettings; | ||
function getIndexingStatus(chainId) { | ||
return (0, endpoint_1.getEndpoint)(baseUrl, '/v1/chains/{chainId}/about/indexing', { | ||
path: { chainId }, | ||
}); | ||
} | ||
exports.getIndexingStatus = getIndexingStatus; | ||
/* eslint-enable @typescript-eslint/explicit-module-boundary-types */ | ||
//# sourceMappingURL=index.js.map |
import type { AllOwnedSafes, FiatCurrencies, OwnedSafes, SafeBalanceResponse, SafeCollectibleResponse, SafeCollectiblesPage } from './common'; | ||
import type { MultisigTransactionRequest, TransactionDetails, SafeTransactionEstimation, SafeTransactionEstimationRequest, TransactionListPage, SafeIncomingTransfersResponse, SafeModuleTransactionsResponse, SafeMultisigTransactionsResponse, NoncesResponse } from './transactions'; | ||
import type { SafeInfo, SafeOverview } from './safe-info'; | ||
import type { ChainListResponse, ChainInfo } from './chains'; | ||
import type { ChainListResponse, ChainInfo, ChainIndexingStatus } from './chains'; | ||
import type { SafeAppsResponse } from './safe-apps'; | ||
@@ -393,2 +393,10 @@ import type { AnyConfirmationView, DecodedDataRequest, DecodedDataResponse } from './decoded-data'; | ||
}; | ||
'/v1/chains/{chainId}/about/indexing': { | ||
get: operations['get_indexing']; | ||
parameters: { | ||
path: { | ||
chainId: string; | ||
}; | ||
}; | ||
}; | ||
'/v1/subscriptions': { | ||
@@ -1143,2 +1151,14 @@ delete: operations['unsubscribe_single']; | ||
}; | ||
get_indexing: { | ||
parameters: { | ||
path: { | ||
chainId: string; | ||
}; | ||
}; | ||
responses: { | ||
200: { | ||
schema: ChainIndexingStatus; | ||
}; | ||
}; | ||
}; | ||
unsubscribe_single: { | ||
@@ -1145,0 +1165,0 @@ parameters: { |
@@ -98,1 +98,5 @@ import type { Page } from './common'; | ||
export type ChainListResponse = Page<ChainInfo>; | ||
export type ChainIndexingStatus = { | ||
lastSync: number; | ||
synced: boolean; | ||
}; |
@@ -50,16 +50,11 @@ import type { TokenInfo } from './common'; | ||
export declare enum NativeStakingStatus { | ||
AWAITING_ENTRY = "AWAITING_ENTRY", | ||
REQUESTED_EXIT = "REQUESTED_EXIT", | ||
SIGNATURE_NEEDED = "SIGNATURE_NEEDED", | ||
AWAITING_EXECUTION = "AWAITING_EXECUTION", | ||
VALIDATION_STARTED = "VALIDATION_STARTED", | ||
WITHDRAWN = "WITHDRAWN", | ||
UNKNOWN = "UNKNOWN" | ||
NOT_STAKED = "NOT_STAKED", | ||
ACTIVATING = "ACTIVATING", | ||
DEPOSIT_IN_PROGRESS = "DEPOSIT_IN_PROGRESS", | ||
ACTIVE = "ACTIVE", | ||
EXIT_REQUESTED = "EXIT_REQUESTED", | ||
EXITING = "EXITING", | ||
EXITED = "EXITED", | ||
SLASHED = "SLASHED" | ||
} | ||
export declare enum NativeStakingExitStatus { | ||
AWAITING_EXECUTION = "AWAITING_EXECUTION", | ||
READY_TO_WITHDRAW = "READY_TO_WITHDRAW", | ||
REQUEST_PENDING = "REQUEST_PENDING", | ||
SIGNATURE_NEEDED = "SIGNATURE_NEEDED" | ||
} | ||
export type NativeStakingDepositConfirmationView = { | ||
@@ -84,3 +79,3 @@ type: ConfirmationViewTypes.KILN_NATIVE_STAKING_DEPOSIT; | ||
type: ConfirmationViewTypes.KILN_NATIVE_STAKING_VALIDATORS_EXIT; | ||
status: NativeStakingExitStatus; | ||
status: NativeStakingStatus; | ||
estimatedExitTime: number; | ||
@@ -96,3 +91,2 @@ estimatedWithdrawalTime: number; | ||
value: string; | ||
rewards: string; | ||
tokenInfo: TokenInfo; | ||
@@ -99,0 +93,0 @@ } & DecodedDataResponse; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NativeStakingExitStatus = exports.NativeStakingStatus = exports.ConfirmationViewTypes = void 0; | ||
exports.NativeStakingStatus = exports.ConfirmationViewTypes = void 0; | ||
var ConfirmationViewTypes; | ||
@@ -15,17 +15,11 @@ (function (ConfirmationViewTypes) { | ||
(function (NativeStakingStatus) { | ||
NativeStakingStatus["AWAITING_ENTRY"] = "AWAITING_ENTRY"; | ||
NativeStakingStatus["REQUESTED_EXIT"] = "REQUESTED_EXIT"; | ||
NativeStakingStatus["SIGNATURE_NEEDED"] = "SIGNATURE_NEEDED"; | ||
NativeStakingStatus["AWAITING_EXECUTION"] = "AWAITING_EXECUTION"; | ||
NativeStakingStatus["VALIDATION_STARTED"] = "VALIDATION_STARTED"; | ||
NativeStakingStatus["WITHDRAWN"] = "WITHDRAWN"; | ||
NativeStakingStatus["UNKNOWN"] = "UNKNOWN"; | ||
NativeStakingStatus["NOT_STAKED"] = "NOT_STAKED"; | ||
NativeStakingStatus["ACTIVATING"] = "ACTIVATING"; | ||
NativeStakingStatus["DEPOSIT_IN_PROGRESS"] = "DEPOSIT_IN_PROGRESS"; | ||
NativeStakingStatus["ACTIVE"] = "ACTIVE"; | ||
NativeStakingStatus["EXIT_REQUESTED"] = "EXIT_REQUESTED"; | ||
NativeStakingStatus["EXITING"] = "EXITING"; | ||
NativeStakingStatus["EXITED"] = "EXITED"; | ||
NativeStakingStatus["SLASHED"] = "SLASHED"; | ||
})(NativeStakingStatus = exports.NativeStakingStatus || (exports.NativeStakingStatus = {})); | ||
var NativeStakingExitStatus; | ||
(function (NativeStakingExitStatus) { | ||
NativeStakingExitStatus["AWAITING_EXECUTION"] = "AWAITING_EXECUTION"; | ||
NativeStakingExitStatus["READY_TO_WITHDRAW"] = "READY_TO_WITHDRAW"; | ||
NativeStakingExitStatus["REQUEST_PENDING"] = "REQUEST_PENDING"; | ||
NativeStakingExitStatus["SIGNATURE_NEEDED"] = "SIGNATURE_NEEDED"; | ||
})(NativeStakingExitStatus = exports.NativeStakingExitStatus || (exports.NativeStakingExitStatus = {})); | ||
//# sourceMappingURL=decoded-data.js.map |
{ | ||
"name": "@safe-global/safe-gateway-typescript-sdk", | ||
"version": "3.22.3-beta.13", | ||
"version": "3.22.3-beta.14", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
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
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
143371
3478