Skip to content

Commit

Permalink
chore: fix some comments (#1686)
Browse files Browse the repository at this point in the history
Signed-off-by: clonemycode <[email protected]>
Co-authored-by: janniks <[email protected]>
  • Loading branch information
clonemycode and janniks authored May 13, 2024
1 parent 10887a2 commit 2deee93
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/feature-guides/update-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface ProfileLookupOptions {
}
```

The function returns a promise with the data of the public profile if the data could be retrieved from the BNS name owner's storage and if the retrieved JSON token was sucessfully verified.
The function returns a promise with the data of the public profile if the data could be retrieved from the BNS name owner's storage and if the retrieved JSON token was successfully verified.

The recommended schema for the profile is as follows:

Expand Down
2 changes: 1 addition & 1 deletion packages/encryption/src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Secure, audited & minimal implementation of BIP39 mnemonic phrases.
import { validateMnemonic, mnemonicToEntropy, entropyToMnemonic } from '@scure/bip39';
// Word lists not imported by default as that would increase bundle sizes too much as in case of bitcoinjs/bip39
// Use default english world list similiar to bitcoinjs/bip39
// Use default english world list similar to bitcoinjs/bip39
// Backward compatible with bitcoinjs/bip39 dependency
// Very small in size as compared to bitcoinjs/bip39 wordlist
// Reference: https://github.com/paulmillr/scure-bip39
Expand Down
2 changes: 1 addition & 1 deletion packages/encryption/tests/encryption.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import * as ripemd160 from '../src/hashRipemd160';
// Secure, audited & minimal implementation of BIP39 mnemonic phrases.
import { validateMnemonic, mnemonicToEntropy, entropyToMnemonic } from '@scure/bip39';
// Word lists not imported by default as that would increase bundle sizes too much as in case of bitcoinjs/bip39
// Use default english world list similiar to bitcoinjs/bip39
// Use default english world list similar to bitcoinjs/bip39
// Backward compatible with bitcoinjs/bip39 dependency
// Very small in size as compared to bitcoinjs/bip39 wordlist
// Reference: https://github.com/paulmillr/scure-bip39
Expand Down
2 changes: 1 addition & 1 deletion packages/network/src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function argsForCreateFetchFn(args: any[]): { fetchLib: FetchFn; middlewares: Fe
}

/**
* Creates a new network fetching function, which combines an optional fetch-compatible library with optional middlware.
* Creates a new network fetching function, which combines an optional fetch-compatible library with optional middleware.
* @example
* ```
* const customFetch = createFetchFn(someMiddleware)
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export class Storage {
}

/**
* Stores the data provided in the app's data store to to the file specified.
* Stores the data provided in the app's data store to the file specified.
* @param {String} path - the path to store the data in
* @param {String|Uint8Array} content - the data to store in the file
* @param options a [[PutFileOptions]] object
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-sdk/src/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Secure, audited & minimal implementation of BIP39 mnemonic phrases.
import { generateMnemonic, mnemonicToSeed } from '@scure/bip39';
// Word lists not imported by default as that would increase bundle sizes too much as in case of bitcoinjs/bip39
// Use default english world list similiar to bitcoinjs/bip39
// Use default english world list similar to bitcoinjs/bip39
// Backward compatible with bitcoinjs/bip39 dependency
// Very small in size as compared to bitcoinjs/bip39 wordlist
// Reference: https://github.com/paulmillr/scure-bip39
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-sdk/tests/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
validateMnemonic,
} from '@scure/bip39';
// Word lists not imported by default as that would increase bundle sizes too much as in case of bitcoinjs/bip39
// Use default english world list similiar to bitcoinjs/bip39
// Use default english world list similar to bitcoinjs/bip39
// Backward compatible with bitcoinjs/bip39 dependency
// Very small in size as compared to bitcoinjs/bip39 wordlist
// Reference: https://github.com/paulmillr/scure-bip39
Expand Down

0 comments on commit 2deee93

Please sign in to comment.