@dynamic-labs/sdk-api-core 0.0.645 → 0.0.647
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/index.cjs +8 -0
- package/src/index.js +1 -0
- package/src/models/GlobalWalletAccessControlTypeEnum.cjs +40 -0
- package/src/models/GlobalWalletAccessControlTypeEnum.d.ts +23 -0
- package/src/models/GlobalWalletAccessControlTypeEnum.js +34 -0
- package/src/models/Provider.cjs +2 -0
- package/src/models/Provider.d.ts +6 -0
- package/src/models/Provider.js +2 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -60,6 +60,7 @@ require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
|
60
60
|
var FarcasterSignInRequest = require('../models/FarcasterSignInRequest.cjs');
|
|
61
61
|
require('../models/OnrampProviders.cjs');
|
|
62
62
|
var GetUserPasskeysResponse = require('../models/GetUserPasskeysResponse.cjs');
|
|
63
|
+
require('../models/GlobalWalletAccessControlTypeEnum.cjs');
|
|
63
64
|
var GlobalWalletSettings = require('../models/GlobalWalletSettings.cjs');
|
|
64
65
|
var HealthcheckResponse = require('../models/HealthcheckResponse.cjs');
|
|
65
66
|
require('../models/HealthcheckStatus.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -56,6 +56,7 @@ import '../models/ExternalWalletFundingTokenRule.js';
|
|
|
56
56
|
import { FarcasterSignInRequestToJSON } from '../models/FarcasterSignInRequest.js';
|
|
57
57
|
import '../models/OnrampProviders.js';
|
|
58
58
|
import { GetUserPasskeysResponseFromJSON } from '../models/GetUserPasskeysResponse.js';
|
|
59
|
+
import '../models/GlobalWalletAccessControlTypeEnum.js';
|
|
59
60
|
import { GlobalWalletSettingsFromJSON } from '../models/GlobalWalletSettings.js';
|
|
60
61
|
import { HealthcheckResponseFromJSON } from '../models/HealthcheckResponse.js';
|
|
61
62
|
import '../models/HealthcheckStatus.js';
|
package/src/index.cjs
CHANGED
|
@@ -85,6 +85,7 @@ var FundingExternalWallets = require('./models/FundingExternalWallets.cjs');
|
|
|
85
85
|
var FundingExternalWalletsDefaultSettings = require('./models/FundingExternalWalletsDefaultSettings.cjs');
|
|
86
86
|
var FundingExternalWalletsMinAmount = require('./models/FundingExternalWalletsMinAmount.cjs');
|
|
87
87
|
var GetUserPasskeysResponse = require('./models/GetUserPasskeysResponse.cjs');
|
|
88
|
+
var GlobalWalletAccessControlTypeEnum = require('./models/GlobalWalletAccessControlTypeEnum.cjs');
|
|
88
89
|
var GlobalWalletSettings = require('./models/GlobalWalletSettings.cjs');
|
|
89
90
|
var HCaptchaSettings = require('./models/HCaptchaSettings.cjs');
|
|
90
91
|
var HardwareWalletEnum = require('./models/HardwareWalletEnum.cjs');
|
|
@@ -615,6 +616,13 @@ exports.FundingExternalWalletsMinAmountToJSON = FundingExternalWalletsMinAmount.
|
|
|
615
616
|
exports.GetUserPasskeysResponseFromJSON = GetUserPasskeysResponse.GetUserPasskeysResponseFromJSON;
|
|
616
617
|
exports.GetUserPasskeysResponseFromJSONTyped = GetUserPasskeysResponse.GetUserPasskeysResponseFromJSONTyped;
|
|
617
618
|
exports.GetUserPasskeysResponseToJSON = GetUserPasskeysResponse.GetUserPasskeysResponseToJSON;
|
|
619
|
+
Object.defineProperty(exports, 'GlobalWalletAccessControlTypeEnum', {
|
|
620
|
+
enumerable: true,
|
|
621
|
+
get: function () { return GlobalWalletAccessControlTypeEnum.GlobalWalletAccessControlTypeEnum; }
|
|
622
|
+
});
|
|
623
|
+
exports.GlobalWalletAccessControlTypeEnumFromJSON = GlobalWalletAccessControlTypeEnum.GlobalWalletAccessControlTypeEnumFromJSON;
|
|
624
|
+
exports.GlobalWalletAccessControlTypeEnumFromJSONTyped = GlobalWalletAccessControlTypeEnum.GlobalWalletAccessControlTypeEnumFromJSONTyped;
|
|
625
|
+
exports.GlobalWalletAccessControlTypeEnumToJSON = GlobalWalletAccessControlTypeEnum.GlobalWalletAccessControlTypeEnumToJSON;
|
|
618
626
|
exports.GlobalWalletSettingsFromJSON = GlobalWalletSettings.GlobalWalletSettingsFromJSON;
|
|
619
627
|
exports.GlobalWalletSettingsFromJSONTyped = GlobalWalletSettings.GlobalWalletSettingsFromJSONTyped;
|
|
620
628
|
exports.GlobalWalletSettingsToJSON = GlobalWalletSettings.GlobalWalletSettingsToJSON;
|
package/src/index.js
CHANGED
|
@@ -81,6 +81,7 @@ export { FundingExternalWalletsFromJSON, FundingExternalWalletsFromJSONTyped, Fu
|
|
|
81
81
|
export { FundingExternalWalletsDefaultSettingsFromJSON, FundingExternalWalletsDefaultSettingsFromJSONTyped, FundingExternalWalletsDefaultSettingsToJSON } from './models/FundingExternalWalletsDefaultSettings.js';
|
|
82
82
|
export { FundingExternalWalletsMinAmountFromJSON, FundingExternalWalletsMinAmountFromJSONTyped, FundingExternalWalletsMinAmountToJSON } from './models/FundingExternalWalletsMinAmount.js';
|
|
83
83
|
export { GetUserPasskeysResponseFromJSON, GetUserPasskeysResponseFromJSONTyped, GetUserPasskeysResponseToJSON } from './models/GetUserPasskeysResponse.js';
|
|
84
|
+
export { GlobalWalletAccessControlTypeEnum, GlobalWalletAccessControlTypeEnumFromJSON, GlobalWalletAccessControlTypeEnumFromJSONTyped, GlobalWalletAccessControlTypeEnumToJSON } from './models/GlobalWalletAccessControlTypeEnum.js';
|
|
84
85
|
export { GlobalWalletSettingsFromJSON, GlobalWalletSettingsFromJSONTyped, GlobalWalletSettingsToJSON } from './models/GlobalWalletSettings.js';
|
|
85
86
|
export { HCaptchaSettingsFromJSON, HCaptchaSettingsFromJSONTyped, HCaptchaSettingsToJSON } from './models/HCaptchaSettings.js';
|
|
86
87
|
export { HardwareWalletEnum, HardwareWalletEnumFromJSON, HardwareWalletEnumFromJSONTyped, HardwareWalletEnumToJSON } from './models/HardwareWalletEnum.js';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.GlobalWalletAccessControlTypeEnum = void 0;
|
|
24
|
+
(function (GlobalWalletAccessControlTypeEnum) {
|
|
25
|
+
GlobalWalletAccessControlTypeEnum["Allow"] = "allow";
|
|
26
|
+
GlobalWalletAccessControlTypeEnum["Block"] = "block";
|
|
27
|
+
})(exports.GlobalWalletAccessControlTypeEnum || (exports.GlobalWalletAccessControlTypeEnum = {}));
|
|
28
|
+
function GlobalWalletAccessControlTypeEnumFromJSON(json) {
|
|
29
|
+
return GlobalWalletAccessControlTypeEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function GlobalWalletAccessControlTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function GlobalWalletAccessControlTypeEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.GlobalWalletAccessControlTypeEnumFromJSON = GlobalWalletAccessControlTypeEnumFromJSON;
|
|
39
|
+
exports.GlobalWalletAccessControlTypeEnumFromJSONTyped = GlobalWalletAccessControlTypeEnumFromJSONTyped;
|
|
40
|
+
exports.GlobalWalletAccessControlTypeEnumToJSON = GlobalWalletAccessControlTypeEnumToJSON;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum GlobalWalletAccessControlTypeEnum {
|
|
18
|
+
Allow = "allow",
|
|
19
|
+
Block = "block"
|
|
20
|
+
}
|
|
21
|
+
export declare function GlobalWalletAccessControlTypeEnumFromJSON(json: any): GlobalWalletAccessControlTypeEnum;
|
|
22
|
+
export declare function GlobalWalletAccessControlTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletAccessControlTypeEnum;
|
|
23
|
+
export declare function GlobalWalletAccessControlTypeEnumToJSON(value?: GlobalWalletAccessControlTypeEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var GlobalWalletAccessControlTypeEnum;
|
|
20
|
+
(function (GlobalWalletAccessControlTypeEnum) {
|
|
21
|
+
GlobalWalletAccessControlTypeEnum["Allow"] = "allow";
|
|
22
|
+
GlobalWalletAccessControlTypeEnum["Block"] = "block";
|
|
23
|
+
})(GlobalWalletAccessControlTypeEnum || (GlobalWalletAccessControlTypeEnum = {}));
|
|
24
|
+
function GlobalWalletAccessControlTypeEnumFromJSON(json) {
|
|
25
|
+
return GlobalWalletAccessControlTypeEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function GlobalWalletAccessControlTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function GlobalWalletAccessControlTypeEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { GlobalWalletAccessControlTypeEnum, GlobalWalletAccessControlTypeEnumFromJSON, GlobalWalletAccessControlTypeEnumFromJSONTyped, GlobalWalletAccessControlTypeEnumToJSON };
|
package/src/models/Provider.cjs
CHANGED
|
@@ -44,6 +44,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
45
45
|
'factoryAddress': !runtime.exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
|
|
46
46
|
'paymasterAddress': !runtime.exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
|
|
47
|
+
'salt': !runtime.exists(json, 'salt') ? undefined : json['salt'],
|
|
47
48
|
'multichainAccountAbstractionProviders': !runtime.exists(json, 'multichainAccountAbstractionProviders') ? undefined : (json['multichainAccountAbstractionProviders'].map(ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersFromJSON)),
|
|
48
49
|
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
49
50
|
'createNewAccounts': !runtime.exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
|
|
@@ -83,6 +84,7 @@ function ProviderToJSON(value) {
|
|
|
83
84
|
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
84
85
|
'factoryAddress': value.factoryAddress,
|
|
85
86
|
'paymasterAddress': value.paymasterAddress,
|
|
87
|
+
'salt': value.salt,
|
|
86
88
|
'multichainAccountAbstractionProviders': value.multichainAccountAbstractionProviders === undefined ? undefined : (value.multichainAccountAbstractionProviders.map(ProviderMultichainAccountAbstractionProviders.ProviderMultichainAccountAbstractionProvidersToJSON)),
|
|
87
89
|
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
88
90
|
'createNewAccounts': value.createNewAccounts,
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -166,6 +166,12 @@ export interface Provider {
|
|
|
166
166
|
* @memberof Provider
|
|
167
167
|
*/
|
|
168
168
|
paymasterAddress?: string;
|
|
169
|
+
/**
|
|
170
|
+
* The salt for the provider address generation (currently only used for zksync)
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof Provider
|
|
173
|
+
*/
|
|
174
|
+
salt?: string;
|
|
169
175
|
/**
|
|
170
176
|
*
|
|
171
177
|
* @type {Array<ProviderMultichainAccountAbstractionProviders>}
|
package/src/models/Provider.js
CHANGED
|
@@ -40,6 +40,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
41
41
|
'factoryAddress': !exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
|
|
42
42
|
'paymasterAddress': !exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
|
|
43
|
+
'salt': !exists(json, 'salt') ? undefined : json['salt'],
|
|
43
44
|
'multichainAccountAbstractionProviders': !exists(json, 'multichainAccountAbstractionProviders') ? undefined : (json['multichainAccountAbstractionProviders'].map(ProviderMultichainAccountAbstractionProvidersFromJSON)),
|
|
44
45
|
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
45
46
|
'createNewAccounts': !exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
|
|
@@ -79,6 +80,7 @@ function ProviderToJSON(value) {
|
|
|
79
80
|
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
80
81
|
'factoryAddress': value.factoryAddress,
|
|
81
82
|
'paymasterAddress': value.paymasterAddress,
|
|
83
|
+
'salt': value.salt,
|
|
82
84
|
'multichainAccountAbstractionProviders': value.multichainAccountAbstractionProviders === undefined ? undefined : (value.multichainAccountAbstractionProviders.map(ProviderMultichainAccountAbstractionProvidersToJSON)),
|
|
83
85
|
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
84
86
|
'createNewAccounts': value.createNewAccounts,
|
package/src/models/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export * from './FundingExternalWallets';
|
|
|
79
79
|
export * from './FundingExternalWalletsDefaultSettings';
|
|
80
80
|
export * from './FundingExternalWalletsMinAmount';
|
|
81
81
|
export * from './GetUserPasskeysResponse';
|
|
82
|
+
export * from './GlobalWalletAccessControlTypeEnum';
|
|
82
83
|
export * from './GlobalWalletSettings';
|
|
83
84
|
export * from './HCaptchaSettings';
|
|
84
85
|
export * from './HardwareWalletEnum';
|