File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/auth-services/src/_setup Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,14 @@ export async function initSystemContext({ appName }: { appName: string }) {
2222
2323 // TODO: Add more supports for other networks
2424 if ( env . NETWORK === 'naga-dev' ) {
25- networkModule = await import ( '@lit-protocol/networks' ) ;
25+ const { nagaDev } = await import ( '@lit-protocol/networks' ) ;
26+ networkModule = nagaDev ;
2627 } else if ( env . NETWORK === 'naga-test' ) {
27- networkModule = await import ( '@lit-protocol/networks' ) ;
28+ const { nagaTest } = await import ( '@lit-protocol/networks' ) ;
29+ networkModule = nagaTest ;
2830 } else if ( env . NETWORK === 'naga-staging' ) {
29- networkModule = await import ( '@lit-protocol/networks' ) ;
31+ const { nagaStaging } = await import ( '@lit-protocol/networks' ) ;
32+ networkModule = nagaStaging ;
3033 } else {
3134 throw new Error ( `Unsupported network: ${ env . NETWORK } ` ) ;
3235 }
You can’t perform that action at this time.
0 commit comments