@dynamic-labs/sdk-api 0.106.0 → 0.107.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
CHANGED
|
@@ -18,6 +18,7 @@ function WaasSignAndBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
return {
|
|
19
19
|
'message': json['message'],
|
|
20
20
|
'context': SignMessageContext.SignMessageContextFromJSON(json['context']),
|
|
21
|
+
'networkId': json['networkId'],
|
|
21
22
|
'broadcastOptions': !runtime.exists(json, 'broadcastOptions') ? undefined : WaasBroadcastOptions.WaasBroadcastOptionsFromJSON(json['broadcastOptions']),
|
|
22
23
|
'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
23
24
|
'requestedCertainty': !runtime.exists(json, 'requestedCertainty') ? undefined : json['requestedCertainty'],
|
|
@@ -37,6 +38,7 @@ function WaasSignAndBroadcastRequestToJSON(value) {
|
|
|
37
38
|
return {
|
|
38
39
|
'message': value.message,
|
|
39
40
|
'context': SignMessageContext.SignMessageContextToJSON(value.context),
|
|
41
|
+
'networkId': value.networkId,
|
|
40
42
|
'broadcastOptions': WaasBroadcastOptions.WaasBroadcastOptionsToJSON(value.broadcastOptions),
|
|
41
43
|
'isFormatted': value.isFormatted,
|
|
42
44
|
'requestedCertainty': value.requestedCertainty,
|
|
@@ -30,6 +30,12 @@ export interface WaasSignAndBroadcastRequest {
|
|
|
30
30
|
* @memberof WaasSignAndBroadcastRequest
|
|
31
31
|
*/
|
|
32
32
|
context: SignMessageContext;
|
|
33
|
+
/**
|
|
34
|
+
* Network the transaction is sent on (e.g. "1", "101"). The context must name the same chain id.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof WaasSignAndBroadcastRequest
|
|
37
|
+
*/
|
|
38
|
+
networkId: string;
|
|
33
39
|
/**
|
|
34
40
|
*
|
|
35
41
|
* @type {WaasBroadcastOptions}
|
|
@@ -14,6 +14,7 @@ function WaasSignAndBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
return {
|
|
15
15
|
'message': json['message'],
|
|
16
16
|
'context': SignMessageContextFromJSON(json['context']),
|
|
17
|
+
'networkId': json['networkId'],
|
|
17
18
|
'broadcastOptions': !exists(json, 'broadcastOptions') ? undefined : WaasBroadcastOptionsFromJSON(json['broadcastOptions']),
|
|
18
19
|
'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
19
20
|
'requestedCertainty': !exists(json, 'requestedCertainty') ? undefined : json['requestedCertainty'],
|
|
@@ -33,6 +34,7 @@ function WaasSignAndBroadcastRequestToJSON(value) {
|
|
|
33
34
|
return {
|
|
34
35
|
'message': value.message,
|
|
35
36
|
'context': SignMessageContextToJSON(value.context),
|
|
37
|
+
'networkId': value.networkId,
|
|
36
38
|
'broadcastOptions': WaasBroadcastOptionsToJSON(value.broadcastOptions),
|
|
37
39
|
'isFormatted': value.isFormatted,
|
|
38
40
|
'requestedCertainty': value.requestedCertainty,
|