@gnosis.pm/safe-apps-provider
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@gnosis.pm/safe-apps-provider", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A provider wrapper of Safe Apps SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,2 +20,6 @@ import SafeAppsSDK, { SafeInfo, Web3TransactionObject } from '@gnosis.pm/safe-apps-sdk'; | ||
interface ExtendedTx extends Web3TransactionObject { | ||
transactionHash: string; | ||
} | ||
export class SafeAppProvider implements AsyncSendable { | ||
@@ -131,5 +135,5 @@ private readonly safe: SafeInfo; | ||
if (tx) { | ||
tx.transactionHash = params[0]; | ||
(tx as ExtendedTx).transactionHash = params[0]; | ||
} | ||
return tx; | ||
return tx as ExtendedTx; | ||
}); | ||
@@ -136,0 +140,0 @@ } |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18369
302
1