@dynamic-labs/sdk-api-core 0.0.1125 → 0.1.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 +61 -6
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +31 -7
- package/src/apis/SDKApi.js +61 -6
- package/src/apis/SDKApi.js.map +1 -1
- package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +1 -1
- package/src/models/WaasTransactionBroadcastErrorPayload.cjs +1 -1
- package/src/models/WaasTransactionBroadcastErrorPayload.cjs.map +1 -1
- package/src/models/WaasTransactionBroadcastErrorPayload.d.ts +1 -1
- package/src/models/WaasTransactionBroadcastErrorPayload.js +1 -1
- package/src/models/WaasTransactionBroadcastErrorPayload.js.map +1 -1
|
@@ -17,7 +17,7 @@ import { UserIdentifierTypeEnum } from './UserIdentifierTypeEnum';
|
|
|
17
17
|
import { WaasPolicyRule } from './WaasPolicyRule';
|
|
18
18
|
/**
|
|
19
19
|
* SDK addSigner body. Same user resolution shape as addMember (userId OR identifier + type), plus `signerType` for the signer-role enum (endUser/server). `type` here is the user-resolution type, NOT the signer type — `signerType` lives on a dedicated field. `smsCountryCode` is required when `type` is `phoneNumber`; `socialProvider` is required when `type` is `socialUsername` or `socialAccountId`.
|
|
20
|
-
* The remaining fields parameterise the reshare ceremony that runs
|
|
20
|
+
* The remaining fields parameterise the MPC reshare ceremony that runs during the SSE response. `clientKeygenIds` come from the caller's local MPC state (the JS SDK obtains them internally by calling `exportID()` on the existing client share); the threshold scheme fields describe the source share set (old) and the destination share set (new) that the ceremony produces.
|
|
21
21
|
* @export
|
|
22
22
|
* @interface AddBusinessAccountSignerSdkRequest
|
|
23
23
|
*/
|
|
@@ -15,7 +15,7 @@ function WaasTransactionBroadcastErrorPayloadFromJSONTyped(json, ignoreDiscrimin
|
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
17
|
'attempts': json['attempts'],
|
|
18
|
-
'broadcastId': json['broadcastId'],
|
|
18
|
+
'broadcastId': !runtime.exists(json, 'broadcastId') ? undefined : json['broadcastId'],
|
|
19
19
|
'retryable': json['retryable'],
|
|
20
20
|
'submissionState': WaasTransactionBroadcastSubmissionState.WaasTransactionBroadcastSubmissionStateFromJSON(json['submissionState']),
|
|
21
21
|
'transactionId': !runtime.exists(json, 'transactionId') ? undefined : json['transactionId'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasTransactionBroadcastErrorPayload.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasTransactionBroadcastErrorPayload.ts"],"sourcesContent":null,"names":["
|
|
1
|
+
{"version":3,"file":"WaasTransactionBroadcastErrorPayload.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasTransactionBroadcastErrorPayload.ts"],"sourcesContent":null,"names":["exists","WaasTransactionBroadcastSubmissionStateFromJSON","WaasTransactionBroadcastSubmissionStateToJSON"],"mappings":";;;;;;;AAAA;AA4DM,SAAU,4CAA4C,CAAC,IAAS,EAAA;AAClE,IAAA,OAAO,iDAAiD,CAAC,IAAW,CAAC,CAAC;AAC1E,CAAC;AAEe,SAAA,iDAAiD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACrG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,iBAAiB,EAAEC,uFAA+C,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AAC3F,QAAA,eAAe,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC;KACtF,CAAC;AACN,CAAC;AAEK,SAAU,0CAA0C,CAAC,KAAmD,EAAA;AAC1G,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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,WAAW,EAAE,KAAK,CAAC,SAAS;AAC5B,QAAA,iBAAiB,EAAEE,qFAA6C,CAAC,KAAK,CAAC,eAAe,CAAC;QACvF,eAAe,EAAE,KAAK,CAAC,aAAa;KACvC,CAAC;AACN;;;;;;"}
|
|
@@ -27,7 +27,7 @@ export interface WaasTransactionBroadcastErrorPayload {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof WaasTransactionBroadcastErrorPayload
|
|
29
29
|
*/
|
|
30
|
-
broadcastId
|
|
30
|
+
broadcastId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* Whether re-sending the identical signed payload may succeed.
|
|
33
33
|
* @type {boolean}
|
|
@@ -11,7 +11,7 @@ function WaasTransactionBroadcastErrorPayloadFromJSONTyped(json, ignoreDiscrimin
|
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'attempts': json['attempts'],
|
|
14
|
-
'broadcastId': json['broadcastId'],
|
|
14
|
+
'broadcastId': !exists(json, 'broadcastId') ? undefined : json['broadcastId'],
|
|
15
15
|
'retryable': json['retryable'],
|
|
16
16
|
'submissionState': WaasTransactionBroadcastSubmissionStateFromJSON(json['submissionState']),
|
|
17
17
|
'transactionId': !exists(json, 'transactionId') ? undefined : json['transactionId'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasTransactionBroadcastErrorPayload.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasTransactionBroadcastErrorPayload.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AA4DM,SAAU,4CAA4C,CAAC,IAAS,EAAA;AAClE,IAAA,OAAO,iDAAiD,CAAC,IAAW,CAAC,CAAC;AAC1E,CAAC;AAEe,SAAA,iDAAiD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACrG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"WaasTransactionBroadcastErrorPayload.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasTransactionBroadcastErrorPayload.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AA4DM,SAAU,4CAA4C,CAAC,IAAS,EAAA;AAClE,IAAA,OAAO,iDAAiD,CAAC,IAAW,CAAC,CAAC;AAC1E,CAAC;AAEe,SAAA,iDAAiD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACrG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,iBAAiB,EAAE,+CAA+C,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;AAC3F,QAAA,eAAe,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC;KACtF,CAAC;AACN,CAAC;AAEK,SAAU,0CAA0C,CAAC,KAAmD,EAAA;AAC1G,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,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,WAAW,EAAE,KAAK,CAAC,SAAS;AAC5B,QAAA,iBAAiB,EAAE,6CAA6C,CAAC,KAAK,CAAC,eAAe,CAAC;QACvF,eAAe,EAAE,KAAK,CAAC,aAAa;KACvC,CAAC;AACN;;;;"}
|