Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87ce2fd

Browse files
Merge pull request #520 from LIT-Protocol/feature/3404-datil-dev-support-wrappedkeys
LIT-3404 - Add Wrapped Keys support for datil-dev
2 parents 2a0cdb6 + 0f0ce25 commit 87ce2fd

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/wrapped-keys/src/lib/service-client/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const SERVICE_URL_BY_NETWORKTYPE: Record<NETWORK_TYPES, string> = {
99
};
1010

1111
export const SERVICE_URL_BY_LIT_NETWORK: Record<SupportedNetworks, string> = {
12+
[LitNetwork.DatilDev]: SERVICE_URL_BY_NETWORKTYPE.TestNetworks,
1213
[LitNetwork.Cayenne]: SERVICE_URL_BY_NETWORKTYPE.TestNetworks,
1314
[LitNetwork.Manzano]: SERVICE_URL_BY_NETWORKTYPE.TestNetworks,
1415
[LitNetwork.Habanero]: SERVICE_URL_BY_NETWORKTYPE.Production,

packages/wrapped-keys/src/lib/service-client/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type FetchKeyParams = BaseApiParams;
1111

1212
export type SupportedNetworks = Extract<
1313
LIT_NETWORKS_KEYS,
14-
'cayenne' | 'manzano' | 'habanero'
14+
'cayenne' | 'manzano' | 'habanero' | 'datil-dev'
1515
>;
1616

1717
export interface StoreKeyParams extends BaseApiParams {

packages/wrapped-keys/src/lib/service-client/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const supportedNetworks: SupportedNetworks[] = [
2323
'cayenne',
2424
'manzano',
2525
'habanero',
26+
'datil-dev',
2627
];
2728

2829
function isSupportedLitNetwork(

0 commit comments

Comments
 (0)