@smartledger/bsv 7.1.0 → 7.2.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/bsv.d.ts CHANGED
@@ -1033,10 +1033,26 @@ declare module '@smartledger/bsv' {
1033
1033
 
1034
1034
  export namespace Ordinals {
1035
1035
  interface InscriptionParams {
1036
+ /**
1037
+ * The inscription body. Required — omitting it used to emit a well-formed
1038
+ * script carrying an empty payload. Pass '' for a deliberately empty one.
1039
+ */
1040
+ content: string | Buffer;
1041
+ /**
1042
+ * Defaults to 'text/plain' for string content; required when `content` is a
1043
+ * Buffer, whose bytes carry no hint about what they are.
1044
+ */
1036
1045
  contentType?: string | Buffer;
1037
- content?: string | Buffer;
1046
+ /** Base locking script. Mutually exclusive with `address`; one is required. */
1038
1047
  lock?: Script | Buffer | string;
1048
+ /** P2PKH owner. Mutually exclusive with `lock`; one is required. */
1039
1049
  address?: Address | string;
1050
+ /**
1051
+ * Permit an empty base lock. Without it an empty lock throws: the envelope is
1052
+ * inert, so a script with no base lock is spendable by anyone.
1053
+ */
1054
+ allowEmptyLock?: boolean;
1055
+ /** Defaults to 1. Must be a positive integer. */
1040
1056
  satoshis?: number;
1041
1057
  }
1042
1058
  interface ParsedInscription {