@dfns/sdk 0.4.2-alpha.1 → 0.4.2
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/baseAuthApi.d.ts +4 -2
- package/codegen/datamodel/Auth/types.d.ts +316 -1
- package/codegen/datamodel/Auth/types.js +33 -11
- package/codegen/datamodel/Foundations/types.d.ts +36 -0
- package/codegen/datamodel/Foundations/types.js +12 -4
- package/codegen/datamodel/Wallets/types.d.ts +6 -0
- package/codegen/datamodel/Wallets/types.js +12 -0
- package/dfnsApiClient.d.ts +2 -1
- package/dfnsDelegatedApiClient.d.ts +1 -3
- package/generated/auth/client.d.ts +3 -2
- package/generated/auth/client.js +17 -5
- package/generated/auth/delegatedClient.d.ts +3 -2
- package/generated/auth/delegatedClient.js +17 -5
- package/generated/auth/types.d.ts +103 -11
- package/generated/networks/types.d.ts +27 -1
- package/generated/wallets/types.d.ts +1 -1
- package/package.json +1 -1
- package/signer.d.ts +1 -5
- package/signer.js +0 -8
- package/types/auth.d.ts +1 -0
- package/types/auth.js +17 -0
- package/utils/fetch.js +9 -1
package/baseAuthApi.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { CredentialKind, FirstFactorAssertion, RecoveryKeyAssertion, SecondFacto
|
|
|
3
3
|
import { HttpMethod } from './utils/fetch';
|
|
4
4
|
export type DfnsBaseApiOptions = {
|
|
5
5
|
appId: string;
|
|
6
|
-
|
|
6
|
+
/** Needs to be specified to use any endpoint that requires authentication */
|
|
7
7
|
authToken?: string;
|
|
8
|
-
|
|
8
|
+
/** Only needs to be specified when using another API environment */
|
|
9
|
+
baseUrl?: string;
|
|
10
|
+
appSecret?: string;
|
|
9
11
|
};
|
|
10
12
|
export type CreateUserActionChallengeRequest = {
|
|
11
13
|
userActionPayload: string;
|