@safe-global/safe-apps-provider
Advanced tools
Comparing version 0.18.1 to 0.18.2
# @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 @@ |
@@ -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 |
{ | ||
"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
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
33833
434
+ Added@noble/curves@1.4.0(transitive)
+ Added@noble/hashes@1.4.01.5.0(transitive)
+ Added@safe-global/safe-apps-sdk@9.1.0(transitive)
+ Added@scure/bip32@1.4.0(transitive)
+ Added@scure/bip39@1.4.0(transitive)
+ Addedabitype@1.0.5(transitive)
+ Addedisows@1.0.4(transitive)
+ Addedviem@2.21.6(transitive)
+ Addedwebauthn-p256@0.0.5(transitive)
+ Addedws@8.17.1(transitive)
- Removed@noble/curves@1.2.0(transitive)
- Removed@noble/hashes@1.3.2(transitive)
- Removed@safe-global/safe-apps-sdk@8.1.0(transitive)
- Removed@scure/bip32@1.3.2(transitive)
- Removed@scure/bip39@1.2.1(transitive)
- Removedabitype@0.9.8(transitive)
- Removedisows@1.0.3(transitive)
- Removedviem@1.21.4(transitive)
- Removedws@8.13.0(transitive)