Skip to content

Commit

Permalink
Merge branch 'main' into chore/sync
Browse files Browse the repository at this point in the history
  • Loading branch information
yeager-eren committed Nov 12, 2024
2 parents 1ec9b81 + 2e2471d commit 07a1b77
Show file tree
Hide file tree
Showing 29 changed files with 183 additions and 142 deletions.
6 changes: 3 additions & 3 deletions examples/queue-manager-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"rango-sdk": "^0.1.57"
},
"dependencies": {
"@rango-dev/provider-all": "^0.38.1-next.0",
"@rango-dev/provider-xdefi": "^0.38.0",
"@rango-dev/provider-all": "^0.38.5",
"@rango-dev/provider-xdefi": "^0.38.1",
"@rango-dev/queue-manager-rango-preset": "^0.38.0",
"@rango-dev/queue-manager-react": "^0.27.0",
"@rango-dev/wallets-react": "^0.24.0",
Expand All @@ -30,4 +30,4 @@
"rango-sdk-basic": "^0.1.57",
"rango-types": "^0.1.74"
}
}
}
6 changes: 3 additions & 3 deletions examples/wallets-adapter-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"clean": "rimraf .parcel-cache && rimraf dist"
},
"dependencies": {
"@rango-dev/provider-all": "^0.38.1-next.0",
"@rango-dev/wallets-adapter": "^0.34.1-next.4",
"@rango-dev/provider-all": "^0.38.5",
"@rango-dev/wallets-adapter": "^0.34.5",
"rango-sdk": "^0.1.57",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand All @@ -27,4 +27,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions examples/wallets-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"clean": "rimraf .parcel-cache && rimraf dist"
},
"dependencies": {
"@rango-dev/provider-all": "^0.38.1-next.0",
"@rango-dev/provider-all": "^0.38.5",
"@rango-dev/ui": "^0.40.1-next.3",
"@rango-dev/wallets-react": "^0.24.0",
"@rango-dev/wallets-shared": "^0.38.0",
"rango-sdk": "^0.1.57",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@
"vm-browserify": "^1.1.2"
},
"resolutions": {
"react-refresh": "0.9.0"
"react-refresh": "0.9.0",
"protobufjs": "^6.11.4"
},
"@parcel/resolver-default": {
"packageExports": true
}
},
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}
4 changes: 4 additions & 0 deletions signers/signer-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.30.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.30.1) (2024-11-06)



# [0.30.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.30.0) (2024-10-12)


Expand Down
5 changes: 4 additions & 1 deletion signers/signer-cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/signer-cosmos",
"version": "0.30.0",
"version": "0.30.1",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand Down Expand Up @@ -31,6 +31,9 @@
"devDependencies": {
"@keplr-wallet/types": "^0.9.12"
},
"resolutions": {
"protobufjs": "^6.11.4"
},
"publishConfig": {
"access": "public"
}
Expand Down
20 changes: 20 additions & 0 deletions wallets/provider-all/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## [0.38.5](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.5) (2024-11-06)



## [0.38.4](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.4) (2024-11-06)



## [0.38.3](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.3) (2024-11-06)



## [0.38.2](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.2) (2024-11-06)



## [0.38.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.1) (2024-10-30)



# [0.38.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.0) (2024-10-12)


Expand Down
16 changes: 8 additions & 8 deletions wallets/provider-all/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-all",
"version": "0.38.1-next.0",
"version": "0.38.5",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand Down Expand Up @@ -28,14 +28,14 @@
"@rango-dev/provider-clover": "^0.39.0",
"@rango-dev/provider-coin98": "^0.39.0",
"@rango-dev/provider-coinbase": "^0.38.0",
"@rango-dev/provider-cosmostation": "^0.38.0",
"@rango-dev/provider-cosmostation": "^0.38.1",
"@rango-dev/provider-default": "^0.35.0",
"@rango-dev/provider-enkrypt": "^0.38.0",
"@rango-dev/provider-exodus": "^0.38.0",
"@rango-dev/provider-frontier": "^0.38.0",
"@rango-dev/provider-halo": "^0.38.0",
"@rango-dev/provider-keplr": "^0.38.0",
"@rango-dev/provider-leap-cosmos": "^0.38.0",
"@rango-dev/provider-keplr": "^0.38.2",
"@rango-dev/provider-leap-cosmos": "^0.38.1",
"@rango-dev/provider-ledger": "^0.8.0",
"@rango-dev/provider-math-wallet": "^0.38.0",
"@rango-dev/provider-metamask": "^0.38.0",
Expand All @@ -44,20 +44,20 @@
"@rango-dev/provider-rabby": "^0.5.0",
"@rango-dev/provider-safe": "^0.31.0",
"@rango-dev/provider-safepal": "^0.38.0",
"@rango-dev/provider-solflare": "^0.4.0",
"@rango-dev/provider-solflare": "^0.4.1",
"@rango-dev/provider-solflare-snap": "^0.9.0",
"@rango-dev/provider-taho": "^0.38.0",
"@rango-dev/provider-tokenpocket": "^0.38.0",
"@rango-dev/provider-tomo": "^0.5.0",
"@rango-dev/provider-trezor": "^0.5.1-next.0",
"@rango-dev/provider-tron-link": "^0.38.0",
"@rango-dev/provider-trustwallet": "^0.38.0",
"@rango-dev/provider-walletconnect-2": "^0.31.0",
"@rango-dev/provider-xdefi": "^0.38.0",
"@rango-dev/provider-walletconnect-2": "^0.31.3",
"@rango-dev/provider-xdefi": "^0.38.1",
"@rango-dev/wallets-react": "^0.24.0",
"@rango-dev/wallets-shared": "^0.38.0"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 4 additions & 0 deletions wallets/provider-cosmostation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.38.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.1) (2024-11-06)



# [0.38.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.0) (2024-10-12)


Expand Down
6 changes: 3 additions & 3 deletions wallets/provider-cosmostation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-cosmostation",
"version": "0.38.0",
"version": "0.38.1",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand All @@ -21,12 +21,12 @@
"lint": "eslint \"**/*.{ts,tsx}\" --ignore-path ../../.eslintignore"
},
"dependencies": {
"@rango-dev/signer-cosmos": "^0.30.0",
"@rango-dev/signer-cosmos": "^0.30.1",
"@rango-dev/signer-evm": "^0.31.0",
"@rango-dev/wallets-shared": "^0.38.0",
"rango-types": "^0.1.74"
},
"publishConfig": {
"access": "public"
}
}
}
8 changes: 8 additions & 0 deletions wallets/provider-keplr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [0.38.2](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.2) (2024-11-06)



## [0.38.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.1) (2024-11-06)



# [0.38.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.0) (2024-10-12)


Expand Down
9 changes: 6 additions & 3 deletions wallets/provider-keplr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-keplr",
"version": "0.38.0",
"version": "0.38.2",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand All @@ -21,14 +21,17 @@
"lint": "eslint \"**/*.{ts,tsx}\" --ignore-path ../../.eslintignore"
},
"dependencies": {
"@rango-dev/signer-cosmos": "^0.30.0",
"@rango-dev/signer-cosmos": "^0.30.1",
"@rango-dev/wallets-shared": "^0.38.0",
"rango-types": "^0.1.74"
},
"devDependencies": {
"@keplr-wallet/types": "^0.11.21"
},
"resolutions": {
"@keplr-wallet/types/secretjs/protobufjs": "^6.11.4"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 4 additions & 0 deletions wallets/provider-leap-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.38.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.1) (2024-11-06)



# [0.38.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.0) (2024-10-12)


Expand Down
6 changes: 3 additions & 3 deletions wallets/provider-leap-cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-leap-cosmos",
"version": "0.38.0",
"version": "0.38.1",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand All @@ -21,11 +21,11 @@
"lint": "eslint \"**/*.{ts,tsx}\" --ignore-path ../../.eslintignore"
},
"dependencies": {
"@rango-dev/signer-cosmos": "^0.30.0",
"@rango-dev/signer-cosmos": "^0.30.1",
"@rango-dev/wallets-shared": "^0.38.0",
"rango-types": "^0.1.74"
},
"publishConfig": {
"access": "public"
}
}
}
9 changes: 9 additions & 0 deletions wallets/provider-solflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.4.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.4.1) (2024-10-30)


### Bug Fixes

* when host is using cjs, fallback to .default() for solfare sdk ([0aa702a](https://github.com/rango-exchange/rango-client/commit/0aa702ab1bed865a049541e87c4fa3b1a5006c1d))



# [0.4.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.4.0) (2024-10-12)


Expand Down
4 changes: 2 additions & 2 deletions wallets/provider-solflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-solflare",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand Down Expand Up @@ -30,4 +30,4 @@
"publishConfig": {
"access": "public"
}
}
}
14 changes: 12 additions & 2 deletions wallets/provider-solflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,18 @@ const WALLET = WalletTypes.SOLFLARE;
export const config = {
type: WALLET,
};

const walletInstance = new Solflare();
/*
* Solflare is a transpiling ESM to CJS as well. It causes interop issues which is normally will be fixed using following code
*/
let SDK = Solflare;
if (
typeof Solflare !== 'function' &&
// @ts-expect-error This import error is not visible to TypeScript
typeof Solflare.default === 'function'
) {
SDK = (Solflare as unknown as { default: typeof Solflare }).default;
}
const walletInstance = new SDK();

export const getInstance = () => (window.solflare ? walletInstance : null);
export const connect: Connect = async ({
Expand Down
12 changes: 12 additions & 0 deletions wallets/provider-walletconnect-2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [0.31.3](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.31.3) (2024-11-06)



## [0.31.2](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.31.2) (2024-11-06)



## [0.31.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.31.1) (2024-11-06)



# [0.31.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.31.0) (2024-10-12)


Expand Down
10 changes: 7 additions & 3 deletions wallets/provider-walletconnect-2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-walletconnect-2",
"version": "0.31.0",
"version": "0.31.3",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand All @@ -25,7 +25,7 @@
"@keplr-wallet/cosmos": "^0.9.12",
"@keplr-wallet/simple-fetch": "^0.12.14",
"@rango-dev/logging-core": "^0.6.0",
"@rango-dev/signer-cosmos": "^0.30.0",
"@rango-dev/signer-cosmos": "^0.30.1",
"@rango-dev/signer-evm": "^0.31.0",
"@rango-dev/signer-solana": "^0.33.0",
"@rango-dev/wallets-shared": "^0.38.0",
Expand All @@ -42,7 +42,11 @@
"@walletconnect/modal": "^2.6.2",
"@walletconnect/types": "^2.11.2"
},
"resolutions": {
"protobufjs": "^6.11.4",
"@keplr-wallet/cosmos/@keplr-wallet/types/secretjs/protobufjs": "^6.14.4"
},
"publishConfig": {
"access": "public"
}
}
}
4 changes: 4 additions & 0 deletions wallets/provider-xdefi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.38.1](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.1) (2024-11-06)



# [0.38.0](https://github.com/rango-exchange/rango-client/compare/[email protected]@0.38.0) (2024-10-12)


Expand Down
6 changes: 3 additions & 3 deletions wallets/provider-xdefi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rango-dev/provider-xdefi",
"version": "0.38.0",
"version": "0.38.1",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
Expand All @@ -21,7 +21,7 @@
"lint": "eslint \"**/*.{ts,tsx}\" --ignore-path ../../.eslintignore"
},
"dependencies": {
"@rango-dev/signer-cosmos": "^0.30.0",
"@rango-dev/signer-cosmos": "^0.30.1",
"@rango-dev/signer-evm": "^0.31.0",
"@rango-dev/signer-solana": "^0.33.0",
"@rango-dev/wallets-shared": "^0.38.0",
Expand All @@ -31,4 +31,4 @@
"publishConfig": {
"access": "public"
}
}
}
Loading

0 comments on commit 07a1b77

Please sign in to comment.