File tree Expand file tree Collapse file tree 13 files changed +40
-40
lines changed Expand file tree Collapse file tree 13 files changed +40
-40
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ const litClient = await createLitClient({
6565
6666``` typescript Naga Mainnet
6767// ❗️ Currently in development. Coming soon...
68- import { nagaProduction } from " @lit-protocol/networks" ;
68+ import { naga } from " @lit-protocol/networks" ;
6969import { createLitClient } from " @lit-protocol/lit-client" ;
7070
7171const litClient = await createLitClient ({
72- network: nagaProduction ,
72+ network: naga ,
7373});
7474```
7575
Original file line number Diff line number Diff line change 5353 "require" : " ./entries/naga.js" ,
5454 "import" : " ./entries/naga.js"
5555 },
56- "./naga-production " : {
57- "types" : " ./entries/naga-production .d.ts" ,
58- "require" : " ./entries/naga-production .js" ,
59- "import" : " ./entries/naga-production .js"
56+ "./naga-mainnet " : {
57+ "types" : " ./entries/naga-mainnet .d.ts" ,
58+ "require" : " ./entries/naga-mainnet .js" ,
59+ "import" : " ./entries/naga-mainnet .js"
6060 },
6161 "./naga-proto" : {
6262 "types" : " ./entries/naga-proto.d.ts" ,
8989 "naga" : [
9090 " entries/naga.d.ts"
9191 ],
92- "naga-production " : [
93- " entries/naga-production .d.ts"
92+ "naga-mainnet " : [
93+ " entries/naga-mainnet .d.ts"
9494 ],
9595 "naga-proto" : [
9696 " entries/naga-proto.d.ts"
Original file line number Diff line number Diff line change 1+ export { nagaMainnet } from '../networks/vNaga/envs/naga-mainnet/naga-mainnet.module' ;
2+ export type { NagaMainnet as NagaMainnetModule } from '../networks/vNaga/envs/naga-mainnet/naga-mainnet.module' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- export { nagaProduction as naga } from '../networks/vNaga/envs/naga-production /naga-production .module' ;
2- export type { NagaProduction as NagaModule } from '../networks/vNaga/envs/naga-production /naga-production .module' ;
1+ export { nagaMainnet as naga } from '../networks/vNaga/envs/naga-mainnet /naga-mainnet .module' ;
2+ export type { NagaMainnet as NagaModule } from '../networks/vNaga/envs/naga-mainnet /naga-mainnet .module' ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { NagaLocalModule } from './networks/vNaga';
33import type { NagaDevModule } from './networks/vNaga' ;
44import type { NagaTestModule } from './networks/vNaga' ;
55import type { NagaStagingModule } from './networks/vNaga' ;
6- import type { NagaProductionModule } from './networks/vNaga' ;
6+ import type { NagaMainnetModule } from './networks/vNaga' ;
77import type { NagaProtoModule } from './networks/vNaga' ;
88import type { NagaModule } from './networks/vNaga' ;
99
@@ -15,7 +15,7 @@ export {
1515 nagaLocal ,
1616 nagaDev ,
1717 nagaTest ,
18- nagaProduction ,
18+ nagaMainnet ,
1919 nagaProto ,
2020 naga ,
2121} from './networks/vNaga' ;
@@ -25,7 +25,7 @@ export type { NagaLocalModule } from './networks/vNaga';
2525export type { NagaDevModule } from './networks/vNaga' ;
2626export type { NagaTestModule } from './networks/vNaga' ;
2727export type { NagaStagingModule } from './networks/vNaga' ;
28- export type { NagaProductionModule } from './networks/vNaga' ;
28+ export type { NagaMainnetModule } from './networks/vNaga' ;
2929export type { NagaProtoModule } from './networks/vNaga' ;
3030export type { NagaModule } from './networks/vNaga' ;
3131
@@ -35,7 +35,7 @@ export type LitNetworkModule =
3535 | NagaDevModule
3636 | NagaTestModule
3737 | NagaStagingModule
38- | NagaProductionModule
38+ | NagaMainnetModule
3939 | NagaProtoModule
4040 | NagaModule ;
4141// | NagaProdModule
Original file line number Diff line number Diff line change @@ -4,19 +4,19 @@ import {
44 createReadOnlyChainManagerFactory ,
55 CreateChainManagerReturn ,
66} from '../../../shared/factories/BaseChainManagerFactory' ;
7- import { nagaProductionEnvironment } from '../naga-production .env' ;
7+ import { nagaMainnetEnvironment } from '../naga-mainnet .env' ;
88
99export type { CreateChainManagerReturn } ;
1010
1111export const createChainManager = (
1212 accountOrWalletClient : ExpectedAccountOrWalletClient
1313) : CreateChainManagerReturn => {
1414 return createChainManagerFactory (
15- nagaProductionEnvironment . getConfig ( ) ,
15+ nagaMainnetEnvironment . getConfig ( ) ,
1616 accountOrWalletClient
1717 ) ;
1818} ;
1919
2020export const createReadOnlyChainManager = createReadOnlyChainManagerFactory (
21- nagaProductionEnvironment . getConfig ( )
21+ nagaMainnetEnvironment . getConfig ( )
2222) ;
Original file line number Diff line number Diff line change 1+ export { nagaMainnet } from './naga-mainnet.module' ;
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ const PROTOCOL = 'https://';
1010const MINIMUM_THRESHOLD = 3 ;
1111const DEFAULT_REALM_ID = 1n ;
1212
13- export interface NagaProductionSpecificConfigs {
13+ export interface NagaMainnetSpecificConfigs {
1414 realmId ?: bigint ;
1515}
1616
17- export type NagaProductionSignatures = typeof nagaSignatures ;
17+ export type NagaMainnetSignatures = typeof nagaSignatures ;
1818
19- export class NagaProductionEnvironment extends BaseNetworkEnvironment <
20- NagaProductionSignatures ,
21- NagaProductionSpecificConfigs
19+ export class NagaMainnetEnvironment extends BaseNetworkEnvironment <
20+ NagaMainnetSignatures ,
21+ NagaMainnetSpecificConfigs
2222> {
2323 constructor ( options ?: { rpcUrlOverride ?: string } ) {
2424 super ( {
@@ -55,4 +55,4 @@ export class NagaProductionEnvironment extends BaseNetworkEnvironment<
5555}
5656
5757// Create singleton instance
58- export const nagaProductionEnvironment = new NagaProductionEnvironment ( ) ;
58+ export const nagaMainnetEnvironment = new NagaMainnetEnvironment ( ) ;
Original file line number Diff line number Diff line change 11import { createBaseModule } from '../../shared/factories/BaseModuleFactory' ;
22import type { ExpectedAccountOrWalletClient } from '../../shared/managers/contract-manager/createContractsManager' ;
33import { createChainManager } from './chain-manager/createChainManager' ;
4- import { nagaProductionEnvironment } from './naga-production .env' ;
4+ import { nagaMainnetEnvironment } from './naga-mainnet .env' ;
55
6- const nagaProduction = createBaseModule ( {
7- networkConfig : nagaProductionEnvironment . getConfig ( ) ,
8- moduleName : nagaProductionEnvironment . getNetworkName ( ) ,
6+ const nagaMainnet = createBaseModule ( {
7+ networkConfig : nagaMainnetEnvironment . getConfig ( ) ,
8+ moduleName : nagaMainnetEnvironment . getNetworkName ( ) ,
99 createChainManager : ( account : ExpectedAccountOrWalletClient ) =>
1010 createChainManager ( account ) ,
1111} ) ;
1212
13- export type NagaProduction = typeof nagaProduction ;
14- export { nagaProduction } ;
13+ export type NagaMainnet = typeof nagaMainnet ;
14+ export { nagaMainnet } ;
You can’t perform that action at this time.
0 commit comments