File tree Expand file tree Collapse file tree 4 files changed +776
-890
lines changed
constants/src/lib/constants
lit-node-client-nodejs/src/lib Expand file tree Collapse file tree 4 files changed +776
-890
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ export class TinnyEnvironment {
480480 debug : this . processEnvs . DEBUG ,
481481 rpc : this . rpc ,
482482 customContext : networkContext ,
483- network : 'custom' ,
483+ network : LIT_NETWORK . Custom ,
484484 } ) ;
485485 } else if (
486486 CENTRALISATION_BY_NETWORK [ this . network ] === 'decentralised' ||
Original file line number Diff line number Diff line change 11export const LIT_ENDPOINT_VERSION = {
22 V0 : '/' ,
33 V1 : '/v1' ,
4+ V2 : '/v2' ,
45} ;
56
67export const LIT_ENDPOINT = {
@@ -10,15 +11,15 @@ export const LIT_ENDPOINT = {
1011 } ,
1112 SIGN_SESSION_KEY : {
1213 path : '/web/sign_session_key' ,
13- version : LIT_ENDPOINT_VERSION . V1 ,
14+ version : LIT_ENDPOINT_VERSION . V2 ,
1415 } ,
1516 EXECUTE_JS : {
1617 path : '/web/execute' ,
17- version : LIT_ENDPOINT_VERSION . V1 ,
18+ version : LIT_ENDPOINT_VERSION . V2 ,
1819 } ,
1920 PKP_SIGN : {
2021 path : '/web/pkp/sign' ,
21- version : LIT_ENDPOINT_VERSION . V1 ,
22+ version : LIT_ENDPOINT_VERSION . V2 ,
2223 } ,
2324 PKP_CLAIM : {
2425 path : '/web/pkp/claim' ,
@@ -30,6 +31,6 @@ export const LIT_ENDPOINT = {
3031 } ,
3132 ENCRYPTION_SIGN : {
3233 path : '/web/encryption/sign' ,
33- version : LIT_ENDPOINT_VERSION . V0 ,
34+ version : LIT_ENDPOINT_VERSION . V2 ,
3435 } ,
3536} ;
Original file line number Diff line number Diff line change @@ -2225,6 +2225,9 @@ export class LitNodeClientNodeJs
22252225 capabilities,
22262226 issuedAt : new Date ( ) . toISOString ( ) ,
22272227 expiration : sessionExpiration ,
2228+
2229+ // FIX ME: This is a dummy value for now
2230+ maxPrice : '0x1234567890abcdef1234567890abcdef12345678' ,
22282231 } ;
22292232
22302233 const signatures : SessionSigsMap = { } ;
You can’t perform that action at this time.
0 commit comments