@bitget-wallet/web3-sdk
Advanced tools
Comparing version 0.0.5 to 0.0.6
import EventEmitter from 'eventemitter3'; | ||
import { LogoType } from '../platform'; | ||
import { LogoType } from '../constant/platform'; | ||
import { BitKeepGlobal, SupportProviderFlag } from '../provider'; | ||
@@ -28,6 +28,45 @@ type AbstractAdapterOptions = { | ||
getLogo(type?: LogoType): string; | ||
getLogos(): { | ||
png: { | ||
28: string; | ||
256: string; | ||
}; | ||
svg: { | ||
28: string; | ||
256: string; | ||
}; | ||
}; | ||
getWalletInfo(): { | ||
id: string; | ||
version: string; | ||
name: string; | ||
homepage: string; | ||
logo: string; | ||
description: string; | ||
downloadLinks: { | ||
website: string; | ||
android: string; | ||
ios: string; | ||
chrome: string; | ||
googlePlay: string; | ||
appleStore: string; | ||
testflight: string; | ||
browserExtension: { | ||
chrome: string; | ||
edge: string; | ||
}; | ||
}; | ||
logolist: { | ||
png: { | ||
28: string; | ||
256: string; | ||
}; | ||
svg: { | ||
28: string; | ||
256: string; | ||
}; | ||
}; | ||
deepLinks: { | ||
scheme: string; | ||
universallink: string; | ||
}; | ||
}; | ||
@@ -34,0 +73,0 @@ getDownloadLinks(): { |
@@ -1,24 +0,2 @@ | ||
export declare const WalletInfo: { | ||
id: string; | ||
version: string; | ||
name: string; | ||
homepage: string; | ||
description: string; | ||
downloadLinks: { | ||
website: string; | ||
android: string; | ||
ios: string; | ||
chrome: string; | ||
googlePlay: string; | ||
appleStore: string; | ||
testflight: string; | ||
browserExtension: { | ||
chrome: string; | ||
edge: string; | ||
}; | ||
}; | ||
deepLinks: { | ||
scheme: string; | ||
universallink: string; | ||
}; | ||
}; | ||
export * from "./errorCode"; | ||
export * from "./info"; |
@@ -8,4 +8,2 @@ import { LegacyEip1193Adapter } from './adapters/LegacyEip1193Adapter'; | ||
import * as utils from './utils'; | ||
import * as config from './config'; | ||
import * as getter from './getter'; | ||
export type { BitKeepGlobal }; | ||
@@ -23,3 +21,3 @@ declare global { | ||
} | ||
export { LegacyEip1193Adapter, TronLinkAdapter, SolanaAdapter, currentProvider, utils, config, getter, detectBitkeepProvider, }; | ||
export { LegacyEip1193Adapter, TronLinkAdapter, SolanaAdapter, currentProvider, utils, detectBitkeepProvider, }; | ||
declare const _default: { | ||
@@ -31,6 +29,5 @@ LegacyEip1193Adapter: typeof LegacyEip1193Adapter; | ||
utils: typeof utils; | ||
config: typeof config; | ||
getter: typeof getter; | ||
detectBitkeepProvider: typeof detectBitkeepProvider; | ||
}; | ||
export default _default; | ||
export * from './constant'; |
export * from "../provider"; | ||
export * from "./userAgent"; | ||
/** | ||
* @description is Document Complete | ||
* @return void | ||
*/ | ||
export declare const isDocumentComplete: () => Promise<boolean>; |
@@ -1,3 +0,16 @@ | ||
export declare function isBitKeep(): boolean; | ||
export declare function isMobile(): boolean; | ||
export declare function isBitKeepMoblie(): boolean; | ||
/** | ||
* @description is App | ||
* @return void | ||
*/ | ||
export declare function isApp(): boolean; | ||
/** | ||
* @description is PC | ||
* @return void | ||
*/ | ||
export declare function isPC(): boolean; | ||
/** | ||
* @description is bitget Moblie | ||
* @return void | ||
*/ | ||
export declare function isBGMoblie(): boolean; |
{ | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"name": "@bitget-wallet/web3-sdk", | ||
@@ -4,0 +4,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
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
437366
1794
30