From c8acc9a8bc07f5b62a732ea71938331986023917 Mon Sep 17 00:00:00 2001 From: amirsaran3 Date: Tue, 25 Apr 2023 13:27:31 +0200 Subject: [PATCH 1/4] Added jsdoc descriptions, added few missing docs --- .eslintrc.json | 74 +++++++--- package.json | 1 + packages/core/docs/api/selector.md | 1 + packages/core/docs/api/state.md | 1 + packages/core/src/lib/options.types.ts | 30 ++++ packages/core/src/lib/store.types.ts | 42 ++++++ packages/core/src/lib/wallet-selector.ts | 5 + .../core/src/lib/wallet-selector.types.ts | 23 +++ packages/core/src/lib/wallet/wallet.types.ts | 104 ++++++++++++++ packages/modal-ui-js/src/lib/modal.ts | 6 + packages/modal-ui/src/lib/modal.tsx | 6 + packages/modal-ui/src/lib/modal.types.ts | 13 +- yarn.lock | 132 ++++++++++++++++++ 13 files changed, 421 insertions(+), 17 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index d0ee610f1..37dd426cc 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -7,7 +7,9 @@ "node": true, "jest": true }, - "ignorePatterns": ["**/*"], + "ignorePatterns": [ + "**/*" + ], "plugins": [ "@nrwl/nx", "@typescript-eslint", @@ -16,7 +18,12 @@ ], "overrides": [ { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "files": [ + "*.ts", + "*.tsx", + "*.js", + "*.jsx" + ], "rules": { "@nrwl/nx/enforce-module-boundaries": [ "error", @@ -26,7 +33,9 @@ "depConstraints": [ { "sourceTag": "*", - "onlyDependOnLibsWithTags": ["*"] + "onlyDependOnLibsWithTags": [ + "*" + ] } ] } @@ -34,9 +43,14 @@ } }, { - "files": ["*.ts", "*.tsx"], + "files": [ + "*.ts", + "*.tsx" + ], "parserOptions": { - "project": ["tsconfig.*?.json"] + "project": [ + "tsconfig.*?.json" + ] }, "extends": [ "plugin:@nrwl/nx/typescript", @@ -45,7 +59,8 @@ "prettier" ], "rules": { - "prettier/prettier": ["error", + "prettier/prettier": [ + "error", { "arrowParens": "always", "bracketSpacing": true, @@ -61,7 +76,8 @@ "insertPragma": false, "requirePragma": false, "bracketSameLine": false, - "endOfLine": "auto" + "endOfLine": "auto", + "jsdoc": true } ], "@typescript-eslint/ban-ts-comment": "off", @@ -72,7 +88,11 @@ "error", { "selector": "variableLike", - "format": ["camelCase", "PascalCase", "UPPER_CASE"], + "format": [ + "camelCase", + "PascalCase", + "UPPER_CASE" + ], "leadingUnderscore": "allow" } ], @@ -84,11 +104,22 @@ "@typescript-eslint/type-annotation-spacing": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/ban-ts-ignore": "off", - "@typescript-eslint/array-type": ["error", { "default": "generic" }], + "@typescript-eslint/array-type": [ + "error", + { + "default": "generic" + } + ], "@typescript-eslint/consistent-type-imports": "error", "@typescript-eslint/consistent-type-exports": "error", - "curly": ["error", "all"], - "eqeqeq": ["error", "smart"], + "curly": [ + "error", + "all" + ], + "eqeqeq": [ + "error", + "smart" + ], "default-case": "off", "no-caller": "error", "no-case-declarations": "off", @@ -101,7 +132,10 @@ "no-shadow": "off", "@typescript-eslint/no-shadow": "error", "no-unused-expressions": "error", - "radix": ["error", "as-needed"], + "radix": [ + "error", + "as-needed" + ], "no-restricted-syntax": [ "error", { @@ -114,14 +148,22 @@ "message": "Call parseFloat directly to guarantee radix param is not incorrectly provided" } ], - "strict": ["error", "global"], + "strict": [ + "error", + "global" + ], "valid-jsdoc": "error" } }, { - "files": ["*.js", "*.jsx"], - "extends": ["plugin:@nrwl/nx/javascript"], + "files": [ + "*.js", + "*.jsx" + ], + "extends": [ + "plugin:@nrwl/nx/javascript" + ], "rules": {} } ] -} +} \ No newline at end of file diff --git a/package.json b/package.json index 7bd508969..e679f021b 100644 --- a/package.json +++ b/package.json @@ -179,6 +179,7 @@ "jest": "27.5.1", "jest-mock-extended": "^2.0.6", "jest-preset-angular": "^12.2.0", + "jsdoc": "^4.0.2", "nx": "14.4.2", "prettier": "^2.7.1", "react-test-renderer": "18.2.0", diff --git a/packages/core/docs/api/selector.md b/packages/core/docs/api/selector.md index b5855ce60..17e93601a 100644 --- a/packages/core/docs/api/selector.md +++ b/packages/core/docs/api/selector.md @@ -9,6 +9,7 @@ - `nodeUrl` (`string`): URL for RPC requests. - `helperUrl` (`string`): URL for creating accounts. - `explorerUrl` (`string`): URL for the NEAR explorer. + - `indexerUrl` (`string`): URL for the NEAR indexer. - `debug` (`boolean`): Whether internal logging is enabled. - `optimizeWalletOrder` (`boolean`): Whether wallet order optimization is enabled. - `randomizeWalletOrder` (`boolean`): Weather wallet order randomization is enabled. diff --git a/packages/core/docs/api/state.md b/packages/core/docs/api/state.md index 4d7a6f1c5..d8bd6ab2d 100644 --- a/packages/core/docs/api/state.md +++ b/packages/core/docs/api/state.md @@ -46,6 +46,7 @@ console.log(modules); // [{ id: "near-wallet", ... }] - `Array` - `accountId` (`string`): NEAR account identifier. + - `publicKey` (`string?`): Account public key. - `active` (`boolean`): Is account set as active. **Description** diff --git a/packages/core/src/lib/options.types.ts b/packages/core/src/lib/options.types.ts index 5ee5a669c..2d8dfcb84 100644 --- a/packages/core/src/lib/options.types.ts +++ b/packages/core/src/lib/options.types.ts @@ -3,17 +3,47 @@ import type { SupportedLanguage } from "./translate/translate"; export type NetworkId = "mainnet" | "testnet"; export interface Network { + /** + * Network ID (e.g. `testnet`). + */ networkId: string; + /** + * URL for RPC requests. + */ nodeUrl: string; + /** + * URL for creating accounts. + */ helperUrl: string; + /** + * URL for the NEAR explorer. + */ explorerUrl: string; + /** + * URL for the NEAR indexer. + */ indexerUrl: string; } export interface Options { + /** + * ISO 639-1 two-letter language code. + */ languageCode: SupportedLanguage | undefined; + /** + * Resolved network configuration. + */ network: Network; + /** + * Whether internal logging is enabled. + */ debug: boolean; + /** + * Whether wallet order optimization is enabled. + */ optimizeWalletOrder: boolean; + /** + * Weather wallet order randomization is enabled. + */ randomizeWalletOrder: boolean; } diff --git a/packages/core/src/lib/store.types.ts b/packages/core/src/lib/store.types.ts index fa8c5ad28..3e8b1a2ea 100644 --- a/packages/core/src/lib/store.types.ts +++ b/packages/core/src/lib/store.types.ts @@ -3,26 +3,62 @@ import type { BehaviorSubject, Observable } from "rxjs"; import type { Wallet, Account } from "./wallet"; export interface ContractState { + /** + * Account ID of the Smart Contract. + */ contractId: string; + /** + * List of methods that can only be invoked on the Smart Contract. Empty list means no restriction. + */ methodNames: Array; } export type ModuleState = { + /** + * Unique identifier for the wallet. + */ id: Variation["id"]; + /** + * Type of the wallet. + */ type: Variation["type"]; + /** + * Meta information about the wallet. + */ metadata: Variation["metadata"]; + /** + * Access functionality of the wallet. + */ wallet(): Promise; }; export type AccountState = Account & { + /** + * Is account set as active. + */ active: boolean; }; export interface WalletSelectorState { + /** + * Returns the signed in contract. + */ contract: ContractState | null; + /** + * Returns the list of available modules. + */ modules: Array; + /** + * Returns the list of signed in accounts. + */ accounts: Array; + /** + * Returns the ID of the selected wallet. + */ selectedWalletId: string | null; + /** + * Returns ID-s of 5 recently signed in wallets. + */ recentlySignedInWallets: Array; } @@ -67,7 +103,13 @@ export type WalletSelectorAction = }; export interface ReadOnlyStore { + /** + * Retrieve the current state. You can find more information on `WalletSelectorState` {@link https://github.com/near/wallet-selector/blob/main/packages/core/docs/api/state.md | here}. + */ getState(): WalletSelectorState; + /** + * Subscribe to state changes using the (RxJS) Observable pattern. You can find more information on `WalletSelectorState` {@link https://github.com/near/wallet-selector/blob/main/packages/core/docs/api/state.md | here}. + */ observable: Observable; } diff --git a/packages/core/src/lib/wallet-selector.ts b/packages/core/src/lib/wallet-selector.ts index f84fa358c..0ea7a36d1 100644 --- a/packages/core/src/lib/wallet-selector.ts +++ b/packages/core/src/lib/wallet-selector.ts @@ -63,6 +63,11 @@ const createSelector = ( }; }; +/** + * Initiates a wallet selector instance + * @param {WalletSelectorParams} params Selector parameters (network, modules...) + * @returns {Promise} Returns a WalletSelector object + */ export const setupWalletSelector = async ( params: WalletSelectorParams ): Promise => { diff --git a/packages/core/src/lib/wallet-selector.types.ts b/packages/core/src/lib/wallet-selector.types.ts index 820e8342b..9a66d824b 100644 --- a/packages/core/src/lib/wallet-selector.types.ts +++ b/packages/core/src/lib/wallet-selector.types.ts @@ -37,20 +37,43 @@ export type WalletSelectorEvents = { }; export interface WalletSelector { + /** + * Resolved variation of the options passed to `setupWalletSelector`. + */ options: Options; + /** + * Wallet selector storage service + */ store: WalletSelectorStore; + /** + * Programmatically access wallets and call their methods. + * It's advised to use `state.modules` if you only need access to `id`, `type` or `metadata` as it avoids initialising. + * You can find more information on Wallet {@link https://github.com/near/wallet-selector/blob/main/packages/core/docs/api/wallet.md | here}. + */ wallet(id?: string): Promise; + /** + * Determines whether we're signed in to one or more accounts. + */ isSignedIn(): boolean; + /** + * Programmatically change active account which will be used to sign and send transactions. + */ setActiveAccount(accountId: string): void; + /** + * Attach an event handler to important events. + */ on( eventName: EventName, callback: (event: WalletSelectorEvents[EventName]) => void ): Subscription; + /** + * Removes the event handler attached to the given `event`. + */ off( eventName: EventName, callback: (event: WalletSelectorEvents[EventName]) => void diff --git a/packages/core/src/lib/wallet/wallet.types.ts b/packages/core/src/lib/wallet/wallet.types.ts index 2bb0d6e10..a0d711335 100644 --- a/packages/core/src/lib/wallet/wallet.types.ts +++ b/packages/core/src/lib/wallet/wallet.types.ts @@ -12,26 +12,62 @@ import type { Modify, Optional } from "../utils.types"; import type { FinalExecutionOutcome } from "near-api-js/lib/providers"; interface BaseWalletMetadata { + /** + * Wallet name. + */ name: string; + /** + * Wallet description. + */ description: string | null; + /** + * Wallet icon url. + */ iconUrl: string; + /** + * Is wallet deprecated. + */ deprecated: boolean; + /** + * Will the wallet be shown in modal. + */ available: boolean; } export interface Account { + /** + * NEAR account identifier. + */ accountId: string; + /** + * Account public key. + */ publicKey?: string; } export interface SignInParams { + /** + * Account ID of the Smart Contract. + */ contractId: string; + /** + * Specify limited access to particular methods on the Smart Contract. + */ methodNames?: Array; } export interface VerifyOwnerParams { + /** + * The message requested sign. Defaults to `verify owner` string. + */ message: string; + /** + * Applicable to browser wallets (e.g. MyNearWallet). This is the callback url once the signing is approved. Defaults to `window.location.href`. + */ callbackUrl?: string; + /** + * Applicable to browser wallets (e.g. MyNearWallet) extra data that will be passed to the callback url once the signing is approved. + */ meta?: string; } @@ -45,23 +81,57 @@ export interface VerifiedOwner { } interface SignAndSendTransactionParams { + /** + * Account ID used to sign the transaction. Defaults to the first account. + */ signerId?: string; + /** + * Account ID to receive the transaction. Defaults to `contractId` defined in `init`. + */ receiverId?: string; + /** + * NEAR Action(s) to sign and send to the network (e.g. `FunctionCall`). You can find more information on `Action` {@link https://github.com/near/wallet-selector/blob/main/packages/core/docs/api/transactions.md | here}. + */ actions: Array; } interface SignAndSendTransactionsParams { + /** + * NEAR Transactions(s) to sign and send to the network. You can find more information on `Transaction` {@link https://github.com/near/wallet-selector/blob/main/packages/core/docs/api/transactions.md | here}. + */ transactions: Array>; } interface BaseWalletBehaviour { + /** + * Programmatically sign in. Hardware wallets (e.g. Ledger) require `derivationPaths` to validate access key permissions. + */ signIn(params: SignInParams): Promise>; + /** + * Sign out from the wallet. + */ signOut(): Promise; + /** + * Returns one or more accounts when signed in. + * This method can be useful for wallets that support accounts at once such as WalletConnect. + * In this case, you can use an `accountId` returned as the `signerId` for `signAndSendTransaction`. + */ getAccounts(): Promise>; + /** + * Signs the message and verifies the owner. Message is not sent to blockchain. + */ verifyOwner(params: VerifyOwnerParams): Promise; + /** + * Signs one or more NEAR Actions before sending to the network. + * The user must be signed in to call this method as there's at least charges for gas spent. + */ signAndSendTransaction( params: SignAndSendTransactionParams ): Promise; + /** + * Signs one or more transactions before sending to the network. + * The user must be signed in to call this method as there's at least charges for gas spent. + */ signAndSendTransactions( params: SignAndSendTransactionsParams ): Promise>; @@ -72,8 +142,17 @@ type BaseWallet< Metadata extends BaseWalletMetadata, Behaviour > = { + /** + * Unique identifier of the wallet. + */ id: string; + /** + * Returns the type of wallet. This is particular useful when using functionality that's wallet specific (see hardware wallet example). + */ type: Type; + /** + * Returns meta information about the wallet such as `name`, `description`, `iconUrl`, `deprecated` and `available` but can include wallet-specific properties such as `downloadUrl` and `useUrlAccountImport` for injected wallets or `contractId` and `runOnStartup` for instant-link wallets. + */ metadata: Metadata; } & Behaviour; @@ -92,22 +171,40 @@ export type WalletEvents = { // ----- Browser Wallet ----- // export type BrowserWalletMetadata = BaseWalletMetadata & { + /** + * Optional for browser wallets (e.g MyNearWallet and HERE Wallet). After successfully signing in where to redirect. + */ successUrl?: string; + /** + * Optional for browser wallets (e.g MyNearWallet and HERE Wallet). After failing to sign in where to redirect. + */ failureUrl?: string; }; interface BrowserWalletSignInParams extends SignInParams { + /** + * Optional for browser wallets (e.g MyNearWallet and HERE Wallet). After successfully signing in where to redirect. + */ successUrl?: string; + /** + * Optional for browser wallets (e.g MyNearWallet and HERE Wallet). After failing to sign in where to redirect. + */ failureUrl?: string; } interface BrowserWalletSignAndSendTransactionParams extends SignAndSendTransactionParams { + /** + * Applicable to browser wallets (e.g. NEAR Wallet). This the callback url once the transaction is approved. + */ callbackUrl?: string; } interface BrowserWalletSignAndSendTransactionsParams extends SignAndSendTransactionsParams { + /** + * Applicable to browser wallets (e.g. NEAR Wallet). This the callback url once the transaction is approved. + */ callbackUrl?: string; } @@ -192,6 +289,9 @@ export interface HardwareWalletAccount { } export interface HardwareWalletSignInParams extends SignInParams { + /** + * Required for hardware wallets (e.g. Ledger). This is a list of `accounts` linked to public keys on your device. + */ accounts: Array; } @@ -211,6 +311,10 @@ export type HardwareWallet = BaseWallet< // ----- Bridge Wallet ----- // interface BridgeWalletSignInParams extends SignInParams { + /** + * Optional for bridge wallets (e.g Wallet Connect). + * This indicates whether to render QR Code in wallet selector modal or use the default vendor modal. + */ qrCodeModal?: boolean; } diff --git a/packages/modal-ui-js/src/lib/modal.ts b/packages/modal-ui-js/src/lib/modal.ts index 095924600..668a5e3fa 100644 --- a/packages/modal-ui-js/src/lib/modal.ts +++ b/packages/modal-ui-js/src/lib/modal.ts @@ -42,6 +42,12 @@ if (typeof window !== "undefined") { document.body.appendChild(el); } +/** + * Initiates a modal instance + * @param {WalletSelector} selector Selector + * @param {ModalOptions} options Modal options + * @returns {WalletSelectorModal} Returns a WalletSelectorModal object + */ export const setupModal = ( selector: WalletSelector, options: ModalOptions diff --git a/packages/modal-ui/src/lib/modal.tsx b/packages/modal-ui/src/lib/modal.tsx index 54a39280e..404143a6e 100644 --- a/packages/modal-ui/src/lib/modal.tsx +++ b/packages/modal-ui/src/lib/modal.tsx @@ -11,6 +11,12 @@ const MODAL_ELEMENT_ID = "near-wallet-selector-modal"; let modalInstance: WalletSelectorModal | null = null; +/** + * Initiates a modal instance + * @param {WalletSelector} selector Selector + * @param {ModalOptions} options Modal options + * @returns {WalletSelectorModal} Returns a WalletSelectorModal object + */ export const setupModal = ( selector: WalletSelector, options: ModalOptions diff --git a/packages/modal-ui/src/lib/modal.types.ts b/packages/modal-ui/src/lib/modal.types.ts index 253f81e99..f9c97f978 100644 --- a/packages/modal-ui/src/lib/modal.types.ts +++ b/packages/modal-ui/src/lib/modal.types.ts @@ -16,13 +16,24 @@ export type ModalEvents = { }; export interface WalletSelectorModal { + /** + * Opens the modal for users to sign in to their preferred wallet. You can also use this method to switch wallets. + */ show(): void; + /** + * Closes the modal. + */ hide(): void; + /** + * Attach an event handler to important events. + */ on( eventName: EventName, callback: (event: ModalEvents[EventName]) => void ): Subscription; - + /** + * Removes the event handler attached to the given `event`. + */ off( eventName: EventName, callback: (event: ModalEvents[EventName]) => void diff --git a/yarn.lock b/yarn.lock index e7f7ff083..9485416c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -687,6 +687,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.9.tgz#f2dde0c682ccc264a9a8595efd030a5cc8fd2539" integrity sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg== +"@babel/parser@^7.20.15": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.4.tgz#94003fdfc520bbe2875d4ae557b43ddb6d880f17" + integrity sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -2578,6 +2583,13 @@ inquirer "8.2.5" rxjs "7.8.0" +"@jsdoc/salty@^0.2.1": + version "0.2.5" + resolved "https://registry.yarnpkg.com/@jsdoc/salty/-/salty-0.2.5.tgz#1b2fa5bb8c66485b536d86eee877c263d322f692" + integrity sha512-TfRP53RqunNe2HBobVBJ0VLhK1HbfvBYeTC1ahnN64PWvyYyGebmMiPkuwvD9fpw2ZbkoPb8Q7mwy0aR8Z9rvw== + dependencies: + lodash "^4.17.21" + "@ledgerhq/devices@^6.27.1": version "6.27.1" resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-6.27.1.tgz#3b13ab1d1ba8201e9e74a08f390560483978c962" @@ -4541,6 +4553,24 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== +"@types/linkify-it@*": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" + integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA== + +"@types/markdown-it@^12.2.3": + version "12.2.3" + resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-12.2.3.tgz#0d6f6e5e413f8daaa26522904597be3d6cd93b51" + integrity sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ== + dependencies: + "@types/linkify-it" "*" + "@types/mdurl" "*" + +"@types/mdurl@*": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@types/mdurl/-/mdurl-1.0.2.tgz#e2ce9d83a613bacf284c7be7d491945e39e1f8e9" + integrity sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA== + "@types/mime@^1": version "1.3.2" resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" @@ -6525,6 +6555,13 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== +catharsis@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.9.0.tgz#40382a168be0e6da308c277d3a2b3eb40c7d2121" + integrity sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A== + dependencies: + lodash "^4.17.15" + chai@^4.3.7: version "4.3.7" resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.7.tgz#ec63f6df01829088e8bf55fca839bcd464a8ec51" @@ -8053,6 +8090,11 @@ entities@^3.0.1: resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4" integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q== +entities@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5" + integrity sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w== + env-ci@^5.0.0: version "5.5.0" resolved "https://registry.yarnpkg.com/env-ci/-/env-ci-5.5.0.tgz#43364e3554d261a586dec707bc32be81112b545f" @@ -9656,6 +9698,11 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== +graceful-fs@^4.1.9: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + handle-thing@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" @@ -11143,11 +11190,39 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +js2xmlparser@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-4.0.2.tgz#2a1fdf01e90585ef2ae872a01bc169c6a8d5e60a" + integrity sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA== + dependencies: + xmlcreate "^2.0.4" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== +jsdoc@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/jsdoc/-/jsdoc-4.0.2.tgz#a1273beba964cf433ddf7a70c23fd02c3c60296e" + integrity sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg== + dependencies: + "@babel/parser" "^7.20.15" + "@jsdoc/salty" "^0.2.1" + "@types/markdown-it" "^12.2.3" + bluebird "^3.7.2" + catharsis "^0.9.0" + escape-string-regexp "^2.0.0" + js2xmlparser "^4.0.2" + klaw "^3.0.0" + markdown-it "^12.3.2" + markdown-it-anchor "^8.4.1" + marked "^4.0.10" + mkdirp "^1.0.4" + requizzle "^0.2.3" + strip-json-comments "^3.1.0" + underscore "~1.13.2" + jsdom@^16.6.0: version "16.7.0" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" @@ -11347,6 +11422,13 @@ kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +klaw@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/klaw/-/klaw-3.0.0.tgz#b11bec9cf2492f06756d6e809ab73a2910259146" + integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g== + dependencies: + graceful-fs "^4.1.9" + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" @@ -11562,6 +11644,13 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +linkify-it@^3.0.1: + version "3.0.3" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-3.0.3.tgz#a98baf44ce45a550efb4d49c769d07524cc2fa2e" + integrity sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ== + dependencies: + uc.micro "^1.0.1" + listr2@^3.8.3: version "3.14.0" resolved "https://registry.yarnpkg.com/listr2/-/listr2-3.14.0.tgz#23101cc62e1375fd5836b248276d1d2b51fdbe9e" @@ -11909,6 +11998,22 @@ map-obj@^4.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== +markdown-it-anchor@^8.4.1: + version "8.6.7" + resolved "https://registry.yarnpkg.com/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz#ee6926daf3ad1ed5e4e3968b1740eef1c6399634" + integrity sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA== + +markdown-it@^12.3.2: + version "12.3.2" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-12.3.2.tgz#bf92ac92283fe983fe4de8ff8abfb5ad72cd0c90" + integrity sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg== + dependencies: + argparse "^2.0.1" + entities "~2.1.0" + linkify-it "^3.0.1" + mdurl "^1.0.1" + uc.micro "^1.0.5" + marked-terminal@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/marked-terminal/-/marked-terminal-5.1.1.tgz#d2edc2991841d893ee943b44b40b2ee9518b4d9f" @@ -11940,6 +12045,11 @@ mdn-data@2.0.14: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== +mdurl@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" + integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g== + media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" @@ -14662,6 +14772,13 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== +requizzle@^0.2.3: + version "0.2.4" + resolved "https://registry.yarnpkg.com/requizzle/-/requizzle-0.2.4.tgz#319eb658b28c370f0c20f968fa8ceab98c13d27c" + integrity sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw== + dependencies: + lodash "^4.17.21" + resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -16326,6 +16443,11 @@ u3@^0.1.1: resolved "https://registry.yarnpkg.com/u3/-/u3-0.1.1.tgz#5f52044f42ee76cd8de33148829e14528494b73b" integrity sha512-+J5D5ir763y+Am/QY6hXNRlwljIeRMZMGs0cT6qqZVVzzT3X3nFPXVyPOFRMOR4kupB0T8JnCdpWdp6Q/iXn3w== +uc.micro@^1.0.1, uc.micro@^1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" + integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== + uglify-js@^3.1.4: version "3.16.2" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.16.2.tgz#0481e1dbeed343ad1c2ddf3c6d42e89b7a6d4def" @@ -16355,6 +16477,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +underscore@~1.13.2: + version "1.13.6" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.6.tgz#04786a1f589dc6c09f761fc5f45b89e935136441" + integrity sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -17038,6 +17165,11 @@ xmlchars@^2.2.0: resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== +xmlcreate@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.4.tgz#0c5ab0f99cdd02a81065fa9cd8f8ae87624889be" + integrity sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg== + xtend@^4.0.2, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" From 43e8096715f14f781c2611a3d99f6f40aef9c114 Mon Sep 17 00:00:00 2001 From: Kujtim Prenku Date: Wed, 26 Apr 2023 10:50:09 +0200 Subject: [PATCH 2/4] Bumped @here-wallet/core to v1.4.3 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7bd508969..1f553dfeb 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "@angular/platform-browser": "~14.0.0", "@angular/platform-browser-dynamic": "~14.0.0", "@angular/router": "~14.0.0", - "@here-wallet/core": "^1.4.0", + "@here-wallet/core": "^1.4.3", "@jscutlery/semver": "^2.30.1", "@ledgerhq/hw-transport": "6.27.1", "@ledgerhq/hw-transport-webhid": "6.27.1", diff --git a/yarn.lock b/yarn.lock index e7f7ff083..82b5f2481 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2252,10 +2252,10 @@ resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@here-wallet/core@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@here-wallet/core/-/core-1.4.0.tgz#e1c1347f387dd518723cd3c43504fb679efbf016" - integrity sha512-+dMfir1RZQGzSOLtABa25T+WhmXTXce0AV+a+cfOQ5iLW45UrtXF5DXfHdWyWFDoRNt3rUYgyfOTQGeWTffQjw== +"@here-wallet/core@^1.4.3": + version "1.4.3" + resolved "https://registry.yarnpkg.com/@here-wallet/core/-/core-1.4.3.tgz#371fcc2fe4140dd3e93106f367fb6715e487c431" + integrity sha512-HtiAd1gMKxFzbnSualrzAw9CuoGWdY9z8aCY5fkpst+z7Fa5yVvBIg+f/6BWn2PFdxIWEnKk8V051FHEX/iYxA== dependencies: sha1 "^1.1.1" uuid4 "2.0.3" From 1094a6f33c5a9caa155a47771a28942d00807003 Mon Sep 17 00:00:00 2001 From: amirsaran3 Date: Wed, 26 Apr 2023 12:14:07 +0200 Subject: [PATCH 3/4] Added relayerUrl jsdoc description --- packages/core/src/lib/options.types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/lib/options.types.ts b/packages/core/src/lib/options.types.ts index 151bba28c..864d7d86f 100644 --- a/packages/core/src/lib/options.types.ts +++ b/packages/core/src/lib/options.types.ts @@ -46,5 +46,8 @@ export interface Options { * Weather wallet order randomization is enabled. */ randomizeWalletOrder: boolean; + /** + * The URL where DelegateActions are sent by meta transaction enabled wallet modules. + */ relayerUrl: string | undefined; } From eca5bd6c200a9877602293f00ad0c464ae646def Mon Sep 17 00:00:00 2001 From: Kujtim Prenku Date: Wed, 26 Apr 2023 12:34:18 +0200 Subject: [PATCH 4/4] Bumped version to v8.0.2 --- package.json | 2 +- packages/account-export/package.json | 2 +- packages/coin98-wallet/package.json | 2 +- packages/core/package.json | 2 +- packages/default-wallets/package.json | 2 +- packages/finer-wallet/package.json | 2 +- packages/here-wallet/package.json | 2 +- packages/ledger/package.json | 2 +- packages/math-wallet/package.json | 2 +- packages/meteor-wallet/package.json | 2 +- packages/modal-ui-js/package.json | 2 +- packages/modal-ui/package.json | 2 +- packages/my-near-wallet/package.json | 2 +- packages/narwallets/package.json | 2 +- packages/near-snap/package.json | 2 +- packages/near-wallet/package.json | 2 +- packages/nearfi/package.json | 2 +- packages/neth/package.json | 2 +- packages/nightly-connect/package.json | 2 +- packages/nightly/package.json | 2 +- packages/opto-wallet/package.json | 2 +- packages/sender/package.json | 2 +- packages/wallet-connect/package.json | 2 +- packages/wallet-utils/package.json | 2 +- packages/welldone-wallet/package.json | 2 +- packages/xdefi/package.json | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 9d8e86dd0..d2f0bf410 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "near-wallet-selector", - "version": "8.0.1", + "version": "8.0.2", "description": "NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem", "keywords": [ "near", diff --git a/packages/account-export/package.json b/packages/account-export/package.json index fa0210a80..9fd99dc93 100644 --- a/packages/account-export/package.json +++ b/packages/account-export/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/account-export", - "version": "8.0.1", + "version": "8.0.2", "description": "This is the Export Selector UI package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/coin98-wallet/package.json b/packages/coin98-wallet/package.json index 3cd9a0589..4716da5bd 100644 --- a/packages/coin98-wallet/package.json +++ b/packages/coin98-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/coin98-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Coin 98 wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/core/package.json b/packages/core/package.json index 00809b7f8..3da523a7f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/core", - "version": "8.0.1", + "version": "8.0.2", "description": "This is the core package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/default-wallets/package.json b/packages/default-wallets/package.json index 98c89e037..422e952ff 100644 --- a/packages/default-wallets/package.json +++ b/packages/default-wallets/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/default-wallets", - "version": "8.0.1", + "version": "8.0.2", "description": "Default wallets package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/finer-wallet/package.json b/packages/finer-wallet/package.json index d4a9dead2..54ec0fe08 100644 --- a/packages/finer-wallet/package.json +++ b/packages/finer-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/finer-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "FiNER Wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/here-wallet/package.json b/packages/here-wallet/package.json index 7d883da90..31d241f41 100644 --- a/packages/here-wallet/package.json +++ b/packages/here-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/here-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Here wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 70e8a8526..96814eb70 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/ledger", - "version": "8.0.1", + "version": "8.0.2", "description": "Ledger package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/math-wallet/package.json b/packages/math-wallet/package.json index 53d612415..890f3856d 100644 --- a/packages/math-wallet/package.json +++ b/packages/math-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/math-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Math wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/meteor-wallet/package.json b/packages/meteor-wallet/package.json index 161d0eb3f..b33b2d7bc 100644 --- a/packages/meteor-wallet/package.json +++ b/packages/meteor-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/meteor-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Meteor wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/modal-ui-js/package.json b/packages/modal-ui-js/package.json index 1857c7c3f..2c66c0822 100644 --- a/packages/modal-ui-js/package.json +++ b/packages/modal-ui-js/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/modal-ui-js", - "version": "8.0.1", + "version": "8.0.2", "description": "Modal UI package for NEAR wallet Selector", "keywords": [ "near", diff --git a/packages/modal-ui/package.json b/packages/modal-ui/package.json index 05f7fef20..5eefa3ed4 100644 --- a/packages/modal-ui/package.json +++ b/packages/modal-ui/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/modal-ui", - "version": "8.0.1", + "version": "8.0.2", "description": "Modal UI package for NEAR wallet Selector", "keywords": [ "near", diff --git a/packages/my-near-wallet/package.json b/packages/my-near-wallet/package.json index 83548fb88..870a56735 100644 --- a/packages/my-near-wallet/package.json +++ b/packages/my-near-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/my-near-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "My Near Wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/narwallets/package.json b/packages/narwallets/package.json index de3c714e6..fb40601d7 100644 --- a/packages/narwallets/package.json +++ b/packages/narwallets/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/narwallets", - "version": "8.0.1", + "version": "8.0.2", "description": "This is the Narwallets package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/near-snap/package.json b/packages/near-snap/package.json index 4c71f3051..3d3e56ecd 100644 --- a/packages/near-snap/package.json +++ b/packages/near-snap/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/near-snap", - "version": "8.0.1", + "version": "8.0.2", "description": "Metamask snap to interact with Near dapps.", "keywords": [ "near", diff --git a/packages/near-wallet/package.json b/packages/near-wallet/package.json index 3ec5a32f4..1c88f3a4a 100644 --- a/packages/near-wallet/package.json +++ b/packages/near-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/near-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Near Wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/nearfi/package.json b/packages/nearfi/package.json index 9b8a8a178..2351e423e 100644 --- a/packages/nearfi/package.json +++ b/packages/nearfi/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/nearfi", - "version": "8.0.1", + "version": "8.0.2", "description": "Nearfi package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/neth/package.json b/packages/neth/package.json index ba24f4075..0e6a217ab 100644 --- a/packages/neth/package.json +++ b/packages/neth/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/neth", - "version": "8.0.1", + "version": "8.0.2", "description": "Control NEAR accounts with ETH accounts", "author": "mattlockyer", "keywords": [ diff --git a/packages/nightly-connect/package.json b/packages/nightly-connect/package.json index afce7e23c..92ebb29c8 100644 --- a/packages/nightly-connect/package.json +++ b/packages/nightly-connect/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/nightly-connect", - "version": "8.0.1", + "version": "8.0.2", "description": "Nightly connect package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/nightly/package.json b/packages/nightly/package.json index 58d334fae..1c80ec290 100644 --- a/packages/nightly/package.json +++ b/packages/nightly/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/nightly", - "version": "8.0.1", + "version": "8.0.2", "description": "Nightly wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/opto-wallet/package.json b/packages/opto-wallet/package.json index 86db500f2..c113665b6 100644 --- a/packages/opto-wallet/package.json +++ b/packages/opto-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/opto-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Opto wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/sender/package.json b/packages/sender/package.json index fec0458bb..771c2318f 100644 --- a/packages/sender/package.json +++ b/packages/sender/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/sender", - "version": "8.0.1", + "version": "8.0.2", "description": "Sender wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/wallet-connect/package.json b/packages/wallet-connect/package.json index 8357c6191..058a332ce 100644 --- a/packages/wallet-connect/package.json +++ b/packages/wallet-connect/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/wallet-connect", - "version": "8.0.1", + "version": "8.0.2", "description": "Wallet Connect package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/wallet-utils/package.json b/packages/wallet-utils/package.json index b6ea99f40..ab2022a12 100644 --- a/packages/wallet-utils/package.json +++ b/packages/wallet-utils/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/wallet-utils", - "version": "8.0.1", + "version": "8.0.2", "description": "Wallet utils package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/welldone-wallet/package.json b/packages/welldone-wallet/package.json index daa4b391c..98904e8af 100644 --- a/packages/welldone-wallet/package.json +++ b/packages/welldone-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/welldone-wallet", - "version": "8.0.1", + "version": "8.0.2", "description": "Welldone wallet package for NEAR Wallet Selector.", "keywords": [ "near", diff --git a/packages/xdefi/package.json b/packages/xdefi/package.json index c1c6ce8c0..77da4ef8c 100644 --- a/packages/xdefi/package.json +++ b/packages/xdefi/package.json @@ -1,6 +1,6 @@ { "name": "@near-wallet-selector/xdefi", - "version": "8.0.1", + "version": "8.0.2", "description": "This is the XDEFI package for NEAR Wallet Selector.", "keywords": [ "near",