infra-sdk-typescript 0.1.0 → 0.1.1

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/dist/index.d.cts CHANGED
@@ -226,7 +226,7 @@ interface SignTransactionRequest {
226
226
  interface SignTransactionParams {
227
227
  chainType: ChainType;
228
228
  /** HD index of the signing wallet. */
229
- addressIndex: number;
229
+ addressIndex?: number;
230
230
  /** Target chain id (e.g. `8453`). Required for EVM. */
231
231
  chainId?: number;
232
232
  network?: Network;
package/dist/index.d.ts CHANGED
@@ -226,7 +226,7 @@ interface SignTransactionRequest {
226
226
  interface SignTransactionParams {
227
227
  chainType: ChainType;
228
228
  /** HD index of the signing wallet. */
229
- addressIndex: number;
229
+ addressIndex?: number;
230
230
  /** Target chain id (e.g. `8453`). Required for EVM. */
231
231
  chainId?: number;
232
232
  network?: Network;
package/package.json CHANGED
@@ -1,78 +1,78 @@
1
- {
2
- "name": "infra-sdk-typescript",
3
- "version": "0.1.0",
4
- "description": "Official TypeScript SDK for the Convexity Infra API — Wallet, Tokenization, and Blockchain Events (Indexer).",
5
- "license": "MIT",
6
- "author": "Convexity",
7
- "homepage": "https://docs.withconvexity.com",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/ConvexityTeam/infra-sdk-typescript.git"
11
- },
12
- "keywords": [
13
- "convexity",
14
- "wallet",
15
- "tokenization",
16
- "indexer",
17
- "blockchain",
18
- "sdk",
19
- "typescript",
20
- "web3"
21
- ],
22
- "type": "module",
23
- "sideEffects": false,
24
- "main": "./dist/index.cjs",
25
- "module": "./dist/index.js",
26
- "types": "./dist/index.d.ts",
27
- "exports": {
28
- ".": {
29
- "import": {
30
- "types": "./dist/index.d.ts",
31
- "default": "./dist/index.js"
32
- },
33
- "require": {
34
- "types": "./dist/index.d.cts",
35
- "default": "./dist/index.cjs"
36
- }
37
- },
38
- "./package.json": "./package.json"
39
- },
40
- "files": [
41
- "dist",
42
- "README.md",
43
- "LICENSE",
44
- "CHANGELOG.md"
45
- ],
46
- "engines": {
47
- "node": ">=18"
48
- },
49
- "scripts": {
50
- "build": "tsup",
51
- "dev": "tsup --watch",
52
- "typecheck": "tsc --noEmit",
53
- "lint": "eslint src tests",
54
- "lint:fix": "eslint src tests --fix",
55
- "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.ts\"",
56
- "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.ts\"",
57
- "test": "vitest run",
58
- "test:watch": "vitest",
59
- "test:coverage": "vitest run --coverage",
60
- "prepublishOnly": "npm run build",
61
- "ci": "npm run typecheck && npm run lint && npm run test && npm run build"
62
- },
63
- "devDependencies": {
64
- "@eslint/js": "^9.18.0",
65
- "@types/node": "^20.14.0",
66
- "@vitest/coverage-v8": "^2.1.8",
67
- "eslint": "^9.18.0",
68
- "eslint-config-prettier": "^9.1.0",
69
- "prettier": "^3.4.2",
70
- "tsup": "^8.3.5",
71
- "typescript": "^5.7.3",
72
- "typescript-eslint": "^8.19.1",
73
- "vitest": "^2.1.8"
74
- },
75
- "publishConfig": {
76
- "access": "public"
77
- }
78
- }
1
+ {
2
+ "name": "infra-sdk-typescript",
3
+ "version": "0.1.1",
4
+ "description": "Official TypeScript SDK for the Convexity Infra API — Wallet, Tokenization, and Blockchain Events (Indexer).",
5
+ "license": "MIT",
6
+ "author": "Convexity",
7
+ "homepage": "https://docs.withconvexity.com",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/ConvexityTeam/infra-sdk-typescript.git"
11
+ },
12
+ "keywords": [
13
+ "convexity",
14
+ "wallet",
15
+ "tokenization",
16
+ "indexer",
17
+ "blockchain",
18
+ "sdk",
19
+ "typescript",
20
+ "web3"
21
+ ],
22
+ "type": "module",
23
+ "sideEffects": false,
24
+ "main": "./dist/index.cjs",
25
+ "module": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "import": {
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/index.js"
32
+ },
33
+ "require": {
34
+ "types": "./dist/index.d.cts",
35
+ "default": "./dist/index.cjs"
36
+ }
37
+ },
38
+ "./package.json": "./package.json"
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "LICENSE",
44
+ "CHANGELOG.md"
45
+ ],
46
+ "engines": {
47
+ "node": ">=18"
48
+ },
49
+ "scripts": {
50
+ "build": "tsup",
51
+ "dev": "tsup --watch",
52
+ "typecheck": "tsc --noEmit",
53
+ "lint": "eslint src tests",
54
+ "lint:fix": "eslint src tests --fix",
55
+ "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.ts\"",
56
+ "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.ts\"",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest",
59
+ "test:coverage": "vitest run --coverage",
60
+ "prepublishOnly": "npm run build",
61
+ "ci": "npm run typecheck && npm run lint && npm run test && npm run build"
62
+ },
63
+ "devDependencies": {
64
+ "@eslint/js": "^9.18.0",
65
+ "@types/node": "^20.14.0",
66
+ "@vitest/coverage-v8": "^2.1.8",
67
+ "eslint": "^9.18.0",
68
+ "eslint-config-prettier": "^9.1.0",
69
+ "prettier": "^3.4.2",
70
+ "tsup": "^8.3.5",
71
+ "typescript": "^5.7.3",
72
+ "typescript-eslint": "^8.19.1",
73
+ "vitest": "^2.1.8"
74
+ },
75
+ "publishConfig": {
76
+ "access": "public"
77
+ }
78
+ }