@particle-network/auth
Advanced tools
Comparing version 0.13.1 to 0.13.3
@@ -51,3 +51,2 @@ /// <reference types="node" /> | ||
getAuthTheme(): AuthThemeConfig; | ||
url(): string; | ||
on(event: string, listener: (...args: any[]) => void): void; | ||
@@ -54,0 +53,0 @@ once(event: string, listener: (...args: any[]) => void): void; |
export * from './particle-network'; | ||
export * from './types'; | ||
export * from './auth'; | ||
export { isHttpUrl, isParticleDev, isNullish, toBase58Address, toHexAddress } from './utils'; | ||
export { isHttpUrl, getParticleEnv, isNullish, toBase58Address, toHexAddress } from './utils'; | ||
export * from './utils/hex-utils'; | ||
export * from './constant'; | ||
export { WalletEntryPosition } from './components/walletEntry'; |
@@ -11,3 +11,3 @@ import { BI } from '@particle-network/analytics'; | ||
particle?: ParticleNetwork; | ||
__PARTICLE_DEVELOPMENT__?: boolean; | ||
__PARTICLE_ENVIRONMENT__?: string; | ||
__PARTICLE_AUTH_LOCALHOST__?: string; | ||
@@ -25,3 +25,2 @@ ethereum?: any; | ||
solanaWallet: SolanaWallet; | ||
[key: string]: any; | ||
readonly bi: BI; | ||
@@ -28,0 +27,0 @@ private walletEntry?; |
@@ -10,2 +10,3 @@ import type { SignTypedDataVersion, MessageTypes, TypedDataV1, TypedMessage } from '@metamask/eth-sig-util'; | ||
personalSign(message: PrefixedHexString): Promise<PrefixedHexString>; | ||
personalSignUniq(message: PrefixedHexString): Promise<PrefixedHexString>; | ||
signTypedData<V extends SignTypedDataVersion, T extends MessageTypes>({ data, version, }: { | ||
@@ -15,2 +16,3 @@ data: V extends 'V1' ? TypedDataV1 : TypedMessage<T>; | ||
}): Promise<PrefixedHexString>; | ||
signTypedDataUniq<T extends MessageTypes>(data: TypedMessage<T>): Promise<PrefixedHexString>; | ||
getAddress(): Promise<PrefixedHexString | undefined>; | ||
@@ -17,0 +19,0 @@ getRpcUrl(): string; |
export declare function isHttpUrl(url: string): boolean; | ||
export declare function isNullish(value: any): boolean; | ||
export declare function isParticleDev(): boolean; | ||
export declare function getParticleEnv(): 'production' | 'staging' | 'development'; | ||
export declare function isSafariOrIOS(): boolean; | ||
@@ -5,0 +5,0 @@ export declare const isBraveBrowser: () => boolean; |
@@ -6,4 +6,4 @@ import { Auth } from '../auth'; | ||
} | ||
export declare function walletUrl(auth: Auth, config?: WalletConfig): string; | ||
export declare function buyUrl(auth: Auth, options?: OpenBuyOptions): string; | ||
export declare function getWalletUrl(auth: Auth, config?: WalletConfig): string; | ||
export declare function getBuyUrl(auth: Auth, options?: OpenBuyOptions): string; | ||
export declare function getWalletUIMode(auth: Auth): string; |
{ | ||
"name": "@particle-network/auth", | ||
"version": "0.13.1", | ||
"version": "0.13.3", | ||
"files": [ | ||
@@ -18,5 +18,5 @@ "lib", | ||
"dependencies": { | ||
"@particle-network/analytics": "^0.13.0", | ||
"@particle-network/common": "^0.13.1", | ||
"@particle-network/crypto": "^0.13.0", | ||
"@particle-network/analytics": "^0.13.1", | ||
"@particle-network/common": "^0.13.3", | ||
"@particle-network/crypto": "^0.13.1", | ||
"draggabilly": "^3.0.0", | ||
@@ -36,6 +36,5 @@ "qs": "^6.11.0" | ||
"dev:lib": "cross-env NODE_ENV=development concurrently \"tsc -w\" \"node ./esBuild.js\"", | ||
"build:min.js": "webpack", | ||
"version": "yarn build" | ||
"build:min.js": "webpack" | ||
}, | ||
"gitHead": "55dbf0d2ff26d7ab3a8e9a3b6797ad503d1783f0" | ||
"gitHead": "fcd242fb8a1cb624d7c18a610c3bb3125d3daf07" | ||
} |
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
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
629217
38
5507