Skip to content

Commit

Permalink
Ln/sepolia and no autocapitalize (#306)
Browse files Browse the repository at this point in the history
* use sepolia instead of goerli, turn off autocapitalization in textarea for login seed, add atomic txn metadata wrapper to transaction types supported

* more autocapitalize none
  • Loading branch information
lazynina authored Nov 1, 2024
1 parent d4e88a7 commit a830b8e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/app/log-in-seed/log-in-seed.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ <h4 class="text--neutral-white">
class="input--textarea input--seed"
rows="2"
placeholder="Enter your DeSo seed only!"
autocapitalize="none"
></textarea>
<div class="margin-top--small text--right">
<div
Expand Down Expand Up @@ -74,6 +75,7 @@ <h4 class="text--neutral-white">
class="input--textarea"
rows="2"
placeholder="Enter your passphrase"
autocapitalize="none"
></textarea>
</div>

Expand All @@ -88,6 +90,7 @@ <h4 class="text--neutral-white">
class="input--textarea"
rows="2"
placeholder="Enter your seed hex"
autocapitalize="none"
></textarea>
</div>
<button
Expand Down
2 changes: 1 addition & 1 deletion src/app/metamask.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class WalletProvider {
const provider = await EthereumProvider.init({
projectId: 'bea679efaf1bb0481c4974e65c510200',
chains: [1 /* Mainnet */],
optionalChains: [5 /* Goerli */],
optionalChains: [11155111 /* Sepolia */],
optionalMethods: ['eth_requestAccounts'],
metadata: {
description:
Expand Down
5 changes: 5 additions & 0 deletions src/app/sign-up/sign-up.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ <h3 class="text--neutral-white">Safely store your DeSo seed phrase</h3>
(ngModelChange)="checkMnemonic()"
class="input--textarea input--seed"
rows="2"
autocapitalize="none"
></textarea>
</div>

Expand All @@ -239,6 +240,7 @@ <h3 class="text--neutral-white">Safely store your DeSo seed phrase</h3>
(ngModelChange)="normalizeExtraText()"
class="input--textarea"
rows="2"
autocapitalize="none"
></textarea>
</div>

Expand All @@ -261,6 +263,7 @@ <h3 class="text--neutral-white">Safely store your DeSo seed phrase</h3>
(ngModelChange)="checkEntropyHex()"
class="input--textarea"
rows="2"
autocapitalize="none"
></textarea>
</div>

Expand Down Expand Up @@ -326,6 +329,7 @@ <h3 class="text--neutral-white">Verify your DeSo seed phrase</h3>
class="input--textarea input--seed"
rows="4"
placeholder="Enter your DeSo seed phrase"
autocapitalize="none"
></textarea>
</div>
<div
Expand All @@ -346,6 +350,7 @@ <h3 class="text--neutral-white">Verify your DeSo seed phrase</h3>
class="input--textarea input-seed"
rows="4"
placeholder="Enter your passphrase"
autocapitalize="none"
></textarea>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/lib/deso/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -796,3 +796,8 @@ export class TransactionV0 extends BinaryRecord {
@Transcode(VarBuffer)
signature: Buffer | null = null;
}

export class TransactionMetdataAtomicWrapper extends TransactionMetadata {
@Transcode(ArrayOf(Transaction))
metadata: Transaction[] = [];
}

0 comments on commit a830b8e

Please sign in to comment.