@settlemint/sdk-viem 2.5.6-pr3bf3e167 → 2.5.6-pr4a06ef5a

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
@@ -79,7 +79,7 @@ The SettleMint Viem SDK provides a lightweight wrapper that automatically config
79
79
 
80
80
  > **getChainId**(`options`): `Promise`\<`number`\>
81
81
 
82
- Defined in: [sdk/viem/src/viem.ts:217](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L217)
82
+ Defined in: [sdk/viem/src/viem.ts:219](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L219)
83
83
 
84
84
  Get the chain id of a blockchain network.
85
85
 
@@ -152,7 +152,7 @@ console.log(block);
152
152
 
153
153
  > **getWalletClient**(`options`): (`verificationOptions?`) => `Client`\<`HttpTransport`\<`undefined` \| `RpcSchema`, `boolean`\>, `Chain`, `undefined`, `WalletRpcSchema`, `object` & `object` & `object` & `object` & `object` & `object` & `object` & `WalletActions`\<`Chain`, `undefined`\>\>
154
154
 
155
- Defined in: [sdk/viem/src/viem.ts:143](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L143)
155
+ Defined in: [sdk/viem/src/viem.ts:144](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L144)
156
156
 
157
157
  Get a wallet client. Use this if you need to write to the blockchain.
158
158
 
@@ -509,7 +509,7 @@ Represents a wallet verification challenge.
509
509
 
510
510
  #### WalletVerificationOptions
511
511
 
512
- Defined in: [sdk/viem/src/viem.ts:101](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L101)
512
+ Defined in: [sdk/viem/src/viem.ts:102](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L102)
513
513
 
514
514
  The options for the wallet client.
515
515
 
@@ -517,8 +517,8 @@ The options for the wallet client.
517
517
 
518
518
  | Property | Type | Description | Defined in |
519
519
  | ------ | ------ | ------ | ------ |
520
- | <a id="challengeresponse-1"></a> `challengeResponse` | `string` | The challenge response (used for HD wallets) | [sdk/viem/src/viem.ts:109](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L109) |
521
- | <a id="verificationid-1"></a> `verificationId?` | `string` | The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications. | [sdk/viem/src/viem.ts:105](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L105) |
520
+ | <a id="challengeresponse-1"></a> `challengeResponse` | `string` | The challenge response (used for HD wallets) | [sdk/viem/src/viem.ts:110](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L110) |
521
+ | <a id="verificationid-1"></a> `verificationId?` | `string` | The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications. | [sdk/viem/src/viem.ts:106](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L106) |
522
522
 
523
523
  ### Type Aliases
524
524
 
@@ -562,7 +562,7 @@ Response from creating wallet verification challenges.
562
562
 
563
563
  > **GetChainIdOptions** = `Omit`\<`z.infer`\<*typeof* [`GetChainIdOptionsSchema`](#getchainidoptionsschema)\>, `"httpTransportConfig"`\> & `object`
564
564
 
565
- Defined in: [sdk/viem/src/viem.ts:198](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L198)
565
+ Defined in: [sdk/viem/src/viem.ts:200](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L200)
566
566
 
567
567
  Type representing the validated get chain id options.
568
568
 
@@ -570,7 +570,7 @@ Type representing the validated get chain id options.
570
570
 
571
571
  | Name | Type | Defined in |
572
572
  | ------ | ------ | ------ |
573
- | `httpTransportConfig?` | `HttpTransportConfig` | [sdk/viem/src/viem.ts:199](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L199) |
573
+ | `httpTransportConfig?` | `HttpTransportConfig` | [sdk/viem/src/viem.ts:201](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L201) |
574
574
 
575
575
  ***
576
576
 
@@ -618,7 +618,7 @@ Schema for the viem client options.
618
618
 
619
619
  > `const` **GetChainIdOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `httpTransportConfig`: `ZodOptional`\<`ZodAny`\>; `rpcUrl`: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>; \}, `$strip`\>
620
620
 
621
- Defined in: [sdk/viem/src/viem.ts:180](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L180)
621
+ Defined in: [sdk/viem/src/viem.ts:182](https://github.com/settlemint/sdk/blob/v2.5.6/sdk/viem/src/viem.ts#L182)
622
622
 
623
623
  Schema for the viem client options.
624
624