Skip to content

Commit

Permalink
Solana solflare fix (#127)
Browse files Browse the repository at this point in the history
* v12.16.5: solana and solflare fix

* fix solflare deeplink

* fix solflare deep link
  • Loading branch information
0xNe0x1 authored Nov 9, 2024
1 parent 2af701d commit 467a900
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 22 deletions.
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-dialog-stack@8"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-shadow-dom@5"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/js-verify-signature-web@3"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected].1"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected].5"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-client@10"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-tokens@10"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-token-image@5"></script>
Expand Down
2 changes: 1 addition & 1 deletion dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-dialog-stack@8"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-shadow-dom@5"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/js-verify-signature-web@3"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected].1"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected].5"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script>
Expand Down
4 changes: 2 additions & 2 deletions dist/esm/index.bundle.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ var allWallets = [{
"mobile": {
"ios": {
"native": "solflare:",
"open": function open() {
return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
},
"universal": "https://solflare.com/ul",
"solanaPay": true
},
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ var allWallets = [{
"mobile": {
"ios": {
"native": "solflare:",
"open": function open() {
return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
},
"universal": "https://solflare.com/ul",
"solanaPay": true
},
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ var allWallets = [{
"mobile": {
"ios": {
"native": "solflare:",
"open": function open() {
return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
},
"universal": "https://solflare.com/ul",
"solanaPay": true
},
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/umd/index.bundle.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@
"mobile": {
"ios": {
"native": "solflare:",
"open": function open() {
return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
},
"universal": "https://solflare.com/ul",
"solanaPay": true
},
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@
"mobile": {
"ios": {
"native": "solflare:",
"open": function open() {
return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
},
"universal": "https://solflare.com/ul",
"solanaPay": true
},
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@
"mobile": {
"ios": {
"native": "solflare:",
"open": function open() {
return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
},
"universal": "https://solflare.com/ul",
"solanaPay": true
},
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.evm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-evm",
"moduleName": "DePayWidgets",
"version": "12.16.4",
"version": "12.16.5",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@depay/react-token-image-evm": "^5.1.0",
"@depay/walletconnect-v2": "^2.12.2",
"@depay/web3-assets-evm": "^7.4.1",
"@depay/web3-blockchains": "^9.7.1",
"@depay/web3-blockchains": "^9.7.5",
"@depay/web3-client-evm": "^10.19.3",
"@depay/web3-exchanges-evm": "^13.11.0",
"@depay/web3-payments-evm": "^13.12.10",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets",
"moduleName": "DePayWidgets",
"version": "12.16.4",
"version": "12.16.5",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -43,7 +43,7 @@
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v2": "^2.12.2",
"@depay/web3-assets": "^7.4.1",
"@depay/web3-blockchains": "^9.7.1",
"@depay/web3-blockchains": "^9.7.5",
"@depay/web3-client": "^10.19.3",
"@depay/web3-exchanges": "^13.11.0",
"@depay/web3-payments": "^13.12.10",
Expand Down
4 changes: 2 additions & 2 deletions package.solana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-solana",
"moduleName": "DePayWidgets",
"version": "12.16.4",
"version": "12.16.5",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v2": "^2.12.2",
"@depay/web3-assets-solana": "^7.4.1",
"@depay/web3-blockchains": "^9.7.1",
"@depay/web3-blockchains": "^9.7.5",
"@depay/web3-client-solana": "^10.19.3",
"@depay/web3-exchanges-solana": "^13.11.0",
"@depay/web3-payments-solana": "^13.12.10",
Expand Down
1 change: 1 addition & 0 deletions src/helpers/allWallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export default [
"mobile": {
"ios": {
"native": "solflare:",
"open": ()=>`https://solflare.com/ul/v1/browse/${encodeURIComponent(window.location.toString())}?ref=${encodeURIComponent(window.location.origin.toString())}`,
"universal": "https://solflare.com/ul",
"solanaPay": true,
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1340,10 +1340,10 @@
resolved "https://registry.yarnpkg.com/@depay/web3-blockchains/-/web3-blockchains-9.6.3.tgz#64917c69fb7e22ef84b11a55a02fe5527459cc66"
integrity sha512-JJskj51T9t6DRKFeeeFktGO+bT3xIKew8/MAJkMoOkXxDM3iVUZ07mnzWHgSlYjl65GHxKuXKv9GBNXqcIPUjw==

"@depay/web3-blockchains@^9.7.1":
version "9.7.1"
resolved "https://registry.yarnpkg.com/@depay/web3-blockchains/-/web3-blockchains-9.7.1.tgz#2bab2ab0b3bbb64ed9d72c461ecaf844efeb779a"
integrity sha512-u178OTLFajcmkp/+GW8X0y1EMA75TJSt8EcPWFXYmoWXGEelL9DeWzjOlhhRcXYENTXM5/jUEdYh/wLGB1Dn1A==
"@depay/web3-blockchains@^9.7.5":
version "9.7.5"
resolved "https://registry.yarnpkg.com/@depay/web3-blockchains/-/web3-blockchains-9.7.5.tgz#a99f81dc502a8a397e7b1172364fdef5019ea4f5"
integrity sha512-Nhte6p1mYolqe58JS3Gt3ebn1/xsMMzytNhHk6BK/rpCeqTwX2WyeaYeTAHXNn0sm99hlZM4Qf2Vo4BeZUKOLw==

"@depay/web3-client@^10.19.3":
version "10.19.3"
Expand Down

0 comments on commit 467a900

Please sign in to comment.