@settlemint/sdk-viem 2.6.2-pre699a9c0 → 2.6.2-precb7ddd0
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 +5 -5
- package/dist/browser/viem.d.ts +1 -0
- package/dist/viem.d.cts +1 -0
- package/dist/viem.d.ts +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -134,7 +134,7 @@ console.log(chainId);
|
|
|
134
134
|
|
|
135
135
|
#### getPublicClient()
|
|
136
136
|
|
|
137
|
-
> **getPublicClient**(`options`): `Client`\<`HttpTransport`\<`
|
|
137
|
+
> **getPublicClient**(`options`): `Client`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>, `Chain`, `undefined`, `PublicRpcSchema`, `object` & `PublicActions`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>, `Chain`\>\>
|
|
138
138
|
|
|
139
139
|
Defined in: [sdk/viem/src/viem.ts:201](https://github.com/settlemint/sdk/blob/v2.6.2/sdk/viem/src/viem.ts#L201)
|
|
140
140
|
|
|
@@ -148,7 +148,7 @@ Creates an optimized public client for blockchain read operations.
|
|
|
148
148
|
|
|
149
149
|
##### Returns
|
|
150
150
|
|
|
151
|
-
`Client`\<`HttpTransport`\<`
|
|
151
|
+
`Client`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>, `Chain`, `undefined`, `PublicRpcSchema`, `object` & `PublicActions`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>, `Chain`\>\>
|
|
152
152
|
|
|
153
153
|
Cached or newly created public client with read-only blockchain access
|
|
154
154
|
|
|
@@ -192,7 +192,7 @@ console.log(block);
|
|
|
192
192
|
|
|
193
193
|
#### getWalletClient()
|
|
194
194
|
|
|
195
|
-
> **getWalletClient**(`options`): (`verificationOptions?`) => `Client`\<`HttpTransport`\<`
|
|
195
|
+
> **getWalletClient**(`options`): (`verificationOptions?`) => `Client`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>\>
|
|
196
196
|
|
|
197
197
|
Defined in: [sdk/viem/src/viem.ts:323](https://github.com/settlemint/sdk/blob/v2.6.2/sdk/viem/src/viem.ts#L323)
|
|
198
198
|
|
|
@@ -208,7 +208,7 @@ Creates a factory function for wallet clients with runtime verification support.
|
|
|
208
208
|
|
|
209
209
|
Factory function that accepts runtime verification options
|
|
210
210
|
|
|
211
|
-
> (`verificationOptions?`): `Client`\<`HttpTransport`\<`
|
|
211
|
+
> (`verificationOptions?`): `Client`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>\>
|
|
212
212
|
|
|
213
213
|
###### Parameters
|
|
214
214
|
|
|
@@ -218,7 +218,7 @@ Factory function that accepts runtime verification options
|
|
|
218
218
|
|
|
219
219
|
###### Returns
|
|
220
220
|
|
|
221
|
-
`Client`\<`HttpTransport`\<`
|
|
221
|
+
`Client`\<`HttpTransport`\<`RpcSchema` \| `undefined`, `boolean`\>\>
|
|
222
222
|
|
|
223
223
|
##### Remarks
|
|
224
224
|
|
package/dist/browser/viem.d.ts
CHANGED
|
@@ -4128,6 +4128,7 @@ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof get
|
|
|
4128
4128
|
}, (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K] } : never>;
|
|
4129
4129
|
readContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "pure" | "view">, const args extends viem0.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem0.ReadContractParameters<abi, functionName, args>) => Promise<viem0.ReadContractReturnType<abi, functionName, args>>;
|
|
4130
4130
|
sendRawTransaction: (args: viem0.SendRawTransactionParameters) => Promise<viem0.SendRawTransactionReturnType>;
|
|
4131
|
+
sendRawTransactionSync: (args: viem0.SendRawTransactionSyncParameters) => Promise<viem0.TransactionReceipt>;
|
|
4131
4132
|
simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
|
|
4132
4133
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
|
|
4133
4134
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
|
package/dist/viem.d.cts
CHANGED
|
@@ -4128,6 +4128,7 @@ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof get
|
|
|
4128
4128
|
}, (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K] } : never>;
|
|
4129
4129
|
readContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "pure" | "view">, const args extends viem0.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem0.ReadContractParameters<abi, functionName, args>) => Promise<viem0.ReadContractReturnType<abi, functionName, args>>;
|
|
4130
4130
|
sendRawTransaction: (args: viem0.SendRawTransactionParameters) => Promise<viem0.SendRawTransactionReturnType>;
|
|
4131
|
+
sendRawTransactionSync: (args: viem0.SendRawTransactionSyncParameters) => Promise<viem0.TransactionReceipt>;
|
|
4131
4132
|
simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
|
|
4132
4133
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
|
|
4133
4134
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
|
package/dist/viem.d.ts
CHANGED
|
@@ -4128,6 +4128,7 @@ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof get
|
|
|
4128
4128
|
}, (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "fees" | "gas" | "nonce" | "blobVersionedHashes" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K] } : never>;
|
|
4129
4129
|
readContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "pure" | "view">, const args extends viem0.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem0.ReadContractParameters<abi, functionName, args>) => Promise<viem0.ReadContractReturnType<abi, functionName, args>>;
|
|
4130
4130
|
sendRawTransaction: (args: viem0.SendRawTransactionParameters) => Promise<viem0.SendRawTransactionReturnType>;
|
|
4131
|
+
sendRawTransactionSync: (args: viem0.SendRawTransactionSyncParameters) => Promise<viem0.TransactionReceipt>;
|
|
4131
4132
|
simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
|
|
4132
4133
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
|
|
4133
4134
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-viem",
|
|
3
3
|
"description": "Viem (TypeScript Interface for Ethereum) module for SettleMint SDK",
|
|
4
|
-
"version": "2.6.2-
|
|
4
|
+
"version": "2.6.2-precb7ddd0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsdown",
|
|
44
|
-
"dev": "tsdown --watch",
|
|
44
|
+
"dev": "tsdown --watch ./src",
|
|
45
45
|
"publint": "publint run --strict",
|
|
46
46
|
"attw": "attw --pack .",
|
|
47
47
|
"test": "bun test",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@settlemint/sdk-utils": "2.6.2-
|
|
56
|
+
"@settlemint/sdk-utils": "2.6.2-precb7ddd0",
|
|
57
57
|
"viem": "^2",
|
|
58
58
|
"zod": "^4"
|
|
59
59
|
},
|