@gnosis.pm/safe-apps-sdk
Advanced tools
Comparing version 1.0.2 to 1.0.3-beta.0
{ | ||
"name": "@gnosis.pm/safe-apps-sdk", | ||
"version": "1.0.2", | ||
"version": "1.0.3-beta.0", | ||
"description": "SDK developed to integrate third-party apps with Safe-Multisig app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -1,2 +0,2 @@ | ||
import { SafeInfoV1 } from './types'; | ||
import { SafeInfo } from './types'; | ||
import { TXs } from './txs'; | ||
@@ -14,4 +14,4 @@ import { Eth } from './eth'; | ||
private getEnvInfo; | ||
getSafeInfo(): Promise<SafeInfoV1>; | ||
getSafeInfo(): Promise<SafeInfo>; | ||
} | ||
export default SafeAppsSDK; |
@@ -5,5 +5,3 @@ import { METHODS } from './communication/methods'; | ||
import { Eth } from './eth'; | ||
export declare type UppercaseNetworks = 'MAINNET' | 'MORDEN' | 'ROPSTEN' | 'RINKEBY' | 'GOERLI' | 'KOVAN' | 'XDAI' | 'ENERGY_WEB_CHAIN' | 'VOLTA' | 'UNKNOWN'; | ||
export declare type LowercaseNetworks = 'mainnet' | 'morden' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'xdai' | 'energy_web_chain' | 'volta' | 'unknown'; | ||
export declare type Networks = UppercaseNetworks | LowercaseNetworks; | ||
export declare type Networks = 'MAINNET' | 'MORDEN' | 'ROPSTEN' | 'RINKEBY' | 'GOERLI' | 'KOVAN' | 'XDAI' | 'ENERGY_WEB_CHAIN' | 'VOLTA' | 'UNKNOWN'; | ||
export interface Transaction { | ||
@@ -31,8 +29,4 @@ to: string; | ||
safeAddress: string; | ||
network: LowercaseNetworks; | ||
network: Networks; | ||
} | ||
export interface SafeInfoV1 { | ||
safeAddress: string; | ||
network: UppercaseNetworks; | ||
} | ||
export declare type Methods = keyof typeof METHODS; | ||
@@ -39,0 +33,0 @@ export declare type SDKRequestData<M extends Methods = Methods, P = unknown> = { |
{ | ||
"name": "@gnosis.pm/safe-apps-sdk", | ||
"version": "1.0.2", | ||
"version": "1.0.3-beta.0", | ||
"description": "SDK developed to integrate third-party apps with Safe-Multisig app.", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
77113
1022
1