File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export * as Payload from './payload'
66export * as Permission from './permission'
77export * as SessionConfig from './session-config'
88export * as SessionSignature from './session-signature'
9- export * as Signature from './signature' //FIXME This name conflicts with oxlib
9+ export * as Signature from './signature'
1010export * as Utils from './utils'
1111export * as Config from './config'
1212export * as Context from './context'
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments