@safe-global/safe-gateway-typescript-sdk
Advanced tools
Comparing version 3.8.0 to 3.8.1
@@ -98,3 +98,3 @@ import type { operations } from './types/api'; | ||
*/ | ||
export declare function getDecodedData(chainId: string, encodedData: operations['data_decoder']['parameters']['body']['data']): Promise<DecodedDataResponse>; | ||
export declare function getDecodedData(chainId: string, encodedData: operations['data_decoder']['parameters']['body']['data'], to: operations['data_decoder']['parameters']['body']['to']): Promise<DecodedDataResponse>; | ||
/** | ||
@@ -101,0 +101,0 @@ * Returns list of `SafeMessage`s |
@@ -199,6 +199,6 @@ "use strict"; | ||
*/ | ||
function getDecodedData(chainId, encodedData) { | ||
function getDecodedData(chainId, encodedData, to) { | ||
return (0, endpoint_1.postEndpoint)(baseUrl, '/v1/chains/{chainId}/data-decoder', { | ||
path: { chainId: chainId }, | ||
body: { data: encodedData }, | ||
body: { data: encodedData, to }, | ||
}); | ||
@@ -205,0 +205,0 @@ } |
export type DecodedDataRequest = { | ||
data: string; | ||
to?: string; | ||
}; | ||
@@ -4,0 +5,0 @@ type ParamValue = string | ParamValue[]; |
{ | ||
"name": "@safe-global/safe-gateway-typescript-sdk", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"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
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
82769
1968