Skip to content

Commit

Permalink
Making constants available
Browse files Browse the repository at this point in the history
  • Loading branch information
andreespirela committed Mar 29, 2022
1 parent a162500 commit ea244bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,8 @@ assert(executeOrder === "ORDER_SENT");
import { CacheInterfaceConstants } from "verto-cache-interface";

CacheInterfaceConstants.CACHE_API = "http://localhost";
CacheInterfaceConstants.COMMUNITY_CONTRACT = "[id]";
CacheInterfaceConstants.CONTRACT_CDN = "https://storage.googleapis.com/contracts";

render();
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verto-cache-interface",
"version": "1.2.1",
"version": "1.2.2",
"description": "A communication package with Verto Cache System",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export class CacheInterfaceConstants {

public static readonly COMMUNITY_CONTRACT: string = 't9T7DIOGxx4VWXoCEeYYarFYeERTpWIC1V3y-BPZgKE'
public static readonly CONTRACT_CDN: string = 'https://storage.googleapis.com/verto-exchange-contracts';
public static COMMUNITY_CONTRACT: string = 't9T7DIOGxx4VWXoCEeYYarFYeERTpWIC1V3y-BPZgKE'
public static CONTRACT_CDN: string = 'https://storage.googleapis.com/verto-exchange-contracts';
public static CACHE_API: string = 'https://verto-328413.uc.r.appspot.com'

}

0 comments on commit ea244bb

Please sign in to comment.