@lit-protocol/constants
Advanced tools
Comparing version 6.2.3-chris.1 to 6.2.3
@@ -23,10 +23,11 @@ { | ||
], | ||
"version": "6.2.3-chris.1", | ||
"version": "6.2.3", | ||
"dependencies": { | ||
"@ethersproject/abstract-provider": "5.7.0", | ||
"@lit-protocol/accs-schemas": "0.0.7", | ||
"@lit-protocol/contracts": "^0.0.37", | ||
"ethers": "^5.7.1", | ||
"jszip": "^3.10.1", | ||
"siwe": "^2.0.5", | ||
"@lit-protocol/types": "6.2.3-chris.1", | ||
"@lit-protocol/types": "6.2.3", | ||
"tslib": "1.14.1" | ||
@@ -33,0 +34,0 @@ }, |
@@ -5,2 +5,3 @@ export * from './lib/version'; | ||
export * from './lib/constants/autogen_internal'; | ||
export * from './lib/constants/mappers'; | ||
export * from './lib/interfaces/i-errors'; | ||
@@ -7,0 +8,0 @@ export * from './lib/enums'; |
@@ -11,2 +11,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./lib/constants/autogen_internal"), exports); | ||
tslib_1.__exportStar(require("./lib/constants/mappers"), exports); | ||
// ----------- Interfaces ----------- | ||
@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./lib/interfaces/i-errors"), exports); |
@@ -109,19 +109,7 @@ import { LITChain, LITCosmosChain, LITEVMChain, LITSVMChain } from '@lit-protocol/types'; | ||
/** | ||
* URL mappings for general worker URLs by network. | ||
*/ | ||
export declare const GENERAL_WORKER_URL_BY_NETWORK: { | ||
[key in LIT_NETWORK_VALUES]: string; | ||
}; | ||
/** | ||
* URL constants for the staging worker by network. | ||
*/ | ||
export declare const GENERAL_STAGING_WORKER_URL_BY_NETWORK: { | ||
[key in LIT_NETWORK_VALUES]: string; | ||
}; | ||
/** | ||
* Mapping of network values to corresponding Metamask chain info. | ||
*/ | ||
export declare const METAMASK_CHAIN_INFO_BY_NETWORK: Record<LIT_NETWORK_VALUES, typeof metamaskChainInfo.chronicle | typeof metamaskChainInfo.yellowstone>; | ||
declare const HTTP = "http://"; | ||
declare const HTTPS = "https://"; | ||
export declare const HTTP = "http://"; | ||
export declare const HTTPS = "https://"; | ||
/** | ||
@@ -219,2 +207,1 @@ * Mapping of network values to corresponding http protocol. | ||
export declare const LIT_ACTION_IPFS_HASH = "QmUjX8MW6StQ7NKNdaS6g4RMkvN5hcgtKmEi8Mca6oX4t3"; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LIT_ACTION_IPFS_HASH = exports.RELAY_URL_DATIL_TEST = exports.RELAY_URL_DATIL_DEV = exports.RELAY_URL_MANZANO = exports.RELAY_URL_HABANERO = exports.RELAY_URL_CAYENNE = exports.SIWE_DELEGATION_URI = exports.TELEM_API_URL = exports.PKP_CLIENT_SUPPORTED_CHAINS = exports.AUTH_METHOD_TYPE_IDS = exports.LIT_SESSION_KEY_URI = exports.LIT_NETWORKS = exports.CAYENNE_URL = exports.SYMM_KEY_ALGO_PARAMS = exports.LOCAL_STORAGE_KEYS = exports.ALL_LIT_CHAINS = exports.LIT_COSMOS_CHAINS = exports.LIT_SVM_CHAINS = exports.CENTRALISATION_BY_NETWORK = exports.HTTP_BY_NETWORK = exports.METAMASK_CHAIN_INFO_BY_NETWORK = exports.GENERAL_STAGING_WORKER_URL_BY_NETWORK = exports.GENERAL_WORKER_URL_BY_NETWORK = exports.RELAYER_URL_BY_NETWORK = exports.RPC_URL_BY_NETWORK = exports.LIT_NETWORK = exports.LIT_EVM_CHAINS = exports.LIT_RPC = exports.metamaskChainInfo = exports.LIT_CHAIN_RPC_URL = exports.LIT_CHAINS = exports.AUTH_SIGNATURE_BODY = exports.LIT_AUTH_SIG_CHAIN_KEYS = exports.NETWORK_PUB_KEY = void 0; | ||
exports.LIT_ACTION_IPFS_HASH = exports.RELAY_URL_DATIL_TEST = exports.RELAY_URL_DATIL_DEV = exports.RELAY_URL_MANZANO = exports.RELAY_URL_HABANERO = exports.RELAY_URL_CAYENNE = exports.SIWE_DELEGATION_URI = exports.TELEM_API_URL = exports.PKP_CLIENT_SUPPORTED_CHAINS = exports.AUTH_METHOD_TYPE_IDS = exports.LIT_SESSION_KEY_URI = exports.LIT_NETWORKS = exports.CAYENNE_URL = exports.SYMM_KEY_ALGO_PARAMS = exports.LOCAL_STORAGE_KEYS = exports.ALL_LIT_CHAINS = exports.LIT_COSMOS_CHAINS = exports.LIT_SVM_CHAINS = exports.CENTRALISATION_BY_NETWORK = exports.HTTP_BY_NETWORK = exports.HTTPS = exports.HTTP = exports.METAMASK_CHAIN_INFO_BY_NETWORK = exports.RELAYER_URL_BY_NETWORK = exports.RPC_URL_BY_NETWORK = exports.LIT_NETWORK = exports.LIT_EVM_CHAINS = exports.LIT_RPC = exports.metamaskChainInfo = exports.LIT_CHAIN_RPC_URL = exports.LIT_CHAINS = exports.AUTH_SIGNATURE_BODY = exports.LIT_AUTH_SIG_CHAIN_KEYS = exports.NETWORK_PUB_KEY = void 0; | ||
const autogen_internal_1 = require("./autogen_internal"); | ||
@@ -704,28 +704,2 @@ const enums_1 = require("../enums"); | ||
/** | ||
* URL mappings for general worker URLs by network. | ||
*/ | ||
exports.GENERAL_WORKER_URL_BY_NETWORK = { | ||
cayenne: 'https://apis.getlit.dev/cayenne/contracts', | ||
manzano: 'https://apis.getlit.dev/manzano/contracts', | ||
habanero: 'https://apis.getlit.dev/habanero/contracts', | ||
'datil-dev': 'https://apis.getlit.dev/datil-dev/contracts', | ||
'datil-test': 'https://apis.getlit.dev/datil-test/contracts', | ||
// just use cayenne abis for custom and localhost | ||
custom: 'https://apis.getlit.dev/cayenne/contracts', | ||
localhost: 'https://apis.getlit.dev/cayenne/contracts', | ||
}; | ||
/** | ||
* URL constants for the staging worker by network. | ||
*/ | ||
exports.GENERAL_STAGING_WORKER_URL_BY_NETWORK = { | ||
cayenne: 'https://staging.apis.getlit.dev/cayenne/contracts', | ||
manzano: 'https://staging.apis.getlit.dev/manzano/contracts', | ||
habanero: 'https://staging.apis.getlit.dev/habanero/contracts', | ||
'datil-dev': 'https://staging.apis.getlit.dev/datil-dev/contracts', | ||
'datil-test': 'https://staging.apis.getlit.dev/datil-test/contracts', | ||
// just use cayenne abis for custom and localhost | ||
custom: 'https://apis.getlit.dev/cayenne/contracts', | ||
localhost: 'https://apis.getlit.dev/cayenne/contracts', | ||
}; | ||
/** | ||
* Mapping of network values to corresponding Metamask chain info. | ||
@@ -742,4 +716,4 @@ */ | ||
}; | ||
const HTTP = 'http://'; | ||
const HTTPS = 'https://'; | ||
exports.HTTP = 'http://'; | ||
exports.HTTPS = 'https://'; | ||
/** | ||
@@ -749,9 +723,10 @@ * Mapping of network values to corresponding http protocol. | ||
exports.HTTP_BY_NETWORK = { | ||
cayenne: HTTPS, | ||
manzano: HTTPS, | ||
habanero: HTTPS, | ||
'datil-dev': HTTPS, | ||
'datil-test': HTTPS, | ||
custom: HTTP, | ||
localhost: HTTP, | ||
cayenne: exports.HTTPS, | ||
manzano: exports.HTTPS, | ||
habanero: exports.HTTPS, | ||
'datil-dev': exports.HTTPS, | ||
'datil-test': exports.HTTPS, | ||
internalDev: exports.HTTPS, | ||
custom: exports.HTTP, | ||
localhost: exports.HTTP, // default, can be changed by config | ||
}; | ||
@@ -758,0 +733,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
export declare const version = "6.2.3-chris.1"; | ||
export declare const version = "6.2.3"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '6.2.3-chris.1'; | ||
exports.version = '6.2.3'; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
109343
35
2661
0
8
+ Added@lit-protocol/contracts@0.0.37(transitive)
+ Added@lit-protocol/types@6.2.3(transitive)
+ Addedtypescript@5.6.2(transitive)
- Removed@lit-protocol/types@6.2.3-chris.1(transitive)
Updated@lit-protocol/types@6.2.3