@explorins/pers-signer 1.0.33 → 1.0.34
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/browser.cjs.js.map +1 -1
- package/dist/browser.d.ts +9 -17
- package/dist/browser.esm.js.map +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +391 -399
- package/dist/index.esm.js.map +1 -1
- package/dist/react-native.cjs.js.map +1 -1
- package/dist/react-native.d.ts +9 -17
- package/dist/react-native.esm.js.map +1 -1
- package/dist/types.cjs.js +38 -0
- package/dist/types.cjs.js.map +1 -0
- package/dist/types.d.ts +130 -0
- package/dist/types.esm.js +36 -0
- package/dist/types.esm.js.map +1 -0
- package/package.json +6 -1
package/dist/browser.d.ts
CHANGED
|
@@ -353,7 +353,7 @@ interface TransactionSigningResult {
|
|
|
353
353
|
shouldShowStatus?: boolean;
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
|
-
* Transaction submission result
|
|
356
|
+
* Transaction submission result
|
|
357
357
|
*/
|
|
358
358
|
interface SubmissionResult {
|
|
359
359
|
submitResult: TransactionRequestResponseDTO;
|
|
@@ -363,9 +363,6 @@ interface SubmissionResult {
|
|
|
363
363
|
success: boolean;
|
|
364
364
|
error?: string;
|
|
365
365
|
}
|
|
366
|
-
/**
|
|
367
|
-
* Metadata for transaction parameters - string values only
|
|
368
|
-
*/
|
|
369
366
|
/**
|
|
370
367
|
* Authentication tokens required for transaction signing
|
|
371
368
|
*/
|
|
@@ -519,24 +516,19 @@ declare class KeyWallet extends AbstractSigner {
|
|
|
519
516
|
*/
|
|
520
517
|
|
|
521
518
|
/**
|
|
522
|
-
* Configuration
|
|
523
|
-
*
|
|
524
|
-
* @interface PersSignerConfig
|
|
525
|
-
* @property {string} [tenantId] - Optional tenant identifier for multi-tenant applications
|
|
526
|
-
* @property {string} [ethersProviderUrl] - Custom Ethereum RPC provider URL
|
|
527
|
-
* @property {WebAuthnProvider} webAuthnProvider - WebAuthn provider for secure authentication
|
|
528
|
-
* @property {string} [apiUrl] - Custom API base URL (defaults to production)
|
|
529
|
-
* @property {string} [relyingPartyName] - WebAuthn relying party name for authentication
|
|
530
|
-
* @property {StatusCallback} [globalStatusCallback] - Optional global status callback for all operations
|
|
519
|
+
* Configuration options for the PERS Signer SDK
|
|
531
520
|
*/
|
|
532
|
-
interface
|
|
521
|
+
interface PersSignerConfig {
|
|
533
522
|
ethersProviderUrl?: string;
|
|
534
|
-
webAuthnProvider: WebAuthnProvider;
|
|
535
523
|
apiUrl?: string;
|
|
536
524
|
relyingPartyName?: string;
|
|
537
525
|
globalStatusCallback?: StatusCallback;
|
|
538
526
|
}
|
|
539
|
-
|
|
527
|
+
/**
|
|
528
|
+
* Extended configuration that includes the WebAuthn provider
|
|
529
|
+
*/
|
|
530
|
+
interface ExtendedPersSignerConfig extends PersSignerConfig {
|
|
531
|
+
webAuthnProvider: WebAuthnProvider;
|
|
540
532
|
}
|
|
541
533
|
/**
|
|
542
534
|
* PERS Blockchain Signer SDK Class
|
|
@@ -1065,4 +1057,4 @@ declare function getBrowserWebAuthnProvider(): Promise<WebAuthnProvider>;
|
|
|
1065
1057
|
declare function createPersSignerSDK(config: PersSignerConfig): Promise<PersSignerSDK>;
|
|
1066
1058
|
|
|
1067
1059
|
export { AuthenticationService, FetchHttpClient, KeyWallet, PersService, PersSignerSDK, ReactNativeConfigProvider, SigningService, SigningStatus, StaticConfigProvider, TransactionErrorHandler, TransactionSigningService, TransactionSubmissionHandler, TransactionValidator, WalletService, WebAuthnCoordinator, WebConfigProvider, createPersSignerSDK, getBrowserWebAuthnProvider, getConfigProvider, getHttpClient, getServiceConfig, getBrowserWebAuthnProvider as getWebAuthnProvider, setConfigProvider, setHttpClient };
|
|
1068
|
-
export type { AuthenticatedUser, ConfigProvider, HttpClient, HttpRequestOptions, HttpResponse, PersSignerConfig, PlatformConfig, StatusCallback, StatusUpdateData, SubmissionResult, TransactionSigningResult, WebAuthnConfig, WebAuthnProvider };
|
|
1060
|
+
export type { AuthenticatedUser, ConfigProvider, ExtendedPersSignerConfig, HttpClient, HttpRequestOptions, HttpResponse, PersSignerConfig, PlatformConfig, StatusCallback, StatusUpdateData, SubmissionResult, TransactionSigningResult, WebAuthnConfig, WebAuthnProvider };
|