@bounded-sh/server 0.0.64 → 0.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import type { AuthProvider, EVMTransaction, SolTransaction, TransactionResult, User, SetOptions } from '@bounded-sh/core';
2
+ import { type SessionMintConfig } from '@bounded-sh/core';
2
3
  import type { PublicKey, Transaction, VersionedTransaction } from '@solana/web3.js';
3
4
  export interface EvmKeypairChainConfig {
4
5
  chainId: number;
@@ -13,7 +14,7 @@ export declare class EvmKeypairProvider implements AuthProvider {
13
14
  private readonly chains;
14
15
  constructor(privateKey: string, defaultChainId: number, chainConfigs: EvmKeypairChainConfig[]);
15
16
  private user;
16
- createBoundedSession(): Promise<{
17
+ createBoundedSession(sessionConfig?: SessionMintConfig): Promise<{
17
18
  address: string;
18
19
  accessToken: string;
19
20
  idToken: string;
@@ -31,10 +31,8 @@ export declare class SolanaKeypairProvider implements AuthProvider {
31
31
  * Shared by both signAndSubmitTransaction and runTransactionInner.
32
32
  */
33
33
  private submitAndConfirmTransaction;
34
- private requireSupportedNetwork;
35
34
  private getRpcUrl;
36
- runTransaction(_evm?: EVMTransaction, sol?: SolTransaction, opts?: SetOptions): Promise<TransactionResult>;
37
- private runTransactionInner;
35
+ runTransaction(_evmTransactionData?: EVMTransaction, _solTransactionData?: SolTransaction, _options?: SetOptions): Promise<TransactionResult>;
38
36
  getNativeMethods(): Promise<{
39
37
  keypair: Keypair;
40
38
  }>;