Skip to content

Commit ea244bb

Browse files
committed
Making constants available
1 parent a162500 commit ea244bb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,8 @@ assert(executeOrder === "ORDER_SENT");
595595
import { CacheInterfaceConstants } from "verto-cache-interface";
596596

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

599601
render();
600602
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "verto-cache-interface",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "A communication package with Verto Cache System",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export class CacheInterfaceConstants {
22

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

77
}

0 commit comments

Comments
 (0)