@dynamic-labs/sdk-api 0.0.1017 → 0.0.1018

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.1017",
3
+ "version": "0.0.1018",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -24,7 +24,7 @@ export interface SignMessageWithWaasRequest {
24
24
  */
25
25
  message: string;
26
26
  /**
27
- * Whether the message is pre-formatted for signing
27
+ * When true, `message` is treated as a pre-computed 32-byte hash (64 hex characters, optionally with a leading `0x`) and signed by the MPC server as-is ("raw signing"). When false or omitted, the SDK hashes the message bytes using the chain's standard algorithm (e.g. keccak256 for EVM).
28
28
  * @type {boolean}
29
29
  * @memberof SignMessageWithWaasRequest
30
30
  */
@@ -143,8 +143,8 @@ exports.UnprocessableEntityErrorCode = void 0;
143
143
  UnprocessableEntityErrorCode["CannotDeletePasskeyLinkedToEmbeddedWallet"] = "cannot_delete_passkey_linked_to_embedded_wallet";
144
144
  UnprocessableEntityErrorCode["CannotDeleteLastSignInVerifiedCredential"] = "cannot_delete_last_sign_in_verified_credential";
145
145
  UnprocessableEntityErrorCode["CredentialNotEnabledForSignIn"] = "credential_not_enabled_for_sign_in";
146
- UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
147
146
  UnprocessableEntityErrorCode["ShareSetIdRequired"] = "share_set_id_required";
147
+ UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
148
148
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
149
149
  function UnprocessableEntityErrorCodeFromJSON(json) {
150
150
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -136,8 +136,8 @@ export declare enum UnprocessableEntityErrorCode {
136
136
  CannotDeletePasskeyLinkedToEmbeddedWallet = "cannot_delete_passkey_linked_to_embedded_wallet",
137
137
  CannotDeleteLastSignInVerifiedCredential = "cannot_delete_last_sign_in_verified_credential",
138
138
  CredentialNotEnabledForSignIn = "credential_not_enabled_for_sign_in",
139
- UnsupportedChain = "unsupported_chain",
140
- ShareSetIdRequired = "share_set_id_required"
139
+ ShareSetIdRequired = "share_set_id_required",
140
+ UnsupportedChain = "unsupported_chain"
141
141
  }
142
142
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
143
143
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -139,8 +139,8 @@ var UnprocessableEntityErrorCode;
139
139
  UnprocessableEntityErrorCode["CannotDeletePasskeyLinkedToEmbeddedWallet"] = "cannot_delete_passkey_linked_to_embedded_wallet";
140
140
  UnprocessableEntityErrorCode["CannotDeleteLastSignInVerifiedCredential"] = "cannot_delete_last_sign_in_verified_credential";
141
141
  UnprocessableEntityErrorCode["CredentialNotEnabledForSignIn"] = "credential_not_enabled_for_sign_in";
142
- UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
143
142
  UnprocessableEntityErrorCode["ShareSetIdRequired"] = "share_set_id_required";
143
+ UnprocessableEntityErrorCode["UnsupportedChain"] = "unsupported_chain";
144
144
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
145
145
  function UnprocessableEntityErrorCodeFromJSON(json) {
146
146
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -22,7 +22,7 @@ export interface WaasDelegateSignMessageRequest {
22
22
  */
23
23
  message: string;
24
24
  /**
25
- * When true, the message is prefixed with the chain's standard format (e.g. EIP-191 for EVM)
25
+ * When true, `message` is treated as a pre-computed 32-byte hash (64 hex characters, optionally with a leading `0x`) and signed by the MPC server as-is ("raw signing"). When false or omitted, the SDK hashes the message bytes using the chain's standard algorithm (e.g. keccak256 for EVM).
26
26
  * @type {boolean}
27
27
  * @memberof WaasDelegateSignMessageRequest
28
28
  */