prividium 0.19.1 → 0.20.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.
@@ -1,8 +1,9 @@
1
1
  import { type Account, type Chain, type ClientConfig, type PublicClient, type PublicClientConfig, type RpcSchema, type Transport } from 'viem';
2
+ import { type SelectiveDisclosureActions } from './selective-disclosure/actions.js';
2
3
  type PrividiumClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined> = PublicClientConfig<transport, chain, accountOrAddress, rpcSchema> & Pick<ClientConfig<transport, chain, accountOrAddress, rpcSchema>, 'account'>;
3
4
  /**
4
5
  * Creates a Prividium specific Public Client. This client extends the standard Viem Public Client
5
6
  * with additional checks required for Prividium operations.
6
7
  */
7
- export declare function createPrividiumClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(config: PrividiumClientConfig<transport, chain, accountOrAddress, rpcSchema>): PublicClient<transport, chain, accountOrAddress, rpcSchema>;
8
+ export declare function createPrividiumClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(config: PrividiumClientConfig<transport, chain, accountOrAddress, rpcSchema>): PublicClient<transport, chain, accountOrAddress, rpcSchema> & SelectiveDisclosureActions;
8
9
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prividium",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "prividium": "bin/cli.js"