forked from cerc-io/snowballtools-base
Compare commits
14
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d1135645b | ||
|
|
e5748e768c | ||
|
|
9158e3a840 | ||
|
|
8bd1e17fd2 | ||
|
|
3998b60888 | ||
|
|
c5bace0660 | ||
|
|
a033a8a7b3 | ||
|
|
420080b1af | ||
|
|
f95a64546d | ||
|
|
3214cfc1d4 | ||
|
|
07b21a835e | ||
|
|
15ba278bbc | ||
|
|
364c62783d | ||
|
|
b9573474a8 |
@@ -0,0 +1,61 @@
|
|||||||
|
name: Deploy Snowball frontend
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY_USER_KEY: ${{ secrets.REGISTRY_USER_KEY }}
|
||||||
|
REGISTRY_BOND_ID: ${{ secrets.REGISTRY_BOND_ID }}
|
||||||
|
DEPLOYER_LRN: lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io
|
||||||
|
AUTHORITY: laconic-deploy
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [20.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Download yarn
|
||||||
|
run: |
|
||||||
|
curl -fsSL -o /usr/local/bin/yarn https://github.com/yarnpkg/yarn/releases/download/v1.22.21/yarn-1.22.21.js
|
||||||
|
chmod +x /usr/local/bin/yarn
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
yarn install
|
||||||
|
|
||||||
|
- name: Set up environment
|
||||||
|
run: |
|
||||||
|
# Create a .env file with the necessary variables
|
||||||
|
echo "REGISTRY_BOND_ID=$REGISTRY_BOND_ID" > packages/deployer/.env
|
||||||
|
echo "DEPLOYER_LRN=$DEPLOYER_LRN" >> packages/deployer/.env
|
||||||
|
echo "AUTHORITY=$AUTHORITY" >> packages/deployer/.env
|
||||||
|
|
||||||
|
# Create a config file with necessary endpoints and secrets
|
||||||
|
cat > packages/deployer/config.yml <<EOF
|
||||||
|
services:
|
||||||
|
registry:
|
||||||
|
rpcEndpoint: https://laconicd-sapo.laconic.com
|
||||||
|
gqlEndpoint: https://laconicd-sapo.laconic.com/api
|
||||||
|
userKey: $REGISTRY_USER_KEY
|
||||||
|
bondId: $REGISTRY_BOND_ID
|
||||||
|
chainId: laconic-testnet-2
|
||||||
|
gasPrice: 0.001alnt
|
||||||
|
EOF
|
||||||
|
|
||||||
|
- name: Run deploy script
|
||||||
|
run: |
|
||||||
|
cd packages/deployer
|
||||||
|
./deploy-frontend.sh
|
||||||
+1
-1
@@ -14,13 +14,13 @@ VITE_SERVER_URL = 'LACONIC_HOSTED_CONFIG_server_url'
|
|||||||
VITE_GITHUB_CLIENT_ID = 'LACONIC_HOSTED_CONFIG_github_clientid'
|
VITE_GITHUB_CLIENT_ID = 'LACONIC_HOSTED_CONFIG_github_clientid'
|
||||||
VITE_GITHUB_PWA_TEMPLATE_REPO = 'LACONIC_HOSTED_CONFIG_github_pwa_templaterepo'
|
VITE_GITHUB_PWA_TEMPLATE_REPO = 'LACONIC_HOSTED_CONFIG_github_pwa_templaterepo'
|
||||||
VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO = 'LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo'
|
VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO = 'LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo'
|
||||||
|
VITE_GITHUB_NEXT_APP_TEMPLATE_REPO = 'LACONIC_HOSTED_CONFIG_github_next_app_templaterepo'
|
||||||
VITE_WALLET_CONNECT_ID = 'LACONIC_HOSTED_CONFIG_wallet_connect_id'
|
VITE_WALLET_CONNECT_ID = 'LACONIC_HOSTED_CONFIG_wallet_connect_id'
|
||||||
VITE_LACONICD_CHAIN_ID = 'LACONIC_HOSTED_CONFIG_laconicd_chain_id'
|
VITE_LACONICD_CHAIN_ID = 'LACONIC_HOSTED_CONFIG_laconicd_chain_id'
|
||||||
VITE_LIT_RELAY_API_KEY = 'LACONIC_HOSTED_CONFIG_lit_relay_api_key'
|
VITE_LIT_RELAY_API_KEY = 'LACONIC_HOSTED_CONFIG_lit_relay_api_key'
|
||||||
VITE_BUGSNAG_API_KEY = 'LACONIC_HOSTED_CONFIG_bugsnag_api_key'
|
VITE_BUGSNAG_API_KEY = 'LACONIC_HOSTED_CONFIG_bugsnag_api_key'
|
||||||
VITE_PASSKEY_WALLET_RPID = 'LACONIC_HOSTED_CONFIG_passkey_wallet_rpid'
|
VITE_PASSKEY_WALLET_RPID = 'LACONIC_HOSTED_CONFIG_passkey_wallet_rpid'
|
||||||
VITE_TURNKEY_API_BASE_URL = 'LACONIC_HOSTED_CONFIG_turnkey_api_base_url'
|
VITE_TURNKEY_API_BASE_URL = 'LACONIC_HOSTED_CONFIG_turnkey_api_base_url'
|
||||||
VITE_TURNKEY_ORGANIZATION_ID = 'LACONIC_HOSTED_CONFIG_turnkey_organization_id'
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
yarn || exit 1
|
yarn || exit 1
|
||||||
|
|||||||
@@ -49,12 +49,25 @@ export class Database {
|
|||||||
await this.dataSource.initialize();
|
await this.dataSource.initialize();
|
||||||
log('database initialized');
|
log('database initialized');
|
||||||
|
|
||||||
const organizations = await this.getOrganizations({});
|
let organizations = await this.getOrganizations({});
|
||||||
|
|
||||||
// Load an organization if none exist
|
// Load an organization if none exist
|
||||||
if (!organizations.length) {
|
if (!organizations.length) {
|
||||||
const orgEntities = await getEntities(path.resolve(__dirname, ORGANIZATION_DATA_PATH));
|
const orgEntities = await getEntities(path.resolve(__dirname, ORGANIZATION_DATA_PATH));
|
||||||
await loadAndSaveData(Organization, this.dataSource, [orgEntities[0]]);
|
organizations = await loadAndSaveData(Organization, this.dataSource, [orgEntities[0]]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hotfix for updating old DB data
|
||||||
|
if (organizations[0].slug === 'snowball-tools-1') {
|
||||||
|
const [orgEntity] = await getEntities(path.resolve(__dirname, ORGANIZATION_DATA_PATH));
|
||||||
|
|
||||||
|
await this.updateOrganization(
|
||||||
|
organizations[0].id,
|
||||||
|
{
|
||||||
|
slug: orgEntity.slug as string,
|
||||||
|
name: orgEntity.name as string
|
||||||
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,6 +134,14 @@ export class Database {
|
|||||||
return newUserOrganization;
|
return newUserOrganization;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async updateOrganization(organizationId: string, data: DeepPartial<Organization>): Promise<boolean> {
|
||||||
|
const organizationRepository = this.dataSource.getRepository(Organization);
|
||||||
|
const updateResult = await organizationRepository.update({ id: organizationId }, data);
|
||||||
|
assert(updateResult.affected);
|
||||||
|
|
||||||
|
return updateResult.affected > 0;
|
||||||
|
}
|
||||||
|
|
||||||
async getProjects(options: FindManyOptions<Project>): Promise<Project[]> {
|
async getProjects(options: FindManyOptions<Project>): Promise<Project[]> {
|
||||||
const projectRepository = this.dataSource.getRepository(Project);
|
const projectRepository = this.dataSource.getRepository(Project);
|
||||||
const projects = await projectRepository.find(options);
|
const projects = await projectRepository.find(options);
|
||||||
|
|||||||
@@ -3,10 +3,5 @@
|
|||||||
"id": "2379cf1f-a232-4ad2-ae14-4d881131cc26",
|
"id": "2379cf1f-a232-4ad2-ae14-4d881131cc26",
|
||||||
"name": "Deploy Tools",
|
"name": "Deploy Tools",
|
||||||
"slug": "deploy-tools"
|
"slug": "deploy-tools"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "7eb9b3eb-eb74-4b53-b59a-69884c82a7fb",
|
|
||||||
"name": "Laconic",
|
|
||||||
"slug": "laconic-2"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ services:
|
|||||||
registry:
|
registry:
|
||||||
rpcEndpoint: https://laconicd-sapo.laconic.com
|
rpcEndpoint: https://laconicd-sapo.laconic.com
|
||||||
gqlEndpoint: https://laconicd-sapo.laconic.com/api
|
gqlEndpoint: https://laconicd-sapo.laconic.com/api
|
||||||
userKey:
|
userKey:
|
||||||
bondId:
|
bondId:
|
||||||
chainId: laconic_9000-2
|
chainId: laconic-testnet-2
|
||||||
gasPrice: 1alnt
|
gasPrice: 0.001alnt
|
||||||
|
|||||||
@@ -8,8 +8,11 @@ echo "Using AUTHORITY: $AUTHORITY"
|
|||||||
# Repository URL
|
# Repository URL
|
||||||
REPO_URL="https://git.vdb.to/cerc-io/snowballtools-base"
|
REPO_URL="https://git.vdb.to/cerc-io/snowballtools-base"
|
||||||
|
|
||||||
# Get the latest commit hash from the repository
|
# Get the latest commit hash for a branch
|
||||||
LATEST_HASH=$(git ls-remote $REPO_URL HEAD | awk '{print $1}')
|
BRANCH_NAME="main"
|
||||||
|
LATEST_HASH=$(git ls-remote $REPO_URL refs/heads/$BRANCH_NAME | awk '{print $1}')
|
||||||
|
|
||||||
|
echo "Latest commit hash for branch $BRANCH_NAME: $LATEST_HASH"
|
||||||
|
|
||||||
# Extract version from ../frontend/package.json
|
# Extract version from ../frontend/package.json
|
||||||
PACKAGE_VERSION=$(jq -r '.version' ../frontend/package.json)
|
PACKAGE_VERSION=$(jq -r '.version' ../frontend/package.json)
|
||||||
@@ -99,6 +102,9 @@ fi
|
|||||||
# Get payment address for deployer
|
# Get payment address for deployer
|
||||||
paymentAddress=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.paymentAddress')
|
paymentAddress=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.paymentAddress')
|
||||||
paymentAmount=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.minimumPayment' | sed 's/alnt//g')
|
paymentAmount=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.minimumPayment' | sed 's/alnt//g')
|
||||||
|
|
||||||
|
echo "Paying address: $paymentAddress with amount $paymentAmount..."
|
||||||
|
|
||||||
# Pay deployer if paymentAmount is not null
|
# Pay deployer if paymentAmount is not null
|
||||||
if [[ -n "$paymentAmount" && "$paymentAmount" != "null" ]]; then
|
if [[ -n "$paymentAmount" && "$paymentAmount" != "null" ]]; then
|
||||||
payment=$(yarn --silent laconic -c config.yml registry tokens send --address "$paymentAddress" --type alnt --quantity "$paymentAmount")
|
payment=$(yarn --silent laconic -c config.yml registry tokens send --address "$paymentAddress" --type alnt --quantity "$paymentAmount")
|
||||||
@@ -119,17 +125,18 @@ record:
|
|||||||
name: deploy-frontend@$PACKAGE_VERSION
|
name: deploy-frontend@$PACKAGE_VERSION
|
||||||
application: lrn://$AUTHORITY/applications/deploy-frontend@$PACKAGE_VERSION
|
application: lrn://$AUTHORITY/applications/deploy-frontend@$PACKAGE_VERSION
|
||||||
deployer: $DEPLOYER_LRN
|
deployer: $DEPLOYER_LRN
|
||||||
dns: deploy
|
dns: deploy.laconic.com
|
||||||
config:
|
config:
|
||||||
env:
|
env:
|
||||||
LACONIC_HOSTED_CONFIG_server_url: https://deploy-backend.apps.vaasl.io
|
LACONIC_HOSTED_CONFIG_server_url: https://deploy-backend.laconic.com
|
||||||
LACONIC_HOSTED_CONFIG_github_clientid: Ov23liaet4yc0KX0iM1c
|
LACONIC_HOSTED_CONFIG_github_clientid: Ov23li4NtYybQlF6u5Dk
|
||||||
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: laconic-templates/test-progressive-web-app
|
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: laconic-templates/test-progressive-web-app
|
||||||
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: laconic-templates/image-upload-pwa-example
|
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: laconic-templates/image-upload-pwa-example
|
||||||
|
LACONIC_HOSTED_CONFIG_github_next_app_templaterepo: laconic-templates/starter.nextjs-react-tailwind
|
||||||
LACONIC_HOSTED_CONFIG_wallet_connect_id: 63cad7ba97391f63652161f484670e15
|
LACONIC_HOSTED_CONFIG_wallet_connect_id: 63cad7ba97391f63652161f484670e15
|
||||||
LACONIC_HOSTED_CONFIG_laconicd_chain_id: laconic-testnet-2
|
LACONIC_HOSTED_CONFIG_laconicd_chain_id: laconic-testnet-2
|
||||||
meta:
|
meta:
|
||||||
note: Added by Snowball @ $CURRENT_DATE_TIME
|
note: Added @ $CURRENT_DATE_TIME
|
||||||
repository: "$REPO_URL"
|
repository: "$REPO_URL"
|
||||||
repository_ref: $LATEST_HASH
|
repository_ref: $LATEST_HASH
|
||||||
payment: $txHash
|
payment: $txHash
|
||||||
|
|||||||
+53
-38
@@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
source .env
|
||||||
|
echo "Using REGISTRY_BOND_ID: $REGISTRY_BOND_ID"
|
||||||
|
echo "Using DEPLOYER_LRN: $DEPLOYER_LRN"
|
||||||
|
echo "Using AUTHORITY: $AUTHORITY"
|
||||||
|
|
||||||
# Repository URL
|
# Repository URL
|
||||||
REPO_URL="https://git.vdb.to/cerc-io/snowballtools-base"
|
REPO_URL="https://git.vdb.to/cerc-io/snowballtools-base"
|
||||||
|
|
||||||
@@ -12,63 +17,33 @@ PACKAGE_VERSION=$(jq -r '.version' ../frontend/package.json)
|
|||||||
# Current date and time for note
|
# Current date and time for note
|
||||||
CURRENT_DATE_TIME=$(date -u)
|
CURRENT_DATE_TIME=$(date -u)
|
||||||
|
|
||||||
CONFIG_FILE=config.staging.yml
|
CONFIG_FILE=config.yml
|
||||||
REGISTRY_BOND_ID="098c906850b87412f02200e41f449bc79e055eab77acfef32c0b22443bb46661"
|
|
||||||
|
|
||||||
# Reference: https://git.vdb.to/cerc-io/test-progressive-web-app/src/branch/main/scripts
|
# Reference: https://git.vdb.to/cerc-io/test-progressive-web-app/src/branch/main/scripts
|
||||||
|
|
||||||
# Get latest version from registry and increment application-record version
|
# Get latest version from registry and increment application-record version
|
||||||
NEW_APPLICATION_VERSION=$(yarn --silent laconic -c $CONFIG_FILE registry record list --type ApplicationRecord --all --name "staging-snowballtools-base-frontend" 2>/dev/null | jq -r -s ".[] | sort_by(.createTime) | reverse | [ .[] | select(.bondId == \"$REGISTRY_BOND_ID\") ] | .[0].attributes.version" | awk -F. -v OFS=. '{$NF += 1 ; print}')
|
NEW_APPLICATION_VERSION=$(yarn --silent laconic -c $CONFIG_FILE registry record list --type ApplicationRecord --all --name "deploy-frontend" 2>/dev/null | jq -r -s ".[] | sort_by(.createTime) | reverse | [ .[] | select(.bondId == \"$REGISTRY_BOND_ID\") ] | .[0].attributes.version" | awk -F. -v OFS=. '{$NF += 1 ; print}')
|
||||||
|
|
||||||
if [ -z "$NEW_APPLICATION_VERSION" ] || [ "1" == "$NEW_APPLICATION_VERSION" ]; then
|
if [ -z "$NEW_APPLICATION_VERSION" ] || [ "1" == "$NEW_APPLICATION_VERSION" ]; then
|
||||||
# Set application-record version if no previous records were found
|
# Set application-record version if no previous records were found
|
||||||
NEW_APPLICATION_VERSION=0.0.1
|
NEW_APPLICATION_VERSION=0.0.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Generate application-deployment-request.yml
|
|
||||||
cat >./staging-records/application-deployment-request.yml <<EOF
|
|
||||||
record:
|
|
||||||
type: ApplicationDeploymentRequest
|
|
||||||
version: '1.0.0'
|
|
||||||
name: staging-snowballtools-base-frontend@$PACKAGE_VERSION
|
|
||||||
application: lrn://staging-snowballtools/applications/staging-snowballtools-base-frontend@$PACKAGE_VERSION
|
|
||||||
dns: dashboard.staging.apps.snowballtools.com
|
|
||||||
config:
|
|
||||||
env:
|
|
||||||
LACONIC_HOSTED_CONFIG_server_url: https://snowballtools-base-api.staging.apps.snowballtools.com
|
|
||||||
LACONIC_HOSTED_CONFIG_github_clientid: Ov23liOaoahRTYd4nSCV
|
|
||||||
LACONIC_HOSTED_CONFIG_github_templaterepo: snowball-tools/test-progressive-web-app
|
|
||||||
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: snowball-tools/test-progressive-web-app
|
|
||||||
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: snowball-tools/image-upload-pwa-example
|
|
||||||
LACONIC_HOSTED_CONFIG_wallet_connect_id: eda9ba18042a5ea500f358194611ece2
|
|
||||||
LACONIC_HOSTED_CONFIG_laconicd_chain_id: laconic-testnet-2
|
|
||||||
LACONIC_HOSTED_CONFIG_lit_relay_api_key: 15DDD969-E75F-404D-AAD9-58A37C4FD354_snowball
|
|
||||||
LACONIC_HOSTED_CONFIG_aplchemy_api_key: THvPart_gqI5x02RNYSBntlmwA66I_qc
|
|
||||||
LACONIC_HOSTED_CONFIG_bugsnag_api_key: 8c480cd5386079f9dd44f9581264a073
|
|
||||||
LACONIC_HOSTED_CONFIG_passkey_wallet_rpid: dashboard.staging.apps.snowballtools.com
|
|
||||||
LACONIC_HOSTED_CONFIG_turnkey_api_base_url: https://api.turnkey.com
|
|
||||||
LACONIC_HOSTED_CONFIG_turnkey_organization_id: 5049ae99-5bca-40b3-8317-504384d4e591
|
|
||||||
meta:
|
|
||||||
note: Added by Snowball @ $CURRENT_DATE_TIME
|
|
||||||
repository: "$REPO_URL"
|
|
||||||
repository_ref: $LATEST_HASH
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Generate application-record.yml with incremented version
|
# Generate application-record.yml with incremented version
|
||||||
cat >./staging-records/application-record.yml <<EOF
|
cat >./records/application-record.yml <<EOF
|
||||||
record:
|
record:
|
||||||
type: ApplicationRecord
|
type: ApplicationRecord
|
||||||
version: $NEW_APPLICATION_VERSION
|
version: $NEW_APPLICATION_VERSION
|
||||||
repository_ref: $LATEST_HASH
|
repository_ref: $LATEST_HASH
|
||||||
repository: ["$REPO_URL"]
|
repository: ["$REPO_URL"]
|
||||||
app_type: webapp
|
app_type: webapp
|
||||||
name: staging-snowballtools-base-frontend
|
name: deploy-frontend
|
||||||
app_version: $PACKAGE_VERSION
|
app_version: $PACKAGE_VERSION
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Files generated successfully."
|
echo "Files generated successfully"
|
||||||
|
|
||||||
RECORD_FILE=staging-records/application-record.yml
|
RECORD_FILE=records/application-record.yml
|
||||||
|
|
||||||
# Publish ApplicationRecord
|
# Publish ApplicationRecord
|
||||||
publish_response=$(yarn --silent laconic -c $CONFIG_FILE registry record publish --filename $RECORD_FILE)
|
publish_response=$(yarn --silent laconic -c $CONFIG_FILE registry record publish --filename $RECORD_FILE)
|
||||||
@@ -82,7 +57,7 @@ echo "ApplicationRecord published"
|
|||||||
echo $RECORD_ID
|
echo $RECORD_ID
|
||||||
|
|
||||||
# Set name to record
|
# Set name to record
|
||||||
REGISTRY_APP_LRN="lrn://staging-snowballtools/applications/staging-snowballtools-base-frontend"
|
REGISTRY_APP_LRN="lrn://$AUTHORITY/applications/deploy-frontend"
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
yarn --silent laconic -c $CONFIG_FILE registry name set "$REGISTRY_APP_LRN@${PACKAGE_VERSION}" "$RECORD_ID"
|
yarn --silent laconic -c $CONFIG_FILE registry name set "$REGISTRY_APP_LRN@${PACKAGE_VERSION}" "$RECORD_ID"
|
||||||
@@ -121,7 +96,47 @@ if [ -z "$APP_RECORD" ] || [ "null" == "$APP_RECORD" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RECORD_FILE=staging-records/application-deployment-request.yml
|
# Get payment address for deployer
|
||||||
|
paymentAddress=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.paymentAddress')
|
||||||
|
paymentAmount=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.minimumPayment' | sed 's/alnt//g')
|
||||||
|
# Pay deployer if paymentAmount is not null
|
||||||
|
if [[ -n "$paymentAmount" && "$paymentAmount" != "null" ]]; then
|
||||||
|
payment=$(yarn --silent laconic -c config.yml registry tokens send --address "$paymentAddress" --type alnt --quantity "$paymentAmount")
|
||||||
|
|
||||||
|
# Extract the transaction hash
|
||||||
|
txHash=$(echo "$payment" | jq -r '.tx.hash')
|
||||||
|
echo "Paid deployer with txHash as $txHash"
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Payment amount is null; skipping payment."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Generate application-deployment-request.yml
|
||||||
|
cat >./records/application-deployment-request.yml <<EOF
|
||||||
|
record:
|
||||||
|
type: ApplicationDeploymentRequest
|
||||||
|
version: '1.0.0'
|
||||||
|
name: deploy-frontend@$PACKAGE_VERSION
|
||||||
|
application: lrn://$AUTHORITY/applications/deploy-frontend@$PACKAGE_VERSION
|
||||||
|
deployer: $DEPLOYER_LRN
|
||||||
|
dns: deploy
|
||||||
|
config:
|
||||||
|
env:
|
||||||
|
LACONIC_HOSTED_CONFIG_server_url: https://deploy-backend.apps.vaasl.io
|
||||||
|
LACONIC_HOSTED_CONFIG_github_clientid: Ov23liaet4yc0KX0iM1c
|
||||||
|
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: laconic-templates/test-progressive-web-app
|
||||||
|
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: laconic-templates/image-upload-pwa-example
|
||||||
|
LACONIC_HOSTED_CONFIG_github_next_app_templaterepo: laconic-templates/starter.nextjs-react-tailwind
|
||||||
|
LACONIC_HOSTED_CONFIG_wallet_connect_id: 63cad7ba97391f63652161f484670e15
|
||||||
|
LACONIC_HOSTED_CONFIG_laconicd_chain_id: laconic-testnet-2
|
||||||
|
meta:
|
||||||
|
note: Added by Snowball @ $CURRENT_DATE_TIME
|
||||||
|
repository: "$REPO_URL"
|
||||||
|
repository_ref: $LATEST_HASH
|
||||||
|
payment: $txHash
|
||||||
|
EOF
|
||||||
|
|
||||||
|
RECORD_FILE=records/application-deployment-request.yml
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
deployment_response=$(yarn --silent laconic -c $CONFIG_FILE registry record publish --filename $RECORD_FILE)
|
deployment_response=$(yarn --silent laconic -c $CONFIG_FILE registry record publish --filename $RECORD_FILE)
|
||||||
@@ -10,6 +10,7 @@ record:
|
|||||||
LACONIC_HOSTED_CONFIG_github_clientid: Ov23liaet4yc0KX0iM1c
|
LACONIC_HOSTED_CONFIG_github_clientid: Ov23liaet4yc0KX0iM1c
|
||||||
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: laconic-templates/test-progressive-web-app
|
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: laconic-templates/test-progressive-web-app
|
||||||
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: laconic-templates/image-upload-pwa-example
|
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: laconic-templates/image-upload-pwa-example
|
||||||
|
LACONIC_HOSTED_CONFIG_github_next_app_templaterepo: laconic-templates/starter.nextjs-react-tailwind
|
||||||
LACONIC_HOSTED_CONFIG_wallet_connect_id: 63cad7ba97391f63652161f484670e15
|
LACONIC_HOSTED_CONFIG_wallet_connect_id: 63cad7ba97391f63652161f484670e15
|
||||||
meta:
|
meta:
|
||||||
note: Added by Snowball @ Thu Apr 4 14:49:41 UTC 2024
|
note: Added by Snowball @ Thu Apr 4 14:49:41 UTC 2024
|
||||||
|
|||||||
Executable
+57
@@ -0,0 +1,57 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source .env
|
||||||
|
echo "Using REGISTRY_BOND_ID: $REGISTRY_BOND_ID"
|
||||||
|
echo "Using DEPLOYER_LRN: $DEPLOYER_LRN"
|
||||||
|
|
||||||
|
# Generate application-deployment-removal-request.yml
|
||||||
|
REMOVAL_REQUEST_RECORD_FILE=records/application-deployment-removal-request.yml
|
||||||
|
# TODO: Pass deployment record ID as arg
|
||||||
|
DEPLOYMENT_RECORD_ID=bafyreidjho77xeczaqpyawhc4wbpm5it5atibtuxk6ost6vnpu2svlp3ka
|
||||||
|
|
||||||
|
cat > $REMOVAL_REQUEST_RECORD_FILE <<EOF
|
||||||
|
record:
|
||||||
|
deployer: $DEPLOYER_LRN
|
||||||
|
deployment: $DEPLOYMENT_RECORD_ID
|
||||||
|
type: ApplicationDeploymentRemovalRequest
|
||||||
|
version: 1.0.0
|
||||||
|
EOF
|
||||||
|
|
||||||
|
CONFIG_FILE=config.yml
|
||||||
|
|
||||||
|
sleep 2
|
||||||
|
REMOVAL_REQUEST_ID=$(yarn --silent laconic -c $CONFIG_FILE registry record publish --filename $REMOVAL_REQUEST_RECORD_FILE | jq -r '.id')
|
||||||
|
echo "ApplicationDeploymentRemovalRequest published"
|
||||||
|
echo $REMOVAL_REQUEST_ID
|
||||||
|
|
||||||
|
# Deployment checks
|
||||||
|
RETRY_INTERVAL=30
|
||||||
|
MAX_RETRIES=20
|
||||||
|
|
||||||
|
# Check that an ApplicationDeploymentRemovalRecord is published
|
||||||
|
retry_count=0
|
||||||
|
while true; do
|
||||||
|
removal_records_response=$(yarn --silent laconic -c $CONFIG_FILE registry record list --type ApplicationDeploymentRemovalRecord --all request $REMOVAL_REQUEST_ID)
|
||||||
|
len_removal_records=$(echo $removal_records_response | jq 'length')
|
||||||
|
|
||||||
|
# Check if number of records returned is 0
|
||||||
|
if [ $len_removal_records -eq 0 ]; then
|
||||||
|
# Check if retries are exhausted
|
||||||
|
if [ $retry_count -eq $MAX_RETRIES ]; then
|
||||||
|
echo "Retries exhausted"
|
||||||
|
echo "ApplicationDeploymentRemovalRecord for deployment removal request $REMOVAL_REQUEST_ID not found"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "ApplicationDeploymentRemovalRecord not found, retrying in $RETRY_INTERVAL sec..."
|
||||||
|
sleep $RETRY_INTERVAL
|
||||||
|
retry_count=$((retry_count+1))
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "ApplicationDeploymentRemovalRecord found"
|
||||||
|
REMOVAL_RECORD_ID=$(echo $removal_records_response | jq -r '.[0].id')
|
||||||
|
echo $REMOVAL_RECORD_ID
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Deployment removal successful"
|
||||||
@@ -11,6 +11,7 @@ record:
|
|||||||
LACONIC_HOSTED_CONFIG_github_templaterepo: snowball-tools/test-progressive-web-app
|
LACONIC_HOSTED_CONFIG_github_templaterepo: snowball-tools/test-progressive-web-app
|
||||||
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: snowball-tools/test-progressive-web-app
|
LACONIC_HOSTED_CONFIG_github_pwa_templaterepo: snowball-tools/test-progressive-web-app
|
||||||
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: snowball-tools/image-upload-pwa-example
|
LACONIC_HOSTED_CONFIG_github_image_upload_templaterepo: snowball-tools/image-upload-pwa-example
|
||||||
|
LACONIC_HOSTED_CONFIG_github_next_app_templaterepo: snowball-tools/starter.nextjs-react-tailwind
|
||||||
LACONIC_HOSTED_CONFIG_wallet_connect_id: eda9ba18042a5ea500f358194611ece2
|
LACONIC_HOSTED_CONFIG_wallet_connect_id: eda9ba18042a5ea500f358194611ece2
|
||||||
LACONIC_HOSTED_CONFIG_lit_relay_api_key: 15DDD969-E75F-404D-AAD9-58A37C4FD354_snowball
|
LACONIC_HOSTED_CONFIG_lit_relay_api_key: 15DDD969-E75F-404D-AAD9-58A37C4FD354_snowball
|
||||||
LACONIC_HOSTED_CONFIG_aplchemy_api_key: THvPart_gqI5x02RNYSBntlmwA66I_qc
|
LACONIC_HOSTED_CONFIG_aplchemy_api_key: THvPart_gqI5x02RNYSBntlmwA66I_qc
|
||||||
|
|||||||
@@ -3,17 +3,15 @@ VITE_SERVER_URL='http://localhost:8000'
|
|||||||
VITE_GITHUB_CLIENT_ID=
|
VITE_GITHUB_CLIENT_ID=
|
||||||
VITE_GITHUB_PWA_TEMPLATE_REPO="snowball-tools/test-progressive-web-app"
|
VITE_GITHUB_PWA_TEMPLATE_REPO="snowball-tools/test-progressive-web-app"
|
||||||
VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO="snowball-tools/image-upload-pwa-example"
|
VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO="snowball-tools/image-upload-pwa-example"
|
||||||
|
VITE_GITHUB_NEXT_APP_TEMPLATE_REPO="snowball-tools/starter.nextjs-react-tailwind"
|
||||||
|
|
||||||
VITE_WALLET_CONNECT_ID=
|
VITE_WALLET_CONNECT_ID=
|
||||||
|
|
||||||
VITE_LIT_RELAY_API_KEY=
|
VITE_LIT_RELAY_API_KEY=
|
||||||
|
|
||||||
VITE_ALCHEMY_API_KEY=
|
|
||||||
|
|
||||||
VITE_BUGSNAG_API_KEY=
|
VITE_BUGSNAG_API_KEY=
|
||||||
|
|
||||||
VITE_PASSKEY_WALLET_RPID=
|
VITE_PASSKEY_WALLET_RPID=
|
||||||
VITE_TURNKEY_API_BASE_URL=
|
VITE_TURNKEY_API_BASE_URL=
|
||||||
VITE_TURNKEY_ORGANIZATION_ID=
|
|
||||||
|
|
||||||
VITE_LACONICD_CHAIN_ID=
|
VITE_LACONICD_CHAIN_ID=
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
"@turnkey/http": "^2.10.0",
|
"@turnkey/http": "^2.10.0",
|
||||||
"@turnkey/sdk-react": "^0.1.0",
|
"@turnkey/sdk-react": "^0.1.0",
|
||||||
"@turnkey/webauthn-stamper": "^0.5.0",
|
"@turnkey/webauthn-stamper": "^0.5.0",
|
||||||
"@walletconnect/ethereum-provider": "^2.12.2",
|
"@walletconnect/ethereum-provider": "^2.16.1",
|
||||||
"@web3modal/siwe": "4.0.5",
|
"@web3modal/siwe": "4.0.5",
|
||||||
"@web3modal/wagmi": "4.0.5",
|
"@web3modal/wagmi": "4.0.5",
|
||||||
"assert": "^2.1.0",
|
"assert": "^2.1.0",
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
import {
|
import {
|
||||||
VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO,
|
VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO,
|
||||||
VITE_GITHUB_PWA_TEMPLATE_REPO,
|
VITE_GITHUB_PWA_TEMPLATE_REPO,
|
||||||
|
VITE_GITHUB_NEXT_APP_TEMPLATE_REPO,
|
||||||
} from 'utils/constants';
|
} from 'utils/constants';
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
id: '1',
|
id: '1',
|
||||||
name: 'Progressive Web App (PWA)',
|
name: 'Progressive Web App (PWA)',
|
||||||
icon: 'pwa',
|
icon: 'web',
|
||||||
repoFullName: `${VITE_GITHUB_PWA_TEMPLATE_REPO}`,
|
repoFullName: `${VITE_GITHUB_PWA_TEMPLATE_REPO}`,
|
||||||
isComingSoon: false,
|
isComingSoon: false,
|
||||||
},
|
},
|
||||||
@@ -20,23 +21,9 @@ export default [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '3',
|
id: '3',
|
||||||
name: 'Kotlin',
|
name: 'Next.js + React + TailwindCSS',
|
||||||
icon: 'kotlin',
|
icon: 'web',
|
||||||
repoFullName: '',
|
repoFullName: `${VITE_GITHUB_NEXT_APP_TEMPLATE_REPO}`,
|
||||||
isComingSoon: true,
|
isComingSoon: false,
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '4',
|
|
||||||
name: 'React Native',
|
|
||||||
icon: 'react-native',
|
|
||||||
repoFullName: '',
|
|
||||||
isComingSoon: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: '5',
|
|
||||||
name: 'Swift',
|
|
||||||
icon: 'swift',
|
|
||||||
repoFullName: '',
|
|
||||||
isComingSoon: true,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -538,7 +538,7 @@ const Configure = () => {
|
|||||||
Connect to your wallet
|
Connect to your wallet
|
||||||
</Heading>
|
</Heading>
|
||||||
<ConnectWallet onAccountChange={onAccountChange} />
|
<ConnectWallet onAccountChange={onAccountChange} />
|
||||||
{accounts && accounts?.length > 0 && (
|
{accounts.length > 0 && (
|
||||||
<div>
|
<div>
|
||||||
<Button
|
<Button
|
||||||
{...buttonSize}
|
{...buttonSize}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import { MockConnectGitCard } from './MockConnectGitCard';
|
|||||||
import { VITE_GITHUB_CLIENT_ID } from 'utils/constants';
|
import { VITE_GITHUB_CLIENT_ID } from 'utils/constants';
|
||||||
import { LaconicIcon } from 'components/shared/CustomIcon/LaconicIcon';
|
import { LaconicIcon } from 'components/shared/CustomIcon/LaconicIcon';
|
||||||
|
|
||||||
const SCOPES = 'repo user';
|
const SCOPES = 'public_repo user';
|
||||||
const GITHUB_OAUTH_URL = `https://github.com/login/oauth/authorize?client_id=${VITE_GITHUB_CLIENT_ID}&scope=${encodeURIComponent(SCOPES)}`;
|
const GITHUB_OAUTH_URL = `https://github.com/login/oauth/authorize?client_id=${VITE_GITHUB_CLIENT_ID}&scope=${encodeURIComponent(SCOPES)}`;
|
||||||
|
|
||||||
interface ConnectAccountInterface {
|
interface ConnectAccountInterface {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const ConnectWallet = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="p-4 bg-slate-100 dark:bg-overlay3 rounded-lg mb-6">
|
<div className="p-4 bg-slate-100 dark:bg-overlay3 rounded-lg mb-6">
|
||||||
{!accounts ? (
|
{accounts.length === 0 ? (
|
||||||
<div>
|
<div>
|
||||||
<Button type={'button'} onClick={handleConnect}>
|
<Button type={'button'} onClick={handleConnect}>
|
||||||
Connect Wallet
|
Connect Wallet
|
||||||
|
|||||||
@@ -56,16 +56,8 @@ export const MockConnectGitCard = () => {
|
|||||||
icon: 'pwa',
|
icon: 'pwa',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'React Native',
|
name: 'Next.js + React + TailwindCSS',
|
||||||
icon: 'react-native',
|
icon: 'next-app',
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Kotlin',
|
|
||||||
icon: 'kotlin',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Swift',
|
|
||||||
icon: 'swift',
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -49,21 +49,21 @@ export const ProjectRepoCard: React.FC<ProjectRepoCardProps> = ({
|
|||||||
onClick={createProject}
|
onClick={createProject}
|
||||||
>
|
>
|
||||||
{/* Icon container */}
|
{/* Icon container */}
|
||||||
<div className="w-10 h-10 bg-base-bg rounded-md justify-center items-center flex">
|
<div className="w-10 h-10 bg-base-bg rounded-md justify-center items-center flex dark:bg-overlay">
|
||||||
<GithubIcon />
|
<GithubIcon />
|
||||||
</div>
|
</div>
|
||||||
{/* Content */}
|
{/* Content */}
|
||||||
<div className="flex flex-1 gap-3 flex-wrap">
|
<div className="flex flex-1 gap-3 flex-wrap">
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
<p className="text-elements-high-em text-sm font-medium tracking-[-0.006em]">
|
<p className="text-elements-high-em dark:text-foreground text-sm font-medium tracking-[-0.006em]">
|
||||||
{repository.full_name}
|
{repository.full_name}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-elements-low-em text-xs">
|
<p className="text-elements-low-em dark:text-foreground-secondary text-xs">
|
||||||
{repository.updated_at && relativeTimeISO(repository.updated_at)}
|
{repository.updated_at && relativeTimeISO(repository.updated_at)}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{repository.visibility === 'private' && (
|
{repository.visibility === 'private' && (
|
||||||
<div className="bg-orange-50 border border-orange-200 px-2 py-1 flex items-center gap-1 rounded-lg text-xs text-orange-600 h-fit">
|
<div className="bg-orange-50 border border-orange-200 px-2 py-1 flex items-center gap-1 rounded-lg text-xs text-orange-600 dark:text-error h-fit">
|
||||||
<LockIcon />
|
<LockIcon />
|
||||||
Private
|
Private
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -166,7 +166,9 @@ export const RepositoryList = () => {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="mt-4 p-6 flex flex-col gap-4 items-center justify-center">
|
<div className="mt-4 p-6 flex flex-col gap-4 items-center justify-center">
|
||||||
<p className="text-elements-high-em font-sans">No repository found</p>
|
<p className="text-elements-high-em dark:text-foreground font-sans">
|
||||||
|
No repository found
|
||||||
|
</p>
|
||||||
<Button
|
<Button
|
||||||
variant="tertiary"
|
variant="tertiary"
|
||||||
leftIcon={<RefreshIcon />}
|
leftIcon={<RefreshIcon />}
|
||||||
|
|||||||
@@ -1,18 +1,12 @@
|
|||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
import { CustomIconProps } from '../CustomIcon';
|
import { CustomIconProps } from '../CustomIcon';
|
||||||
import { ReactNativeIcon } from './ReactNativeIcon';
|
|
||||||
import { cloneIcon } from 'utils/cloneIcon';
|
import { cloneIcon } from 'utils/cloneIcon';
|
||||||
import { PWAIcon } from './PWAIcon';
|
import { PWAIcon } from './PWAIcon';
|
||||||
import { WebAppIcon } from './WebAppIcon';
|
import { WebAppIcon } from './WebAppIcon';
|
||||||
import { KotlinIcon } from './KotlinIcon';
|
|
||||||
import { SwitfIcon } from './SwiftIcon';
|
|
||||||
|
|
||||||
const TEMPLATE_ICONS = [
|
const TEMPLATE_ICONS = [
|
||||||
'react-native',
|
|
||||||
'pwa',
|
'pwa',
|
||||||
'web',
|
'web'
|
||||||
'kotlin',
|
|
||||||
'swift',
|
|
||||||
] as const;
|
] as const;
|
||||||
export type TemplateIconType = (typeof TEMPLATE_ICONS)[number];
|
export type TemplateIconType = (typeof TEMPLATE_ICONS)[number];
|
||||||
|
|
||||||
@@ -23,16 +17,10 @@ export interface TemplateIconProps extends CustomIconProps {
|
|||||||
export const TemplateIcon = ({ type, ...props }: TemplateIconProps) => {
|
export const TemplateIcon = ({ type, ...props }: TemplateIconProps) => {
|
||||||
const renderIcon = useMemo(() => {
|
const renderIcon = useMemo(() => {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'react-native':
|
|
||||||
return <ReactNativeIcon />;
|
|
||||||
case 'pwa':
|
case 'pwa':
|
||||||
return <PWAIcon />;
|
return <PWAIcon />;
|
||||||
case 'web':
|
case 'web':
|
||||||
return <WebAppIcon />;
|
return <WebAppIcon />;
|
||||||
case 'kotlin':
|
|
||||||
return <KotlinIcon />;
|
|
||||||
case 'swift':
|
|
||||||
return <SwitfIcon />;
|
|
||||||
default:
|
default:
|
||||||
throw new Error(`Invalid template icon type: ${type}`);
|
throw new Error(`Invalid template icon type: ${type}`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ interface ClientInterface {
|
|||||||
onConnect: () => Promise<void>;
|
onConnect: () => Promise<void>;
|
||||||
onDisconnect: () => Promise<void>;
|
onDisconnect: () => Promise<void>;
|
||||||
onSessionDelete: () => void;
|
onSessionDelete: () => void;
|
||||||
accounts: { address: string }[] | undefined;
|
accounts: { address: string }[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const ClientContext = createContext({} as ClientInterface);
|
const ClientContext = createContext({} as ClientInterface);
|
||||||
@@ -41,7 +41,7 @@ export const WalletConnectClientProvider = ({
|
|||||||
const [signClient, setSignClient] = useState<SignClient>();
|
const [signClient, setSignClient] = useState<SignClient>();
|
||||||
const [session, setSession] = useState<SessionTypes.Struct>();
|
const [session, setSession] = useState<SessionTypes.Struct>();
|
||||||
const [loadingSession, setLoadingSession] = useState(true);
|
const [loadingSession, setLoadingSession] = useState(true);
|
||||||
const [accounts, setAccounts] = useState<{ address: string }[]>();
|
const [accounts, setAccounts] = useState<{ address: string }[]>([]);
|
||||||
|
|
||||||
const isSignClientInitializing = useRef<boolean>(false);
|
const isSignClientInitializing = useRef<boolean>(false);
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ export const WalletConnectClientProvider = ({
|
|||||||
}, [signClient, session]);
|
}, [signClient, session]);
|
||||||
|
|
||||||
const onSessionDelete = () => {
|
const onSessionDelete = () => {
|
||||||
setAccounts(undefined);
|
setAccounts([]);
|
||||||
setSession(undefined);
|
setSession(undefined);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|||||||
import { VITE_WALLET_CONNECT_ID, BASE_URL } from 'utils/constants';
|
import { VITE_WALLET_CONNECT_ID, BASE_URL } from 'utils/constants';
|
||||||
|
|
||||||
if (!VITE_WALLET_CONNECT_ID) {
|
if (!VITE_WALLET_CONNECT_ID) {
|
||||||
throw new Error('Error: REACT_APP_WALLET_CONNECT_ID env config is not set');
|
throw new Error('Error: VITE_WALLET_CONNECT_ID env config is not set');
|
||||||
}
|
}
|
||||||
assert(BASE_URL, 'VITE_SERVER_URL is not set in env');
|
assert(BASE_URL, 'VITE_SERVER_URL is not set in env');
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ const CreateWithTemplate = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center gap-6 lg:gap-10 mx-auto w-full lg:w-5/6">
|
<div className="flex flex-col items-center gap-6 lg:gap-10 mx-auto w-full lg:w-5/6">
|
||||||
<div className="flex flex-col lg:flex-row justify-between w-full my-4 bg-base-bg-alternate rounded-xl p-6 gap-3 items-start lg:items-center">
|
<div className="flex flex-col lg:flex-row justify-between w-full my-4 bg-base-bg-alternate dark:bg-overlay rounded-xl p-6 gap-3 items-start lg:items-center">
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
<TemplateIcon type={template?.icon as TemplateIconType} size={48} />
|
<TemplateIcon type={template?.icon as TemplateIconType} size={48} />
|
||||||
<Heading className="font-medium">{template?.name}</Heading>
|
<Heading className="font-medium">{template?.name}</Heading>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ const Id = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Card */}
|
{/* Card */}
|
||||||
<div className="bg-base-bg-alternate rounded-xl shadow-inset w-full px-1 py-1">
|
<div className="bg-base-bg-alternate dark:bg-overlay2 rounded-xl shadow-inset w-full px-1 py-1">
|
||||||
{/* Trigger question */}
|
{/* Trigger question */}
|
||||||
<div className="flex gap-2 justify-center items-center py-3">
|
<div className="flex gap-2 justify-center items-center py-3">
|
||||||
<div className="h-5 w-5">
|
<div className="h-5 w-5">
|
||||||
@@ -67,7 +67,7 @@ const Id = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* CTA card */}
|
{/* CTA card */}
|
||||||
<div className="bg-surface-card rounded-xl shadow-card-sm px-4 py-4">
|
<div className="bg-surface-card dark:bg-overlay rounded-xl shadow-card-sm dark:shadow-background px-4 py-4">
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Badge variant="secondary">1</Badge>
|
<Badge variant="secondary">1</Badge>
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
@@ -75,7 +75,7 @@ const Id = () => {
|
|||||||
<Heading as="h6" className="text-sm font-sans">
|
<Heading as="h6" className="text-sm font-sans">
|
||||||
Add a custom domain
|
Add a custom domain
|
||||||
</Heading>
|
</Heading>
|
||||||
<p className="text-xs text-elements-low-em font-sans">
|
<p className="text-xs text-elements-low-em dark:text-foreground-secondary font-sans">
|
||||||
Make it easy for your visitors to remember your URL with a
|
Make it easy for your visitors to remember your URL with a
|
||||||
custom domain.
|
custom domain.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ const CreateRepo = () => {
|
|||||||
framework: 'React',
|
framework: 'React',
|
||||||
repoName: '',
|
repoName: '',
|
||||||
isPrivate: false,
|
isPrivate: false,
|
||||||
account: gitAccounts[0],
|
account: '',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -152,13 +152,18 @@ const CreateRepo = () => {
|
|||||||
<Heading as="h3" className="text-lg font-medium">
|
<Heading as="h3" className="text-lg font-medium">
|
||||||
Create a repository
|
Create a repository
|
||||||
</Heading>
|
</Heading>
|
||||||
<Heading as="h5" className="text-sm font-sans text-elements-low-em">
|
<Heading
|
||||||
|
as="h5"
|
||||||
|
className="text-sm font-sans text-elements-low-em dark:text-foreground-secondary"
|
||||||
|
>
|
||||||
The project will be cloned into this repository
|
The project will be cloned into this repository
|
||||||
</Heading>
|
</Heading>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col justify-start gap-3">
|
<div className="flex flex-col justify-start gap-3">
|
||||||
<span className="text-sm text-elements-high-em">Git account</span>
|
<span className="text-sm text-elements-high-em dark:text-foreground">
|
||||||
|
Git account
|
||||||
|
</span>
|
||||||
{gitAccounts.length > 0 ? (
|
{gitAccounts.length > 0 ? (
|
||||||
<Controller
|
<Controller
|
||||||
name="account"
|
name="account"
|
||||||
@@ -181,7 +186,9 @@ const CreateRepo = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col justify-start gap-3">
|
<div className="flex flex-col justify-start gap-3">
|
||||||
<span className="text-sm text-elements-high-em">Name the repo</span>
|
<span className="text-sm text-elements-high-em dark:text-foreground">
|
||||||
|
Name the repo
|
||||||
|
</span>
|
||||||
<Controller
|
<Controller
|
||||||
name="repoName"
|
name="repoName"
|
||||||
control={control}
|
control={control}
|
||||||
|
|||||||
+16
-3
@@ -1,11 +1,15 @@
|
|||||||
import { useEffect, useMemo } from 'react';
|
import { useEffect, useMemo } from 'react';
|
||||||
import { useFieldArray, useFormContext } from 'react-hook-form';
|
import { useFieldArray, useFormContext } from 'react-hook-form';
|
||||||
|
|
||||||
|
// TODO: Use custom checkbox component
|
||||||
|
// Custom checkbox component does not work with react-hook-form
|
||||||
|
import { Checkbox } from '@snowballtools/material-tailwind-react-fork';
|
||||||
|
// import { Checkbox } from 'components/shared/Checkbox';
|
||||||
|
|
||||||
import { Button } from 'components/shared/Button';
|
import { Button } from 'components/shared/Button';
|
||||||
import { InlineNotification } from 'components/shared/InlineNotification';
|
import { InlineNotification } from 'components/shared/InlineNotification';
|
||||||
import AddEnvironmentVariableRow from 'components/projects/project/settings/AddEnvironmentVariableRow';
|
import AddEnvironmentVariableRow from 'components/projects/project/settings/AddEnvironmentVariableRow';
|
||||||
import { EnvironmentVariablesFormValues } from 'types/types';
|
import { EnvironmentVariablesFormValues } from 'types/types';
|
||||||
import { Checkbox } from 'components/shared/Checkbox';
|
|
||||||
|
|
||||||
const EnvironmentVariablesForm = () => {
|
const EnvironmentVariablesForm = () => {
|
||||||
const {
|
const {
|
||||||
@@ -67,10 +71,19 @@ const EnvironmentVariablesForm = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<div className="flex gap-2 p-2">
|
<div className="flex gap-2 p-2">
|
||||||
<Checkbox label="Production" {...register('environment.production')} />
|
<Checkbox
|
||||||
<Checkbox label="Preview" {...register('environment.preview')} />
|
label="Production"
|
||||||
|
labelProps={{ className: "text-gray-900 dark:text-white" }}
|
||||||
|
{...register('environment.production')}
|
||||||
|
/>
|
||||||
|
<Checkbox
|
||||||
|
label="Preview"
|
||||||
|
labelProps={{ className: "text-gray-900 dark:text-white" }}
|
||||||
|
{...register('environment.preview')}
|
||||||
|
/>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
label="Development"
|
label="Development"
|
||||||
|
labelProps={{ className: "text-gray-900 dark:text-white" }}
|
||||||
{...register('environment.development')}
|
{...register('environment.development')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ export const VITE_GITHUB_PWA_TEMPLATE_REPO = import.meta.env
|
|||||||
.VITE_GITHUB_PWA_TEMPLATE_REPO;
|
.VITE_GITHUB_PWA_TEMPLATE_REPO;
|
||||||
export const VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO = import.meta.env
|
export const VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO = import.meta.env
|
||||||
.VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO;
|
.VITE_GITHUB_IMAGE_UPLOAD_PWA_TEMPLATE_REPO;
|
||||||
|
export const VITE_GITHUB_NEXT_APP_TEMPLATE_REPO = import.meta.env
|
||||||
|
.VITE_GITHUB_NEXT_APP_TEMPLATE_REPO;
|
||||||
export const VITE_GITHUB_CLIENT_ID = import.meta.env.VITE_GITHUB_CLIENT_ID;
|
export const VITE_GITHUB_CLIENT_ID = import.meta.env.VITE_GITHUB_CLIENT_ID;
|
||||||
export const VITE_WALLET_CONNECT_ID = import.meta.env.VITE_WALLET_CONNECT_ID;
|
export const VITE_WALLET_CONNECT_ID = import.meta.env.VITE_WALLET_CONNECT_ID;
|
||||||
export const VITE_BUGSNAG_API_KEY = import.meta.env.VITE_BUGSNAG_API_KEY;
|
export const VITE_BUGSNAG_API_KEY = import.meta.env.VITE_BUGSNAG_API_KEY;
|
||||||
|
|||||||
@@ -5532,7 +5532,7 @@
|
|||||||
"@stablelib/constant-time" "^1.0.1"
|
"@stablelib/constant-time" "^1.0.1"
|
||||||
"@stablelib/wipe" "^1.0.1"
|
"@stablelib/wipe" "^1.0.1"
|
||||||
|
|
||||||
"@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2":
|
"@stablelib/random@1.0.2", "@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2":
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c"
|
resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c"
|
||||||
integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==
|
integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==
|
||||||
@@ -5563,7 +5563,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36"
|
resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36"
|
||||||
integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==
|
integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==
|
||||||
|
|
||||||
"@stablelib/x25519@^1.0.3":
|
"@stablelib/x25519@1.0.3", "@stablelib/x25519@^1.0.3":
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd"
|
resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd"
|
||||||
integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==
|
integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==
|
||||||
@@ -7334,28 +7334,28 @@
|
|||||||
lodash.isequal "4.5.0"
|
lodash.isequal "4.5.0"
|
||||||
uint8arrays "^3.1.0"
|
uint8arrays "^3.1.0"
|
||||||
|
|
||||||
"@walletconnect/core@2.12.2":
|
"@walletconnect/core@2.17.1":
|
||||||
version "2.12.2"
|
version "2.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.12.2.tgz#12bd568b90daed876e58ebcc098c12843a3321e6"
|
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.17.1.tgz#8ee51d630068e4450014fe62a76af895ab1d349d"
|
||||||
integrity sha512-7Adv/b3pp9F42BkvReaaM4KS8NEvlkS7AMtwO3uF/o6aRMKtcfTJq9/jgWdKJh4RP8pPRTRFjCw6XQ/RZtT4aQ==
|
integrity sha512-SMgJR5hEyEE/tENIuvlEb4aB9tmMXPzQ38Y61VgYBmwAFEhOHtpt8EDfnfRWqEhMyXuBXG4K70Yh8c67Yry+Xw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/heartbeat" "1.2.1"
|
"@walletconnect/heartbeat" "1.2.2"
|
||||||
"@walletconnect/jsonrpc-provider" "1.0.13"
|
"@walletconnect/jsonrpc-provider" "1.0.14"
|
||||||
"@walletconnect/jsonrpc-types" "1.0.3"
|
"@walletconnect/jsonrpc-types" "1.0.4"
|
||||||
"@walletconnect/jsonrpc-utils" "1.0.8"
|
"@walletconnect/jsonrpc-utils" "1.0.8"
|
||||||
"@walletconnect/jsonrpc-ws-connection" "1.0.14"
|
"@walletconnect/jsonrpc-ws-connection" "1.0.14"
|
||||||
"@walletconnect/keyvaluestorage" "^1.1.1"
|
"@walletconnect/keyvaluestorage" "1.1.1"
|
||||||
"@walletconnect/logger" "^2.1.2"
|
"@walletconnect/logger" "2.1.2"
|
||||||
"@walletconnect/relay-api" "^1.0.9"
|
"@walletconnect/relay-api" "1.0.11"
|
||||||
"@walletconnect/relay-auth" "^1.0.4"
|
"@walletconnect/relay-auth" "1.0.4"
|
||||||
"@walletconnect/safe-json" "^1.0.2"
|
"@walletconnect/safe-json" "1.0.2"
|
||||||
"@walletconnect/time" "^1.0.2"
|
"@walletconnect/time" "1.0.2"
|
||||||
"@walletconnect/types" "2.12.2"
|
"@walletconnect/types" "2.17.1"
|
||||||
"@walletconnect/utils" "2.12.2"
|
"@walletconnect/utils" "2.17.1"
|
||||||
events "^3.3.0"
|
"@walletconnect/window-getters" "1.0.1"
|
||||||
isomorphic-unfetch "3.1.0"
|
events "3.3.0"
|
||||||
lodash.isequal "4.5.0"
|
lodash.isequal "4.5.0"
|
||||||
uint8arrays "^3.1.0"
|
uint8arrays "3.1.0"
|
||||||
|
|
||||||
"@walletconnect/core@2.9.2":
|
"@walletconnect/core@2.9.2":
|
||||||
version "2.9.2"
|
version "2.9.2"
|
||||||
@@ -7417,23 +7417,24 @@
|
|||||||
"@walletconnect/utils" "2.9.2"
|
"@walletconnect/utils" "2.9.2"
|
||||||
events "^3.3.0"
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/ethereum-provider@^2.12.2":
|
"@walletconnect/ethereum-provider@^2.16.1":
|
||||||
version "2.12.2"
|
version "2.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.12.2.tgz#43195a14cd43f928b2fcbba6b1a08e17e7838c4f"
|
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.17.1.tgz#d3c2a5722fcc294841b04f86a12f7287d765dd06"
|
||||||
integrity sha512-vBl2zCnNm2iPaomJdr5YT16cT7aa8cH2WFs6879XPngU5i7HXS3bU6TamhyhKKl13sdIfifmCkCC+RWn5GdPMw==
|
integrity sha512-fAYoIwdMOaBo3iv4SwrORQ6BFqBpduZx277igLXPX0HK0gjiLvyuDIrPCTGs1+Bn0NQehoglv35HbDlXBqJQVw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
|
"@walletconnect/jsonrpc-http-connection" "1.0.8"
|
||||||
"@walletconnect/jsonrpc-provider" "^1.0.13"
|
"@walletconnect/jsonrpc-provider" "1.0.14"
|
||||||
"@walletconnect/jsonrpc-types" "^1.0.3"
|
"@walletconnect/jsonrpc-types" "1.0.4"
|
||||||
"@walletconnect/jsonrpc-utils" "^1.0.8"
|
"@walletconnect/jsonrpc-utils" "1.0.8"
|
||||||
"@walletconnect/modal" "^2.6.2"
|
"@walletconnect/keyvaluestorage" "1.1.1"
|
||||||
"@walletconnect/sign-client" "2.12.2"
|
"@walletconnect/modal" "2.7.0"
|
||||||
"@walletconnect/types" "2.12.2"
|
"@walletconnect/sign-client" "2.17.1"
|
||||||
"@walletconnect/universal-provider" "2.12.2"
|
"@walletconnect/types" "2.17.1"
|
||||||
"@walletconnect/utils" "2.12.2"
|
"@walletconnect/universal-provider" "2.17.1"
|
||||||
events "^3.3.0"
|
"@walletconnect/utils" "2.17.1"
|
||||||
|
events "3.3.0"
|
||||||
|
|
||||||
"@walletconnect/events@^1.0.1":
|
"@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1":
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c"
|
resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c"
|
||||||
integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==
|
integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==
|
||||||
@@ -7450,6 +7451,25 @@
|
|||||||
"@walletconnect/time" "^1.0.2"
|
"@walletconnect/time" "^1.0.2"
|
||||||
tslib "1.14.1"
|
tslib "1.14.1"
|
||||||
|
|
||||||
|
"@walletconnect/heartbeat@1.2.2":
|
||||||
|
version "1.2.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz#e8dc5179db7769950c6f9cf59b23516d9b95227d"
|
||||||
|
integrity sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/events" "^1.0.1"
|
||||||
|
"@walletconnect/time" "^1.0.2"
|
||||||
|
events "^3.3.0"
|
||||||
|
|
||||||
|
"@walletconnect/jsonrpc-http-connection@1.0.8":
|
||||||
|
version "1.0.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.8.tgz#2f4c3948f074960a3edd07909560f3be13e2c7ae"
|
||||||
|
integrity sha512-+B7cRuaxijLeFDJUq5hAzNyef3e3tBDIxyaCNmFtjwnod5AGis3RToNqzFU33vpVcxFhofkpE7Cx+5MYejbMGw==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/jsonrpc-utils" "^1.0.6"
|
||||||
|
"@walletconnect/safe-json" "^1.0.1"
|
||||||
|
cross-fetch "^3.1.4"
|
||||||
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/jsonrpc-http-connection@^1.0.7":
|
"@walletconnect/jsonrpc-http-connection@^1.0.7":
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.7.tgz#a6973569b8854c22da707a759d241e4f5c2d5a98"
|
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.7.tgz#a6973569b8854c22da707a759d241e4f5c2d5a98"
|
||||||
@@ -7469,6 +7489,15 @@
|
|||||||
"@walletconnect/safe-json" "^1.0.2"
|
"@walletconnect/safe-json" "^1.0.2"
|
||||||
tslib "1.14.1"
|
tslib "1.14.1"
|
||||||
|
|
||||||
|
"@walletconnect/jsonrpc-provider@1.0.14":
|
||||||
|
version "1.0.14"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.14.tgz#696f3e3b6d728b361f2e8b853cfc6afbdf2e4e3e"
|
||||||
|
integrity sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/jsonrpc-utils" "^1.0.8"
|
||||||
|
"@walletconnect/safe-json" "^1.0.2"
|
||||||
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3":
|
"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3":
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c"
|
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c"
|
||||||
@@ -7477,6 +7506,14 @@
|
|||||||
keyvaluestorage-interface "^1.0.0"
|
keyvaluestorage-interface "^1.0.0"
|
||||||
tslib "1.14.1"
|
tslib "1.14.1"
|
||||||
|
|
||||||
|
"@walletconnect/jsonrpc-types@1.0.4":
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz#ce1a667d79eadf2a2d9d002c152ceb68739c230c"
|
||||||
|
integrity sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ==
|
||||||
|
dependencies:
|
||||||
|
events "^3.3.0"
|
||||||
|
keyvaluestorage-interface "^1.0.0"
|
||||||
|
|
||||||
"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.7", "@walletconnect/jsonrpc-utils@^1.0.8":
|
"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.7", "@walletconnect/jsonrpc-utils@^1.0.8":
|
||||||
version "1.0.8"
|
version "1.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72"
|
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72"
|
||||||
@@ -7507,7 +7544,7 @@
|
|||||||
events "^3.3.0"
|
events "^3.3.0"
|
||||||
ws "^7.5.1"
|
ws "^7.5.1"
|
||||||
|
|
||||||
"@walletconnect/keyvaluestorage@^1.0.2", "@walletconnect/keyvaluestorage@^1.1.1":
|
"@walletconnect/keyvaluestorage@1.1.1", "@walletconnect/keyvaluestorage@^1.0.2", "@walletconnect/keyvaluestorage@^1.1.1":
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842"
|
resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842"
|
||||||
integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==
|
integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==
|
||||||
@@ -7516,7 +7553,7 @@
|
|||||||
idb-keyval "^6.2.1"
|
idb-keyval "^6.2.1"
|
||||||
unstorage "^1.9.0"
|
unstorage "^1.9.0"
|
||||||
|
|
||||||
"@walletconnect/logger@^2.0.1", "@walletconnect/logger@^2.1.2":
|
"@walletconnect/logger@2.1.2", "@walletconnect/logger@^2.0.1":
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272"
|
resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272"
|
||||||
integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw==
|
integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw==
|
||||||
@@ -7538,6 +7575,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
valtio "1.11.2"
|
valtio "1.11.2"
|
||||||
|
|
||||||
|
"@walletconnect/modal-core@2.7.0":
|
||||||
|
version "2.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.7.0.tgz#73c13c3b7b0abf9ccdbac9b242254a86327ce0a4"
|
||||||
|
integrity sha512-oyMIfdlNdpyKF2kTJowTixZSo0PGlCJRdssUN/EZdA6H6v03hZnf09JnwpljZNfir2M65Dvjm/15nGrDQnlxSA==
|
||||||
|
dependencies:
|
||||||
|
valtio "1.11.2"
|
||||||
|
|
||||||
"@walletconnect/modal-ui@2.6.1":
|
"@walletconnect/modal-ui@2.6.1":
|
||||||
version "2.6.1"
|
version "2.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.6.1.tgz#200c54c8dfe3c71321abb2724e18bb357dfd6371"
|
resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.6.1.tgz#200c54c8dfe3c71321abb2724e18bb357dfd6371"
|
||||||
@@ -7558,6 +7602,16 @@
|
|||||||
motion "10.16.2"
|
motion "10.16.2"
|
||||||
qrcode "1.5.3"
|
qrcode "1.5.3"
|
||||||
|
|
||||||
|
"@walletconnect/modal-ui@2.7.0":
|
||||||
|
version "2.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.7.0.tgz#dbbb7ee46a5a25f7d39db622706f2d197b268cbb"
|
||||||
|
integrity sha512-gERYvU7D7K1ANCN/8vUgsE0d2hnRemfAFZ2novm9aZBg7TEd/4EgB+AqbJ+1dc7GhOL6dazckVq78TgccHb7mQ==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/modal-core" "2.7.0"
|
||||||
|
lit "2.8.0"
|
||||||
|
motion "10.16.2"
|
||||||
|
qrcode "1.5.3"
|
||||||
|
|
||||||
"@walletconnect/modal@2.6.1":
|
"@walletconnect/modal@2.6.1":
|
||||||
version "2.6.1"
|
version "2.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.1.tgz#066fdbfcff83b58c8a9da66ab4af0eb93e3626de"
|
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.1.tgz#066fdbfcff83b58c8a9da66ab4af0eb93e3626de"
|
||||||
@@ -7574,6 +7628,21 @@
|
|||||||
"@walletconnect/modal-core" "2.6.2"
|
"@walletconnect/modal-core" "2.6.2"
|
||||||
"@walletconnect/modal-ui" "2.6.2"
|
"@walletconnect/modal-ui" "2.6.2"
|
||||||
|
|
||||||
|
"@walletconnect/modal@2.7.0":
|
||||||
|
version "2.7.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.7.0.tgz#55f969796d104cce1205f5f844d8f8438b79723a"
|
||||||
|
integrity sha512-RQVt58oJ+rwqnPcIvRFeMGKuXb9qkgSmwz4noF8JZGUym3gUAzVs+uW2NQ1Owm9XOJAV+sANrtJ+VoVq1ftElw==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/modal-core" "2.7.0"
|
||||||
|
"@walletconnect/modal-ui" "2.7.0"
|
||||||
|
|
||||||
|
"@walletconnect/relay-api@1.0.11":
|
||||||
|
version "1.0.11"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.11.tgz#80ab7ef2e83c6c173be1a59756f95e515fb63224"
|
||||||
|
integrity sha512-tLPErkze/HmC9aCmdZOhtVmYZq1wKfWTJtygQHoWtgg722Jd4homo54Cs4ak2RUFUZIGO2RsOpIcWipaua5D5Q==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/jsonrpc-types" "^1.0.2"
|
||||||
|
|
||||||
"@walletconnect/relay-api@^1.0.9":
|
"@walletconnect/relay-api@^1.0.9":
|
||||||
version "1.0.10"
|
version "1.0.10"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499"
|
resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499"
|
||||||
@@ -7581,7 +7650,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/jsonrpc-types" "^1.0.2"
|
"@walletconnect/jsonrpc-types" "^1.0.2"
|
||||||
|
|
||||||
"@walletconnect/relay-auth@^1.0.4":
|
"@walletconnect/relay-auth@1.0.4", "@walletconnect/relay-auth@^1.0.4":
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c"
|
resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c"
|
||||||
integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==
|
integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==
|
||||||
@@ -7593,7 +7662,7 @@
|
|||||||
tslib "1.14.1"
|
tslib "1.14.1"
|
||||||
uint8arrays "^3.0.0"
|
uint8arrays "^3.0.0"
|
||||||
|
|
||||||
"@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2":
|
"@walletconnect/safe-json@1.0.2", "@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2":
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77"
|
resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77"
|
||||||
integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA==
|
integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA==
|
||||||
@@ -7615,20 +7684,20 @@
|
|||||||
"@walletconnect/utils" "2.11.1"
|
"@walletconnect/utils" "2.11.1"
|
||||||
events "^3.3.0"
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/sign-client@2.12.2":
|
"@walletconnect/sign-client@2.17.1":
|
||||||
version "2.12.2"
|
version "2.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.12.2.tgz#10cddcba3740f726149c33ef1a9040a808d65e08"
|
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.17.1.tgz#0777536427eba1b725c111ecc08eb301e05a8c55"
|
||||||
integrity sha512-cM0ualXj6nVvLqS4BDNRk+ZWR+lubcsz/IHreH+3wYrQ2sV+C0fN6ctrd7MMGZss0C0qacWCx0pm62ZBuoKvqA==
|
integrity sha512-6rLw6YNy0smslH9wrFTbNiYrGsL3DrOsS5FcuU4gIN6oh8pGYOFZ5FiSyTTroc5tngOk3/Sd7dlGY9S7O4nveg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/core" "2.12.2"
|
"@walletconnect/core" "2.17.1"
|
||||||
"@walletconnect/events" "^1.0.1"
|
"@walletconnect/events" "1.0.1"
|
||||||
"@walletconnect/heartbeat" "1.2.1"
|
"@walletconnect/heartbeat" "1.2.2"
|
||||||
"@walletconnect/jsonrpc-utils" "1.0.8"
|
"@walletconnect/jsonrpc-utils" "1.0.8"
|
||||||
"@walletconnect/logger" "^2.1.2"
|
"@walletconnect/logger" "2.1.2"
|
||||||
"@walletconnect/time" "^1.0.2"
|
"@walletconnect/time" "1.0.2"
|
||||||
"@walletconnect/types" "2.12.2"
|
"@walletconnect/types" "2.17.1"
|
||||||
"@walletconnect/utils" "2.12.2"
|
"@walletconnect/utils" "2.17.1"
|
||||||
events "^3.3.0"
|
events "3.3.0"
|
||||||
|
|
||||||
"@walletconnect/sign-client@2.9.2":
|
"@walletconnect/sign-client@2.9.2":
|
||||||
version "2.9.2"
|
version "2.9.2"
|
||||||
@@ -7645,7 +7714,7 @@
|
|||||||
"@walletconnect/utils" "2.9.2"
|
"@walletconnect/utils" "2.9.2"
|
||||||
events "^3.3.0"
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/time@^1.0.2":
|
"@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2":
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523"
|
resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523"
|
||||||
integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==
|
integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==
|
||||||
@@ -7664,17 +7733,17 @@
|
|||||||
"@walletconnect/logger" "^2.0.1"
|
"@walletconnect/logger" "^2.0.1"
|
||||||
events "^3.3.0"
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/types@2.12.2":
|
"@walletconnect/types@2.17.1":
|
||||||
version "2.12.2"
|
version "2.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.12.2.tgz#8b64a2015a0a96972d28acb2ff317a9a994abfdb"
|
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.17.1.tgz#425dedbe5853231252d081f61448c55ecd341c96"
|
||||||
integrity sha512-9CmwTlPbrFTzayTL9q7xM7s3KTJkS6kYFtH2m1/fHFgALs6pIUjf1qAx1TF2E4tv7SEzLAIzU4NqgYUt2vWXTg==
|
integrity sha512-aiUeBE3EZZTsZBv5Cju3D0PWAsZCMks1g3hzQs9oNtrbuLL6pKKU0/zpKwk4vGywszxPvC3U0tBCku9LLsH/0A==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/events" "^1.0.1"
|
"@walletconnect/events" "1.0.1"
|
||||||
"@walletconnect/heartbeat" "1.2.1"
|
"@walletconnect/heartbeat" "1.2.2"
|
||||||
"@walletconnect/jsonrpc-types" "1.0.3"
|
"@walletconnect/jsonrpc-types" "1.0.4"
|
||||||
"@walletconnect/keyvaluestorage" "^1.1.1"
|
"@walletconnect/keyvaluestorage" "1.1.1"
|
||||||
"@walletconnect/logger" "^2.0.1"
|
"@walletconnect/logger" "2.1.2"
|
||||||
events "^3.3.0"
|
events "3.3.0"
|
||||||
|
|
||||||
"@walletconnect/types@2.9.2":
|
"@walletconnect/types@2.9.2":
|
||||||
version "2.9.2"
|
version "2.9.2"
|
||||||
@@ -7703,20 +7772,23 @@
|
|||||||
"@walletconnect/utils" "2.11.1"
|
"@walletconnect/utils" "2.11.1"
|
||||||
events "^3.3.0"
|
events "^3.3.0"
|
||||||
|
|
||||||
"@walletconnect/universal-provider@2.12.2":
|
"@walletconnect/universal-provider@2.17.1":
|
||||||
version "2.12.2"
|
version "2.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.12.2.tgz#0c855bbb5584fd11bdf2318344fe6f42fa3e91cb"
|
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.17.1.tgz#f340ff6e922ed9e0f81ed5ca3c7b698a9cfeac12"
|
||||||
integrity sha512-0k5ZgSkABopQLVhkiwl2gRGG7dAP4SWiI915pIlyN5sRvWV+qX1ALhWAmRcdv0TXWlKHDcDgPJw/q2sCSAHuMQ==
|
integrity sha512-XztlFCLIAnLfIISijU3RMJRSg03l9tA8nLnk2dp+pnCJddgxmM6Omxr8lRAiTGYcwJ9UD+/5B41aG0VoJnLjFA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
|
"@walletconnect/events" "1.0.1"
|
||||||
"@walletconnect/jsonrpc-provider" "1.0.13"
|
"@walletconnect/jsonrpc-http-connection" "1.0.8"
|
||||||
"@walletconnect/jsonrpc-types" "^1.0.2"
|
"@walletconnect/jsonrpc-provider" "1.0.14"
|
||||||
"@walletconnect/jsonrpc-utils" "^1.0.7"
|
"@walletconnect/jsonrpc-types" "1.0.4"
|
||||||
"@walletconnect/logger" "^2.1.2"
|
"@walletconnect/jsonrpc-utils" "1.0.8"
|
||||||
"@walletconnect/sign-client" "2.12.2"
|
"@walletconnect/keyvaluestorage" "1.1.1"
|
||||||
"@walletconnect/types" "2.12.2"
|
"@walletconnect/logger" "2.1.2"
|
||||||
"@walletconnect/utils" "2.12.2"
|
"@walletconnect/sign-client" "2.17.1"
|
||||||
events "^3.3.0"
|
"@walletconnect/types" "2.17.1"
|
||||||
|
"@walletconnect/utils" "2.17.1"
|
||||||
|
events "3.3.0"
|
||||||
|
lodash "4.17.21"
|
||||||
|
|
||||||
"@walletconnect/universal-provider@2.9.2":
|
"@walletconnect/universal-provider@2.9.2":
|
||||||
version "2.9.2"
|
version "2.9.2"
|
||||||
@@ -7753,25 +7825,31 @@
|
|||||||
query-string "7.1.3"
|
query-string "7.1.3"
|
||||||
uint8arrays "^3.1.0"
|
uint8arrays "^3.1.0"
|
||||||
|
|
||||||
"@walletconnect/utils@2.12.2":
|
"@walletconnect/utils@2.17.1":
|
||||||
version "2.12.2"
|
version "2.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.12.2.tgz#a2c349d4effef7c1c5e72e74a5483d8dfbb10918"
|
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.17.1.tgz#fc57ffb89fc101fa1bf015de016ea01091d10ae0"
|
||||||
integrity sha512-zf50HeS3SfoLv1N9GPl2IXTZ9TsXfet4usVAsZmX9P6/Xzq7d/7QakjVQCHH/Wk1O9XkcsfeoZoUhRxoMJ5uJw==
|
integrity sha512-KL7pPwq7qUC+zcTmvxGqIyYanfHgBQ+PFd0TEblg88jM7EjuDLhjyyjtkhyE/2q7QgR7OanIK7pCpilhWvBsBQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@ethersproject/hash" "5.7.0"
|
||||||
|
"@ethersproject/transactions" "5.7.0"
|
||||||
"@stablelib/chacha20poly1305" "1.0.1"
|
"@stablelib/chacha20poly1305" "1.0.1"
|
||||||
"@stablelib/hkdf" "1.0.1"
|
"@stablelib/hkdf" "1.0.1"
|
||||||
"@stablelib/random" "^1.0.2"
|
"@stablelib/random" "1.0.2"
|
||||||
"@stablelib/sha256" "1.0.1"
|
"@stablelib/sha256" "1.0.1"
|
||||||
"@stablelib/x25519" "^1.0.3"
|
"@stablelib/x25519" "1.0.3"
|
||||||
"@walletconnect/relay-api" "^1.0.9"
|
"@walletconnect/jsonrpc-utils" "1.0.8"
|
||||||
"@walletconnect/safe-json" "^1.0.2"
|
"@walletconnect/keyvaluestorage" "1.1.1"
|
||||||
"@walletconnect/time" "^1.0.2"
|
"@walletconnect/relay-api" "1.0.11"
|
||||||
"@walletconnect/types" "2.12.2"
|
"@walletconnect/relay-auth" "1.0.4"
|
||||||
"@walletconnect/window-getters" "^1.0.1"
|
"@walletconnect/safe-json" "1.0.2"
|
||||||
"@walletconnect/window-metadata" "^1.0.1"
|
"@walletconnect/time" "1.0.2"
|
||||||
|
"@walletconnect/types" "2.17.1"
|
||||||
|
"@walletconnect/window-getters" "1.0.1"
|
||||||
|
"@walletconnect/window-metadata" "1.0.1"
|
||||||
detect-browser "5.3.0"
|
detect-browser "5.3.0"
|
||||||
|
elliptic "6.5.7"
|
||||||
query-string "7.1.3"
|
query-string "7.1.3"
|
||||||
uint8arrays "^3.1.0"
|
uint8arrays "3.1.0"
|
||||||
|
|
||||||
"@walletconnect/utils@2.9.2":
|
"@walletconnect/utils@2.9.2":
|
||||||
version "2.9.2"
|
version "2.9.2"
|
||||||
@@ -7793,14 +7871,14 @@
|
|||||||
query-string "7.1.3"
|
query-string "7.1.3"
|
||||||
uint8arrays "^3.1.0"
|
uint8arrays "^3.1.0"
|
||||||
|
|
||||||
"@walletconnect/window-getters@^1.0.1":
|
"@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1":
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc"
|
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc"
|
||||||
integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==
|
integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib "1.14.1"
|
tslib "1.14.1"
|
||||||
|
|
||||||
"@walletconnect/window-metadata@^1.0.1":
|
"@walletconnect/window-metadata@1.0.1", "@walletconnect/window-metadata@^1.0.1":
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5"
|
resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5"
|
||||||
integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==
|
integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==
|
||||||
@@ -10192,6 +10270,19 @@ elliptic@6.5.4:
|
|||||||
minimalistic-assert "^1.0.1"
|
minimalistic-assert "^1.0.1"
|
||||||
minimalistic-crypto-utils "^1.0.1"
|
minimalistic-crypto-utils "^1.0.1"
|
||||||
|
|
||||||
|
elliptic@6.5.7:
|
||||||
|
version "6.5.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b"
|
||||||
|
integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==
|
||||||
|
dependencies:
|
||||||
|
bn.js "^4.11.9"
|
||||||
|
brorand "^1.1.0"
|
||||||
|
hash.js "^1.0.0"
|
||||||
|
hmac-drbg "^1.0.1"
|
||||||
|
inherits "^2.0.4"
|
||||||
|
minimalistic-assert "^1.0.1"
|
||||||
|
minimalistic-crypto-utils "^1.0.1"
|
||||||
|
|
||||||
elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4, elliptic@^6.5.5:
|
elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4, elliptic@^6.5.5:
|
||||||
version "6.5.5"
|
version "6.5.5"
|
||||||
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded"
|
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded"
|
||||||
@@ -10709,7 +10800,7 @@ eventemitter3@^4.0.4:
|
|||||||
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
|
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
|
||||||
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
|
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
|
||||||
|
|
||||||
events@^3.3.0:
|
events@3.3.0, events@^3.3.0:
|
||||||
version "3.3.0"
|
version "3.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
|
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
|
||||||
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
|
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
|
||||||
@@ -13158,7 +13249,7 @@ lodash.sortby@^4.7.0:
|
|||||||
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
|
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
|
||||||
integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==
|
integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==
|
||||||
|
|
||||||
lodash@^4.17.15, lodash@^4.17.21:
|
lodash@4.17.21, lodash@^4.17.15, lodash@^4.17.21:
|
||||||
version "4.17.21"
|
version "4.17.21"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
||||||
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
||||||
@@ -17222,6 +17313,13 @@ uid-safe@~2.1.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
random-bytes "~1.0.0"
|
random-bytes "~1.0.0"
|
||||||
|
|
||||||
|
uint8arrays@3.1.0:
|
||||||
|
version "3.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.0.tgz#8186b8eafce68f28bd29bd29d683a311778901e2"
|
||||||
|
integrity sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==
|
||||||
|
dependencies:
|
||||||
|
multiformats "^9.4.2"
|
||||||
|
|
||||||
uint8arrays@^3.0.0, uint8arrays@^3.1.0:
|
uint8arrays@^3.0.0, uint8arrays@^3.1.0:
|
||||||
version "3.1.1"
|
version "3.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0"
|
resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0"
|
||||||
|
|||||||
Reference in New Issue
Block a user