privacycash 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,9 +13,9 @@ export declare const SIGN_MESSAGE = "Privacy Money account sign in";
13
13
  export declare const LSK_FETCH_OFFSET = "fetch_offset";
14
14
  export declare const LSK_ENCRYPTED_OUTPUTS = "encrypted_outputs";
15
15
  export declare const USDC_MINT: PublicKey;
16
- declare const tokenList: readonly ["sol", "usdc", "usdt", "zec", "ore"];
16
+ declare const tokenList: readonly ["sol", "usdc", "usdt", "zec", "ore", "store"];
17
17
  export type TokenList = typeof tokenList[number];
18
- declare const splList: readonly ["usdc", "usdt", "zec", "ore"];
18
+ declare const splList: readonly ["usdc", "usdt", "zec", "ore", "store"];
19
19
  export type SplList = typeof splList[number];
20
20
  export type Token = {
21
21
  name: TokenList;
@@ -14,8 +14,8 @@ export const SIGN_MESSAGE = `Privacy Money account sign in`;
14
14
  export const LSK_FETCH_OFFSET = 'fetch_offset';
15
15
  export const LSK_ENCRYPTED_OUTPUTS = 'encrypted_outputs';
16
16
  export const USDC_MINT = process.env.NEXT_PUBLIC_USDC_MINT ? new PublicKey(process.env.NEXT_PUBLIC_USDC_MINT) : new PublicKey('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v');
17
- const tokenList = ['sol', 'usdc', 'usdt', 'zec', 'ore'];
18
- const splList = ['usdc', 'usdt', 'zec', 'ore'];
17
+ const tokenList = ['sol', 'usdc', 'usdt', 'zec', 'ore', 'store'];
18
+ const splList = ['usdc', 'usdt', 'zec', 'ore', 'store'];
19
19
  export const tokens = [
20
20
  {
21
21
  name: 'sol',
@@ -47,4 +47,10 @@ export const tokens = [
47
47
  prefix: 'ore_',
48
48
  units_per_token: 1e11
49
49
  },
50
+ {
51
+ name: 'store',
52
+ pubkey: process.env.NEXT_PUBLIC_STORE_MINT ? new PublicKey(process.env.NEXT_PUBLIC_STORE_MINT) : new PublicKey('sTorERYB6xAZ1SSbwpK3zoK2EEwbBrc7TZAzg1uCGiH'),
53
+ prefix: 'store_',
54
+ units_per_token: 1e11
55
+ },
50
56
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "privacycash",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://github.com/Privacy-Cash/privacy-cash-sdk",
@@ -27,9 +27,9 @@ export const LSK_ENCRYPTED_OUTPUTS = 'encrypted_outputs'
27
27
 
28
28
  export const USDC_MINT = process.env.NEXT_PUBLIC_USDC_MINT ? new PublicKey(process.env.NEXT_PUBLIC_USDC_MINT) : new PublicKey('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v')
29
29
 
30
- const tokenList = ['sol', 'usdc', 'usdt', 'zec', 'ore'] as const;
30
+ const tokenList = ['sol', 'usdc', 'usdt', 'zec', 'ore', 'store'] as const;
31
31
  export type TokenList = typeof tokenList[number];
32
- const splList = ['usdc', 'usdt', 'zec', 'ore'] as const;
32
+ const splList = ['usdc', 'usdt', 'zec', 'ore', 'store'] as const;
33
33
  export type SplList = typeof splList[number];
34
34
  export type Token = {
35
35
  name: TokenList
@@ -68,4 +68,10 @@ export const tokens: Token[] = [
68
68
  prefix: 'ore_',
69
69
  units_per_token: 1e11
70
70
  },
71
+ {
72
+ name: 'store',
73
+ pubkey: process.env.NEXT_PUBLIC_STORE_MINT ? new PublicKey(process.env.NEXT_PUBLIC_STORE_MINT) : new PublicKey('sTorERYB6xAZ1SSbwpK3zoK2EEwbBrc7TZAzg1uCGiH'),
74
+ prefix: 'store_',
75
+ units_per_token: 1e11
76
+ },
71
77
  ]