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

v8.9.12 Release (dev → main) #1204

Merged
merged 49 commits into from
Sep 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
48b0846
fix: Handle new error message, remove devMode.
paouvrard Aug 9, 2024
d978481
build: Sync package version with repo.
paouvrard Aug 9, 2024
7bb1665
fix: Use near provider with error message.
paouvrard Aug 12, 2024
79290a5
add new wallet (arepa wallet)
hrpalencia Aug 14, 2024
ac818ba
fix: Encode and send lak transaction.
paouvrard Aug 14, 2024
a539f14
build: Override near-api-js in nested dependencies.
paouvrard Aug 20, 2024
33cbc1a
chore: Fix lint.
paouvrard Aug 20, 2024
05841d3
Revert "build: Override near-api-js in nested dependencies."
paouvrard Aug 20, 2024
9184ffa
translate to the corresponding language
Aug 20, 2024
d0692e9
translate es.json, hi.json files
Aug 20, 2024
5bce5f1
translation
Aug 20, 2024
0f4484a
build: Send lak tx with provider.
paouvrard Aug 21, 2024
fdd1011
[bump] - @mintbase-js/wallet to 0.6.1 (near-api-js v4)
Aug 21, 2024
8b0f6f8
fix: Remove simulateContract.
paouvrard Aug 21, 2024
545b3a8
chore: Remove comment.
paouvrard Aug 21, 2024
9721964
Merge pull request #1164 from aurora-is-near/pa/fix-ethereum-wallets
Aug 21, 2024
0cae4de
change translation content
Aug 22, 2024
6c047df
Merge pull request #1170 from AstroForgex/locales
Aug 22, 2024
32ea975
Merge pull request #1171 from lotteam003/trans-es
Aug 22, 2024
b9fe4d3
Merge pull request #1173 from lotteam003/trans-zh
Aug 22, 2024
70ee27b
added Arabic translation
ScriptBody Aug 23, 2024
68da263
remove duplicate content 'okx-wallet'
Aug 27, 2024
2e8069f
Merge pull request #1181 from lotteam004/docs
Aug 27, 2024
4062bab
build(deps): bump better-sqlite3 from 11.1.2 to 11.2.1
dependabot[bot] Sep 1, 2024
2922e14
build(deps): bump tslib from 2.6.3 to 2.7.0
dependabot[bot] Sep 1, 2024
11c1274
build(deps): bump qrcode from 1.5.3 to 1.5.4
dependabot[bot] Sep 1, 2024
1c0673a
build(deps): bump @jscutlery/semver from 5.2.2 to 5.3.1
dependabot[bot] Sep 1, 2024
4b4a856
Merge pull request #1175 from near/bump-mintbase
Sep 2, 2024
7bff1ed
docs: add zh-hk translation
exodusteam001 Sep 3, 2024
7004364
Update zh-hk.json
exodusteam001 Sep 3, 2024
a16cf07
[improvement] - reduce bundle size
Sep 3, 2024
80296db
Merge pull request #1184 from near/dependabot/npm_and_yarn/dev/better…
Sep 3, 2024
38d9884
Merge pull request #1185 from near/dependabot/npm_and_yarn/dev/tslib-…
Sep 3, 2024
cd7fcc6
Merge pull request #1187 from near/dependabot/npm_and_yarn/dev/qrcode…
Sep 3, 2024
5fa9505
Merge pull request #1188 from near/dependabot/npm_and_yarn/dev/jscutl…
Sep 3, 2024
9a4e2ba
Merge pull request #1177 from ScriptBody/trans-ar
Sep 3, 2024
4b50637
Merge pull request #1192 from near/reduce-bundle-size
Sep 3, 2024
575ac7f
docs: update README.md
tokenpocketteam002 Sep 3, 2024
3ca99df
docs: add jp translation
safepalteam002 Sep 3, 2024
ac1cfb4
Merge pull request #1190 from exodusteam001/main
Sep 3, 2024
80bad0b
Merge pull request #1195 from safepalteam002/main
Sep 4, 2024
af7fa92
Merge pull request #1194 from tokenpocketteam002/main
Sep 4, 2024
c92a85d
chore: Update near-api-js dependency to version 4.0.3
hrpalencia Sep 4, 2024
9c8b4f3
chore: Update near-api-js dependency to version 4.0.0
hrpalencia Sep 4, 2024
93a2bb6
chore: Update near-api-js dependency to version 4.0.3
hrpalencia Sep 4, 2024
5ad0c40
Merge pull request #1167 from hrpalencia/dev
Sep 11, 2024
762f058
Bump version to 8.9.13
Sep 11, 2024
130b616
add arepa-wallet to npm scripts
Sep 11, 2024
52b704c
Merge pull request #1203 from near/chore-bump-version-v8.9.13
Sep 11, 2024
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
Next Next commit
fix: Handle new error message, remove devMode.
  • Loading branch information
paouvrard committed Aug 9, 2024
commit 48b0846e97c8692a970cace622e910c7ce1b7649
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ const projectId = "30147604c5f01d0bc4482ab0665b5697";
// TODO: Replace with the NEAR chain after the protocol upgrade.
const near: Chain = {
id: 398,
name: "NEAR wallet playground",
name: "NEAR Protocol Testnet",
nativeCurrency: {
decimals: 18,
name: "NEAR",
@@ -156,7 +156,7 @@ export class WalletSelectorComponent implements OnInit {
setupNearMobileWallet(),
setupMintbaseWallet({ contractId: CONTRACT_ID }),
setupBitteWallet({ contractId: CONTRACT_ID }),
setupEthereumWallets({ wagmiConfig, web3Modal, devMode: true }),
setupEthereumWallets({ wagmiConfig, web3Modal }),
],
});

4 changes: 2 additions & 2 deletions examples/react/contexts/WalletSelectorContext.tsx
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ const projectId = "30147604c5f01d0bc4482ab0665b5697";
// TODO: Replace with the NEAR chain after the protocol upgrade.
const near: Chain = {
id: 398,
name: "NEAR wallet playground",
name: "NEAR Protocol Testnet",
nativeCurrency: {
decimals: 18,
name: "NEAR",
@@ -188,7 +188,7 @@ export const WalletSelectorContextProvider: React.FC<{
setupNearMobileWallet(),
setupMintbaseWallet({ contractId: CONTRACT_ID }),
setupBitteWallet({ contractId: CONTRACT_ID }),
setupEthereumWallets({ wagmiConfig, web3Modal, devMode: true }),
setupEthereumWallets({ wagmiConfig, web3Modal }),
],
});
const _modal = setupModal(_selector, {
2 changes: 1 addition & 1 deletion packages/ethereum-wallets/README.md
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ NEP-518 doesn't support multiple actions within the same transaction, so when mu

NEP-518 rpc relayer uses a FunctionCall access key to execute transactions on behalf of the user by calling `rlp_execute`. If this key is not yet added, the wallet will be onboarded before the first transaction is made.

`signMessage` and `verifyOwner` are not implemented because Ethereum wallets are not compatible with these standards, instead a dApp can use `eth_sign` or `eth_signTypedData_v4` to authenticate the wallet by interacting with it directly.
`signMessage` and `verifyOwner` are not implemented because Ethereum wallets are not compatible with these standards, instead a dApp can use `personal_sign` or `eth_signTypedData_v4` to authenticate the wallet by interacting with it directly.

## Installation and Usage

6 changes: 4 additions & 2 deletions packages/ethereum-wallets/src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -439,6 +439,8 @@ const EthereumWallets: WalletBehaviourFactory<
logger.error(error);
if (
!error.message?.includes("does not exist while viewing") &&
!error.message?.includes("doesn't exist") &&
!error.message?.includes("does not exist") &&
!error.message?.includes("has never been observed on the node")
) {
throw new Error(
@@ -936,14 +938,14 @@ const EthereumWallets: WalletBehaviourFactory<
async verifyOwner({ message }) {
logger.log("EthereumWallets:verifyOwner", { message });
throw new Error(
"Not implemented: ed25519 N/A, use eth_sign or eth_signTypedData_v4 instead."
"Not implemented: ed25519 N/A, '\x19Ethereum Signed Message:\n' prefix is not compatible, use personal_sign or eth_signTypedData_v4 instead."
);
},

async signMessage({ message, nonce, recipient }) {
logger.log("EthereumWallets:signMessage", { message, nonce, recipient });
throw new Error(
"Not implemented: ed25519 N/A, use eth_sign or eth_signTypedData_v4 instead."
"Not implemented: ed25519 N/A, '\x19Ethereum Signed Message:\n' prefix is not compatible, use personal_sign or eth_signTypedData_v4 instead."
);
},

Loading