File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @snapshot-labs/snapshot.js" ,
3
- "version" : " 0.5.0 " ,
3
+ "version" : " 0.5.1 " ,
4
4
"repository" : " snapshot-labs/snapshot.js" ,
5
5
"license" : " MIT" ,
6
6
"main" : " dist/snapshot.cjs.js" ,
Original file line number Diff line number Diff line change @@ -31,13 +31,11 @@ export const SNAPSHOT_SUBGRAPH_URL = delegationSubgraphs;
31
31
const ENS_RESOLVER_ABI = [
32
32
'function text(bytes32 node, string calldata key) external view returns (string memory)'
33
33
] ;
34
- const SCORE_API_KEY = process ?. env ?. KEYCARD_SECRET || '' ;
35
34
36
35
const scoreApiHeaders = {
37
36
Accept : 'application/json' ,
38
37
'Content-Type' : 'application/json'
39
38
} ;
40
- if ( SCORE_API_KEY ) scoreApiHeaders [ 'X-API-KEY' ] = SCORE_API_KEY ;
41
39
42
40
const ajv = new Ajv ( { allErrors : true , allowUnionTypes : true , $data : true } ) ;
43
41
// @ts -ignore
You can’t perform that action at this time.
0 commit comments