@xyo-network/payment-payload-plugins 3.4.2 → 3.4.4

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.
Files changed (206) hide show
  1. package/dist/neutral/index.mjs.map +1 -1
  2. package/dist/types/Amount/Iso4217Currency.d.ts +14 -0
  3. package/dist/types/Amount/Iso4217Currency.d.ts.map +1 -0
  4. package/dist/types/Amount/Payload.d.ts +31 -0
  5. package/dist/types/Amount/Payload.d.ts.map +1 -0
  6. package/dist/types/Amount/index.d.ts +3 -0
  7. package/dist/types/Amount/index.d.ts.map +1 -0
  8. package/dist/types/Billing/Address/Address.d.ts +48 -0
  9. package/dist/types/Billing/Address/Address.d.ts.map +1 -0
  10. package/dist/types/Billing/Address/Schema.d.ts +3 -0
  11. package/dist/types/Billing/Address/Schema.d.ts.map +1 -0
  12. package/dist/types/Billing/Address/index.d.ts +3 -0
  13. package/dist/types/Billing/Address/index.d.ts.map +1 -0
  14. package/dist/types/Billing/Schema.d.ts +3 -0
  15. package/dist/types/Billing/Schema.d.ts.map +1 -0
  16. package/dist/types/Billing/index.d.ts +3 -0
  17. package/dist/types/Billing/index.d.ts.map +1 -0
  18. package/dist/types/Currency.d.ts +2 -0
  19. package/dist/types/Currency.d.ts.map +1 -0
  20. package/dist/types/Discount/Config.d.ts +23 -0
  21. package/dist/types/Discount/Config.d.ts.map +1 -0
  22. package/dist/types/Discount/Params.d.ts +11 -0
  23. package/dist/types/Discount/Params.d.ts.map +1 -0
  24. package/dist/types/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts +8 -0
  25. package/dist/types/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts.map +1 -0
  26. package/dist/types/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts +8 -0
  27. package/dist/types/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts.map +1 -0
  28. package/dist/types/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +34 -0
  29. package/dist/types/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +1 -0
  30. package/dist/types/Discount/Payload/Coupon/Conditions/index.d.ts +4 -0
  31. package/dist/types/Discount/Payload/Coupon/Conditions/index.d.ts.map +1 -0
  32. package/dist/types/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +30 -0
  33. package/dist/types/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +1 -0
  34. package/dist/types/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +30 -0
  35. package/dist/types/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +1 -0
  36. package/dist/types/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +30 -0
  37. package/dist/types/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +1 -0
  38. package/dist/types/Discount/Payload/Coupon/Coupons/index.d.ts +4 -0
  39. package/dist/types/Discount/Payload/Coupon/Coupons/index.d.ts.map +1 -0
  40. package/dist/types/Discount/Payload/Coupon/Payload.d.ts +22 -0
  41. package/dist/types/Discount/Payload/Coupon/Payload.d.ts.map +1 -0
  42. package/dist/types/Discount/Payload/Coupon/Schema.d.ts +3 -0
  43. package/dist/types/Discount/Payload/Coupon/Schema.d.ts.map +1 -0
  44. package/dist/types/Discount/Payload/Coupon/index.d.ts +6 -0
  45. package/dist/types/Discount/Payload/Coupon/index.d.ts.map +1 -0
  46. package/dist/types/Discount/Payload/Coupon/types/Condition.d.ts +22 -0
  47. package/dist/types/Discount/Payload/Coupon/types/Condition.d.ts.map +1 -0
  48. package/dist/types/Discount/Payload/Coupon/types/CouponFields.d.ts +16 -0
  49. package/dist/types/Discount/Payload/Coupon/types/CouponFields.d.ts.map +1 -0
  50. package/dist/types/Discount/Payload/Coupon/types/index.d.ts +4 -0
  51. package/dist/types/Discount/Payload/Coupon/types/index.d.ts.map +1 -0
  52. package/dist/types/Discount/Payload/Coupon/types/isStackable.d.ts +5 -0
  53. package/dist/types/Discount/Payload/Coupon/types/isStackable.d.ts.map +1 -0
  54. package/dist/types/Discount/Payload/Discount.d.ts +29 -0
  55. package/dist/types/Discount/Payload/Discount.d.ts.map +1 -0
  56. package/dist/types/Discount/Payload/NoDiscount.d.ts +3 -0
  57. package/dist/types/Discount/Payload/NoDiscount.d.ts.map +1 -0
  58. package/dist/types/Discount/Payload/index.d.ts +4 -0
  59. package/dist/types/Discount/Payload/index.d.ts.map +1 -0
  60. package/dist/types/Discount/index.d.ts +4 -0
  61. package/dist/types/Discount/index.d.ts.map +1 -0
  62. package/dist/types/Escrow/Outcome.d.ts +32 -0
  63. package/dist/types/Escrow/Outcome.d.ts.map +1 -0
  64. package/dist/types/Escrow/Schema.d.ts +3 -0
  65. package/dist/types/Escrow/Schema.d.ts.map +1 -0
  66. package/dist/types/Escrow/Terms/Party.d.ts +6 -0
  67. package/dist/types/Escrow/Terms/Party.d.ts.map +1 -0
  68. package/dist/types/Escrow/Terms/PartySecret.d.ts +6 -0
  69. package/dist/types/Escrow/Terms/PartySecret.d.ts.map +1 -0
  70. package/dist/types/Escrow/Terms/Terms.d.ts +77 -0
  71. package/dist/types/Escrow/Terms/Terms.d.ts.map +1 -0
  72. package/dist/types/Escrow/Terms/index.d.ts +4 -0
  73. package/dist/types/Escrow/Terms/index.d.ts.map +1 -0
  74. package/dist/types/Escrow/index.d.ts +6 -0
  75. package/dist/types/Escrow/index.d.ts.map +1 -0
  76. package/dist/types/Escrow/util/appraisal/getAppraisalsByAsset.d.ts +12 -0
  77. package/dist/types/Escrow/util/appraisal/getAppraisalsByAsset.d.ts.map +1 -0
  78. package/dist/types/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts +13 -0
  79. package/dist/types/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts.map +1 -0
  80. package/dist/types/Escrow/util/appraisal/index.d.ts +3 -0
  81. package/dist/types/Escrow/util/appraisal/index.d.ts.map +1 -0
  82. package/dist/types/Escrow/util/index.d.ts +3 -0
  83. package/dist/types/Escrow/util/index.d.ts.map +1 -0
  84. package/dist/types/Escrow/util/secret/createEscrowIntent.d.ts +12 -0
  85. package/dist/types/Escrow/util/secret/createEscrowIntent.d.ts.map +1 -0
  86. package/dist/types/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts +13 -0
  87. package/dist/types/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts.map +1 -0
  88. package/dist/types/Escrow/util/secret/getEscrowSecret.d.ts +7 -0
  89. package/dist/types/Escrow/util/secret/getEscrowSecret.d.ts.map +1 -0
  90. package/dist/types/Escrow/util/secret/index.d.ts +5 -0
  91. package/dist/types/Escrow/util/secret/index.d.ts.map +1 -0
  92. package/dist/types/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +14 -0
  93. package/dist/types/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +1 -0
  94. package/dist/types/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
  95. package/dist/types/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
  96. package/dist/types/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +22 -0
  97. package/dist/types/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
  98. package/dist/types/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts +10 -0
  99. package/dist/types/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts.map +1 -0
  100. package/dist/types/Escrow/validators/common/SecretValidators/index.d.ts +2 -0
  101. package/dist/types/Escrow/validators/common/SecretValidators/index.d.ts.map +1 -0
  102. package/dist/types/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
  103. package/dist/types/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
  104. package/dist/types/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
  105. package/dist/types/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
  106. package/dist/types/Escrow/validators/common/index.d.ts +4 -0
  107. package/dist/types/Escrow/validators/common/index.d.ts.map +1 -0
  108. package/dist/types/Escrow/validators/escrow/agent.d.ts +5 -0
  109. package/dist/types/Escrow/validators/escrow/agent.d.ts.map +1 -0
  110. package/dist/types/Escrow/validators/escrow/appraisal.d.ts +29 -0
  111. package/dist/types/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
  112. package/dist/types/Escrow/validators/escrow/appraisalAuthorities.d.ts +10 -0
  113. package/dist/types/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
  114. package/dist/types/Escrow/validators/escrow/assets.d.ts +8 -0
  115. package/dist/types/Escrow/validators/escrow/assets.d.ts.map +1 -0
  116. package/dist/types/Escrow/validators/escrow/buyer.d.ts +8 -0
  117. package/dist/types/Escrow/validators/escrow/buyer.d.ts.map +1 -0
  118. package/dist/types/Escrow/validators/escrow/buyerSecret.d.ts +21 -0
  119. package/dist/types/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
  120. package/dist/types/Escrow/validators/escrow/index.d.ts +11 -0
  121. package/dist/types/Escrow/validators/escrow/index.d.ts.map +1 -0
  122. package/dist/types/Escrow/validators/escrow/nbfExp.d.ts +4 -0
  123. package/dist/types/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
  124. package/dist/types/Escrow/validators/escrow/paymentAuthorities.d.ts +5 -0
  125. package/dist/types/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
  126. package/dist/types/Escrow/validators/escrow/seller.d.ts +8 -0
  127. package/dist/types/Escrow/validators/escrow/seller.d.ts.map +1 -0
  128. package/dist/types/Escrow/validators/escrow/sellerSecret.d.ts +21 -0
  129. package/dist/types/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -0
  130. package/dist/types/Escrow/validators/index.d.ts +3 -0
  131. package/dist/types/Escrow/validators/index.d.ts.map +1 -0
  132. package/dist/types/Invoice/Invoice.d.ts +17 -0
  133. package/dist/types/Invoice/Invoice.d.ts.map +1 -0
  134. package/dist/types/Invoice/index.d.ts +2 -0
  135. package/dist/types/Invoice/index.d.ts.map +1 -0
  136. package/dist/types/Payment/Instrument/Card/Payload.d.ts +50 -0
  137. package/dist/types/Payment/Instrument/Card/Payload.d.ts.map +1 -0
  138. package/dist/types/Payment/Instrument/Card/Schema.d.ts +3 -0
  139. package/dist/types/Payment/Instrument/Card/Schema.d.ts.map +1 -0
  140. package/dist/types/Payment/Instrument/Card/index.d.ts +3 -0
  141. package/dist/types/Payment/Instrument/Card/index.d.ts.map +1 -0
  142. package/dist/types/Payment/Instrument/Schema.d.ts +3 -0
  143. package/dist/types/Payment/Instrument/Schema.d.ts.map +1 -0
  144. package/dist/types/Payment/Instrument/index.d.ts +3 -0
  145. package/dist/types/Payment/Instrument/index.d.ts.map +1 -0
  146. package/dist/types/Payment/Payload.d.ts +36 -0
  147. package/dist/types/Payment/Payload.d.ts.map +1 -0
  148. package/dist/types/Payment/Schema.d.ts +3 -0
  149. package/dist/types/Payment/Schema.d.ts.map +1 -0
  150. package/dist/types/Payment/Status/Payload.d.ts +35 -0
  151. package/dist/types/Payment/Status/Payload.d.ts.map +1 -0
  152. package/dist/types/Payment/Status/Schema.d.ts +3 -0
  153. package/dist/types/Payment/Status/Schema.d.ts.map +1 -0
  154. package/dist/types/Payment/Status/index.d.ts +3 -0
  155. package/dist/types/Payment/Status/index.d.ts.map +1 -0
  156. package/dist/types/Payment/index.d.ts +5 -0
  157. package/dist/types/Payment/index.d.ts.map +1 -0
  158. package/dist/types/Purchase/Payload.d.ts +37 -0
  159. package/dist/types/Purchase/Payload.d.ts.map +1 -0
  160. package/dist/types/Purchase/Schema.d.ts +3 -0
  161. package/dist/types/Purchase/Schema.d.ts.map +1 -0
  162. package/dist/types/Purchase/index.d.ts +3 -0
  163. package/dist/types/Purchase/index.d.ts.map +1 -0
  164. package/dist/types/Receipt/Payload.d.ts +36 -0
  165. package/dist/types/Receipt/Payload.d.ts.map +1 -0
  166. package/dist/types/Receipt/Schema.d.ts +3 -0
  167. package/dist/types/Receipt/Schema.d.ts.map +1 -0
  168. package/dist/types/Receipt/index.d.ts +3 -0
  169. package/dist/types/Receipt/index.d.ts.map +1 -0
  170. package/dist/types/Schema.d.ts +3 -0
  171. package/dist/types/Schema.d.ts.map +1 -0
  172. package/dist/types/Subtotal/Diviner/Config.d.ts +8 -0
  173. package/dist/types/Subtotal/Diviner/Config.d.ts.map +1 -0
  174. package/dist/types/Subtotal/Diviner/Params.d.ts +5 -0
  175. package/dist/types/Subtotal/Diviner/Params.d.ts.map +1 -0
  176. package/dist/types/Subtotal/Diviner/Payload.d.ts +29 -0
  177. package/dist/types/Subtotal/Diviner/Payload.d.ts.map +1 -0
  178. package/dist/types/Subtotal/Diviner/index.d.ts +4 -0
  179. package/dist/types/Subtotal/Diviner/index.d.ts.map +1 -0
  180. package/dist/types/Subtotal/index.d.ts +2 -0
  181. package/dist/types/Subtotal/index.d.ts.map +1 -0
  182. package/dist/types/Total/Diviner/Config.d.ts +18 -0
  183. package/dist/types/Total/Diviner/Config.d.ts.map +1 -0
  184. package/dist/types/Total/Diviner/Params.d.ts +5 -0
  185. package/dist/types/Total/Diviner/Params.d.ts.map +1 -0
  186. package/dist/types/Total/Diviner/Payload.d.ts +29 -0
  187. package/dist/types/Total/Diviner/Payload.d.ts.map +1 -0
  188. package/dist/types/Total/Diviner/index.d.ts +4 -0
  189. package/dist/types/Total/Diviner/index.d.ts.map +1 -0
  190. package/dist/types/Total/index.d.ts +2 -0
  191. package/dist/types/Total/index.d.ts.map +1 -0
  192. package/dist/types/index.d.ts +12 -0
  193. package/dist/types/index.d.ts.map +1 -0
  194. package/package.json +26 -26
  195. package/src/Discount/Payload/Coupon/Coupons/FixedAmount.ts +2 -2
  196. package/src/Discount/Payload/Coupon/Coupons/FixedPercentage.ts +2 -4
  197. package/src/Discount/Payload/Coupon/Coupons/FixedPrice.ts +2 -2
  198. package/src/Discount/Payload/Coupon/Payload.ts +3 -1
  199. package/src/Discount/Payload/Coupon/types/Condition.ts +2 -1
  200. package/src/Discount/Payload/Discount.ts +2 -2
  201. package/src/Escrow/util/appraisal/getAppraisalsByAsset.ts +2 -1
  202. package/src/Escrow/util/appraisal/getSignaturesByAppraisal.ts +2 -1
  203. package/src/Escrow/util/secret/createEscrowIntent.ts +2 -2
  204. package/src/Escrow/util/secret/findEscrowPartySecretSignatures.ts +2 -1
  205. package/src/Escrow/validators/escrow/appraisal.ts +2 -1
  206. package/dist/neutral/index.d.ts +0 -561
@@ -1,5 +1,5 @@
1
1
  import { AsObjectFactory } from '@xylabs/object'
2
- import type { PayloadWithOptionalSources, WithSources } from '@xyo-network/payload-model'
2
+ import type { Payload, WithSources } from '@xyo-network/payload-model'
3
3
  import {
4
4
  isPayloadOfSchemaType,
5
5
  isPayloadOfSchemaTypeWithSources,
@@ -17,7 +17,7 @@ export interface FixedAmountCouponFields extends CouponFields, AmountFields {}
17
17
  /**
18
18
  * A coupon that provides a fixed discount amount
19
19
  */
20
- export type FixedAmountCoupon = PayloadWithOptionalSources<FixedAmountCouponFields, FixedAmountCouponSchema>
20
+ export type FixedAmountCoupon = Payload<FixedAmountCouponFields, FixedAmountCouponSchema>
21
21
 
22
22
  /**
23
23
  * Identity function for determining if an object is an FixedAmountCoupon
@@ -1,7 +1,5 @@
1
1
  import { AsObjectFactory } from '@xylabs/object'
2
- import type {
3
- Payload, PayloadWithOptionalSources, WithSources,
4
- } from '@xyo-network/payload-model'
2
+ import type { Payload, WithSources } from '@xyo-network/payload-model'
5
3
  import {
6
4
  isPayloadOfSchemaType,
7
5
  isPayloadOfSchemaTypeWithSources,
@@ -20,7 +18,7 @@ export interface FixedPercentageCouponFields extends CouponFields {
20
18
  /**
21
19
  * A coupon that provides a fixed discount amount
22
20
  */
23
- export type FixedPercentageCoupon = PayloadWithOptionalSources<Payload<FixedPercentageCouponFields, FixedPercentageCouponSchema>>
21
+ export type FixedPercentageCoupon = Payload<FixedPercentageCouponFields, FixedPercentageCouponSchema>
24
22
 
25
23
  /**
26
24
  * Identity function for determining if an object is an FixedPercentageCoupon
@@ -1,5 +1,5 @@
1
1
  import { AsObjectFactory } from '@xylabs/object'
2
- import type { PayloadWithOptionalSources, WithSources } from '@xyo-network/payload-model'
2
+ import type { Payload, WithSources } from '@xyo-network/payload-model'
3
3
  import {
4
4
  isPayloadOfSchemaType,
5
5
  isPayloadOfSchemaTypeWithSources,
@@ -17,7 +17,7 @@ export interface FixedPriceCouponFields extends CouponFields, AmountFields { }
17
17
  /**
18
18
  * A coupon that provides a fixed total price
19
19
  */
20
- export type FixedPriceCoupon = PayloadWithOptionalSources<FixedPriceCouponFields, FixedPriceCouponSchema>
20
+ export type FixedPriceCoupon = Payload<FixedPriceCouponFields, FixedPriceCouponSchema>
21
21
 
22
22
  /**
23
23
  * Identity function for determining if an object is an FixedPriceCoupon
@@ -1,7 +1,9 @@
1
1
  import { AsObjectFactory } from '@xylabs/object'
2
2
 
3
+ import type {
4
+ FixedAmountCoupon, FixedPercentageCoupon, FixedPriceCoupon,
5
+ } from './Coupons/index.ts'
3
6
  import {
4
- type FixedAmountCoupon, type FixedPercentageCoupon, type FixedPriceCoupon,
5
7
  isFixedAmountCoupon, isFixedAmountCouponWithSources, isFixedPercentageCoupon,
6
8
  isFixedPercentageCouponWithSources,
7
9
  isFixedPriceCoupon,
@@ -1,6 +1,7 @@
1
1
  import { AsObjectFactory } from '@xylabs/object'
2
2
  import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithSources } from '@xyo-network/payload-model'
3
- import { type SchemaPayload, SchemaSchema } from '@xyo-network/schema-payload-plugin'
3
+ import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
4
+ import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
4
5
 
5
6
  /**
6
7
  * The payloads that can be used as conditions for a coupon
@@ -1,5 +1,5 @@
1
1
  import { AsObjectFactory } from '@xylabs/object'
2
- import type { PayloadWithOptionalSources, WithSources } from '@xyo-network/payload-model'
2
+ import type { Payload, WithSources } from '@xyo-network/payload-model'
3
3
  import {
4
4
  isPayloadOfSchemaType,
5
5
  isPayloadOfSchemaTypeWithSources,
@@ -15,7 +15,7 @@ export interface DiscountFields extends AmountFields { }
15
15
  /**
16
16
  * The result of a discount
17
17
  */
18
- export type Discount = PayloadWithOptionalSources<DiscountFields, DiscountSchema>
18
+ export type Discount = Payload<DiscountFields, DiscountSchema>
19
19
 
20
20
  /**
21
21
  * Identity function for determining if an object is an Discount
@@ -1,5 +1,6 @@
1
1
  import type { Hash } from '@xylabs/hex'
2
- import { type HashLeaseEstimate, isHashLeaseEstimateWithSources } from '@xyo-network/diviner-hash-lease'
2
+ import type { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease'
3
+ import { isHashLeaseEstimateWithSources } from '@xyo-network/diviner-hash-lease'
3
4
  import type { Payload, WithSources } from '@xyo-network/payload-model'
4
5
 
5
6
  import type { EscrowTerms } from '../../Terms/index.ts'
@@ -1,5 +1,6 @@
1
1
  import type { Hash } from '@xylabs/hex'
2
- import { type BoundWitness, isBoundWitness } from '@xyo-network/boundwitness-model'
2
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
3
+ import { isBoundWitness } from '@xyo-network/boundwitness-model'
3
4
  import type { Payload } from '@xyo-network/payload-model'
4
5
 
5
6
  import type { EscrowTerms } from '../../Terms/index.ts'
@@ -1,6 +1,6 @@
1
1
  import type { AccountInstance } from '@xyo-network/account-model'
2
2
  import { BoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
3
- import type { IdPayload } from '@xyo-network/id-payload-plugin'
3
+ import type { Id } from '@xyo-network/id-payload-plugin'
4
4
 
5
5
  import type { EscrowTerms } from '../../Terms/index.ts'
6
6
 
@@ -11,7 +11,7 @@ import type { EscrowTerms } from '../../Terms/index.ts'
11
11
  * @param account The account to create the escrow intent with
12
12
  * @returns The escrow intent
13
13
  */
14
- export const createEscrowIntentWithSecret = async (terms: EscrowTerms, secret: IdPayload, account: AccountInstance) => {
14
+ export const createEscrowIntentWithSecret = async (terms: EscrowTerms, secret: Id, account: AccountInstance) => {
15
15
  const result = await new BoundWitnessBuilder().signers([account]).payloads([terms, secret]).build()
16
16
  return result
17
17
  }
@@ -1,5 +1,6 @@
1
1
  import type { Hash } from '@xylabs/hex'
2
- import { type BoundWitness, isBoundWitness } from '@xyo-network/boundwitness-model'
2
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
3
+ import { isBoundWitness } from '@xyo-network/boundwitness-model'
3
4
  import type { Payload } from '@xyo-network/payload-model'
4
5
 
5
6
  import type {
@@ -1,6 +1,7 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
2
  import type { Hash } from '@xylabs/hex'
3
- import { type BoundWitness, isBoundWitness } from '@xyo-network/boundwitness-model'
3
+ import type { BoundWitness } from '@xyo-network/boundwitness-model'
4
+ import { isBoundWitness } from '@xyo-network/boundwitness-model'
4
5
  import type { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease'
5
6
  import type {
6
7
  Payload, SyncPayloadValidationFunction, WithSources,