@getpara/cosmos-wallet-connectors 3.20.0 → 3.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,4 +10,4 @@ Don't have an API key yet? Request access to the [Developer Portal](https://dev
10
10
 
11
11
  ###Learn more
12
12
 
13
- For more information on Para’s Cosmos wallet connection visit the [Para Docs](https://docs.getpara.com/v2/react/guides/external-wallets/cosmos-lite#cosmos-wallets-with-react-sdk-lite)
13
+ For more information on Para’s Cosmos wallet connection visit the [Para Docs](https://docs.getpara.com/v3/react/guides/react-sdk-lite#cosmos)
@@ -1,11 +1,10 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { WalletList } from '../types/Wallet.js';
3
3
  import { CosmosExternalWalletProviderConfig } from './CosmosExternalWalletContext.js';
4
- import { ChainInfo } from '@keplr-wallet/types';
5
- import { ConfigureGrazArgs } from 'graz';
4
+ import { type ConfigureGrazArgs } from 'graz';
6
5
  export type ParaCosmosProviderConfig = {
7
6
  wallets: WalletList;
8
- chains: ChainInfo[];
7
+ chains: ConfigureGrazArgs['chains'];
9
8
  /**
10
9
  * If true, the initial connection request will request to connect to all passed in chains.
11
10
  * If false, the initial connection request will only request for the selectedChainId.
package/package.json CHANGED
@@ -1,17 +1,25 @@
1
1
  {
2
2
  "name": "@getpara/cosmos-wallet-connectors",
3
- "version": "3.20.0",
3
+ "version": "3.21.0",
4
4
  "dependencies": {
5
- "@getpara/graz-connector": "3.20.0",
6
- "@getpara/react-common": "3.20.0",
7
- "@getpara/web-sdk": "3.20.0",
5
+ "@getpara/graz-connector": "3.21.0",
6
+ "@getpara/react-common": "3.21.0",
7
+ "@getpara/web-sdk": "3.21.0",
8
8
  "zustand": "^4.5.2",
9
9
  "zustand-sync-tabs": "^0.2.2"
10
10
  },
11
11
  "devDependencies": {
12
+ "@cosmjs/amino": "^0.32.4",
13
+ "@cosmjs/cosmwasm-stargate": "^0.32.4",
14
+ "@cosmjs/encoding": "^0.32.4",
15
+ "@cosmjs/proto-signing": "^0.32.4",
16
+ "@cosmjs/stargate": "^0.32.4",
17
+ "@tanstack/react-query": "^5.74.0",
12
18
  "@types/react": "^18.3.3",
13
19
  "@types/react-dom": "^18.3.0",
14
20
  "graz": ">=0.4.1",
21
+ "react": "^18.3.1",
22
+ "react-dom": "^18.3.1",
15
23
  "typescript": "^5.8.3"
16
24
  },
17
25
  "exports": {
@@ -22,17 +30,23 @@
22
30
  "dist",
23
31
  "package.json"
24
32
  ],
25
- "gitHead": "0a7224c678bc2b172bd41cce75637a8783869a93",
33
+ "gitHead": "e1ca81fb06f6337aaa7cc1860584b7ba5d1d9ca8",
26
34
  "main": "dist/index.js",
27
35
  "peerDependencies": {
36
+ "@cosmjs/amino": ">=0.32.4",
37
+ "@cosmjs/cosmwasm-stargate": ">=0.32.4",
38
+ "@cosmjs/encoding": ">=0.32.4",
39
+ "@cosmjs/proto-signing": ">=0.32.4",
40
+ "@cosmjs/stargate": ">=0.32.4",
28
41
  "graz": ">=0.4.1",
29
42
  "react": ">=18",
30
43
  "react-dom": ">=18"
31
44
  },
32
45
  "scripts": {
33
- "build": "rm -rf dist && yarn typegen && node ./scripts/build.mjs",
46
+ "build": "rm -rf dist && node ./scripts/build.mjs && yarn build:types",
34
47
  "test": "vitest run --coverage",
35
- "typegen": "tsc --emitDeclarationOnly"
48
+ "build:types": "tsc --emitDeclarationOnly",
49
+ "typecheck": "tsc --noEmit"
36
50
  },
37
51
  "type": "module",
38
52
  "types": "dist/index.d.ts"