Socket
Socket
Sign inDemoInstall

@safe-global/safe-gateway-typescript-sdk

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@safe-global/safe-gateway-typescript-sdk - npm Package Compare versions

Comparing version 3.8.0 to 3.8.1

2

dist/index.d.ts

@@ -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

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