Skip to content

Commit

Permalink
Merge pull request #805 from near/dev
Browse files Browse the repository at this point in the history
v8.1.0 Release (dev -> main)
  • Loading branch information
kujtimprenkuSQA authored May 10, 2023
2 parents 7520641 + 9be60c3 commit cc9ba74
Show file tree
Hide file tree
Showing 100 changed files with 1,074 additions and 1,127 deletions.
17 changes: 16 additions & 1 deletion examples/angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,22 @@
},
{
"glob": "**/*",
"input": "packages/xdefi/assets/",
"input": "packages/here-wallet/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/narwallets/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/near-snap/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/neth/assets/",
"output": "assets/"
}
],
Expand Down
32 changes: 26 additions & 6 deletions examples/react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
"input": "packages/sender/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/xdefi/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/nearfi/assets/",
Expand Down Expand Up @@ -58,11 +63,6 @@
"input": "packages/nightly-connect/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/narwallets/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/meteor-wallet/assets/",
Expand All @@ -87,6 +87,26 @@
"glob": "**/*",
"input": "packages/finer-wallet/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/here-wallet/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/narwallets/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/near-snap/assets/",
"output": "assets/"
},
{
"glob": "**/*",
"input": "packages/neth/assets/",
"output": "assets/"
}
]
},
Expand Down Expand Up @@ -126,4 +146,4 @@
}
},
"tags": []
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-wallet-selector",
"version": "8.0.3",
"version": "8.1.0",
"description": "NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem",
"keywords": [
"near",
Expand Down Expand Up @@ -90,7 +90,7 @@
"@metamask/detect-provider": "^2.0.0",
"@meteorwallet/sdk": "^0.6.0",
"@nightlylabs/connect-near": "0.0.15",
"@walletconnect/sign-client": "2.5.2",
"@walletconnect/sign-client": "2.7.2",
"@web3modal/standalone": "^2.2.2",
"better-sqlite3": "^8.2.0",
"big.js": "^6.1.1",
Expand All @@ -102,17 +102,17 @@
"crypto-browserify": "^3.12.0",
"ethers": "^5.7.2",
"https-browserify": "^1.0.0",
"is-mobile": "^3.1.1",
"is-mobile": "^4.0.0",
"near-api-js": "^2.1.3",
"near-seed-phrase": "^0.2.0",
"next": "12.2.3",
"ngx-deploy-npm": "^4.3.10",
"qrcode": "^1.5.1",
"qrcode": "^1.5.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-qr-code": "^2.0.11",
"regenerator-runtime": "0.13.11",
"rxjs": "^7.8.0",
"rxjs": "^7.8.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"tslib": "^2.3.0",
Expand Down Expand Up @@ -163,7 +163,7 @@
"@types/w3c-web-usb": "^1.0.5",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"@walletconnect/types": "^2.5.2",
"@walletconnect/types": "^2.7.2",
"babel-jest": "27.2.3",
"cypress": "^9.1.0",
"eslint": "~8.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/account-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/account-export",
"version": "8.0.3",
"version": "8.1.0",
"description": "This is the Export Selector UI package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand Down
5 changes: 4 additions & 1 deletion packages/account-export/src/lib/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
.nws-modal-wrapper .nws-modal .wallet-options-wrapper .options-list .single-wallet.sidebar .import-content {
width: auto;
}

.nws-modal-wrapper .nws-modal .wallet-options-wrapper .options-list .single-wallet.sidebar.selected-wallet .import-content .title,
.nws-modal-wrapper .nws-modal .wallet-options-wrapper .options-list .single-wallet.sidebar.selected-wallet .import-content .import-type {
color: #FFFFFF;
}
.nws-modal-wrapper .nws-modal .wallet-options-wrapper .options-list .single-wallet.sidebar .import-content .title {
font-size: 14px;
color: var(--wallet-selector-heading-color, var(--heading-color));
Expand Down
13 changes: 13 additions & 0 deletions packages/coin98-wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ const selector = await setupWalletSelector({
- `iconUrl`: (`string?`): Icon is optional. Default image point to Coin98 Wallet Logo in base64 format.
- `deprecated`: (`boolean?`): Deprecated is optional. Default is `false`.

## Assets

Assets such as icons can be found in the `/assets` directory of the package. Below is an example using Webpack:

```ts
import { setupCoin98Wallet } from "@near-wallet-selector/coin98-wallet";
import coin98WalletIconUrl from "@near-wallet-selector/coin98-wallet/assets/coin98-wallet-icon.png";

const wallet = setupCoin98Wallet({
iconUrl: coin98WalletIconUrl
});
```

## License

This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
2 changes: 1 addition & 1 deletion packages/coin98-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/coin98-wallet",
"version": "8.0.3",
"version": "8.1.0",
"description": "Coin 98 wallet package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/docs/api/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ There are four wallet types:

**Description**

Returns meta information about the wallet such as `name`, `description`, `iconUrl` , `deprecated` and `available` but can include wallet-specific properties such as `downloadUrl` and `useUrlAccountImport` for injected wallets or `contractId` and `runOnStartup` for instant-link wallets.
Returns meta information about the wallet such as `name`, `description`, `iconUrl` , `deprecated` and `available` but can include wallet-specific properties such as `downloadUrl` and `useUrlAccountImport` for injected wallets or `contractId`, `runOnStartup` for instant-link wallets and `walletUrl` for browser wallets.

**Example**

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/core",
"version": "8.0.3",
"version": "8.1.0",
"description": "This is the core package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
"copyToClipboard": "نسخ",
"preferTheOfficial": "تفضل الحوار الرسمي ل",
"open": "فتح"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
}
}
}
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
"copyToClipboard": " Копирайте в клипборда",
"preferTheOfficial": "Предпочитан език за кореспонденция",
"open": "Отворете"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
}
}
}
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"preferTheOfficial": "Prefer the official dialogue of",
"open": "Open"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
},
"exportAccounts": {
"chooseAWallet": "Choose a Wallet",
"transferYourAccounts": "Transfer Your Accounts",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
"copyToClipboard": " Copiar al Portapapeles",
"preferTheOfficial": "¿Prefires el diálogo oficial de",
"open": "Abrir"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
}
}
}
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@
"copyToClipboard": " क्लिपबोर्ड पर कॉपी करें|",
"preferTheOfficial": "आधिकारिक संवाद को प्राथमिकता दें|",
"open": "खोले|"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
}
}
}
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"preferTheOfficial": "Odaberite službeni dijalog",
"open": "Otvorite"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
},
"exportAccounts": {
"chooseAWallet": "Odaberi Wallet",
"transferYourAccounts": "Prenesi svoje naloge",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
"overviewTheListOfAuthorized": "인증된 계정 목록을 확인한 후 아래 버튼을 클릭하여 로그인을 완료하세요",
"finish": "완료"
},
"walletTypes": {
"hardware": "하드웨어 지갑",
"browser": "브라우저 지갑",
"injected": "지갑 확장",
"bridge": "브리지 지갑",
"mobile": "모바일 지갑",
"instant-link": "인스턴트 지갑"
},
"install": {
"youllNeedToInstall": "다음 확장 프로그램을 설치해주세요:",
"toContinueAfterInstalling": ". 설치 완료 후 페이지 새로 고침이 필요합니다. ",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/mk.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"preferTheOfficial": "Преферирајте официјален диалог на",
"open": "Отворете"
},
"walletTypes": {
"hardware": "Хардверски новчаник",
"browser": "Новчаник на интернет прелистувач",
"injected": "Екстензија за новчаник",
"bridge": "Bridge новчаник",
"mobile": "Мобилен новчаник",
"instant-link": "Инстант паричник"
},
"exportAccounts": {
"chooseAWallet": "Одберете паричник",
"transferYourAccounts": "Префрлете ги вашите кориснички сметки",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"preferTheOfficial": "Preferirajte uradno pogovorno okno",
"open": "Odprite"
},
"walletTypes": {
"hardware": "Hladna denarnica",
"browser": "Denarnica brskalnika",
"injected": "Razširitev za denarnico",
"bridge": "Bridge denarnica",
"mobile": "Mobilna denarnica",
"instant-link": "Takojšnja denarnica"
},
"exportAccounts": {
"chooseAWallet": "Izberite denarnico",
"transferYourAccounts": "Prenesite svoje račune",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/sr.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"preferTheOfficial": "Преферирате званични дијалог од",
"open": "Отвори"
},
"walletTypes": {
"hardware": "Хардверски новчаник",
"browser": "Новчаник претраживача,",
"injected": "Додатак за новчаник,",
"bridge": "Bridge новчаник",
"mobile": "Мобилни новчаник",
"instant-link": "Инстант новчаник"
},
"exportAccounts": {
"chooseAWallet": "Изаберите новчаник",
"transferYourAccounts": "Пренесите своје налоге",
Expand Down
10 changes: 9 additions & 1 deletion packages/core/src/lib/locale/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
"preferTheOfficial": "Dialogue chính thức của",
"open": "Mở"
},
"walletTypes": {
"hardware": "Ví lạnh",
"browser": "Ví trình duyệt",
"injected": "Ví tiện ích mở rộng",
"bridge": "Ví Cầu",
"mobile": "Ví Mobile",
"instant-link": "Ví tức thì"
},
"exportAccounts": {
"chooseAWallet": "Chọn ví",
"transferYourAccounts": "Chuyển tài khoản",
Expand Down Expand Up @@ -101,4 +109,4 @@
"tooltip": "Bấm để sao chép"
}
}
}
}
8 changes: 8 additions & 0 deletions packages/core/src/lib/locale/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@
"copyToClipboard": " 复制到剪贴板",
"preferTheOfficial": "希望使用官方对话框于",
"open": "打开"
},
"walletTypes": {
"hardware": "Hardware Wallet",
"browser": "Browser Wallet",
"injected": "Wallet Extension",
"bridge": "Bridge Wallet",
"mobile": "Mobile Wallet",
"instant-link": "Instant Wallet"
}
}
}
Loading

0 comments on commit cc9ba74

Please sign in to comment.