Socket
Socket
Sign inDemoInstall

@bitget-wallet/web3-sdk

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitget-wallet/web3-sdk - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

dist/types/src/constant/errorCode.d.ts

43

dist/types/src/adapters/AbstractAdapter.d.ts
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(): {

26

dist/types/src/constant/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc