diff --git a/.env b/.env index 6bb83c6..039ee54 100644 --- a/.env +++ b/.env @@ -5,6 +5,7 @@ NEXT_PUBLIC_META_ICON=https://cdn.facings.io/FACINGS_Logo_mask_negative.png NEXT_PUBLIC_APP_URL=https://creator.facings.io NEXT_PUBLIC_CHAIN_KEY_DEFAULT=eos +NEXT_PUBLIC_REQUEST_ACCOUNT=taskly #IPFS NEXT_PUBLIC_IPFS_ENDPOINT=https://facings.mypinata.cloud/ipfs @@ -37,3 +38,17 @@ NEXT_PUBLIC_EOS_JUNGLE4_CHAIN_ID=73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146 NEXT_PUBLIC_EOS_JUNGLE4_PROTOCOL=https NEXT_PUBLIC_EOS_JUNGLE4_HOST=jungle4.cryptolions.io NEXT_PUBLIC_EOS_JUNGLE4_PORT=443 + +#Proton CHAIN +NEXT_PUBLIC_PROTON_MAINNET_AA_ENDPOINT=https://aa-xprnetwork-main.saltant.io +NEXT_PUBLIC_PROTON_MAINNET_CHAIN_ID=384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0 +NEXT_PUBLIC_PROTON_MAINNET_PROTOCOL=https +NEXT_PUBLIC_PROTON_MAINNET_HOST=metal-proton-rpc.global.binfra.one +NEXT_PUBLIC_PROTON_MAINNET_PORT=443 + +#PROTON TESTNET CHAIN +NEXT_PUBLIC_PROTON_TESTNET_AA_ENDPOINT=https://aa-xprnetwork-test.saltant.io +NEXT_PUBLIC_PROTON_TESTNET_CHAIN_ID=71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd +NEXT_PUBLIC_PROTON_TESTNET_PROTOCOL=https +NEXT_PUBLIC_PROTON_TESTNET_HOST=metal-protontest-rpc.global.binfra.one +NEXT_PUBLIC_PROTON_TESTNET_PORT=443 diff --git a/next.config.js b/next.config.js index b69c6f4..69a7e75 100644 --- a/next.config.js +++ b/next.config.js @@ -7,11 +7,13 @@ const nextConfig = { distDir: '.next', images: { domains: [ + 'proton.bloks.io', 'wax.bloks.io', 'bloks.io', 'facings.mypinata.cloud', 'robohash.org', 'ipfs.ledgerwise.io', + 'proton.mypinata.cloud', ], }, }; diff --git a/package.json b/package.json index e5452f1..64cafc6 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,14 @@ "@headlessui/react": "^1.7.4", "@headlessui/tailwindcss": "^0.1.1", "@hookform/resolvers": "^2.9.10", + "@proton/ual-webauth": "^0.1.18", "@types/react-beautiful-dnd": "^13.1.3", "@waxio/waxjs": "^1.1.0", "axios": "^1.1.3", "eosjs": "^22.1.0", "framer-motion": "^9.0.3", "is-ipfs": "^7.0.3", - "next": "13.0.3", + "next": "13.2.3", "phosphor-react": "^1.4.1", "react": "18.2.0", "react-beautiful-dnd": "^13.1.1", diff --git a/src/components/TopAppBar/components/Chain.tsx b/src/components/TopAppBar/components/Chain.tsx index 1daa23e..c5bff21 100644 --- a/src/components/TopAppBar/components/Chain.tsx +++ b/src/components/TopAppBar/components/Chain.tsx @@ -4,7 +4,7 @@ import { withUAL } from 'ual-reactjs-renderer'; import { Menu } from '@headlessui/react'; import { CaretDown } from 'phosphor-react'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { ChainLink } from './ChainLink'; diff --git a/src/components/TopAppBar/components/Login.tsx b/src/components/TopAppBar/components/Login.tsx index 5de4ea5..b9043cd 100644 --- a/src/components/TopAppBar/components/Login.tsx +++ b/src/components/TopAppBar/components/Login.tsx @@ -7,7 +7,7 @@ import { CaretDown } from 'phosphor-react'; import { getAccount } from '@services/account/getAccount'; import { getChainKeyByChainId } from '@utils/getChainKeyByChainId'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; interface LoginComponentProps { chainKey: string; diff --git a/src/components/collection/CollectionAssetsList.tsx b/src/components/collection/CollectionAssetsList.tsx index 4429b03..4c82be1 100644 --- a/src/components/collection/CollectionAssetsList.tsx +++ b/src/components/collection/CollectionAssetsList.tsx @@ -105,7 +105,13 @@ export function CollectionAssetsList({ id={asset.template && asset.template.template_id} href={`/${chainKey}/collection/${collectionName}/asset/${asset.asset_id}`} image={ - asset.data.img ? `${ipfsEndpoint}/${asset.data.img}` : '' + asset.data.img + ? `${ipfsEndpoint}/${asset.data.img}` + : asset.data.image + ? `${ipfsEndpoint}/${asset.data.image}` + : asset.data.glbthumb + ? `${ipfsEndpoint}/${asset.data.glbthumb}` + : '' } video={ asset.data.video @@ -159,7 +165,13 @@ export function CollectionAssetsList({ id={asset.template && asset.template.template_id} href={`/${chainKey}/collection/${collectionName}/asset/${asset.asset_id}`} image={ - asset.data.img ? `${ipfsEndpoint}/${asset.data.img}` : '' + asset.data.img + ? `${ipfsEndpoint}/${asset.data.img}` + : asset.data.image + ? `${ipfsEndpoint}/${asset.data.image}` + : asset.data.glbthumb + ? `${ipfsEndpoint}/${asset.data.glbthumb}` + : '' } video={ asset.data.video diff --git a/src/components/collection/CollectionTemplatesList.tsx b/src/components/collection/CollectionTemplatesList.tsx index e1254ee..61fa49f 100644 --- a/src/components/collection/CollectionTemplatesList.tsx +++ b/src/components/collection/CollectionTemplatesList.tsx @@ -76,8 +76,14 @@ export function CollectionTemplatesList({ id={template.template_id} href={`/${chainKey}/collection/${collectionName}/template/${template.template_id}`} image={ - template.immutable_data.img - ? `${ipfsEndpoint}/${template.immutable_data.img}` + template.immutable_data.img || + template.immutable_data.image || + template.immutable_data.glbthumb + ? `${ipfsEndpoint}/${ + template.immutable_data.img || + template.immutable_data.image || + template.immutable_data.glbthumb + }` : '' } video={ diff --git a/src/configs/chainsConfig.ts b/src/configs/chainsConfig.ts index 7939e93..d23a5c5 100644 --- a/src/configs/chainsConfig.ts +++ b/src/configs/chainsConfig.ts @@ -1,7 +1,8 @@ import { Anchor } from 'ual-anchor'; import { Wax } from '@eosdacio/ual-wax'; +import { WebAuth } from '@proton/ual-webauth'; -module.exports = { +export default { eos: { name: 'EOS', imageUrl: 'https://bloks.io/img/chains/eos.png', @@ -12,7 +13,6 @@ module.exports = { host: process.env.NEXT_PUBLIC_EOS_MAINNET_HOST, port: process.env.NEXT_PUBLIC_EOS_MAINNET_PORT, }, - wax: { name: 'WAX', imageUrl: 'https://wax.bloks.io/img/chains/wax.png', @@ -23,7 +23,6 @@ module.exports = { host: process.env.NEXT_PUBLIC_WAX_MAINNET_HOST, port: process.env.NEXT_PUBLIC_WAX_MAINNET_PORT, }, - 'wax-test': { name: 'WAX (Testnet)', imageUrl: 'https://wax.bloks.io/img/chains/wax.png', @@ -34,7 +33,6 @@ module.exports = { host: process.env.NEXT_PUBLIC_WAX_TESTNET_HOST, port: process.env.NEXT_PUBLIC_WAX_TESTNET_PORT, }, - jungle4: { name: 'Jungle4 (EOS Testnet)', imageUrl: 'https://bloks.io/img/chains/jungle.png', @@ -45,4 +43,24 @@ module.exports = { host: process.env.NEXT_PUBLIC_EOS_JUNGLE4_HOST, port: process.env.NEXT_PUBLIC_EOS_JUNGLE4_PORT, }, + proton: { + name: 'Proton', + imageUrl: 'https://proton.bloks.io/img/chains/proton.png', + authenticators: [WebAuth, Anchor], + aaEndpoint: process.env.NEXT_PUBLIC_PROTON_MAINNET_AA_ENDPOINT, + chainId: process.env.NEXT_PUBLIC_PROTON_MAINNET_CHAIN_ID, + protocol: process.env.NEXT_PUBLIC_PROTON_MAINNET_PROTOCOL, + host: process.env.NEXT_PUBLIC_PROTON_MAINNET_HOST, + port: process.env.NEXT_PUBLIC_PROTON_MAINNET_PORT, + }, + 'proton-test': { + name: 'Proton (Testnet)', + imageUrl: 'https://proton.bloks.io/img/chains/proton.png', + authenticators: [WebAuth, Anchor], + aaEndpoint: process.env.NEXT_PUBLIC_PROTON_TESTNET_AA_ENDPOINT, + chainId: process.env.NEXT_PUBLIC_PROTON_TESTNET_CHAIN_ID, + protocol: process.env.NEXT_PUBLIC_PROTON_TESTNET_PROTOCOL, + host: process.env.NEXT_PUBLIC_PROTON_TESTNET_HOST, + port: process.env.NEXT_PUBLIC_PROTON_TESTNET_PORT, + } }; diff --git a/src/configs/globalsConfig.ts b/src/configs/globalsConfig.ts index 15d1965..d454009 100644 --- a/src/configs/globalsConfig.ts +++ b/src/configs/globalsConfig.ts @@ -6,3 +6,5 @@ export const appDescription = process.env.NEXT_PUBLIC_APP_DESCRIPTION; export const chainKeyDefault = process.env.NEXT_PUBLIC_CHAIN_KEY_DEFAULT; export const metaIcon = process.env.NEXT_PUBLIC_META_ICON; export const appUrl = process.env.NEXT_PUBLIC_APP_URL; +export const requestAccount = process.env.NEXT_PUBLIC_REQUEST_ACCOUNT; + diff --git a/src/libs/authenticators.ts b/src/libs/authenticators.ts index ac17007..166a9e8 100644 --- a/src/libs/authenticators.ts +++ b/src/libs/authenticators.ts @@ -1,5 +1,5 @@ -import { appName } from '@configs/globalsConfig'; -import * as chainsConfig from '@configs/chainsConfig'; +import { appName, requestAccount } from '@configs/globalsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { blockchains } from '@utils/blockchains'; export const authenticators = Object.keys(chainsConfig).reduce( @@ -16,6 +16,12 @@ export const authenticators = Object.keys(chainsConfig).reduce( new Authenticator([blockchain], { appName, disableGreymassFuel: true, + transportOptions: { + requestAccount + }, + selectorOptions: { + appName + } }) ), }; diff --git a/src/pages/[chainKey]/collection/[collectionName]/template/[templateId].tsx b/src/pages/[chainKey]/collection/[collectionName]/template/[templateId].tsx index a38de12..b43b1f5 100644 --- a/src/pages/[chainKey]/collection/[collectionName]/template/[templateId].tsx +++ b/src/pages/[chainKey]/collection/[collectionName]/template/[templateId].tsx @@ -44,6 +44,7 @@ interface TemplateViewProps { collection: CollectionProps; } +<<<<<<< HEAD function Template({ ual, chainKey, @@ -52,6 +53,14 @@ function Template({ schemas, templates, }: TemplateViewProps) { +======= +function Template({ ual, chainKey, template }: TemplateViewProps) { + const image = + template.immutable_data.img || + template.immutable_data.image || + template.immutable_data.glbthumb; + const video = template.immutable_data.video; +>>>>>>> db625b6 (fix missing thumbnails on collection list, transfer pages) const collection = template.collection; const [images, setImages] = useState([]); diff --git a/src/pages/[chainKey]/explorer.tsx b/src/pages/[chainKey]/explorer.tsx index 6643776..6bcd6ac 100644 --- a/src/pages/[chainKey]/explorer.tsx +++ b/src/pages/[chainKey]/explorer.tsx @@ -5,7 +5,7 @@ import { CollectionItemsList } from '@components/collection/CollectionItemsList' import { listCollectionsService } from '@services/collection/listCollectionsService'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { appName } from '@configs/globalsConfig'; import { CollectionProps } from '@services/collection/listCollectionsService'; diff --git a/src/pages/[chainKey]/transfer.tsx b/src/pages/[chainKey]/transfer.tsx index 642eeb2..27da39f 100644 --- a/src/pages/[chainKey]/transfer.tsx +++ b/src/pages/[chainKey]/transfer.tsx @@ -19,7 +19,7 @@ import { CardContainer } from '@components/CardContainer'; import { SeeMoreButton } from '@components/SeeMoreButton'; import { Header } from '@components/Header'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { ipfsEndpoint, chainKeyDefault, appName } from '@configs/globalsConfig'; import { transferAssetService } from '@services/asset/transferAssetService'; @@ -355,8 +355,8 @@ function Transfer({ ual }) { id={asset.template_mint} onClick={() => handleAssetSelection(asset)} image={ - asset.data['img'] - ? `${ipfsEndpoint}/${asset.data['img']}` + asset.data['img'] || asset.data['image'] + ? `${ipfsEndpoint}/${asset.data['img'] || asset.data['image']}` : '' } video={ @@ -444,8 +444,8 @@ function Transfer({ ual }) { id={asset.template_mint} onClick={() => handleAssetSelection(asset)} image={ - asset.data.img - ? `${ipfsEndpoint}/${asset.data.img}` + asset.data.image + ? `${ipfsEndpoint}/${asset.data.image}` : '' } video={ diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index ba690f1..8373cc3 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -13,7 +13,7 @@ import { authenticators } from '@libs/authenticators'; import { blockchains } from '@utils/blockchains'; import '@utils/yupMethods'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import '@styles/globals.css'; diff --git a/src/services/account/getAccount.ts b/src/services/account/getAccount.ts index bcfd740..8bf1c24 100644 --- a/src/services/account/getAccount.ts +++ b/src/services/account/getAccount.ts @@ -1,5 +1,5 @@ import { JsonRpc } from 'eosjs'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; interface AccountNameProps { accountName: string; diff --git a/src/services/account/getAccountStatsService.ts b/src/services/account/getAccountStatsService.ts index d65dd9d..1ca4369 100644 --- a/src/services/account/getAccountStatsService.ts +++ b/src/services/account/getAccountStatsService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface AccountStatsProps { diff --git a/src/services/asset/getAssetService.ts b/src/services/asset/getAssetService.ts index 5848203..70c509c 100644 --- a/src/services/asset/getAssetService.ts +++ b/src/services/asset/getAssetService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface AssetProps { diff --git a/src/services/collection/collectionAccountsService.ts b/src/services/collection/collectionAccountsService.ts index b1757b3..5f92c33 100644 --- a/src/services/collection/collectionAccountsService.ts +++ b/src/services/collection/collectionAccountsService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface AccountProps { diff --git a/src/services/collection/collectionAssetsService.ts b/src/services/collection/collectionAssetsService.ts index 97ee068..510ea46 100644 --- a/src/services/collection/collectionAssetsService.ts +++ b/src/services/collection/collectionAssetsService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface AssetProps { diff --git a/src/services/collection/collectionSchemasService.ts b/src/services/collection/collectionSchemasService.ts index 8123d4c..5ea8a66 100644 --- a/src/services/collection/collectionSchemasService.ts +++ b/src/services/collection/collectionSchemasService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface SchemaProps { diff --git a/src/services/collection/collectionStatsService.ts b/src/services/collection/collectionStatsService.ts index c87650e..10e0519 100644 --- a/src/services/collection/collectionStatsService.ts +++ b/src/services/collection/collectionStatsService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface StatsProps { diff --git a/src/services/collection/collectionTemplatesService.ts b/src/services/collection/collectionTemplatesService.ts index 4618be2..28c1b83 100644 --- a/src/services/collection/collectionTemplatesService.ts +++ b/src/services/collection/collectionTemplatesService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface TemplateProps { diff --git a/src/services/collection/getCollectionService.ts b/src/services/collection/getCollectionService.ts index 5219457..189848c 100644 --- a/src/services/collection/getCollectionService.ts +++ b/src/services/collection/getCollectionService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface CollectionProps { diff --git a/src/services/collection/listCollectionsService.ts b/src/services/collection/listCollectionsService.ts index e46a933..97b6a6d 100644 --- a/src/services/collection/listCollectionsService.ts +++ b/src/services/collection/listCollectionsService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; interface OptionsProps { diff --git a/src/services/inventory/getInventoryService.ts b/src/services/inventory/getInventoryService.ts index b0f8747..1829994 100644 --- a/src/services/inventory/getInventoryService.ts +++ b/src/services/inventory/getInventoryService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface AssetProps { diff --git a/src/services/schema/getSchemaService.ts b/src/services/schema/getSchemaService.ts index 68728d1..8a1b738 100644 --- a/src/services/schema/getSchemaService.ts +++ b/src/services/schema/getSchemaService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface SchemaProps { diff --git a/src/services/template/getTemplateService.ts b/src/services/template/getTemplateService.ts index a949369..64a8ba4 100644 --- a/src/services/template/getTemplateService.ts +++ b/src/services/template/getTemplateService.ts @@ -1,5 +1,5 @@ import { api } from '@libs/api'; -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; import { AxiosResponse } from 'axios'; export interface TemplateProps { diff --git a/src/utils/blockchains.ts b/src/utils/blockchains.ts index 5caf69f..b88f3fa 100644 --- a/src/utils/blockchains.ts +++ b/src/utils/blockchains.ts @@ -1,4 +1,4 @@ -import * as chains from '@configs/chainsConfig'; +import chains from '@configs/chainsConfig'; interface BlockchainsProps { chainId: string; diff --git a/src/utils/getChainKeyByChainId.ts b/src/utils/getChainKeyByChainId.ts index 868363a..fd92ce4 100644 --- a/src/utils/getChainKeyByChainId.ts +++ b/src/utils/getChainKeyByChainId.ts @@ -1,4 +1,4 @@ -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; export function getChainKeyByChainId(chainId: string) { const chainsKeys = Object.keys(chainsConfig); diff --git a/src/utils/isValidChainKey.ts b/src/utils/isValidChainKey.ts index af40ff8..d955f0d 100644 --- a/src/utils/isValidChainKey.ts +++ b/src/utils/isValidChainKey.ts @@ -1,4 +1,4 @@ -import * as chainsConfig from '@configs/chainsConfig'; +import chainsConfig from '@configs/chainsConfig'; export function isValidChainKey(chainKey: string) { const chainsKeys = Object.keys(chainsConfig); diff --git a/yarn.lock b/yarn.lock index f52ccd6..64439e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -139,6 +139,11 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" +"@bloks/constants@26.4.0": + version "26.4.0" + resolved "https://registry.yarnpkg.com/@bloks/constants/-/constants-26.4.0.tgz#5d4eaa0a31a76b31cfb976304441a60dd408174c" + integrity sha512-+ExG+kfY/KPNF6wQ6eMJ+3R4iH6k4wjNgHC2fmbdn4SNTP7C07ihSy+SAyLhb2vfJaRAchnsNAVF87TKWgVdHw== + "@chainsafe/is-ip@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@chainsafe/is-ip/-/is-ip-2.0.1.tgz#62cb285669d91f88fd9fa285048dde3882f0993b" @@ -196,6 +201,17 @@ hash.js "^1.0.0" tslib "^2.0.3" +"@greymass/eosio@^0.6.1": + version "0.6.9" + resolved "https://registry.yarnpkg.com/@greymass/eosio/-/eosio-0.6.9.tgz#e5475dfb6f1507da6ec2f9f0065e19684e8d4b70" + integrity sha512-Xd6X3sesStFQiw3+6+8tD1IauW3WX25GQnHa/zhUqIE1cB23bjzLqn89JDTcyQYKJ4R24L1rERqko/u6p7RizA== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + elliptic "^6.5.4" + hash.js "^1.0.0" + tslib "^2.0.3" + "@greymass/miniaes@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@greymass/miniaes/-/miniaes-1.0.0.tgz#2337a4637edbb49289f3c977c5891bb6bef1ba75" @@ -241,6 +257,11 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@jafri/asmcrypto.js@^2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@jafri/asmcrypto.js/-/asmcrypto.js-2.3.2.tgz#dc308c911c0edd5206320950004c748ee7811e75" + integrity sha512-Caqwb82nHBmxm9ZbINc31fMGx60+ZLc+fUn1L3UiypgBGXs1R1nbuZnIfZH3j4o3aGy4jrs4bWRRFWuOxiIUnQ== + "@jridgewell/gen-mapping@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" @@ -443,6 +464,80 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@proton/browser-transport@^4.2.12": + version "4.2.12" + resolved "https://registry.yarnpkg.com/@proton/browser-transport/-/browser-transport-4.2.12.tgz#5f49b322c3d4939f6010c65547b98e1049cfd5c9" + integrity sha512-4V7yqRdjvCBg0WtKKWi4XeRDQ0puPfPfyDoGe84YVfT7n41H6uGW4UPaz9ZdREzsuonvn/zYb12hkfu3PCY1wA== + dependencies: + "@proton/link" "^4.2.7" + +"@proton/js@^26.1.36", "@proton/js@^26.1.54": + version "26.4.0" + resolved "https://registry.yarnpkg.com/@proton/js/-/js-26.4.0.tgz#82a707f02859b966c4cf5f0a9b86c52b500726aa" + integrity sha512-U2csucyTq4JZJ1/aIeGRfUX3yDlVq5Sz8uMC/wWY7ct/P0RJ2e39uISd2H+0bNcAz6/IkmguMur0o+hBj24vcg== + dependencies: + "@bloks/constants" "26.4.0" + abortcontroller-polyfill "^1.7.3" + base64url "^3.0.1" + bn.js "^5.2.1" + cross-fetch "^3.1.4" + elliptic "^6.5.4" + event-target-shim "^6.0.2" + fast-text-encoding "^1.0.3" + hash.js "1.1.7" + pako "2.0.3" + ripemd-ts "0.0.2" + +"@proton/link@^4.2.7": + version "4.2.7" + resolved "https://registry.yarnpkg.com/@proton/link/-/link-4.2.7.tgz#767ecd4407cb301a595955b93f67e2745332f9a8" + integrity sha512-NOGEuNvQPMGuklglRxjUISAJNlWoetHBifBl6BpTyn9b2KgRK2YJtcoFg58T7+LWDaA+Nm3Pur07Dt+0Bpl6Bw== + dependencies: + "@greymass/eosio" "^0.6.1" + "@jafri/asmcrypto.js" "^2.3.2" + "@proton/js" "^26.1.36" + "@proton/signing-request" "^4.2.7" + bson "^4.6.0" + fetch-ponyfill "^7.1.0" + isomorphic-ws "^4.0.1" + pako "^2.0.3" + uuid "^8.3.2" + ws "^7.4.3" + +"@proton/signing-request@^4.2.7": + version "4.2.7" + resolved "https://registry.yarnpkg.com/@proton/signing-request/-/signing-request-4.2.7.tgz#c56bfa1e0a1e9532d73b8d41d41e79f8027fc590" + integrity sha512-ozx8DrRTJ1QGPLGe7LOcA26uPIqR1srFRK5fwLjze+tSWHGV+JaRs3nPGEwMVmQKSDwO879PkVg7clwNh6mirA== + dependencies: + "@greymass/eosio" "^0.6.1" + +"@proton/ual-webauth@^0.1.18": + version "0.1.18" + resolved "https://registry.yarnpkg.com/@proton/ual-webauth/-/ual-webauth-0.1.18.tgz#23ec9ff165b80420ca2a365c9049a0b4e2aada30" + integrity sha512-JgGj41TG9P4RaCMf9PrbX2npsEQnkQWgRm3gJjmKl0rYIoSFNWmsFIcRFvqC5fIgIh97fLGqwfQT318c4VWmWg== + dependencies: + "@greymass/eosio" "^0.6.0" + "@proton/web-sdk" "^4.2.14" + bufferutil "^4.0.7" + cache-base "4.0.2" + elliptic "6.5.4" + encoding "^0.1.13" + eosio-signing-request "^2.5.0" + eosjs "^22.1.0" + inherits "^2.0.4" + universal-authenticator-library "0.3.0" + utf-8-validate "^5.0.10" + +"@proton/web-sdk@^4.2.14": + version "4.2.14" + resolved "https://registry.yarnpkg.com/@proton/web-sdk/-/web-sdk-4.2.14.tgz#af834ad1c5863e36e9abe07ef2aa4bc1e2bc8dff" + integrity sha512-Exe9kceMSw740nQDi6nieV9+64FxcSoNAvI+4jHEXjWN3NwjL8ERSxcVfemD9YykS+MabVlpAwCgC0c4vQngFA== + dependencies: + "@greymass/eosio" "^0.6.1" + "@proton/browser-transport" "^4.2.12" + "@proton/js" "^26.1.54" + "@proton/link" "^4.2.7" + "@rushstack/eslint-patch@^1.1.3": version "1.2.0" resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" @@ -591,6 +686,11 @@ dependencies: eosjs "^22.1.0" +abortcontroller-polyfill@^1.7.3: + version "1.7.5" + resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz#6738495f4e901fbb57b6c0611d0c75f76c485bed" + integrity sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ== + acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -810,6 +910,11 @@ base64-js@^1.3.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== +base64url@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/base64url/-/base64url-3.0.1.tgz#6399d572e2bc3f90a9a8b22d5dbb0a32d33f788d" + integrity sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" @@ -834,6 +939,11 @@ bn.js@^4.11.9: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== +bn.js@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" + integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -864,7 +974,14 @@ browserslist@^4.21.4: node-releases "^2.0.6" update-browserslist-db "^1.0.9" -buffer@^5.5.0: +bson@^4.6.0: + version "4.7.2" + resolved "https://registry.yarnpkg.com/bson/-/bson-4.7.2.tgz#320f4ad0eaf5312dd9b45dc369cc48945e2a5f2e" + integrity sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ== + dependencies: + buffer "^5.6.0" + +buffer@^5.5.0, buffer@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -872,6 +989,13 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" +bufferutil@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" + integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== + dependencies: + node-gyp-build "^4.3.0" + cache-base@4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-4.0.2.tgz#f76c1d2bdfcd61004a1915717f8b0641723eaadc" @@ -1042,6 +1166,13 @@ cosmiconfig@^7.0.1: path-type "^4.0.0" yaml "^1.10.0" +cross-fetch@^3.1.4: + version "3.1.5" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" + integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== + dependencies: + node-fetch "2.6.7" + cross-spawn@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -1220,6 +1351,13 @@ emoji-regex@^9.2.2: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== +encoding@^0.1.13: + version "0.1.13" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" + integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== + dependencies: + iconv-lite "^0.6.2" + end-of-stream@^1.1.0, end-of-stream@^1.4.1: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" @@ -1537,6 +1675,11 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== +event-target-shim@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-6.0.2.tgz#ea5348c3618ee8b62ff1d344f01908ee2b8a2b71" + integrity sha512-8q3LsZjRezbFZ2PN+uP+Q7pnHUMmAOziU2vA2OwoFaKIXxlxl38IylhSSgUorWu/rf4er67w0ikBqjBFk/pomA== + expand-template@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c" @@ -1588,6 +1731,11 @@ fast-levenshtein@^2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== +fast-text-encoding@^1.0.3: + version "1.0.6" + resolved "https://registry.yarnpkg.com/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz#0aa25f7f638222e3396d72bf936afcf1d42d6867" + integrity sha512-VhXlQgj9ioXCqGstD37E/HBeqEGV/qOD/kmbVG8h5xKBYvM1L3lR1Zn4555cQ8GkYbJa8aJSipLPndE1k6zK2w== + fastq@^1.6.0: version "1.13.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" @@ -1904,6 +2052,13 @@ i18next@14.0.1: resolved "https://registry.yarnpkg.com/i18next/-/i18next-14.0.1.tgz#c5f0292ea6389394b6056f597b75f1f9aa03124f" integrity sha512-wsKfQuYsy4RdCaqqN71eDjWMhizhTfQSIBGttEA7vcboQrUfpQlCezrSzrtmoW9F9tmVyNs38iBgLYLMhRSeIQ== +iconv-lite@^0.6.2: + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + ieee754@^1.1.13: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" @@ -2434,13 +2589,18 @@ node-addon-api@^5.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== -node-fetch@~2.6.1: +node-fetch@2.6.7, node-fetch@~2.6.1: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== dependencies: whatwg-url "^5.0.0" +node-gyp-build@^4.3.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" + integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== + node-releases@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" @@ -3003,6 +3163,11 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" +ripemd-ts@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/ripemd-ts/-/ripemd-ts-0.0.2.tgz#484d2b30dc0625dd1684b84f3e29493a7285987d" + integrity sha512-2XZ9cVFtjpQ3z6LmN+Kylz518XcPKmKHzxEXUEPJfqi8vZs+0reY65YU9wzhzrPGtqHzH3ARGZNnGNASlPaWfw== + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -3024,6 +3189,11 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" +"safer-buffer@>= 2.1.2 < 3.0.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + scheduler@^0.19.0: version "0.19.1" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" @@ -3516,6 +3686,13 @@ use-sync-external-store@1.2.0: resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== +utf-8-validate@^5.0.10: + version "5.0.10" + resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" + integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== + dependencies: + node-gyp-build "^4.3.0" + util-deprecate@^1.0.1, util-deprecate@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -3572,6 +3749,11 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== +ws@^7.4.3: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + ws@^8.5.0: version "8.11.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143"