@dynamic-labs/sdk-api-core 0.0.744 → 0.0.745
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 +0 -1
- package/src/apis/SDKApi.js +0 -1
- package/src/index.cjs +24 -24
- package/src/index.js +6 -5
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperationAuthorization.cjs → SignMessageAuthorizationSignature.cjs} +7 -7
- package/src/models/SignMessageAuthorizationSignature.d.ts +63 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperationAuthorization.js → SignMessageAuthorizationSignature.js} +5 -5
- package/src/models/SignMessageContext.cjs +40 -0
- package/src/models/SignMessageContext.d.ts +42 -0
- package/src/models/SignMessageContext.js +34 -0
- package/src/models/{SignMessageWithWaasRequestContextTransaction.cjs → SignMessageEvmTransaction.cjs} +7 -7
- package/src/models/{SignMessageWithWaasRequestContextTransaction.d.ts → SignMessageEvmTransaction.d.ts} +15 -15
- package/src/models/{SignMessageWithWaasRequestContextTransaction.js → SignMessageEvmTransaction.js} +5 -5
- package/src/models/SignMessageEvmUserOperation.cjs +38 -0
- package/src/models/SignMessageEvmUserOperation.d.ts +40 -0
- package/src/models/SignMessageEvmUserOperation.js +32 -0
- package/src/models/SignMessageSvmTransaction.cjs +47 -0
- package/src/models/SignMessageSvmTransaction.d.ts +39 -0
- package/src/models/SignMessageSvmTransaction.js +41 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperation.cjs → SignMessageUserOperationData.cjs} +10 -10
- package/src/models/SignMessageUserOperationData.d.ts +118 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperation.js → SignMessageUserOperationData.js} +8 -8
- package/src/models/SignMessageWithWaasRequest.cjs +3 -3
- package/src/models/SignMessageWithWaasRequest.d.ts +3 -3
- package/src/models/SignMessageWithWaasRequest.js +3 -3
- package/src/models/index.d.ts +6 -5
- package/src/models/SignMessageWithWaasRequestContext.cjs +0 -37
- package/src/models/SignMessageWithWaasRequestContext.d.ts +0 -35
- package/src/models/SignMessageWithWaasRequestContext.js +0 -31
- package/src/models/SignMessageWithWaasRequestContextUserOperation.cjs +0 -49
- package/src/models/SignMessageWithWaasRequestContextUserOperation.d.ts +0 -54
- package/src/models/SignMessageWithWaasRequestContextUserOperation.js +0 -43
- package/src/models/SignMessageWithWaasRequestContextUserOperationOperation.d.ts +0 -118
- package/src/models/SignMessageWithWaasRequestContextUserOperationOperationAuthorization.d.ts +0 -63
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
function SignMessageSvmTransactionFromJSON(json) {
|
|
19
|
+
return SignMessageSvmTransactionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SignMessageSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': json['chainId'],
|
|
27
|
+
'method': json['method'],
|
|
28
|
+
'serializedTransactions': json['serializedTransactions'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function SignMessageSvmTransactionToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'chainId': value.chainId,
|
|
40
|
+
'method': value.method,
|
|
41
|
+
'serializedTransactions': value.serializedTransactions,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.SignMessageSvmTransactionFromJSON = SignMessageSvmTransactionFromJSON;
|
|
46
|
+
exports.SignMessageSvmTransactionFromJSONTyped = SignMessageSvmTransactionFromJSONTyped;
|
|
47
|
+
exports.SignMessageSvmTransactionToJSON = SignMessageSvmTransactionToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
* Solana serialized transactions
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageSvmTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageSvmTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Chain identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageSvmTransaction
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Method identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageSvmTransaction
|
|
28
|
+
*/
|
|
29
|
+
method: string;
|
|
30
|
+
/**
|
|
31
|
+
* Array of serialized transaction strings
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SignMessageSvmTransaction
|
|
34
|
+
*/
|
|
35
|
+
serializedTransactions: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
export declare function SignMessageSvmTransactionFromJSON(json: any): SignMessageSvmTransaction;
|
|
38
|
+
export declare function SignMessageSvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageSvmTransaction;
|
|
39
|
+
export declare function SignMessageSvmTransactionToJSON(value?: SignMessageSvmTransaction | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
function SignMessageSvmTransactionFromJSON(json) {
|
|
15
|
+
return SignMessageSvmTransactionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SignMessageSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'chainId': json['chainId'],
|
|
23
|
+
'method': json['method'],
|
|
24
|
+
'serializedTransactions': json['serializedTransactions'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SignMessageSvmTransactionToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'chainId': value.chainId,
|
|
36
|
+
'method': value.method,
|
|
37
|
+
'serializedTransactions': value.serializedTransactions,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyped, SignMessageSvmTransactionToJSON };
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var SignMessageAuthorizationSignature = require('./SignMessageAuthorizationSignature.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
|
-
function
|
|
10
|
-
return
|
|
9
|
+
function SignMessageUserOperationDataFromJSON(json) {
|
|
10
|
+
return SignMessageUserOperationDataFromJSONTyped(json);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function SignMessageUserOperationDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
13
|
if ((json === undefined) || (json === null)) {
|
|
14
14
|
return json;
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
|
-
'authorization': !runtime.exists(json, 'authorization') ? undefined :
|
|
17
|
+
'authorization': !runtime.exists(json, 'authorization') ? undefined : SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSON(json['authorization']),
|
|
18
18
|
'callData': !runtime.exists(json, 'callData') ? undefined : json['callData'],
|
|
19
19
|
'callGasLimit': !runtime.exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
20
20
|
'factory': !runtime.exists(json, 'factory') ? undefined : json['factory'],
|
|
@@ -32,7 +32,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationFromJSONTyped(js
|
|
|
32
32
|
'verificationGasLimit': !runtime.exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function SignMessageUserOperationDataToJSON(value) {
|
|
36
36
|
if (value === undefined) {
|
|
37
37
|
return undefined;
|
|
38
38
|
}
|
|
@@ -40,7 +40,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'authorization':
|
|
43
|
+
'authorization': SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureToJSON(value.authorization),
|
|
44
44
|
'callData': value.callData,
|
|
45
45
|
'callGasLimit': value.callGasLimit,
|
|
46
46
|
'factory': value.factory,
|
|
@@ -59,6 +59,6 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
62
|
+
exports.SignMessageUserOperationDataFromJSON = SignMessageUserOperationDataFromJSON;
|
|
63
|
+
exports.SignMessageUserOperationDataFromJSONTyped = SignMessageUserOperationDataFromJSONTyped;
|
|
64
|
+
exports.SignMessageUserOperationDataToJSON = SignMessageUserOperationDataToJSON;
|
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
import { SignMessageAuthorizationSignature } from './SignMessageAuthorizationSignature';
|
|
13
|
+
/**
|
|
14
|
+
* The actual user operation data
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SignMessageUserOperationData
|
|
17
|
+
*/
|
|
18
|
+
export interface SignMessageUserOperationData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SignMessageAuthorizationSignature}
|
|
22
|
+
* @memberof SignMessageUserOperationData
|
|
23
|
+
*/
|
|
24
|
+
authorization?: SignMessageAuthorizationSignature;
|
|
25
|
+
/**
|
|
26
|
+
* The data to pass to the sender during the main execution call
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SignMessageUserOperationData
|
|
29
|
+
*/
|
|
30
|
+
callData?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The amount of gas to allocate the main execution call
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SignMessageUserOperationData
|
|
35
|
+
*/
|
|
36
|
+
callGasLimit?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Account factory address (optional, only for new accounts)
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SignMessageUserOperationData
|
|
41
|
+
*/
|
|
42
|
+
factory?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Data for account factory (optional)
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SignMessageUserOperationData
|
|
47
|
+
*/
|
|
48
|
+
factoryData?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Maximum fee per gas
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SignMessageUserOperationData
|
|
53
|
+
*/
|
|
54
|
+
maxFeePerGas?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Maximum priority fee per gas
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SignMessageUserOperationData
|
|
59
|
+
*/
|
|
60
|
+
maxPriorityFeePerGas?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Anti-replay parameter
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SignMessageUserOperationData
|
|
65
|
+
*/
|
|
66
|
+
nonce?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Address of paymaster contract (optional)
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SignMessageUserOperationData
|
|
71
|
+
*/
|
|
72
|
+
paymaster?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Data for paymaster (optional)
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SignMessageUserOperationData
|
|
77
|
+
*/
|
|
78
|
+
paymasterData?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The amount of gas to allocate for the paymaster post-operation code (optional)
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SignMessageUserOperationData
|
|
83
|
+
*/
|
|
84
|
+
paymasterPostOpGasLimit?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The amount of gas to allocate for the paymaster validation code (optional)
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SignMessageUserOperationData
|
|
89
|
+
*/
|
|
90
|
+
paymasterVerificationGasLimit?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Extra gas to pay the Bundler
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SignMessageUserOperationData
|
|
95
|
+
*/
|
|
96
|
+
preVerificationGas?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The account making the operation
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SignMessageUserOperationData
|
|
101
|
+
*/
|
|
102
|
+
sender?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Data passed into the account to verify authorization
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof SignMessageUserOperationData
|
|
107
|
+
*/
|
|
108
|
+
signature?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The amount of gas to allocate for the verification step
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof SignMessageUserOperationData
|
|
113
|
+
*/
|
|
114
|
+
verificationGasLimit?: string;
|
|
115
|
+
}
|
|
116
|
+
export declare function SignMessageUserOperationDataFromJSON(json: any): SignMessageUserOperationData;
|
|
117
|
+
export declare function SignMessageUserOperationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageUserOperationData;
|
|
118
|
+
export declare function SignMessageUserOperationDataToJSON(value?: SignMessageUserOperationData | null): any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureToJSON } from './SignMessageAuthorizationSignature.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
-
function
|
|
6
|
-
return
|
|
5
|
+
function SignMessageUserOperationDataFromJSON(json) {
|
|
6
|
+
return SignMessageUserOperationDataFromJSONTyped(json);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function SignMessageUserOperationDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
9
|
if ((json === undefined) || (json === null)) {
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
|
-
'authorization': !exists(json, 'authorization') ? undefined :
|
|
13
|
+
'authorization': !exists(json, 'authorization') ? undefined : SignMessageAuthorizationSignatureFromJSON(json['authorization']),
|
|
14
14
|
'callData': !exists(json, 'callData') ? undefined : json['callData'],
|
|
15
15
|
'callGasLimit': !exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
16
16
|
'factory': !exists(json, 'factory') ? undefined : json['factory'],
|
|
@@ -28,7 +28,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationFromJSONTyped(js
|
|
|
28
28
|
'verificationGasLimit': !exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function SignMessageUserOperationDataToJSON(value) {
|
|
32
32
|
if (value === undefined) {
|
|
33
33
|
return undefined;
|
|
34
34
|
}
|
|
@@ -36,7 +36,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'authorization':
|
|
39
|
+
'authorization': SignMessageAuthorizationSignatureToJSON(value.authorization),
|
|
40
40
|
'callData': value.callData,
|
|
41
41
|
'callGasLimit': value.callGasLimit,
|
|
42
42
|
'factory': value.factory,
|
|
@@ -55,4 +55,4 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export {
|
|
58
|
+
export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var SignMessageContext = require('./SignMessageContext.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -17,7 +17,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'message': json['message'],
|
|
18
18
|
'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
19
19
|
'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
|
|
20
|
-
'context': !runtime.exists(json, 'context') ? undefined :
|
|
20
|
+
'context': !runtime.exists(json, 'context') ? undefined : SignMessageContext.SignMessageContextFromJSON(json['context']),
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -31,7 +31,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
31
31
|
'message': value.message,
|
|
32
32
|
'isFormatted': value.isFormatted,
|
|
33
33
|
'roomId': value.roomId,
|
|
34
|
-
'context':
|
|
34
|
+
'context': SignMessageContext.SignMessageContextToJSON(value.context),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { SignMessageContext } from './SignMessageContext';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -36,10 +36,10 @@ export interface SignMessageWithWaasRequest {
|
|
|
36
36
|
roomId?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {SignMessageContext}
|
|
40
40
|
* @memberof SignMessageWithWaasRequest
|
|
41
41
|
*/
|
|
42
|
-
context?:
|
|
42
|
+
context?: SignMessageContext;
|
|
43
43
|
}
|
|
44
44
|
export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
|
|
45
45
|
export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { SignMessageContextFromJSON, SignMessageContextToJSON } from './SignMessageContext.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -13,7 +13,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'message': json['message'],
|
|
14
14
|
'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
15
15
|
'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
|
|
16
|
-
'context': !exists(json, 'context') ? undefined :
|
|
16
|
+
'context': !exists(json, 'context') ? undefined : SignMessageContextFromJSON(json['context']),
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -27,7 +27,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
27
27
|
'message': value.message,
|
|
28
28
|
'isFormatted': value.isFormatted,
|
|
29
29
|
'roomId': value.roomId,
|
|
30
|
-
'context':
|
|
30
|
+
'context': SignMessageContextToJSON(value.context),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -250,12 +250,13 @@ export * from './SdkViewType';
|
|
|
250
250
|
export * from './SdkViewUpdateRequest';
|
|
251
251
|
export * from './SdkViewsResponse';
|
|
252
252
|
export * from './SignInProviderEnum';
|
|
253
|
+
export * from './SignMessageAuthorizationSignature';
|
|
254
|
+
export * from './SignMessageContext';
|
|
255
|
+
export * from './SignMessageEvmTransaction';
|
|
256
|
+
export * from './SignMessageEvmUserOperation';
|
|
257
|
+
export * from './SignMessageSvmTransaction';
|
|
258
|
+
export * from './SignMessageUserOperationData';
|
|
253
259
|
export * from './SignMessageWithWaasRequest';
|
|
254
|
-
export * from './SignMessageWithWaasRequestContext';
|
|
255
|
-
export * from './SignMessageWithWaasRequestContextTransaction';
|
|
256
|
-
export * from './SignMessageWithWaasRequestContextUserOperation';
|
|
257
|
-
export * from './SignMessageWithWaasRequestContextUserOperationOperation';
|
|
258
|
-
export * from './SignMessageWithWaasRequestContextUserOperationOperationAuthorization';
|
|
259
260
|
export * from './SignTransactionWithWaasRequest';
|
|
260
261
|
export * from './SimulateEVMTransactionRequest';
|
|
261
262
|
export * from './SimulateSVMTransactionRequest';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var SignMessageWithWaasRequestContextTransaction = require('./SignMessageWithWaasRequestContextTransaction.cjs');
|
|
7
|
-
var SignMessageWithWaasRequestContextUserOperation = require('./SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
8
|
-
|
|
9
|
-
/* tslint:disable */
|
|
10
|
-
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
11
|
-
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
12
|
-
}
|
|
13
|
-
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
-
if ((json === undefined) || (json === null)) {
|
|
15
|
-
return json;
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
'transaction': !runtime.exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
19
|
-
'userOperation': !runtime.exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
23
|
-
if (value === undefined) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
if (value === null) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'transaction': SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
31
|
-
'userOperation': SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContextFromJSON;
|
|
36
|
-
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContextFromJSONTyped;
|
|
37
|
-
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContextToJSON;
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
import { SignMessageWithWaasRequestContextTransaction } from './SignMessageWithWaasRequestContextTransaction';
|
|
13
|
-
import { SignMessageWithWaasRequestContextUserOperation } from './SignMessageWithWaasRequestContextUserOperation';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface SignMessageWithWaasRequestContext
|
|
18
|
-
*/
|
|
19
|
-
export interface SignMessageWithWaasRequestContext {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {SignMessageWithWaasRequestContextTransaction}
|
|
23
|
-
* @memberof SignMessageWithWaasRequestContext
|
|
24
|
-
*/
|
|
25
|
-
transaction?: SignMessageWithWaasRequestContextTransaction;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {SignMessageWithWaasRequestContextUserOperation}
|
|
29
|
-
* @memberof SignMessageWithWaasRequestContext
|
|
30
|
-
*/
|
|
31
|
-
userOperation?: SignMessageWithWaasRequestContextUserOperation;
|
|
32
|
-
}
|
|
33
|
-
export declare function SignMessageWithWaasRequestContextFromJSON(json: any): SignMessageWithWaasRequestContext;
|
|
34
|
-
export declare function SignMessageWithWaasRequestContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContext;
|
|
35
|
-
export declare function SignMessageWithWaasRequestContextToJSON(value?: SignMessageWithWaasRequestContext | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { exists } from '../runtime.js';
|
|
2
|
-
import { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionToJSON } from './SignMessageWithWaasRequestContextTransaction.js';
|
|
3
|
-
import { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationToJSON } from './SignMessageWithWaasRequestContextUserOperation.js';
|
|
4
|
-
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
7
|
-
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
8
|
-
}
|
|
9
|
-
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
-
if ((json === undefined) || (json === null)) {
|
|
11
|
-
return json;
|
|
12
|
-
}
|
|
13
|
-
return {
|
|
14
|
-
'transaction': !exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
15
|
-
'userOperation': !exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
19
|
-
if (value === undefined) {
|
|
20
|
-
return undefined;
|
|
21
|
-
}
|
|
22
|
-
if (value === null) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'transaction': SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
27
|
-
'userOperation': SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var SignMessageWithWaasRequestContextUserOperationOperation = require('./SignMessageWithWaasRequestContextUserOperationOperation.cjs');
|
|
7
|
-
|
|
8
|
-
/* tslint:disable */
|
|
9
|
-
/**
|
|
10
|
-
* @export
|
|
11
|
-
* @enum {string}
|
|
12
|
-
*/
|
|
13
|
-
exports.SignMessageWithWaasRequestContextUserOperationVersionEnum = void 0;
|
|
14
|
-
(function (SignMessageWithWaasRequestContextUserOperationVersionEnum) {
|
|
15
|
-
SignMessageWithWaasRequestContextUserOperationVersionEnum["_6"] = "0.6";
|
|
16
|
-
SignMessageWithWaasRequestContextUserOperationVersionEnum["_7"] = "0.7";
|
|
17
|
-
})(exports.SignMessageWithWaasRequestContextUserOperationVersionEnum || (exports.SignMessageWithWaasRequestContextUserOperationVersionEnum = {}));
|
|
18
|
-
function SignMessageWithWaasRequestContextUserOperationFromJSON(json) {
|
|
19
|
-
return SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json);
|
|
20
|
-
}
|
|
21
|
-
function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
27
|
-
'entryPoint': !runtime.exists(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
28
|
-
'version': !runtime.exists(json, 'version') ? undefined : json['version'],
|
|
29
|
-
'operation': !runtime.exists(json, 'operation') ? undefined : SignMessageWithWaasRequestContextUserOperationOperation.SignMessageWithWaasRequestContextUserOperationOperationFromJSON(json['operation']),
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
33
|
-
if (value === undefined) {
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
if (value === null) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'chainId': value.chainId,
|
|
41
|
-
'entryPoint': value.entryPoint,
|
|
42
|
-
'version': value.version,
|
|
43
|
-
'operation': SignMessageWithWaasRequestContextUserOperationOperation.SignMessageWithWaasRequestContextUserOperationOperationToJSON(value.operation),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
exports.SignMessageWithWaasRequestContextUserOperationFromJSON = SignMessageWithWaasRequestContextUserOperationFromJSON;
|
|
48
|
-
exports.SignMessageWithWaasRequestContextUserOperationFromJSONTyped = SignMessageWithWaasRequestContextUserOperationFromJSONTyped;
|
|
49
|
-
exports.SignMessageWithWaasRequestContextUserOperationToJSON = SignMessageWithWaasRequestContextUserOperationToJSON;
|
|
@@ -1,54 +0,0 @@
|
|
|
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
|
-
import { SignMessageWithWaasRequestContextUserOperationOperation } from './SignMessageWithWaasRequestContextUserOperationOperation';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SignMessageWithWaasRequestContextUserOperation
|
|
17
|
-
*/
|
|
18
|
-
export interface SignMessageWithWaasRequestContextUserOperation {
|
|
19
|
-
/**
|
|
20
|
-
* Chain identifier needed for user operation hash calculation
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
23
|
-
*/
|
|
24
|
-
chainId?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Address of the entry point contract
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
29
|
-
*/
|
|
30
|
-
entryPoint?: string;
|
|
31
|
-
/**
|
|
32
|
-
* User operation version (e.g., '0.6', '0.7')
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
35
|
-
*/
|
|
36
|
-
version?: SignMessageWithWaasRequestContextUserOperationVersionEnum;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {SignMessageWithWaasRequestContextUserOperationOperation}
|
|
40
|
-
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
41
|
-
*/
|
|
42
|
-
operation?: SignMessageWithWaasRequestContextUserOperationOperation;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @export
|
|
46
|
-
* @enum {string}
|
|
47
|
-
*/
|
|
48
|
-
export declare enum SignMessageWithWaasRequestContextUserOperationVersionEnum {
|
|
49
|
-
_6 = "0.6",
|
|
50
|
-
_7 = "0.7"
|
|
51
|
-
}
|
|
52
|
-
export declare function SignMessageWithWaasRequestContextUserOperationFromJSON(json: any): SignMessageWithWaasRequestContextUserOperation;
|
|
53
|
-
export declare function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContextUserOperation;
|
|
54
|
-
export declare function SignMessageWithWaasRequestContextUserOperationToJSON(value?: SignMessageWithWaasRequestContextUserOperation | null): any;
|