![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@xlabs-libs/wallet-aggregator-near
Advanced tools
Implements the base abstractions for the [Near](https://near.org/) blockchain.
Implements the base abstractions for the Near blockchain.
There are two methods of using this package. You may either use the NearModalSelectorWallet
class, which under the hood the wallet uses the @near-wallet-selector/core
and @near-wallet-selector/modal-ui
packages. Upon calling connect
, the wallet will create a modal and prompt the user to login through it. On the other hand, you can use the WrappedNearWallet
which allows programatically interacting with a single wallet; a utility function wrapWallet
is provided to help create them.
import { NearModalSelectorWallet } from "@xlabs-libs/wallet-aggregator-near";
import { setupDefaultWallets } from "@near-wallet-selector/default-wallets";
import { setupMyNearWallet } from "@near-wallet-selector/my-near-wallet";
import { setupNightly } from "@near-wallet-selector/nightly";
import { setupMeteorWallet } from "@near-wallet-selector/meteor-wallet";
import "@near-wallet-selector/modal-ui/styles.css";
const contractId = "contract.dapp.near";
const config = {
networkId: "mainnet",
keyStore: nearKeyStore,
nodeUrl: "https://rpc.mainnet.near.org",
walletUrl: "https://wallet.mainnet.near.org",
helperUrl: "https://helper.mainnet.near.org",
headers: {},
};
const wallet = new NearModalSelectorWallet({
config,
contractId,
modules: [
...(await setupDefaultWallets()),
setupMyNearWallet(),
setupNightly(),
setupMeteorWallet(),
],
});
await wallet.connect();
import { setupMeteorWallet } from "@near-wallet-selector/meteor-wallet";
import { setupSender } from "@near-wallet-selector/sender";
import "@near-wallet-selector/modal-ui/styles.css";
const contractId = "contract.dapp.near";
const config = {
networkId: "mainnet",
keyStore: nearKeyStore,
nodeUrl: "https://rpc.mainnet.near.org",
walletUrl: "https://wallet.mainnet.near.org",
helperUrl: "https://helper.mainnet.near.org",
headers: {},
};
const meteor = await wrapWallet({
config,
contractId,
factory: setupMeteorWallet(),
});
const sender = await wrapWallet({ config, contractId, factory: setupSender() });
await meteor.connect();
FAQs
Implements the base abstractions for the [Near](https://near.org/) blockchain.
The npm package @xlabs-libs/wallet-aggregator-near receives a total of 0 weekly downloads. As such, @xlabs-libs/wallet-aggregator-near popularity was classified as not popular.
We found that @xlabs-libs/wallet-aggregator-near demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.