Skip to content

Commit 3dace7f

Browse files
committed
Update comments
1 parent eee46dc commit 3dace7f

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

packages/primitives/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export * as Payload from './payload'
66
export * as Permission from './permission'
77
export * as SessionConfig from './session-config'
88
export * as SessionSignature from './session-signature'
9-
export * as Signature from './signature' //FIXME This name conflicts with oxlib
9+
export * as Signature from './signature'
1010
export * as Utils from './utils'
1111
export * as Config from './config'
1212
export * as Context from './context'

packages/wdk/src/sequence/sessions.ts

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,16 @@ export class Sessions {
4747
}
4848

4949
async getSessionTopology(walletAddress: Address.Address): Promise<SessionConfig.SessionsTopology> {
50-
console.log('Getting session topology for:', walletAddress)
5150
const controller = await this.getControllerForWallet(walletAddress)
52-
console.log('Session topology:', controller.topology)
5351
return controller.topology
5452
}
5553

56-
async addImplicitSession(walletAddress: Address.Address, sessionAddress: Address.Address): Promise<string> {
57-
const controller = await this.getControllerForWallet(walletAddress)
58-
// Create attestation params
59-
//FIXME This is a login request?
60-
// const attestationParams: Attestation.Attestation = {
61-
// approvedSigner: sessionAddress,
62-
// }
63-
// const envelope = await controller.addImplicitSession(sessionAddress)
64-
// return this.shared.modules.signatures.request(envelope, 'config-update', {
65-
// origin: 'session-manager',
66-
// })
54+
async addImplicitSession(
55+
walletAddress: Address.Address,
56+
sessionAddress: Address.Address,
57+
origin?: string,
58+
): Promise<string> {
59+
//FIXME This is a login request. Not required here?
6760
throw new Error('Not implemented')
6861
}
6962

0 commit comments

Comments
 (0)