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

@gnosis.pm/safe-apps-provider

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gnosis.pm/safe-apps-provider - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

6

CHANGELOG.md
# @gnosis.pm/safe-apps-provider
## 0.15.0
### Minor Changes
- 6762218: Pass the gas limit to `safeTxGas` when sending a transaction through the Safe app provider
## 0.14.0

@@ -4,0 +10,0 @@

1

dist/provider.js

@@ -63,2 +63,3 @@ "use strict";

txs: [tx],
params: { safeTxGas: tx.gas },
});

@@ -65,0 +66,0 @@ // Store fake transaction

4

dist/types.d.ts

@@ -19,4 +19,4 @@ /// <reference types="node" />

}
export declare type ProviderChainId = string;
export declare type ProviderAccounts = string[];
export type ProviderChainId = string;
export type ProviderAccounts = string[];
export interface EIP1193Provider extends EventEmitter {

@@ -23,0 +23,0 @@ connect(params?: any): Promise<void>;

{
"name": "@gnosis.pm/safe-apps-provider",
"version": "0.14.0",
"version": "0.15.0",
"description": "A provider wrapper of Safe Apps SDK",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -65,4 +65,10 @@ # Safe Apps Provider

#### More scenarios
### A note on gas limit
The ethereum transaction gas limit passed to the safe-apps-provider will be treated as safeTxGas, which is an equivalent of the ethereum transaction gas limit in the Safe context. To learn more about the safe transaction gas, read here:
https://github.com/safe-global/safe-contracts/blob/c36bcab46578a442862d043e12a83fec41143dec/docs/safe_tx_gas.md
If you don't want to pass a calculation and leave it to the Safe, pass 0 as the gas limit.
### More scenarios
For the SDK overview documentation, please refer to the [safe-apps-sdk](https://github.com/gnosis/safe-apps-sdk/) documentation

@@ -90,2 +90,3 @@ import SafeAppsSDK, { SafeInfo, Web3TransactionObject } from '@gnosis.pm/safe-apps-sdk';

txs: [tx],
params: { safeTxGas: tx.gas },
});

@@ -92,0 +93,0 @@ // Store fake transaction

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