@silencelaboratories/walletprovider-sdk 4.1.7 → 4.2.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/README.md +47 -0
- package/dist/client/networkSigner.d.ts +3 -2
- package/dist/client/walletProviderServiceClient.d.ts +7 -0
- package/dist/client/walletProviderServiceClientInterface.d.ts +3 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/policy.d.ts +18 -1
- package/dist/policyIntegration.d.ts +20 -0
- package/dist/setupMessage.d.ts +8 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/validator.d.ts +1 -0
- package/dist/viemSigner.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { MPCSignAlgorithm } from '../client/networkSigner';
|
|
|
4
4
|
export declare const throwIfInvalidString: (key: string, value: string) => void;
|
|
5
5
|
export declare const throwIfInvalidEphPK: (ephKey: Uint8Array, signAlg: EphKeySignAlgorithm) => void;
|
|
6
6
|
export declare const throwIfInvalidEphSK: (ephKey: Uint8Array, signAlg: EphKeySignAlgorithm) => void;
|
|
7
|
+
export declare const throwIfInvalidMPCKeygenAlg: (keygenAlg: MPCSignAlgorithm) => void;
|
|
7
8
|
export declare const throwIfInvalidMPCSignAlg: (signAlg: MPCSignAlgorithm) => void;
|
|
8
9
|
export declare const throwIf: (condition: boolean, message: string) => void;
|
|
9
10
|
export declare const throwIfInvalidAuthPayloadType: (payload: AuthPayload, expected_types: any[], authMethod: AuthMethod) => void;
|
package/dist/viemSigner.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface DSGOpts {
|
|
|
9
9
|
threshold: number;
|
|
10
10
|
keyId: string;
|
|
11
11
|
signAlg: MPCSignAlgorithm;
|
|
12
|
+
/** Optional stringified JSON object forwarded to policy integrations. */
|
|
13
|
+
policyIntegrationContext?: string;
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* Create a new viem custom account for signing transactions using
|