@xpla/xpla-react 1.9.0-rc0 → 1.9.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.
@@ -18,7 +18,7 @@ declare class GlobalDecoderRegistry {
18
18
  static getDecoderByInstance<T, SDK, Amino>(obj: unknown): TelescopeGeneratedCodec<T, SDK, Amino> | null;
19
19
  static getDecoderByAminoType<T, SDK, Amino>(type: string): TelescopeGeneratedCodec<T, SDK, Amino> | null;
20
20
  static wrapAny(obj: unknown): Any;
21
- static unwrapAny<T, SDK, Amino>(input: BinaryReader | Uint8Array | Any): T | Any;
21
+ static unwrapAny<T, SDK, Amino>(input: BinaryReader | Uint8Array | Any): Any | T;
22
22
  static fromJSON<T>(object: any): T;
23
23
  static toJSON<T>(message: T): any;
24
24
  static fromPartial<T>(object: unknown): T;
package/dist/varint.d.ts CHANGED
@@ -100,7 +100,7 @@ declare function writeVarint64(val: {
100
100
  lo: number;
101
101
  hi: number;
102
102
  }, buf: Uint8Array | number[], pos: number): void;
103
- declare function int64Length(lo: number, hi: number): 1 | 8 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10;
103
+ declare function int64Length(lo: number, hi: number): 6 | 7 | 10 | 1 | 8 | 2 | 3 | 4 | 5 | 9;
104
104
  declare function writeFixed32(val: number, buf: Uint8Array | number[], pos: number): void;
105
105
  declare function writeByte(val: number, buf: Uint8Array | number[], pos: number): void;
106
106
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpla/xpla-react",
3
- "version": "1.9.0-rc0",
3
+ "version": "1.9.0",
4
4
  "description": "xpla-react is a JavaScript library providing react query hooks for interacting with xpla sdk.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -37,21 +37,25 @@
37
37
  },
38
38
  "./package.json": "./package.json"
39
39
  },
40
+ "scripts": {
41
+ "build": "tsdown",
42
+ "lint": "eslint . --fix"
43
+ },
40
44
  "dependencies": {
41
- "@interchainjs/cosmos": "^1.21.0",
42
- "@interchainjs/cosmos-types": "^1.21.0",
43
- "@interchainjs/encoding": "^1.20.0",
44
- "@interchainjs/math": "^1.20.0",
45
- "@interchainjs/pubkey": "^1.21.0",
46
- "@interchainjs/types": "^1.21.0",
47
- "@interchainjs/utils": "^1.21.0",
45
+ "@interchainjs/cosmos": "catalog:",
46
+ "@interchainjs/cosmos-types": "catalog:",
47
+ "@interchainjs/encoding": "catalog:",
48
+ "@interchainjs/math": "catalog:",
49
+ "@interchainjs/pubkey": "catalog:",
50
+ "@interchainjs/types": "catalog:",
51
+ "@interchainjs/utils": "catalog:",
48
52
  "@noble/hashes": "^1.3.1",
49
53
  "decimal.js": "^10.4.3"
50
54
  },
51
55
  "devDependencies": {
52
56
  "@tanstack/react-query": "4.29.1",
53
- "@types/node": "^22",
54
- "tsdown": "^0.21.0-beta.2"
57
+ "@types/node": "catalog:",
58
+ "tsdown": "catalog:"
55
59
  },
56
60
  "peerDependencies": {
57
61
  "@tanstack/react-query": "4.29.1"
@@ -62,9 +66,5 @@
62
66
  "transaction",
63
67
  "cosmjs",
64
68
  "wallet"
65
- ],
66
- "scripts": {
67
- "build": "tsdown",
68
- "lint": "eslint . --fix"
69
- }
70
- }
69
+ ]
70
+ }