@dynamic-labs/sdk-api-core 0.101.0 → 0.103.0
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 +70 -20
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +33 -9
- package/src/apis/SDKApi.js +70 -20
- package/src/apis/SDKApi.js.map +1 -1
- package/src/index.cjs +4 -4
- package/src/index.js +1 -1
- package/src/models/GetSVMSponsorAddressResponse.cjs +43 -0
- package/src/models/GetSVMSponsorAddressResponse.cjs.map +1 -0
- package/src/models/GetSVMSponsorAddressResponse.d.ts +27 -0
- package/src/models/GetSVMSponsorAddressResponse.js +37 -0
- package/src/models/GetSVMSponsorAddressResponse.js.map +1 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +0 -1
- package/src/models/UnprocessableEntityErrorCode.cjs.map +1 -1
- package/src/models/UnprocessableEntityErrorCode.d.ts +0 -1
- package/src/models/UnprocessableEntityErrorCode.js +0 -1
- package/src/models/UnprocessableEntityErrorCode.js.map +1 -1
- package/src/models/WaasSignAndBroadcastRequest.cjs +6 -6
- package/src/models/WaasSignAndBroadcastRequest.cjs.map +1 -1
- package/src/models/WaasSignAndBroadcastRequest.d.ts +11 -11
- package/src/models/WaasSignAndBroadcastRequest.js +6 -6
- package/src/models/WaasSignAndBroadcastRequest.js.map +1 -1
- package/src/models/WaasTransactionBroadcast.cjs +2 -5
- package/src/models/WaasTransactionBroadcast.cjs.map +1 -1
- package/src/models/WaasTransactionBroadcast.d.ts +5 -12
- package/src/models/WaasTransactionBroadcast.js +2 -5
- package/src/models/WaasTransactionBroadcast.js.map +1 -1
- package/src/models/index.d.ts +1 -1
- package/src/version.cjs +1 -1
- package/src/version.js +1 -1
- package/src/models/WaasTransactionBroadcastAttempt.cjs +0 -40
- package/src/models/WaasTransactionBroadcastAttempt.cjs.map +0 -1
- package/src/models/WaasTransactionBroadcastAttempt.d.ts +0 -46
- package/src/models/WaasTransactionBroadcastAttempt.js +0 -34
- package/src/models/WaasTransactionBroadcastAttempt.js.map +0 -1
package/src/models/index.d.ts
CHANGED
|
@@ -230,6 +230,7 @@ export * from './GetAvailableEVMGaslessRelayerResponse';
|
|
|
230
230
|
export * from './GetEVMSponsoredTransactionStatusResponse';
|
|
231
231
|
export * from './GetPasskeyAuthenticationOptionsResponse';
|
|
232
232
|
export * from './GetPasskeyRegistrationOptionsResponse';
|
|
233
|
+
export * from './GetSVMSponsorAddressResponse';
|
|
233
234
|
export * from './GetUserPasskeysResponse';
|
|
234
235
|
export * from './GlobalWalletAccessControlTypeEnum';
|
|
235
236
|
export * from './GlobalWalletConnection';
|
|
@@ -599,7 +600,6 @@ export * from './WaasSignerPolicyLayerUpdateRequest';
|
|
|
599
600
|
export * from './WaasSignerPolicyLayerUpdateRequestAllOf';
|
|
600
601
|
export * from './WaasSvmCommitment';
|
|
601
602
|
export * from './WaasTransactionBroadcast';
|
|
602
|
-
export * from './WaasTransactionBroadcastAttempt';
|
|
603
603
|
export * from './WaasTransactionBroadcastError';
|
|
604
604
|
export * from './WaasTransactionBroadcastErrorPayload';
|
|
605
605
|
export * from './WaasTransactionBroadcastEvmProgress';
|
package/src/version.cjs
CHANGED
package/src/version.js
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var WaasBroadcastEvmFee = require('./WaasBroadcastEvmFee.cjs');
|
|
7
|
-
|
|
8
|
-
/* tslint:disable */
|
|
9
|
-
function WaasTransactionBroadcastAttemptFromJSON(json) {
|
|
10
|
-
return WaasTransactionBroadcastAttemptFromJSONTyped(json);
|
|
11
|
-
}
|
|
12
|
-
function WaasTransactionBroadcastAttemptFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
-
if ((json === undefined) || (json === null)) {
|
|
14
|
-
return json;
|
|
15
|
-
}
|
|
16
|
-
return {
|
|
17
|
-
'transactionHash': !runtime.exists(json, 'transactionHash') ? undefined : json['transactionHash'],
|
|
18
|
-
'fee': !runtime.exists(json, 'fee') ? undefined : WaasBroadcastEvmFee.WaasBroadcastEvmFeeFromJSON(json['fee']),
|
|
19
|
-
'blockExplorerUrls': !runtime.exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
20
|
-
'live': json['live'],
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function WaasTransactionBroadcastAttemptToJSON(value) {
|
|
24
|
-
if (value === undefined) {
|
|
25
|
-
return undefined;
|
|
26
|
-
}
|
|
27
|
-
if (value === null) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'transactionHash': value.transactionHash,
|
|
32
|
-
'fee': WaasBroadcastEvmFee.WaasBroadcastEvmFeeToJSON(value.fee),
|
|
33
|
-
'blockExplorerUrls': value.blockExplorerUrls,
|
|
34
|
-
'live': value.live,
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
exports.WaasTransactionBroadcastAttemptFromJSON = WaasTransactionBroadcastAttemptFromJSON;
|
|
39
|
-
exports.WaasTransactionBroadcastAttemptFromJSONTyped = WaasTransactionBroadcastAttemptFromJSONTyped;
|
|
40
|
-
exports.WaasTransactionBroadcastAttemptToJSON = WaasTransactionBroadcastAttemptToJSON;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WaasTransactionBroadcastAttempt.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasTransactionBroadcastAttempt.ts"],"sourcesContent":null,"names":["exists","WaasBroadcastEvmFeeFromJSON","WaasBroadcastEvmFeeToJSON"],"mappings":";;;;;;;AAAA;AAsDM,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,iBAAiB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,iBAAiB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,iBAAiB,CAAC;QACzF,KAAK,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,SAAS,GAAGC,+CAA2B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAClF,QAAA,mBAAmB,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAC/F,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,iBAAiB,EAAE,KAAK,CAAC,eAAe;AACxC,QAAA,KAAK,EAAEE,6CAAyB,CAAC,KAAK,CAAC,GAAG,CAAC;QAC3C,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;QAC5C,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN;;;;;;"}
|
|
@@ -1,46 +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 { WaasBroadcastEvmFee } from './WaasBroadcastEvmFee';
|
|
13
|
-
/**
|
|
14
|
-
* One signed version of the transaction, at one fee.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface WaasTransactionBroadcastAttempt
|
|
17
|
-
*/
|
|
18
|
-
export interface WaasTransactionBroadcastAttempt {
|
|
19
|
-
/**
|
|
20
|
-
* Present once this attempt is signed.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof WaasTransactionBroadcastAttempt
|
|
23
|
-
*/
|
|
24
|
-
transactionHash?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {WaasBroadcastEvmFee}
|
|
28
|
-
* @memberof WaasTransactionBroadcastAttempt
|
|
29
|
-
*/
|
|
30
|
-
fee?: WaasBroadcastEvmFee;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<string>}
|
|
34
|
-
* @memberof WaasTransactionBroadcastAttempt
|
|
35
|
-
*/
|
|
36
|
-
blockExplorerUrls?: Array<string>;
|
|
37
|
-
/**
|
|
38
|
-
* Whether this is the attempt currently sent. At most one is.
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof WaasTransactionBroadcastAttempt
|
|
41
|
-
*/
|
|
42
|
-
live: boolean;
|
|
43
|
-
}
|
|
44
|
-
export declare function WaasTransactionBroadcastAttemptFromJSON(json: any): WaasTransactionBroadcastAttempt;
|
|
45
|
-
export declare function WaasTransactionBroadcastAttemptFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcastAttempt;
|
|
46
|
-
export declare function WaasTransactionBroadcastAttemptToJSON(value?: WaasTransactionBroadcastAttempt | null): any;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { exists } from '../runtime.js';
|
|
2
|
-
import { WaasBroadcastEvmFeeFromJSON, WaasBroadcastEvmFeeToJSON } from './WaasBroadcastEvmFee.js';
|
|
3
|
-
|
|
4
|
-
/* tslint:disable */
|
|
5
|
-
function WaasTransactionBroadcastAttemptFromJSON(json) {
|
|
6
|
-
return WaasTransactionBroadcastAttemptFromJSONTyped(json);
|
|
7
|
-
}
|
|
8
|
-
function WaasTransactionBroadcastAttemptFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
-
if ((json === undefined) || (json === null)) {
|
|
10
|
-
return json;
|
|
11
|
-
}
|
|
12
|
-
return {
|
|
13
|
-
'transactionHash': !exists(json, 'transactionHash') ? undefined : json['transactionHash'],
|
|
14
|
-
'fee': !exists(json, 'fee') ? undefined : WaasBroadcastEvmFeeFromJSON(json['fee']),
|
|
15
|
-
'blockExplorerUrls': !exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
16
|
-
'live': json['live'],
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
function WaasTransactionBroadcastAttemptToJSON(value) {
|
|
20
|
-
if (value === undefined) {
|
|
21
|
-
return undefined;
|
|
22
|
-
}
|
|
23
|
-
if (value === null) {
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'transactionHash': value.transactionHash,
|
|
28
|
-
'fee': WaasBroadcastEvmFeeToJSON(value.fee),
|
|
29
|
-
'blockExplorerUrls': value.blockExplorerUrls,
|
|
30
|
-
'live': value.live,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export { WaasTransactionBroadcastAttemptFromJSON, WaasTransactionBroadcastAttemptFromJSONTyped, WaasTransactionBroadcastAttemptToJSON };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WaasTransactionBroadcastAttempt.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasTransactionBroadcastAttempt.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAsDM,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,iBAAiB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,iBAAiB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,iBAAiB,CAAC;QACzF,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,SAAS,GAAG,2BAA2B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAClF,QAAA,mBAAmB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,mBAAmB,CAAC;AAC/F,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,iBAAiB,EAAE,KAAK,CAAC,eAAe;AACxC,QAAA,KAAK,EAAE,yBAAyB,CAAC,KAAK,CAAC,GAAG,CAAC;QAC3C,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;QAC5C,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN;;;;"}
|