File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ node_modules
5
5
# local env files
6
6
.env.local
7
7
.env. * .local
8
+ public /k_ *
8
9
9
10
# Log files
10
11
npm-debug.log *
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ export default {
14
14
usdc : {
15
15
enabled : true ,
16
16
networkId : 80001 ,
17
- rpcEndpoint : 'https ://matic -mumbai.chainstacklabs. com' ,
18
- rpcMaxBlockRange : 10_000 ,
17
+ rpcEndpoint : 'wss ://polygon -mumbai.g.alchemy. com/v2/#ALCHEMY_API_KEY# ' ,
18
+ rpcMaxBlockRange : 1_296_000 , // 30 days - Range not limited, only limited by number of logs returned
19
19
// eslint-disable-next-line max-len
20
20
// rpcEndpoint: 'wss://shy-sparkling-wind.matic-testnet.discover.quiknode.pro/4461ca78cea96dd6a168a58d8fc30a021cabf01d/',
21
21
usdcContract : '0x0FA8781a83E46826621b3BC094Ea2A0212e71B23' ,
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ export default {
14
14
usdc : {
15
15
enabled : true ,
16
16
networkId : 80001 ,
17
- rpcEndpoint : 'https ://matic -mumbai.chainstacklabs. com' ,
18
- rpcMaxBlockRange : 10_000 ,
17
+ rpcEndpoint : 'wss ://polygon -mumbai.g.alchemy. com/v2/#ALCHEMY_API_KEY# ' ,
18
+ rpcMaxBlockRange : 1_296_000 , // 30 days - Range not limited, only limited by number of logs returned
19
19
usdcContract : '0x0FA8781a83E46826621b3BC094Ea2A0212e71B23' ,
20
20
transferContract : '0x2805f3187dcDfa424EFA8c55Db6012Cf08Fa6eEc' , // v3
21
21
htlcContract : '0x2EB7cd7791b947A25d629219ead941fCd8f364BF' , // v3
Original file line number Diff line number Diff line change @@ -543,7 +543,7 @@ msgstr "Acheter du NIM sur une plateforme d'échange :"
543
543
#: src/components/UsdcTransactionList.vue:48
544
544
#: src/components/UsdcTransactionList.vue:58
545
545
msgid "Buy USDC"
546
- msgstr ""
546
+ msgstr "Acheter de l'USDC "
547
547
548
548
#: src/components/modals/overlays/BuyCryptoBankCheckOverlay.vue:25
549
549
msgid "Buy with Credit Card"
Original file line number Diff line number Diff line change @@ -8,10 +8,12 @@ export async function replaceKey(input: string): Promise<string> {
8
8
9
9
const keyName = sections [ 1 ] ;
10
10
const fileName = `k_${ btoa ( keyName ) } ` ;
11
- const encodedKey = await fetch ( `/${ fileName } ` ) . then ( ( res ) => res . text ( ) ) ;
11
+ const encodedKey = await fetch ( `/${ fileName } ` )
12
+ . then ( ( res ) => res . text ( ) )
13
+ . then ( ( text ) => text . replace ( / \s / g, '' ) ) ; // Remove any whitespace & newlines
12
14
13
15
// Replace the key name with the key itself
14
- sections [ 1 ] = atob ( encodedKey . replace ( / \s / g , '' ) ) ;
16
+ sections [ 1 ] = atob ( encodedKey ) ;
15
17
16
18
// Create the resulting string without the delimiters
17
19
return sections . join ( '' ) ;
You can’t perform that action at this time.
0 commit comments