@safe-global/safe-core-sdk-types
Advanced tools
Comparing version 4.1.0 to 5.0.0-alpha.0
@@ -1,10 +0,19 @@ | ||
export * from './contracts/CompatibilityFallbackHandlerContract'; | ||
export * from './contracts/CreateCallContract'; | ||
export * from './contracts/MultiSendCallOnlyContract'; | ||
export * from './contracts/MultiSendContract'; | ||
export * from './contracts/SafeContract'; | ||
export * from './contracts/SafeProxyFactoryContract'; | ||
export * from './contracts/SignMessageLibContract'; | ||
export * from './contracts/SimulateTxAccessorContract'; | ||
export * from './ethereumLibs/EthAdapter'; | ||
export * from './contracts/CompatibilityFallbackHandler'; | ||
export * from './contracts/MultiSend'; | ||
export * from './contracts/CreateCall'; | ||
export * from './contracts/Safe'; | ||
export * from './contracts/SafeProxyFactory'; | ||
export * from './contracts/SignMessageLib'; | ||
export * from './contracts/SimulateTxAccessor'; | ||
export * from './contracts/common/BaseContract'; | ||
export * from './contracts/assets'; | ||
export * from './types'; | ||
declare module 'abitype' { | ||
interface Register { | ||
AddressType: string; | ||
BytesType: { | ||
inputs: string; | ||
outputs: string; | ||
}; | ||
} | ||
} |
@@ -17,12 +17,12 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./contracts/CompatibilityFallbackHandlerContract"), exports); | ||
__exportStar(require("./contracts/CreateCallContract"), exports); | ||
__exportStar(require("./contracts/MultiSendCallOnlyContract"), exports); | ||
__exportStar(require("./contracts/MultiSendContract"), exports); | ||
__exportStar(require("./contracts/SafeContract"), exports); | ||
__exportStar(require("./contracts/SafeProxyFactoryContract"), exports); | ||
__exportStar(require("./contracts/SignMessageLibContract"), exports); | ||
__exportStar(require("./contracts/SimulateTxAccessorContract"), exports); | ||
__exportStar(require("./ethereumLibs/EthAdapter"), exports); | ||
__exportStar(require("./contracts/CompatibilityFallbackHandler"), exports); | ||
__exportStar(require("./contracts/MultiSend"), exports); | ||
__exportStar(require("./contracts/CreateCall"), exports); | ||
__exportStar(require("./contracts/Safe"), exports); | ||
__exportStar(require("./contracts/SafeProxyFactory"), exports); | ||
__exportStar(require("./contracts/SignMessageLib"), exports); | ||
__exportStar(require("./contracts/SimulateTxAccessor"), exports); | ||
__exportStar(require("./contracts/common/BaseContract"), exports); | ||
__exportStar(require("./contracts/assets"), exports); | ||
__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,1 @@ | ||
import { ContractTransactionResponse } from 'ethers'; | ||
import { PromiEvent, TransactionReceipt } from 'web3-core/types'; | ||
export type SafeVersion = '1.4.1' | '1.3.0' | '1.2.0' | '1.1.1' | '1.0.0'; | ||
@@ -8,2 +6,9 @@ export declare enum OperationType { | ||
} | ||
export interface CreateProxyProps { | ||
safeSingletonAddress: string; | ||
initializer: string; | ||
saltNonce: string; | ||
options?: TransactionOptions; | ||
callback?: (txHash: string) => void; | ||
} | ||
export interface SafeSetupConfig { | ||
@@ -71,3 +76,2 @@ owners: string[]; | ||
from?: string; | ||
gas?: number | string; | ||
gasLimit?: number | string; | ||
@@ -83,4 +87,3 @@ gasPrice?: number | string; | ||
export interface TransactionResult extends BaseTransactionResult { | ||
promiEvent?: PromiEvent<TransactionReceipt>; | ||
transactionResponse?: ContractTransactionResponse; | ||
transactionResponse: unknown; | ||
options?: TransactionOptions; | ||
@@ -87,0 +90,0 @@ } |
{ | ||
"name": "@safe-global/safe-core-sdk-types", | ||
"version": "4.1.0", | ||
"version": "5.0.0-alpha.0", | ||
"description": "Safe Core SDK types", | ||
@@ -32,7 +32,4 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@safe-global/safe-deployments": "^1.35.0", | ||
"ethers": "^6.7.1", | ||
"web3-core": "^1.10.3", | ||
"web3-utils": "^1.10.3" | ||
"abitype": "^1.0.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1019030
1
193
21595
1
1
+ Addedabitype@^1.0.2
+ Addedabitype@1.0.6(transitive)
- Removedethers@^6.7.1
- Removedweb3-core@^1.10.3
- Removedweb3-utils@^1.10.3
- Removed@adraffy/ens-normalize@1.10.1(transitive)
- Removed@ethereumjs/rlp@4.0.1(transitive)
- Removed@ethereumjs/util@8.1.0(transitive)
- Removed@ethersproject/address@5.7.0(transitive)
- Removed@ethersproject/bignumber@5.7.0(transitive)
- Removed@ethersproject/bytes@5.7.0(transitive)
- Removed@ethersproject/constants@5.7.0(transitive)
- Removed@ethersproject/keccak256@5.7.0(transitive)
- Removed@ethersproject/logger@5.7.0(transitive)
- Removed@ethersproject/properties@5.7.0(transitive)
- Removed@ethersproject/rlp@5.7.0(transitive)
- Removed@ethersproject/signing-key@5.7.0(transitive)
- Removed@ethersproject/transactions@5.7.0(transitive)
- Removed@noble/curves@1.2.01.4.2(transitive)
- Removed@noble/hashes@1.3.21.4.01.5.0(transitive)
- Removed@safe-global/safe-deployments@1.37.8(transitive)
- Removed@scure/base@1.1.9(transitive)
- Removed@scure/bip32@1.4.0(transitive)
- Removed@scure/bip39@1.3.0(transitive)
- Removed@types/bn.js@5.1.6(transitive)
- Removed@types/node@12.20.5518.15.13(transitive)
- Removedabortcontroller-polyfill@1.7.5(transitive)
- Removedaes-js@4.0.0-beta.5(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedbignumber.js@9.1.2(transitive)
- Removedbn.js@4.11.64.12.05.2.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbufferutil@4.0.8(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcross-fetch@4.0.0(transitive)
- Removedd@1.0.2(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedelliptic@6.5.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedesniff@2.0.1(transitive)
- Removedethereum-bloom-filters@1.2.0(transitive)
- Removedethereum-cryptography@2.2.1(transitive)
- Removedethers@6.13.2(transitive)
- Removedethjs-unit@0.1.6(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedeventemitter3@4.0.4(transitive)
- Removedext@1.7.0(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedhttp-https@1.0.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-hex-prefixed@1.0.0(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedjs-sha3@0.8.0(transitive)
- Removedmicro-ftch@0.3.1(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedms@2.0.0(transitive)
- Removednext-tick@1.1.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednode-gyp-build@4.8.2(transitive)
- Removednumber-to-bn@1.7.0(transitive)
- Removedoboe@2.1.5(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedrandombytes@2.1.0(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsemver@7.6.3(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedstrip-hex-prefix@1.0.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedtslib@2.4.0(transitive)
- Removedtype@2.7.3(transitive)
- Removedtypedarray-to-buffer@3.1.5(transitive)
- Removedutf-8-validate@5.0.10(transitive)
- Removedutf8@3.0.0(transitive)
- Removedutil@0.12.5(transitive)
- Removedweb3-core@1.10.4(transitive)
- Removedweb3-core-helpers@1.10.4(transitive)
- Removedweb3-core-method@1.10.4(transitive)
- Removedweb3-core-promievent@1.10.4(transitive)
- Removedweb3-core-requestmanager@1.10.4(transitive)
- Removedweb3-core-subscriptions@1.10.4(transitive)
- Removedweb3-eth-iban@1.10.4(transitive)
- Removedweb3-providers-http@1.10.4(transitive)
- Removedweb3-providers-ipc@1.10.4(transitive)
- Removedweb3-providers-ws@1.10.4(transitive)
- Removedweb3-utils@1.10.4(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwebsocket@1.0.35(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedwhich-typed-array@1.1.15(transitive)
- Removedws@8.17.1(transitive)
- Removedyaeti@0.0.6(transitive)