@inco/js 0.1.30 → 0.1.31
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.
- package/dist/lite/lightning.d.ts +2 -1
- package/package.json +1 -1
package/dist/lite/lightning.d.ts
CHANGED
@@ -2,6 +2,7 @@ import { Account, Chain, Transport, WalletClient } from 'viem';
|
|
2
2
|
import { Address, HexString } from '../binary';
|
3
3
|
import { EciesScheme } from '../encryption';
|
4
4
|
import { lightningDeployments } from '../generated/lightning';
|
5
|
+
import { localNodeLightningConfig } from '../generated/local-node';
|
5
6
|
import type { Reencryptor } from '../reencryption';
|
6
7
|
type TupleToUnion<T> = T extends readonly unknown[] ? T[number] : never;
|
7
8
|
type Deployment = TupleToUnion<typeof lightningDeployments>;
|
@@ -56,7 +57,7 @@ export declare class Lightning<T extends DeploymentSlice = DeploymentSlice> {
|
|
56
57
|
* See the sample docker-compose file here: https://github.com/Inco-fhevm/lightning-rod/blob/main/docker-compose.yaml
|
57
58
|
*
|
58
59
|
*/
|
59
|
-
static localNode(): Lightning
|
60
|
+
static localNode(): Lightning<DeploymentSlice & typeof localNodeLightningConfig>;
|
60
61
|
/**
|
61
62
|
* Get a Lightning deployment by name or executor address on a particular chain.
|
62
63
|
*
|