Socket
Socket
Sign inDemoInstall

@safe-global/safe-apps-provider

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@safe-global/safe-apps-provider - npm Package Compare versions

Comparing version 0.18.1 to 0.18.2

15

CHANGELOG.md
# @safe-global/safe-apps-provider
## 0.18.2
### Patch Changes
- Updated dependencies [767e262]
- Updated dependencies [9fb93b1]
- @safe-global/safe-apps-sdk@9.0.0
## 0.18.2-next.0
### Patch Changes
- Updated dependencies [9fb93b1]
- @safe-global/safe-apps-sdk@9.0.0-next.0
## 0.18.1

@@ -4,0 +19,0 @@

6

dist/provider.js

@@ -64,3 +64,7 @@ "use strict";

// `value` or `data` can be explicitly set as `undefined` for example in Viem. The spread will overwrite the fallback value.
const tx = Object.assign(Object.assign({}, params[0]), { value: params[0].value || '0', data: params[0].data || '0x' });
const tx = {
...params[0],
value: params[0].value || '0',
data: params[0].data || '0x',
};
// Some ethereum libraries might pass the gas as a hex-encoded string

@@ -67,0 +71,0 @@ // We need to convert it to a number because the SDK expects a number and our backend only supports

4

package.json
{
"name": "@safe-global/safe-apps-provider",
"version": "0.18.1",
"version": "0.18.2",
"description": "A provider wrapper of Safe Apps SDK",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

"dependencies": {
"@safe-global/safe-apps-sdk": "^8.1.0",
"@safe-global/safe-apps-sdk": "^9.0.0",
"events": "^3.3.0"

@@ -32,0 +32,0 @@ },

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