@xyo-network/payment-payload-plugins 2.99.4 → 2.99.5
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/dist/browser/Billing/Address/Address.d.cts +1 -1
- package/dist/browser/Billing/Address/Address.d.mts +1 -1
- package/dist/browser/Billing/Address/Address.d.ts +1 -1
- package/dist/browser/Billing/Address/index.d.cts +2 -2
- package/dist/browser/Billing/Address/index.d.mts +2 -2
- package/dist/browser/Billing/Address/index.d.ts +2 -2
- package/dist/browser/Billing/index.d.cts +2 -2
- package/dist/browser/Billing/index.d.mts +2 -2
- package/dist/browser/Billing/index.d.ts +2 -2
- package/dist/browser/Escrow/createEscrowIntent.d.cts +1 -1
- package/dist/browser/Escrow/createEscrowIntent.d.mts +1 -1
- package/dist/browser/Escrow/createEscrowIntent.d.ts +1 -1
- package/dist/browser/Escrow/index.d.cts +6 -6
- package/dist/browser/Escrow/index.d.mts +6 -6
- package/dist/browser/Escrow/index.d.ts +6 -6
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +1 -1
- package/dist/browser/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +1 -1
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.cts +1 -1
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.mts +1 -1
- package/dist/browser/Escrow/validators/common/TemporalValidators/index.d.ts +1 -1
- package/dist/browser/Escrow/validators/common/index.d.cts +2 -2
- package/dist/browser/Escrow/validators/common/index.d.mts +2 -2
- package/dist/browser/Escrow/validators/common/index.d.ts +2 -2
- package/dist/browser/Escrow/validators/escrow/agent.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/agent.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/agent.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisal.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisal.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisal.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/appraisalAuthorities.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/assets.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/assets.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/assets.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/buyer.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/buyer.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/buyer.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/buyerSecret.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/index.d.cts +10 -10
- package/dist/browser/Escrow/validators/escrow/index.d.mts +10 -10
- package/dist/browser/Escrow/validators/escrow/index.d.ts +10 -10
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/nbfExp.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/paymentAuthorities.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/seller.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/seller.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/seller.d.ts +1 -1
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.cts +1 -1
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.mts +1 -1
- package/dist/browser/Escrow/validators/escrow/sellerSecret.d.ts +1 -1
- package/dist/browser/Escrow/validators/index.d.cts +2 -2
- package/dist/browser/Escrow/validators/index.d.mts +2 -2
- package/dist/browser/Escrow/validators/index.d.ts +2 -2
- package/dist/browser/Payment/Instrument/Card/Payload.d.cts +1 -1
- package/dist/browser/Payment/Instrument/Card/Payload.d.mts +1 -1
- package/dist/browser/Payment/Instrument/Card/Payload.d.ts +1 -1
- package/dist/browser/Payment/Instrument/Card/index.d.cts +2 -2
- package/dist/browser/Payment/Instrument/Card/index.d.mts +2 -2
- package/dist/browser/Payment/Instrument/Card/index.d.ts +2 -2
- package/dist/browser/Payment/Instrument/index.d.cts +2 -2
- package/dist/browser/Payment/Instrument/index.d.mts +2 -2
- package/dist/browser/Payment/Instrument/index.d.ts +2 -2
- package/dist/browser/Payment/Payload.d.cts +2 -2
- package/dist/browser/Payment/Payload.d.mts +2 -2
- package/dist/browser/Payment/Payload.d.ts +2 -2
- package/dist/browser/Payment/Status/Payload.d.cts +1 -1
- package/dist/browser/Payment/Status/Payload.d.mts +1 -1
- package/dist/browser/Payment/Status/Payload.d.ts +1 -1
- package/dist/browser/Payment/Status/index.d.cts +2 -2
- package/dist/browser/Payment/Status/index.d.mts +2 -2
- package/dist/browser/Payment/Status/index.d.ts +2 -2
- package/dist/browser/Payment/index.d.cts +4 -4
- package/dist/browser/Payment/index.d.mts +4 -4
- package/dist/browser/Payment/index.d.ts +4 -4
- package/dist/browser/Purchase/Payload.d.cts +1 -1
- package/dist/browser/Purchase/Payload.d.mts +1 -1
- package/dist/browser/Purchase/Payload.d.ts +1 -1
- package/dist/browser/Purchase/index.d.cts +2 -2
- package/dist/browser/Purchase/index.d.mts +2 -2
- package/dist/browser/Purchase/index.d.ts +2 -2
- package/dist/browser/Receipt/Payload.d.cts +2 -2
- package/dist/browser/Receipt/Payload.d.mts +2 -2
- package/dist/browser/Receipt/Payload.d.ts +2 -2
- package/dist/browser/Receipt/index.d.cts +2 -2
- package/dist/browser/Receipt/index.d.mts +2 -2
- package/dist/browser/Receipt/index.d.ts +2 -2
- package/dist/browser/index.cjs +79 -59
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +6 -6
- package/dist/browser/index.d.mts +6 -6
- package/dist/browser/index.d.ts +6 -6
- package/dist/browser/{index.js → index.mjs} +87 -85
- package/dist/browser/index.mjs.map +1 -0
- package/dist/neutral/Billing/Address/Address.d.cts +1 -1
- package/dist/neutral/Billing/Address/Address.d.mts +1 -1
- package/dist/neutral/Billing/Address/Address.d.ts +1 -1
- package/dist/neutral/Billing/Address/index.d.cts +2 -2
- package/dist/neutral/Billing/Address/index.d.mts +2 -2
- package/dist/neutral/Billing/Address/index.d.ts +2 -2
- package/dist/neutral/Billing/index.d.cts +2 -2
- package/dist/neutral/Billing/index.d.mts +2 -2
- package/dist/neutral/Billing/index.d.ts +2 -2
- package/dist/neutral/Escrow/createEscrowIntent.d.cts +1 -1
- package/dist/neutral/Escrow/createEscrowIntent.d.mts +1 -1
- package/dist/neutral/Escrow/createEscrowIntent.d.ts +1 -1
- package/dist/neutral/Escrow/index.d.cts +6 -6
- package/dist/neutral/Escrow/index.d.mts +6 -6
- package/dist/neutral/Escrow/index.d.ts +6 -6
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +1 -1
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.cts +1 -1
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.mts +1 -1
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.ts +1 -1
- package/dist/neutral/Escrow/validators/common/index.d.cts +2 -2
- package/dist/neutral/Escrow/validators/common/index.d.mts +2 -2
- package/dist/neutral/Escrow/validators/common/index.d.ts +2 -2
- package/dist/neutral/Escrow/validators/escrow/agent.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/agent.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/assets.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/assets.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyer.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyer.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/index.d.cts +10 -10
- package/dist/neutral/Escrow/validators/escrow/index.d.mts +10 -10
- package/dist/neutral/Escrow/validators/escrow/index.d.ts +10 -10
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/seller.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/seller.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.cts +1 -1
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.mts +1 -1
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts +1 -1
- package/dist/neutral/Escrow/validators/index.d.cts +2 -2
- package/dist/neutral/Escrow/validators/index.d.mts +2 -2
- package/dist/neutral/Escrow/validators/index.d.ts +2 -2
- package/dist/neutral/Payment/Instrument/Card/Payload.d.cts +1 -1
- package/dist/neutral/Payment/Instrument/Card/Payload.d.mts +1 -1
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +1 -1
- package/dist/neutral/Payment/Instrument/Card/index.d.cts +2 -2
- package/dist/neutral/Payment/Instrument/Card/index.d.mts +2 -2
- package/dist/neutral/Payment/Instrument/Card/index.d.ts +2 -2
- package/dist/neutral/Payment/Instrument/index.d.cts +2 -2
- package/dist/neutral/Payment/Instrument/index.d.mts +2 -2
- package/dist/neutral/Payment/Instrument/index.d.ts +2 -2
- package/dist/neutral/Payment/Payload.d.cts +2 -2
- package/dist/neutral/Payment/Payload.d.mts +2 -2
- package/dist/neutral/Payment/Payload.d.ts +2 -2
- package/dist/neutral/Payment/Status/Payload.d.cts +1 -1
- package/dist/neutral/Payment/Status/Payload.d.mts +1 -1
- package/dist/neutral/Payment/Status/Payload.d.ts +1 -1
- package/dist/neutral/Payment/Status/index.d.cts +2 -2
- package/dist/neutral/Payment/Status/index.d.mts +2 -2
- package/dist/neutral/Payment/Status/index.d.ts +2 -2
- package/dist/neutral/Payment/index.d.cts +4 -4
- package/dist/neutral/Payment/index.d.mts +4 -4
- package/dist/neutral/Payment/index.d.ts +4 -4
- package/dist/neutral/Purchase/Payload.d.cts +1 -1
- package/dist/neutral/Purchase/Payload.d.mts +1 -1
- package/dist/neutral/Purchase/Payload.d.ts +1 -1
- package/dist/neutral/Purchase/index.d.cts +2 -2
- package/dist/neutral/Purchase/index.d.mts +2 -2
- package/dist/neutral/Purchase/index.d.ts +2 -2
- package/dist/neutral/Receipt/Payload.d.cts +2 -2
- package/dist/neutral/Receipt/Payload.d.mts +2 -2
- package/dist/neutral/Receipt/Payload.d.ts +2 -2
- package/dist/neutral/Receipt/index.d.cts +2 -2
- package/dist/neutral/Receipt/index.d.mts +2 -2
- package/dist/neutral/Receipt/index.d.ts +2 -2
- package/dist/neutral/index.cjs +79 -59
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +6 -6
- package/dist/neutral/index.d.mts +6 -6
- package/dist/neutral/index.d.ts +6 -6
- package/dist/{node/index.js → neutral/index.mjs} +87 -85
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/node/Billing/Address/Address.d.cts +1 -1
- package/dist/node/Billing/Address/Address.d.mts +1 -1
- package/dist/node/Billing/Address/Address.d.ts +1 -1
- package/dist/node/Billing/Address/index.d.cts +2 -2
- package/dist/node/Billing/Address/index.d.mts +2 -2
- package/dist/node/Billing/Address/index.d.ts +2 -2
- package/dist/node/Billing/index.d.cts +2 -2
- package/dist/node/Billing/index.d.mts +2 -2
- package/dist/node/Billing/index.d.ts +2 -2
- package/dist/node/Escrow/createEscrowIntent.d.cts +1 -1
- package/dist/node/Escrow/createEscrowIntent.d.mts +1 -1
- package/dist/node/Escrow/createEscrowIntent.d.ts +1 -1
- package/dist/node/Escrow/index.d.cts +6 -6
- package/dist/node/Escrow/index.d.mts +6 -6
- package/dist/node/Escrow/index.d.ts +6 -6
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.cts +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.mts +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.cts +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.mts +1 -1
- package/dist/node/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +1 -1
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.cts +1 -1
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.mts +1 -1
- package/dist/node/Escrow/validators/common/TemporalValidators/index.d.ts +1 -1
- package/dist/node/Escrow/validators/common/index.d.cts +2 -2
- package/dist/node/Escrow/validators/common/index.d.mts +2 -2
- package/dist/node/Escrow/validators/common/index.d.ts +2 -2
- package/dist/node/Escrow/validators/escrow/agent.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/agent.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/agent.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/appraisal.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/appraisal.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/appraisal.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/appraisalAuthorities.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/assets.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/assets.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/assets.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/buyer.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/buyer.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/buyer.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/buyerSecret.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/index.d.cts +10 -10
- package/dist/node/Escrow/validators/escrow/index.d.mts +10 -10
- package/dist/node/Escrow/validators/escrow/index.d.ts +10 -10
- package/dist/node/Escrow/validators/escrow/nbfExp.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/nbfExp.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/nbfExp.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/paymentAuthorities.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/seller.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/seller.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/seller.d.ts +1 -1
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.cts +1 -1
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.mts +1 -1
- package/dist/node/Escrow/validators/escrow/sellerSecret.d.ts +1 -1
- package/dist/node/Escrow/validators/index.d.cts +2 -2
- package/dist/node/Escrow/validators/index.d.mts +2 -2
- package/dist/node/Escrow/validators/index.d.ts +2 -2
- package/dist/node/Payment/Instrument/Card/Payload.d.cts +1 -1
- package/dist/node/Payment/Instrument/Card/Payload.d.mts +1 -1
- package/dist/node/Payment/Instrument/Card/Payload.d.ts +1 -1
- package/dist/node/Payment/Instrument/Card/index.d.cts +2 -2
- package/dist/node/Payment/Instrument/Card/index.d.mts +2 -2
- package/dist/node/Payment/Instrument/Card/index.d.ts +2 -2
- package/dist/node/Payment/Instrument/index.d.cts +2 -2
- package/dist/node/Payment/Instrument/index.d.mts +2 -2
- package/dist/node/Payment/Instrument/index.d.ts +2 -2
- package/dist/node/Payment/Payload.d.cts +2 -2
- package/dist/node/Payment/Payload.d.mts +2 -2
- package/dist/node/Payment/Payload.d.ts +2 -2
- package/dist/node/Payment/Status/Payload.d.cts +1 -1
- package/dist/node/Payment/Status/Payload.d.mts +1 -1
- package/dist/node/Payment/Status/Payload.d.ts +1 -1
- package/dist/node/Payment/Status/index.d.cts +2 -2
- package/dist/node/Payment/Status/index.d.mts +2 -2
- package/dist/node/Payment/Status/index.d.ts +2 -2
- package/dist/node/Payment/index.d.cts +4 -4
- package/dist/node/Payment/index.d.mts +4 -4
- package/dist/node/Payment/index.d.ts +4 -4
- package/dist/node/Purchase/Payload.d.cts +1 -1
- package/dist/node/Purchase/Payload.d.mts +1 -1
- package/dist/node/Purchase/Payload.d.ts +1 -1
- package/dist/node/Purchase/index.d.cts +2 -2
- package/dist/node/Purchase/index.d.mts +2 -2
- package/dist/node/Purchase/index.d.ts +2 -2
- package/dist/node/Receipt/Payload.d.cts +2 -2
- package/dist/node/Receipt/Payload.d.mts +2 -2
- package/dist/node/Receipt/Payload.d.ts +2 -2
- package/dist/node/Receipt/index.d.cts +2 -2
- package/dist/node/Receipt/index.d.mts +2 -2
- package/dist/node/Receipt/index.d.ts +2 -2
- package/dist/node/index.cjs +79 -59
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +6 -6
- package/dist/node/index.d.mts +6 -6
- package/dist/node/index.d.ts +6 -6
- package/dist/{neutral/index.js → node/index.mjs} +87 -85
- package/dist/node/index.mjs.map +1 -0
- package/package.json +18 -18
- package/src/Billing/Address/Address.ts +1 -1
- package/src/Billing/Address/Schema.ts +1 -1
- package/src/Billing/Address/index.ts +2 -2
- package/src/Billing/Schema.ts +1 -1
- package/src/Billing/index.ts +2 -2
- package/src/Escrow/Outcome.ts +1 -1
- package/src/Escrow/Terms.ts +1 -1
- package/src/Escrow/createEscrowIntent.ts +1 -1
- package/src/Escrow/index.ts +6 -6
- package/src/Escrow/validators/common/ModuleInstanceValidators/index.ts +1 -1
- package/src/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.ts +3 -3
- package/src/Escrow/validators/common/TemporalValidators/index.ts +1 -1
- package/src/Escrow/validators/common/index.ts +2 -2
- package/src/Escrow/validators/escrow/agent.ts +3 -3
- package/src/Escrow/validators/escrow/appraisal.ts +4 -4
- package/src/Escrow/validators/escrow/appraisalAuthorities.ts +4 -4
- package/src/Escrow/validators/escrow/assets.ts +1 -1
- package/src/Escrow/validators/escrow/buyer.ts +2 -2
- package/src/Escrow/validators/escrow/buyerSecret.ts +5 -5
- package/src/Escrow/validators/escrow/index.ts +10 -10
- package/src/Escrow/validators/escrow/nbfExp.ts +1 -1
- package/src/Escrow/validators/escrow/paymentAuthorities.ts +3 -3
- package/src/Escrow/validators/escrow/seller.ts +2 -2
- package/src/Escrow/validators/escrow/sellerSecret.ts +5 -5
- package/src/Escrow/validators/index.ts +2 -2
- package/src/Payment/Instrument/Card/Payload.ts +1 -1
- package/src/Payment/Instrument/Card/Schema.ts +1 -1
- package/src/Payment/Instrument/Card/index.ts +2 -2
- package/src/Payment/Instrument/Schema.ts +1 -1
- package/src/Payment/Instrument/index.ts +2 -2
- package/src/Payment/Payload.ts +2 -2
- package/src/Payment/Schema.ts +1 -1
- package/src/Payment/Status/Payload.ts +1 -1
- package/src/Payment/Status/Schema.ts +1 -1
- package/src/Payment/Status/index.ts +2 -2
- package/src/Payment/index.ts +4 -4
- package/src/Purchase/Payload.ts +1 -1
- package/src/Purchase/Schema.ts +1 -1
- package/src/Purchase/index.ts +2 -2
- package/src/Receipt/Payload.ts +2 -2
- package/src/Receipt/Schema.ts +1 -1
- package/src/Receipt/index.ts +2 -2
- package/src/index.ts +6 -6
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/index.js.map +0 -1
package/src/Billing/Schema.ts
CHANGED
package/src/Billing/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Address/index.
|
|
2
|
-
export * from './Schema.
|
|
1
|
+
export * from './Address/index.ts'
|
|
2
|
+
export * from './Schema.ts'
|
package/src/Escrow/Outcome.ts
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PayloadWithSources,
|
|
7
7
|
} from '@xyo-network/payload-model'
|
|
8
8
|
|
|
9
|
-
import { EscrowSchema } from './Schema.
|
|
9
|
+
import { EscrowSchema } from './Schema.ts'
|
|
10
10
|
|
|
11
11
|
export const EscrowOutcomeSchema = `${EscrowSchema}.outcome` as const
|
|
12
12
|
export type EscrowOutcomeSchema = typeof EscrowOutcomeSchema
|
package/src/Escrow/Terms.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, Hash } from '@xylabs/hex'
|
|
2
2
|
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
|
-
import { EscrowSchema } from './Schema.
|
|
4
|
+
import { EscrowSchema } from './Schema.ts'
|
|
5
5
|
|
|
6
6
|
export const EscrowTermsSchema = `${EscrowSchema}.terms` as const
|
|
7
7
|
export type EscrowTermsSchema = typeof EscrowTermsSchema
|
|
@@ -2,7 +2,7 @@ import { AccountInstance } from '@xyo-network/account-model'
|
|
|
2
2
|
import { BoundWitnessBuilder } from '@xyo-network/boundwitness-builder'
|
|
3
3
|
import { IdPayload } from '@xyo-network/id-payload-plugin'
|
|
4
4
|
|
|
5
|
-
import { EscrowTerms } from './Terms.
|
|
5
|
+
import { EscrowTerms } from './Terms.ts'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates an escrow intent
|
package/src/Escrow/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './createEscrowIntent.
|
|
2
|
-
export * from './getEscrowSecret.
|
|
3
|
-
export * from './Outcome.
|
|
4
|
-
export * from './Schema.
|
|
5
|
-
export * from './Terms.
|
|
6
|
-
export * from './validators/index.
|
|
1
|
+
export * from './createEscrowIntent.ts'
|
|
2
|
+
export * from './getEscrowSecret.ts'
|
|
3
|
+
export * from './Outcome.ts'
|
|
4
|
+
export * from './Schema.ts'
|
|
5
|
+
export * from './Terms.ts'
|
|
6
|
+
export * from './validators/index.ts'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './moduleInstanceValidators.
|
|
1
|
+
export * from './moduleInstanceValidators.ts'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
2
2
|
import { PayloadValueExpression } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
|
-
import { EscrowTerms } from '../../../Terms.
|
|
4
|
+
import { EscrowTerms } from '../../../Terms.ts'
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Checks if property value of the escrow terms contains one of the valid moduleIdentifiers
|
|
@@ -21,7 +21,7 @@ export const moduleIdentifiersContainsOneOf = (
|
|
|
21
21
|
if (termsValue === undefined) {
|
|
22
22
|
return required ? false : true
|
|
23
23
|
} else {
|
|
24
|
-
return Array.isArray(termsValue) ? termsValue.some(
|
|
24
|
+
return Array.isArray(termsValue) ? termsValue.some(address => moduleIdentifiers.includes(address)) : moduleIdentifiers.includes(termsValue)
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -43,6 +43,6 @@ export const moduleIdentifiersContainsAllOf = (
|
|
|
43
43
|
if (termsValue === undefined) {
|
|
44
44
|
return required ? false : true
|
|
45
45
|
} else {
|
|
46
|
-
return Array.isArray(termsValue) ? termsValue.every(
|
|
46
|
+
return Array.isArray(termsValue) ? termsValue.every(address => moduleIdentifiers.includes(address)) : moduleIdentifiers.includes(termsValue)
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './validateWithinWindow.
|
|
1
|
+
export * from './validateWithinWindow.ts'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ModuleInstanceValidators/index.
|
|
2
|
-
export * from './TemporalValidators/index.
|
|
1
|
+
export * from './ModuleInstanceValidators/index.ts'
|
|
2
|
+
export * from './TemporalValidators/index.ts'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
2
2
|
import { PayloadValidationFunction } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
|
-
import { EscrowTerms } from '../../Terms.
|
|
5
|
-
import { moduleIdentifiersContainsOneOf } from '../common/index.
|
|
4
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
5
|
+
import { moduleIdentifiersContainsOneOf } from '../common/index.ts'
|
|
6
6
|
|
|
7
7
|
const name = 'EscrowTerms.escrowAgent'
|
|
8
8
|
|
|
9
9
|
export const getEscrowAgentAllowedValidator = (allowedEscrowAgent: ModuleIdentifier): PayloadValidationFunction<EscrowTerms> => {
|
|
10
10
|
return (terms: EscrowTerms) => {
|
|
11
|
-
const result = moduleIdentifiersContainsOneOf(terms,
|
|
11
|
+
const result = moduleIdentifiersContainsOneOf(terms, t => t.escrowAgent, [allowedEscrowAgent], true)
|
|
12
12
|
if (!result) {
|
|
13
13
|
console.log(`${name}: Escrow agent not allowed: ${terms.escrowAgent}`)
|
|
14
14
|
}
|
|
@@ -4,8 +4,8 @@ import { BoundWitness, isBoundWitnessWithMeta } from '@xyo-network/boundwitness-
|
|
|
4
4
|
import { HashLeaseEstimate, isHashLeaseEstimateWithSources } from '@xyo-network/diviner-hash-lease'
|
|
5
5
|
import { Payload, PayloadValidationFunction, WithMeta, WithSources } from '@xyo-network/payload-model'
|
|
6
6
|
|
|
7
|
-
import { EscrowTerms } from '../../Terms.
|
|
8
|
-
import { validateWithinWindow } from '../common/index.
|
|
7
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
8
|
+
import { validateWithinWindow } from '../common/index.ts'
|
|
9
9
|
|
|
10
10
|
const name = 'EscrowTerms.appraisal'
|
|
11
11
|
|
|
@@ -37,11 +37,11 @@ export const getAppraisalsFromValidAuthoritiesValidator = (dictionary: Record<Ha
|
|
|
37
37
|
// - We have a bw for each of the appraisal
|
|
38
38
|
// - The bw is signed by an approved appraisal authority
|
|
39
39
|
const appraisalBWsValid: Record<Hash, WithMeta<BoundWitness>[]> = Object.fromEntries(
|
|
40
|
-
appraisals.map<[Hash, WithMeta<BoundWitness>[]]>(
|
|
40
|
+
appraisals.map<[Hash, WithMeta<BoundWitness>[]]>(hash => [hash, []]),
|
|
41
41
|
)
|
|
42
42
|
for (const bw of Object.values(dictionary).filter(isBoundWitnessWithMeta)) {
|
|
43
43
|
for (const appraisal of appraisals) {
|
|
44
|
-
if (bw.payload_hashes.includes(appraisal) && bw.addresses.some(
|
|
44
|
+
if (bw.payload_hashes.includes(appraisal) && bw.addresses.some(address => appraisalAuthorities.includes(address))) {
|
|
45
45
|
appraisalBWsValid[appraisal].push(bw)
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -2,8 +2,8 @@ import { asAddress } from '@xylabs/hex'
|
|
|
2
2
|
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
3
3
|
import { PayloadValidationFunction } from '@xyo-network/payload-model'
|
|
4
4
|
|
|
5
|
-
import { EscrowTerms } from '../../Terms.
|
|
6
|
-
import { moduleIdentifiersContainsAllOf } from '../common/index.
|
|
5
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
6
|
+
import { moduleIdentifiersContainsAllOf } from '../common/index.ts'
|
|
7
7
|
|
|
8
8
|
const name = 'EscrowTerms.appraisalAuthorities'
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ export const appraisalAuthoritiesExistValidator: PayloadValidationFunction<Escro
|
|
|
19
19
|
return false
|
|
20
20
|
}
|
|
21
21
|
// Validate the authorities are addresses
|
|
22
|
-
if (appraisalAuthorities.map(
|
|
22
|
+
if (appraisalAuthorities.map(x => asAddress(x)).length !== appraisalAuthorities.length) {
|
|
23
23
|
console.log(`${name}: Invalid address: ${terms.appraisalAuthorities}`)
|
|
24
24
|
return false
|
|
25
25
|
}
|
|
@@ -28,7 +28,7 @@ export const appraisalAuthoritiesExistValidator: PayloadValidationFunction<Escro
|
|
|
28
28
|
|
|
29
29
|
export const getAppraisalAuthoritiesAllowedValidator = (allowed: ModuleIdentifier[]): PayloadValidationFunction<EscrowTerms> => {
|
|
30
30
|
return (terms: EscrowTerms) => {
|
|
31
|
-
const result = moduleIdentifiersContainsAllOf(terms,
|
|
31
|
+
const result = moduleIdentifiersContainsAllOf(terms, t => t.appraisalAuthorities, allowed, true)
|
|
32
32
|
if (!result) {
|
|
33
33
|
console.log(`${name}: Appraisal authority not allowed: ${terms.appraisalAuthorities}`)
|
|
34
34
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { asAddress } from '@xylabs/hex'
|
|
2
2
|
import { PayloadValidationFunction } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
|
-
import { EscrowTerms } from '../../Terms.
|
|
4
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
5
5
|
|
|
6
6
|
const name = 'EscrowTerms.buyer'
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ export const buyerExistsValidator: PayloadValidationFunction<EscrowTerms> = (ter
|
|
|
17
17
|
return false
|
|
18
18
|
}
|
|
19
19
|
// Validate the authorities are addresses
|
|
20
|
-
if (buyer.map(
|
|
20
|
+
if (buyer.map(x => asAddress(x)).length !== buyer.length) {
|
|
21
21
|
console.log(`${name}: Invalid address: ${terms.buyer}`)
|
|
22
22
|
return false
|
|
23
23
|
}
|
|
@@ -4,7 +4,7 @@ import { isBoundWitnessWithMeta } from '@xyo-network/boundwitness-model'
|
|
|
4
4
|
import { BoundWitnessValidator } from '@xyo-network/boundwitness-validator'
|
|
5
5
|
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model'
|
|
6
6
|
|
|
7
|
-
import { EscrowTerms } from '../../Terms.
|
|
7
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
8
8
|
|
|
9
9
|
const name = 'EscrowTerms.buyerSecret'
|
|
10
10
|
|
|
@@ -52,9 +52,9 @@ export const getBuyerSecretSignedValidator = (dictionary: Record<Hash, WithMeta<
|
|
|
52
52
|
// Find all BoundWitnesses
|
|
53
53
|
.filter(isBoundWitnessWithMeta)
|
|
54
54
|
// That contain the buyer secret
|
|
55
|
-
.filter(
|
|
55
|
+
.filter(bw => bw.payload_hashes.includes(buyerSecret))
|
|
56
56
|
// That are signed by all the buyers
|
|
57
|
-
.filter(
|
|
57
|
+
.filter(bw => buyer.every(buyerAddress => bw.addresses.includes(buyerAddress)))
|
|
58
58
|
|
|
59
59
|
// If there are no buyerSecret BWs, return false
|
|
60
60
|
if (buyerSecretBWs.length === 0) {
|
|
@@ -63,8 +63,8 @@ export const getBuyerSecretSignedValidator = (dictionary: Record<Hash, WithMeta<
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
// Ensure each BW supplied for the buyerSecret is valid
|
|
66
|
-
const errors = await Promise.all(buyerSecretBWs.map(
|
|
67
|
-
const validBoundWitnesses = errors.every(
|
|
66
|
+
const errors = await Promise.all(buyerSecretBWs.map(bw => new BoundWitnessValidator(bw).validate()))
|
|
67
|
+
const validBoundWitnesses = errors.every(errors => errors.length === 0)
|
|
68
68
|
if (!validBoundWitnesses) {
|
|
69
69
|
console.log(`${name}: Invalid BoundWitnesses supplied for buyerSecret: ${buyerSecret}`)
|
|
70
70
|
return false
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './agent.
|
|
2
|
-
export * from './appraisal.
|
|
3
|
-
export * from './appraisalAuthorities.
|
|
4
|
-
export * from './assets.
|
|
5
|
-
export * from './buyer.
|
|
6
|
-
export * from './buyerSecret.
|
|
7
|
-
export * from './nbfExp.
|
|
8
|
-
export * from './paymentAuthorities.
|
|
9
|
-
export * from './seller.
|
|
10
|
-
export * from './sellerSecret.
|
|
1
|
+
export * from './agent.ts'
|
|
2
|
+
export * from './appraisal.ts'
|
|
3
|
+
export * from './appraisalAuthorities.ts'
|
|
4
|
+
export * from './assets.ts'
|
|
5
|
+
export * from './buyer.ts'
|
|
6
|
+
export * from './buyerSecret.ts'
|
|
7
|
+
export * from './nbfExp.ts'
|
|
8
|
+
export * from './paymentAuthorities.ts'
|
|
9
|
+
export * from './seller.ts'
|
|
10
|
+
export * from './sellerSecret.ts'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PayloadValidationFunction } from '@xyo-network/payload-model'
|
|
2
2
|
|
|
3
|
-
import { EscrowTerms } from '../../Terms.
|
|
3
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
4
4
|
|
|
5
5
|
export const getNbfExpValidator = (now: number, minRequiredDuration: number): PayloadValidationFunction<EscrowTerms> => {
|
|
6
6
|
const minExp = now + minRequiredDuration
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ModuleIdentifier } from '@xyo-network/module-model'
|
|
2
2
|
import { PayloadValidationFunction } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
|
-
import { EscrowTerms } from '../../Terms.
|
|
5
|
-
import { moduleIdentifiersContainsAllOf } from '../common/index.
|
|
4
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
5
|
+
import { moduleIdentifiersContainsAllOf } from '../common/index.ts'
|
|
6
6
|
|
|
7
7
|
const name = 'EscrowTerms.paymentAuthorities'
|
|
8
8
|
|
|
9
9
|
export const getPaymentAuthoritiesAllowedValidator = (allowed: ModuleIdentifier[]): PayloadValidationFunction<EscrowTerms> => {
|
|
10
10
|
return (terms: EscrowTerms) => {
|
|
11
|
-
const result = moduleIdentifiersContainsAllOf(terms,
|
|
11
|
+
const result = moduleIdentifiersContainsAllOf(terms, t => t.paymentAuthorities, allowed, true)
|
|
12
12
|
if (!result) {
|
|
13
13
|
console.log(`${name}: Payment authority not allowed: ${terms.paymentAuthorities}`)
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { asAddress } from '@xylabs/hex'
|
|
2
2
|
import { PayloadValidationFunction } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
|
-
import { EscrowTerms } from '../../Terms.
|
|
4
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
5
5
|
|
|
6
6
|
const name = 'EscrowTerms.seller'
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ export const sellerExistsValidator: PayloadValidationFunction<EscrowTerms> = (te
|
|
|
17
17
|
return false
|
|
18
18
|
}
|
|
19
19
|
// Validate the authorities are addresses
|
|
20
|
-
if (seller.map(
|
|
20
|
+
if (seller.map(x => asAddress(x)).length !== seller.length) {
|
|
21
21
|
console.log(`${name}: Invalid address: ${terms.seller}`)
|
|
22
22
|
return false
|
|
23
23
|
}
|
|
@@ -4,7 +4,7 @@ import { isBoundWitnessWithMeta } from '@xyo-network/boundwitness-model'
|
|
|
4
4
|
import { BoundWitnessValidator } from '@xyo-network/boundwitness-validator'
|
|
5
5
|
import { Payload, PayloadValidationFunction, WithMeta } from '@xyo-network/payload-model'
|
|
6
6
|
|
|
7
|
-
import { EscrowTerms } from '../../Terms.
|
|
7
|
+
import { EscrowTerms } from '../../Terms.ts'
|
|
8
8
|
|
|
9
9
|
const name = 'EscrowTerms.sellerSecret'
|
|
10
10
|
|
|
@@ -52,9 +52,9 @@ export const getSellerSecretSignedValidator = (dictionary: Record<Hash, WithMeta
|
|
|
52
52
|
// Find all BoundWitnesses
|
|
53
53
|
.filter(isBoundWitnessWithMeta)
|
|
54
54
|
// That contain the seller secret
|
|
55
|
-
.filter(
|
|
55
|
+
.filter(bw => bw.payload_hashes.includes(sellerSecret))
|
|
56
56
|
// That are signed by all the sellers
|
|
57
|
-
.filter(
|
|
57
|
+
.filter(bw => seller.every(sellerAddress => bw.addresses.includes(sellerAddress)))
|
|
58
58
|
|
|
59
59
|
// If there are no sellerSecret BWs, return false
|
|
60
60
|
if (sellerSecretBWs.length === 0) {
|
|
@@ -63,8 +63,8 @@ export const getSellerSecretSignedValidator = (dictionary: Record<Hash, WithMeta
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
// Ensure each BW supplied for the sellerSecret is valid
|
|
66
|
-
const errors = await Promise.all(sellerSecretBWs.map(
|
|
67
|
-
const validBoundWitnesses = errors.every(
|
|
66
|
+
const errors = await Promise.all(sellerSecretBWs.map(bw => new BoundWitnessValidator(bw).validate()))
|
|
67
|
+
const validBoundWitnesses = errors.every(errors => errors.length === 0)
|
|
68
68
|
if (!validBoundWitnesses) {
|
|
69
69
|
console.log(`${name}: Invalid BoundWitnesses supplied for sellerSecret: ${sellerSecret}`)
|
|
70
70
|
return false
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './common/index.
|
|
2
|
-
export * from './escrow/index.
|
|
1
|
+
export * from './common/index.ts'
|
|
2
|
+
export * from './escrow/index.ts'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources, Payload } from '@xyo-network/payload-model'
|
|
2
2
|
|
|
3
|
-
import { PaymentCardSchema } from './Schema.
|
|
3
|
+
import { PaymentCardSchema } from './Schema.ts'
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The fields describing a payment card.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export * from './Schema.
|
|
1
|
+
export * from './Payload.ts'
|
|
2
|
+
export * from './Schema.ts'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Card/index.
|
|
2
|
-
export * from './Schema.
|
|
1
|
+
export * from './Card/index.ts'
|
|
2
|
+
export * from './Schema.ts'
|
package/src/Payment/Payload.ts
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
PayloadWithSources,
|
|
6
6
|
} from '@xyo-network/payload-model'
|
|
7
7
|
|
|
8
|
-
import { SupportedCurrency } from '../Currency.
|
|
9
|
-
import { PaymentSchema } from './Schema.
|
|
8
|
+
import { SupportedCurrency } from '../Currency.ts'
|
|
9
|
+
import { PaymentSchema } from './Schema.ts'
|
|
10
10
|
|
|
11
11
|
export interface PaymentFields {
|
|
12
12
|
/**
|
package/src/Payment/Schema.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export * from './Schema.
|
|
1
|
+
export * from './Payload.ts'
|
|
2
|
+
export * from './Schema.ts'
|
package/src/Payment/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Instrument/index.
|
|
2
|
-
export * from './Payload.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Status/index.
|
|
1
|
+
export * from './Instrument/index.ts'
|
|
2
|
+
export * from './Payload.ts'
|
|
3
|
+
export * from './Schema.ts'
|
|
4
|
+
export * from './Status/index.ts'
|
package/src/Purchase/Payload.ts
CHANGED
package/src/Purchase/Schema.ts
CHANGED
package/src/Purchase/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export * from './Schema.
|
|
1
|
+
export * from './Payload.ts'
|
|
2
|
+
export * from './Schema.ts'
|
package/src/Receipt/Payload.ts
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
PayloadWithSources,
|
|
6
6
|
} from '@xyo-network/payload-model'
|
|
7
7
|
|
|
8
|
-
import { SupportedCurrency } from '../Currency.
|
|
9
|
-
import { ReceiptSchema } from './Schema.
|
|
8
|
+
import { SupportedCurrency } from '../Currency.ts'
|
|
9
|
+
import { ReceiptSchema } from './Schema.ts'
|
|
10
10
|
|
|
11
11
|
export interface ReceiptFields {
|
|
12
12
|
/**
|
package/src/Receipt/Schema.ts
CHANGED
package/src/Receipt/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Payload.
|
|
2
|
-
export * from './Schema.
|
|
1
|
+
export * from './Payload.ts'
|
|
2
|
+
export * from './Schema.ts'
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Billing/index.
|
|
2
|
-
export * from './Currency.
|
|
3
|
-
export * from './Escrow/index.
|
|
4
|
-
export * from './Payment/index.
|
|
5
|
-
export * from './Purchase/index.
|
|
6
|
-
export * from './Receipt/index.
|
|
1
|
+
export * from './Billing/index.ts'
|
|
2
|
+
export * from './Currency.ts'
|
|
3
|
+
export * from './Escrow/index.ts'
|
|
4
|
+
export * from './Payment/index.ts'
|
|
5
|
+
export * from './Purchase/index.ts'
|
|
6
|
+
export * from './Receipt/index.ts'
|