Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Minor spelling typos #6417

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion development/webpack/ext/codeSplit.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function enableCodeSplitChunks({ config }) {
// vendors: {
// test: /[\\/]node_modules[\\/]/,
// priority: -10,
// enforce: true, // seperate vendor from our code
// enforce: true, // separate vendor from our code
// },
// default: {
// minChunks: 2,
Expand Down
2 changes: 1 addition & 1 deletion development/webpack/ext/manifestBuilder.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function buildManifest(content, filePath) {
// eslint-disable-next-line global-require,import/no-dynamic-require
const manifest = require('../../../apps/ext/src/manifest');
// generates the manifest file using the package.json informations
// generates the manifest file using the package.json information
return Buffer.from(JSON.stringify(manifest, null, 2));
}

Expand Down
6 changes: 3 additions & 3 deletions packages/components/src/layouts/Navigation/ScreenProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@ export interface INavSearchBarProps {
/**
* The search hint text color
*
* @plaform android
* @platform android
*/
hintTextColor?: string;
/**
* The search and close icon color shown in the header
*
* @plaform android
* @platform android
*/
headerIconColor?: string;
/**
* Show the search hint icon when search bar is focused
*
* @plaform android
* @platform android
* @default true
*/
shouldShowHintSearchIcon?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/chains/fil/CoreChainSoftware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function signTransaction(
list.map((item) => Buffer.from(item)),
totalLength,
);
// In @zondax/izari-filecoin AddressSecp256k1 fromString static fucntion
// In @zondax/izari-filecoin AddressSecp256k1 fromString static function
// When comparing the check sum of the address,
// The format of both sides is Buffer and Uint8Array,
// Resulting in different comparison results of the same checksum
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/chains/nexa/sdkNexa/sdk/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function readUInt64LEBN(
// array or string. However, the maximum safe number for a double precision
// floating point is 2 ^ 52 - 1 (0x1fffffffffffff), thus we can safely use
// non-floating point numbers less than this amount (52 bits). And in the case
// that the number is larger, we can instatiate an instance of BN by passing
// that the number is larger, we can instantiate an instance of BN by passing
// an array from the buffer (slower) and specifying the endianness.
let bn;
if (combined <= 0x1f_ff_ff_ff_ff_ff_ff) {
Expand Down
14 changes: 7 additions & 7 deletions packages/core/src/chains/xmr/sdkXmr/moneroCore/moneroCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ var MyMoneroLibAppCpp = (() => {
// Normally we don't log exceptions but instead let them bubble out the top
// level where the embedding environment (e.g. the browser) can handle
// them.
// However under v8 and node we sometimes exit the process direcly in which case
// its up to use us to log the exception before exiting.
// However, under V8 and Node.js we sometimes exit the process directly,
// in which case it's up to use us to log the exception before exiting.
// If we fix https://github.com/emscripten-core/emscripten/issues/15080
// this may no longer be needed under node.
function logExceptionOnExit(e) {
Expand Down Expand Up @@ -1149,7 +1149,7 @@ var MyMoneroLibAppCpp = (() => {
// allows this in the wasm spec.

// Suppress closure compiler warning here. Closure compiler's builtin extern
// defintion for WebAssembly.RuntimeError claims it takes no arguments even
// definition for WebAssembly.RuntimeError claims it takes no arguments even
// though it can.
// TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure gets fixed.
/** @suppress {checkTypes} */
Expand Down Expand Up @@ -3336,7 +3336,7 @@ var MyMoneroLibAppCpp = (() => {
// parents must exist
var lookup, old_dir, new_dir;

// let the errors from non existant directories percolate up
// let the errors from non existent directories percolate up
lookup = FS.lookupPath(old_path, { parent: true });
old_dir = lookup.node;
sidmorizon marked this conversation as resolved.
Show resolved Hide resolved
lookup = FS.lookupPath(new_path, { parent: true });
Expand Down Expand Up @@ -5444,7 +5444,7 @@ var MyMoneroLibAppCpp = (() => {
/** @param {number=} numArguments */
function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol');
throwInternalError('Replacing nonexistent public symbol');
}
// If there's an overload table for this symbol, replace the symbol in the overload table instead.
if (
Expand Down Expand Up @@ -5479,7 +5479,7 @@ var MyMoneroLibAppCpp = (() => {
/** @param {Object=} args */
function dynCall(sig, ptr, args) {
// Without WASM_BIGINT support we cannot directly call function with i64 as
// part of thier signature, so we rely the dynCall functions generated by
// part of their signature, so we rely the dynCall functions generated by
// wasm-emscripten-finalize
if (sig.includes('j')) {
return dynCallLegacy(sig, ptr, args);
Expand Down Expand Up @@ -7151,7 +7151,7 @@ var MyMoneroLibAppCpp = (() => {

function setWasmTableEntry(idx, func) {
wasmTable.set(idx, func);
// With ABORT_ON_WASM_EXCEPTIONS wasmTable.get is overriden to return wrapped
// With ABORT_ON_WASM_EXCEPTIONS wasmTable.get is overridden to return wrapped
// functions so we need to call it here to retrieve the potential wrapper correctly
// instead of just storing 'func' directly into wasmTableMirror
wasmTableMirror[idx] = wasmTable.get(idx);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,10 +581,10 @@ class ServiceFirmwareUpdate extends ServiceBase {
// bootloaderMode may return status: 'unknown' | 'none'
// TODO: different of 'unknown' | 'none';
if (
// bootloader cann't detect current firmware version, so we always upgrade fw and ble
// bootloader can't detect current firmware version, so we always upgrade fw and ble
releasePayload?.bootloaderMode &&
releasePayload?.release &&
['firmware', 'ble'].includes(firmwareType) // bootloader cann't reinstall
['firmware', 'ble'].includes(firmwareType) // bootloader can't reinstall
) {
hasUpgrade = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ const DialogGallery = () => (
),
},
{
title: 'ScrollView Demo(not recommand, use Modal Page instead it))',
title: 'ScrollView Demo(not recommend, use Modal Page instead it))',
element: (
<YStack>
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function FirmwareUpdateDevSettings() {
</FirmwareUpdateSectionFieldItem>
<FirmwareUpdateSectionFieldItem
name="shouldUpdateFullRes"
title="Should Update Full Resouces"
title="Should Update Full Resources"
>
<Switch size={ESwitchSize.small} />
</FirmwareUpdateSectionFieldItem>
Expand Down
6 changes: 3 additions & 3 deletions packages/kit/src/views/TestModal/pages/TestSimpleModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function TestSimpleModal() {
<YStack gap="$4" m="$4">
<Button onPress={navigateToNextPage}>Push to Next Page</Button>
<Page.Close>
<Button>Back To Pervious Page</Button>
<Button>Back To Previous Page</Button>
</Page.Close>
<Page.Close>
<Button
Expand All @@ -158,7 +158,7 @@ export function TestSimpleModal() {
})
}
>
Back To Pervious Page --- async fail
Back To Previous Page --- async fail
</Button>
</Page.Close>
<Page.Close>
Expand All @@ -171,7 +171,7 @@ export function TestSimpleModal() {
})
}
>
Back To Pervious Page --- async success
Back To Previous Page --- async success
</Button>
</Page.Close>
</YStack>
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/engine/engineConsts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export const FIX_COSMOS_TEMPLATE_DB_MIGRATION_VERSION = '4.2.0';

export const CHAINS_DISPLAYED_IN_DEV: string[] = [];

// If the token uses these symbols but it is not an offical token,
// If the token uses these symbols but it is not an official token,
// it will be marked as a risky token and the history containing these tokens can be hidden
export const UNIQUE_TOKEN_SYMBOLS: Record<string, Array<string>> = {
[IMPL_EVM]: ['USDC', 'USDT'],
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/polyfills/xhrShim/xhrShimV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class XMLHttpRequest extends Dispatch {
}
}

// No response headers suport yet!
// No response headers support yet!
originalix marked this conversation as resolved.
Show resolved Hide resolved
getAllResponseHeaders() {
return ''; // todo fix headers at HEADERS_RECEIVED
}
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/utils/messageUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ describe('messageUtils', () => {
).toThrow('Current chainId cannot be null or undefined.');
});

test('should throw if current chain id is not convertable to integer', () => {
test('should throw if current chain id is not convertible to integer', () => {
const unexpectedChainId = 'unexpected chain id';
const from = '0x3244e191f1b4903970224322180f1fbbc415696b';
expect(() =>
Expand Down
Loading