@gnosis.pm/safe-react-gateway-sdk
Advanced tools
Comparing version 3.1.4 to 3.2.0
import { IncomingTransfer, ModuleTransaction, MultisigTransaction, Page } from '..'; | ||
export declare type AddressEx = { | ||
value: string; | ||
name: string | null; | ||
logoUri: string | null; | ||
name?: string; | ||
logoUri?: string; | ||
}; | ||
@@ -14,3 +14,3 @@ export declare type SafeInfo = { | ||
implementation: AddressEx; | ||
modules: AddressEx[]; | ||
modules: AddressEx[] | null; | ||
guard: AddressEx | null; | ||
@@ -17,0 +17,0 @@ fallbackHandler: AddressEx; |
@@ -5,4 +5,4 @@ import { IncomingTransfer, ModuleTransaction, MultisigTransaction, Page } from '..' | ||
value: string | ||
name: string | null | ||
logoUri: string | null | ||
name?: string | ||
logoUri?: string | ||
} | ||
@@ -17,3 +17,3 @@ | ||
implementation: AddressEx | ||
modules: AddressEx[] | ||
modules: AddressEx[] | null | ||
guard: AddressEx | null | ||
@@ -20,0 +20,0 @@ fallbackHandler: AddressEx |
@@ -10,5 +10,5 @@ import { AddressEx, TokenInfo } from './common'; | ||
to: string; | ||
value: string | null; | ||
data: string | null; | ||
dataDecoded: DataDecoded | null; | ||
value?: string; | ||
data?: string; | ||
dataDecoded?: DataDecoded; | ||
}; | ||
@@ -20,7 +20,7 @@ export declare type ValueDecodedType = InternalTransaction[]; | ||
value: ParamValue; | ||
valueDecoded: ValueDecodedType | null; | ||
valueDecoded?: ValueDecodedType; | ||
}; | ||
export declare type DataDecoded = { | ||
method: string; | ||
parameters: Parameter[] | null; | ||
parameters?: Parameter[]; | ||
}; | ||
@@ -61,6 +61,6 @@ export declare enum TransactionStatus { | ||
tokenAddress: string; | ||
tokenName: string | null; | ||
tokenSymbol: string | null; | ||
logoUri: string | null; | ||
decimals: number | null; | ||
tokenName?: string; | ||
tokenSymbol?: string; | ||
logoUri?: string; | ||
decimals?: number; | ||
value: string; | ||
@@ -72,5 +72,5 @@ }; | ||
tokenId: string; | ||
tokenName: string | null; | ||
tokenSymbol: string | null; | ||
logoUri: string | null; | ||
tokenName?: string; | ||
tokenSymbol?: string; | ||
logoUri?: string; | ||
}; | ||
@@ -135,3 +135,3 @@ export declare type NativeCoinTransfer = { | ||
dataDecoded: DataDecoded; | ||
settingsInfo: SettingsInfo | null; | ||
settingsInfo?: SettingsInfo; | ||
}; | ||
@@ -143,4 +143,4 @@ export interface Custom { | ||
value: string; | ||
methodName: string | null; | ||
actionCount: number | null; | ||
methodName?: string; | ||
actionCount?: number; | ||
isCancellation: boolean; | ||
@@ -164,4 +164,4 @@ } | ||
transactionHash: string; | ||
implementation: AddressEx | null; | ||
factory: AddressEx | null; | ||
implementation?: AddressEx; | ||
factory?: AddressEx; | ||
}; | ||
@@ -178,3 +178,3 @@ export declare type TransactionInfo = Transfer | SettingsChange | Custom | MultiSend | Cancellation | Creation; | ||
confirmationsSubmitted: number; | ||
missingSigners: AddressEx[] | null; | ||
missingSigners?: AddressEx[]; | ||
}; | ||
@@ -245,3 +245,3 @@ export declare type ExecutionInfo = ModuleExecutionInfo | MultisigExecutionInfo; | ||
value: string; | ||
data: string | null; | ||
data?: string; | ||
nonce: string; | ||
@@ -253,7 +253,7 @@ operation: Operation; | ||
gasToken: string; | ||
refundReceiver: string | null; | ||
refundReceiver?: string; | ||
safeTxHash: string; | ||
sender: string; | ||
signature?: string | null; | ||
origin: string | null; | ||
signature?: string; | ||
origin?: string; | ||
}; | ||
@@ -266,10 +266,10 @@ export declare type SafeAppInfo = { | ||
export declare type TransactionData = { | ||
hexData: string | null; | ||
dataDecoded: DataDecoded | null; | ||
hexData?: string; | ||
dataDecoded?: DataDecoded; | ||
to: AddressEx; | ||
value: string | null; | ||
value?: string; | ||
operation: Operation; | ||
addressInfoIndex: { | ||
addressInfoIndex?: { | ||
[key: string]: AddressEx; | ||
} | null; | ||
}; | ||
trustedDelegateCallTarget: boolean; | ||
@@ -283,3 +283,3 @@ }; | ||
signer: AddressEx; | ||
signature: string | null; | ||
signature?: string; | ||
submittedAt: number; | ||
@@ -297,8 +297,8 @@ }; | ||
safeTxHash: string; | ||
executor: AddressEx | null; | ||
executor?: AddressEx; | ||
signers: AddressEx[]; | ||
confirmationsRequired: number; | ||
confirmations: MultisigConfirmation[]; | ||
rejectors: AddressEx[] | null; | ||
gasTokenInfo: TokenInfo | null; | ||
rejectors?: AddressEx[]; | ||
gasTokenInfo?: TokenInfo; | ||
}; | ||
@@ -308,9 +308,9 @@ export declare type DetailedExecutionInfo = ModuleExecutionDetails | MultisigExecutionDetails; | ||
txId: string; | ||
executedAt: number | null; | ||
executedAt?: number; | ||
txStatus: TransactionStatus; | ||
txInfo: TransactionInfo; | ||
txData: TransactionData | null; | ||
detailedExecutionInfo: DetailedExecutionInfo | null; | ||
txHash: string | null; | ||
safeAppInfo: SafeAppInfo | null; | ||
txData?: TransactionData; | ||
detailedExecutionInfo?: DetailedExecutionInfo; | ||
txHash?: string; | ||
safeAppInfo?: SafeAppInfo; | ||
}; | ||
@@ -317,0 +317,0 @@ export declare type SafeTransactionEstimationRequest = { |
@@ -13,5 +13,5 @@ import { AddressEx, TokenInfo } from './common' | ||
to: string | ||
value: string | null | ||
data: string | null | ||
dataDecoded: DataDecoded | null | ||
value?: string | ||
data?: string | ||
dataDecoded?: DataDecoded | ||
} | ||
@@ -25,3 +25,3 @@ | ||
value: ParamValue | ||
valueDecoded: ValueDecodedType | null | ||
valueDecoded?: ValueDecodedType | ||
} | ||
@@ -31,3 +31,3 @@ | ||
method: string | ||
parameters: Parameter[] | null | ||
parameters?: Parameter[] | ||
} | ||
@@ -73,6 +73,6 @@ | ||
tokenAddress: string | ||
tokenName: string | null | ||
tokenSymbol: string | null | ||
logoUri: string | null | ||
decimals: number | null | ||
tokenName?: string | ||
tokenSymbol?: string | ||
logoUri?: string | ||
decimals?: number | ||
value: string | ||
@@ -85,5 +85,5 @@ } | ||
tokenId: string | ||
tokenName: string | null | ||
tokenSymbol: string | null | ||
logoUri: string | null | ||
tokenName?: string | ||
tokenSymbol?: string | ||
logoUri?: string | ||
} | ||
@@ -173,3 +173,3 @@ | ||
dataDecoded: DataDecoded | ||
settingsInfo: SettingsInfo | null | ||
settingsInfo?: SettingsInfo | ||
} | ||
@@ -182,4 +182,4 @@ | ||
value: string | ||
methodName: string | null | ||
actionCount: number | null | ||
methodName?: string | ||
actionCount?: number | ||
isCancellation: boolean | ||
@@ -206,4 +206,4 @@ } | ||
transactionHash: string | ||
implementation: AddressEx | null | ||
factory: AddressEx | null | ||
implementation?: AddressEx | ||
factory?: AddressEx | ||
} | ||
@@ -223,3 +223,3 @@ | ||
confirmationsSubmitted: number | ||
missingSigners: AddressEx[] | null | ||
missingSigners?: AddressEx[] | ||
} | ||
@@ -302,3 +302,3 @@ | ||
value: string | ||
data: string | null | ||
data?: string | ||
nonce: string | ||
@@ -310,7 +310,7 @@ operation: Operation | ||
gasToken: string | ||
refundReceiver: string | null | ||
refundReceiver?: string | ||
safeTxHash: string | ||
sender: string | ||
signature?: string | null | ||
origin: string | null | ||
signature?: string | ||
origin?: string | ||
} | ||
@@ -326,8 +326,8 @@ | ||
export type TransactionData = { | ||
hexData: string | null | ||
dataDecoded: DataDecoded | null | ||
hexData?: string | ||
dataDecoded?: DataDecoded | ||
to: AddressEx | ||
value: string | null | ||
value?: string | ||
operation: Operation | ||
addressInfoIndex: { [key: string]: AddressEx } | null | ||
addressInfoIndex?: { [key: string]: AddressEx } | ||
trustedDelegateCallTarget: boolean | ||
@@ -343,3 +343,3 @@ } | ||
signer: AddressEx | ||
signature: string | null | ||
signature?: string | ||
submittedAt: number | ||
@@ -358,8 +358,8 @@ } | ||
safeTxHash: string | ||
executor: AddressEx | null | ||
executor?: AddressEx | ||
signers: AddressEx[] | ||
confirmationsRequired: number | ||
confirmations: MultisigConfirmation[] | ||
rejectors: AddressEx[] | null | ||
gasTokenInfo: TokenInfo | null | ||
rejectors?: AddressEx[] | ||
gasTokenInfo?: TokenInfo | ||
} | ||
@@ -371,9 +371,9 @@ | ||
txId: string | ||
executedAt: number | null | ||
executedAt?: number | ||
txStatus: TransactionStatus | ||
txInfo: TransactionInfo | ||
txData: TransactionData | null | ||
detailedExecutionInfo: DetailedExecutionInfo | null | ||
txHash: string | null | ||
safeAppInfo: SafeAppInfo | null | ||
txData?: TransactionData | ||
detailedExecutionInfo?: DetailedExecutionInfo | ||
txHash?: string | ||
safeAppInfo?: SafeAppInfo | ||
} | ||
@@ -380,0 +380,0 @@ |
{ | ||
"name": "@gnosis.pm/safe-react-gateway-sdk", | ||
"version": "3.1.4", | ||
"version": "3.2.0", | ||
"main": "dist/index.min.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
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
135665