@aarc-dev/auth-sdk
Advanced tools
Comparing version 0.1.24 to 0.1.25
import { AarcEthersSigner } from '@aarc-xyz/ethers-v6-signer'; | ||
import { EventEmitter } from 'events'; | ||
declare class AuthSDK { | ||
export declare class AuthSDK { | ||
chainId: number; | ||
@@ -121,5 +122,18 @@ env: string; | ||
} | ||
export default AuthSDK; | ||
export declare enum StorageKeys { | ||
export declare class EIP1193Provider extends EventEmitter { | ||
private authSDK; | ||
private rpcURL; | ||
walletAddress?: string; | ||
private signer?; | ||
constructor(authSDK: AuthSDK, rpcUrl: string); | ||
getSigner(): Promise<any>; | ||
request(args: { | ||
method: string; | ||
params?: Array<any>; | ||
}): Promise<any>; | ||
enable(): Promise<string[]>; | ||
} | ||
declare enum StorageKeys { | ||
sessionIdentifier = "sessionIdentifier", | ||
@@ -126,0 +140,0 @@ sessionKey = "sessionKey", |
{ | ||
"name": "@aarc-dev/auth-sdk", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"type": "module", | ||
@@ -18,3 +18,4 @@ "scripts": { | ||
"@aarc-xyz/ethers-v6-signer": "^0.0.4", | ||
"axios": "^1.7.2" | ||
"axios": "^1.7.2", | ||
"events": "^3.3.0" | ||
}, | ||
@@ -21,0 +22,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
875261
23122
3
+ Addedevents@^3.3.0
+ Addedevents@3.3.0(transitive)