@xyo-network/payment-payload-plugins 3.0.3 → 3.0.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.
- package/dist/neutral/Billing/Address/Address.d.ts +24 -0
- package/dist/neutral/Billing/Address/Address.d.ts.map +1 -0
- package/dist/neutral/Billing/Address/Schema.d.ts +3 -0
- package/dist/neutral/Billing/Address/Schema.d.ts.map +1 -0
- package/dist/neutral/Billing/Address/index.d.ts +3 -0
- package/dist/neutral/Billing/Address/index.d.ts.map +1 -0
- package/dist/neutral/Billing/Schema.d.ts +3 -0
- package/dist/neutral/Billing/Schema.d.ts.map +1 -0
- package/dist/neutral/Billing/index.d.ts +3 -0
- package/dist/neutral/Billing/index.d.ts.map +1 -0
- package/dist/neutral/Currency.d.ts +2 -0
- package/dist/neutral/Currency.d.ts.map +1 -0
- package/dist/neutral/Escrow/Outcome.d.ts +14 -0
- package/dist/neutral/Escrow/Outcome.d.ts.map +1 -0
- package/dist/neutral/Escrow/Schema.d.ts +3 -0
- package/dist/neutral/Escrow/Schema.d.ts.map +1 -0
- package/dist/neutral/Escrow/Terms.d.ts +28 -0
- package/dist/neutral/Escrow/Terms.d.ts.map +1 -0
- package/dist/neutral/Escrow/createEscrowIntent.d.ts +28 -0
- package/dist/neutral/Escrow/createEscrowIntent.d.ts.map +1 -0
- package/dist/neutral/Escrow/getEscrowSecret.d.ts +3 -0
- package/dist/neutral/Escrow/getEscrowSecret.d.ts.map +1 -0
- package/dist/neutral/Escrow/index.d.ts +7 -0
- package/dist/neutral/Escrow/index.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +2 -0
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +6 -0
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.ts +2 -0
- package/dist/neutral/Escrow/validators/common/TemporalValidators/index.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +6 -0
- package/dist/neutral/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/common/index.d.ts +3 -0
- package/dist/neutral/Escrow/validators/common/index.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts +5 -0
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts +8 -0
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts +6 -0
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts +4 -0
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts +4 -0
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts +7 -0
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/index.d.ts +11 -0
- package/dist/neutral/Escrow/validators/escrow/index.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts +4 -0
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts +5 -0
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts +4 -0
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts +7 -0
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/index.d.ts +3 -0
- package/dist/neutral/Escrow/validators/index.d.ts.map +1 -0
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +20 -0
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts.map +1 -0
- package/dist/neutral/Payment/Instrument/Card/Schema.d.ts +3 -0
- package/dist/neutral/Payment/Instrument/Card/Schema.d.ts.map +1 -0
- package/dist/neutral/Payment/Instrument/Card/index.d.ts +3 -0
- package/dist/neutral/Payment/Instrument/Card/index.d.ts.map +1 -0
- package/dist/neutral/Payment/Instrument/Schema.d.ts +3 -0
- package/dist/neutral/Payment/Instrument/Schema.d.ts.map +1 -0
- package/dist/neutral/Payment/Instrument/index.d.ts +3 -0
- package/dist/neutral/Payment/Instrument/index.d.ts.map +1 -0
- package/dist/neutral/Payment/Payload.d.ts +12 -0
- package/dist/neutral/Payment/Payload.d.ts.map +1 -0
- package/dist/neutral/Payment/Schema.d.ts +3 -0
- package/dist/neutral/Payment/Schema.d.ts.map +1 -0
- package/dist/neutral/Payment/Status/Payload.d.ts +11 -0
- package/dist/neutral/Payment/Status/Payload.d.ts.map +1 -0
- package/dist/neutral/Payment/Status/Schema.d.ts +3 -0
- package/dist/neutral/Payment/Status/Schema.d.ts.map +1 -0
- package/dist/neutral/Payment/Status/index.d.ts +3 -0
- package/dist/neutral/Payment/Status/index.d.ts.map +1 -0
- package/dist/neutral/Payment/index.d.ts +5 -0
- package/dist/neutral/Payment/index.d.ts.map +1 -0
- package/dist/neutral/Purchase/Payload.d.ts +12 -0
- package/dist/neutral/Purchase/Payload.d.ts.map +1 -0
- package/dist/neutral/Purchase/Schema.d.ts +3 -0
- package/dist/neutral/Purchase/Schema.d.ts.map +1 -0
- package/dist/neutral/Purchase/index.d.ts +3 -0
- package/dist/neutral/Purchase/index.d.ts.map +1 -0
- package/dist/neutral/Receipt/Payload.d.ts +12 -0
- package/dist/neutral/Receipt/Payload.d.ts.map +1 -0
- package/dist/neutral/Receipt/Schema.d.ts +3 -0
- package/dist/neutral/Receipt/Schema.d.ts.map +1 -0
- package/dist/neutral/Receipt/index.d.ts +3 -0
- package/dist/neutral/Receipt/index.d.ts.map +1 -0
- package/dist/neutral/Schema.d.ts +3 -0
- package/dist/neutral/Schema.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +7 -218
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.mjs +15 -3
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +34 -34
- package/src/Billing/Address/Address.ts +3 -1
- package/src/Escrow/Outcome.ts +1 -2
- package/src/Escrow/Terms.ts +3 -1
- package/src/Escrow/validators/escrow/appraisal.ts +3 -1
- package/src/Escrow/validators/escrow/buyerSecret.ts +3 -1
- package/src/Escrow/validators/escrow/sellerSecret.ts +3 -1
- package/src/Payment/Instrument/Card/Payload.ts +3 -1
- package/src/Payment/Payload.ts +1 -2
- package/src/Payment/Status/Payload.ts +1 -2
- package/src/Purchase/Payload.ts +1 -2
- package/src/Receipt/Payload.ts +1 -2
- package/xy.config.ts +1 -3
package/package.json
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/payment-payload-plugins",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"url": "https://xyo.network"
|
|
7
|
-
},
|
|
3
|
+
"version": "3.0.4",
|
|
4
|
+
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
|
+
"homepage": "https://xyo.network",
|
|
8
6
|
"bugs": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
7
|
+
"url": "git+https://github.com/XYOracleNetwork/plugins/issues",
|
|
8
|
+
"email": "support@xyo.network"
|
|
11
9
|
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"@xylabs/hex": "^4.0.2",
|
|
16
|
-
"@xyo-network/account-model": "^3.0.3",
|
|
17
|
-
"@xyo-network/boundwitness-builder": "^3.0.3",
|
|
18
|
-
"@xyo-network/boundwitness-model": "^3.0.3",
|
|
19
|
-
"@xyo-network/boundwitness-validator": "^3.0.3",
|
|
20
|
-
"@xyo-network/diviner-hash-lease": "^3.0.3",
|
|
21
|
-
"@xyo-network/id-payload-plugin": "^3.0.3",
|
|
22
|
-
"@xyo-network/module-model": "^3.0.3",
|
|
23
|
-
"@xyo-network/payload-model": "^3.0.3"
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/XYOracleNetwork/plugins.git"
|
|
24
13
|
},
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
14
|
+
"license": "LGPL-3.0-only",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "XYO Development Team",
|
|
17
|
+
"email": "support@xyo.network",
|
|
18
|
+
"url": "https://xyo.network"
|
|
29
19
|
},
|
|
30
|
-
"
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"type": "module",
|
|
31
22
|
"exports": {
|
|
32
23
|
".": {
|
|
33
24
|
"types": "./dist/neutral/index.d.ts",
|
|
@@ -37,16 +28,25 @@
|
|
|
37
28
|
},
|
|
38
29
|
"module": "dist/neutral/index.mjs",
|
|
39
30
|
"types": "dist/neutral/index.d.ts",
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@xylabs/assert": "^4.0.4",
|
|
33
|
+
"@xylabs/crypto": "^4.0.4",
|
|
34
|
+
"@xylabs/hex": "^4.0.4",
|
|
35
|
+
"@xyo-network/account-model": "^3.0.10",
|
|
36
|
+
"@xyo-network/boundwitness-builder": "^3.0.10",
|
|
37
|
+
"@xyo-network/boundwitness-model": "^3.0.10",
|
|
38
|
+
"@xyo-network/boundwitness-validator": "^3.0.10",
|
|
39
|
+
"@xyo-network/diviner-hash-lease": "^3.0.10",
|
|
40
|
+
"@xyo-network/id-payload-plugin": "^3.0.10",
|
|
41
|
+
"@xyo-network/module-model": "^3.0.10",
|
|
42
|
+
"@xyo-network/payload-model": "^3.0.10"
|
|
44
43
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.7",
|
|
46
|
+
"@xylabs/tsconfig": "^4.0.7",
|
|
47
|
+
"typescript": "^5.5.4"
|
|
48
48
|
},
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
}
|
|
52
52
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources,
|
|
4
|
+
} from '@xyo-network/payload-model'
|
|
3
5
|
|
|
4
6
|
import { BillingAddressSchema } from './Schema.ts'
|
|
5
7
|
|
package/src/Escrow/Outcome.ts
CHANGED
package/src/Escrow/Terms.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Address, Hash } from '@xylabs/hex'
|
|
2
2
|
import type { Payload } from '@xyo-network/payload-model'
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources,
|
|
5
|
+
} from '@xyo-network/payload-model'
|
|
4
6
|
|
|
5
7
|
import { EscrowSchema } from './Schema.ts'
|
|
6
8
|
|
|
@@ -4,7 +4,9 @@ import type { BoundWitness } from '@xyo-network/boundwitness-model'
|
|
|
4
4
|
import { isBoundWitnessWithMeta } from '@xyo-network/boundwitness-model'
|
|
5
5
|
import type { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease'
|
|
6
6
|
import { isHashLeaseEstimateWithSources } from '@xyo-network/diviner-hash-lease'
|
|
7
|
-
import type {
|
|
7
|
+
import type {
|
|
8
|
+
Payload, PayloadValidationFunction, WithMeta, WithSources,
|
|
9
|
+
} from '@xyo-network/payload-model'
|
|
8
10
|
|
|
9
11
|
import type { EscrowTerms } from '../../Terms.ts'
|
|
10
12
|
import { validateWithinWindow } from '../common/index.ts'
|
|
@@ -2,7 +2,9 @@ import { assertEx } from '@xylabs/assert'
|
|
|
2
2
|
import type { Hash } from '@xylabs/hex'
|
|
3
3
|
import { isBoundWitnessWithMeta } from '@xyo-network/boundwitness-model'
|
|
4
4
|
import { BoundWitnessValidator } from '@xyo-network/boundwitness-validator'
|
|
5
|
-
import type {
|
|
5
|
+
import type {
|
|
6
|
+
Payload, PayloadValidationFunction, WithMeta,
|
|
7
|
+
} from '@xyo-network/payload-model'
|
|
6
8
|
|
|
7
9
|
import type { EscrowTerms } from '../../Terms.ts'
|
|
8
10
|
|
|
@@ -2,7 +2,9 @@ import { assertEx } from '@xylabs/assert'
|
|
|
2
2
|
import type { Hash } from '@xylabs/hex'
|
|
3
3
|
import { isBoundWitnessWithMeta } from '@xyo-network/boundwitness-model'
|
|
4
4
|
import { BoundWitnessValidator } from '@xyo-network/boundwitness-validator'
|
|
5
|
-
import type {
|
|
5
|
+
import type {
|
|
6
|
+
Payload, PayloadValidationFunction, WithMeta,
|
|
7
|
+
} from '@xyo-network/payload-model'
|
|
6
8
|
|
|
7
9
|
import type { EscrowTerms } from '../../Terms.ts'
|
|
8
10
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources,
|
|
4
|
+
} from '@xyo-network/payload-model'
|
|
3
5
|
|
|
4
6
|
import { PaymentCardSchema } from './Schema.ts'
|
|
5
7
|
|
package/src/Payment/Payload.ts
CHANGED
package/src/Purchase/Payload.ts
CHANGED
package/src/Receipt/Payload.ts
CHANGED