@xyo-network/payload-plugins 7.0.4 → 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/dist/neutral/crypto-nft-collection.mjs.map +1 -1
- package/dist/neutral/modules/advertising/Payload/Utm/Payload.d.ts +3 -3
- package/dist/neutral/modules/blocknative-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/bowser-system-info/Payload.d.ts +3 -3
- package/dist/neutral/modules/coingecko-crypto-market/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-address-transaction-history/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-asset/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-cards-game/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-cards-move/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Diviner/Payload/ContractInfo.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Diviner/Payload/Erc1155ContractInfo.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Diviner/Payload/Erc721ContractInfo.d.ts +3 -3
- package/dist/neutral/modules/crypto-contract-function-read/Payload.d.ts +13 -13
- package/dist/neutral/modules/crypto-nft/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft/Payload/NftInfo/NftAttribute.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft/Payload/NftInfo/NftInfoFields.d.ts +4 -4
- package/dist/neutral/modules/crypto-nft/Payload/NftInfo/NftMetadata.d.ts +4 -4
- package/dist/neutral/modules/crypto-nft/Payload/Payload.d.ts +27 -27
- package/dist/neutral/modules/crypto-nft/Witness/Query.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft-collection/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft-collection/Payload/Payload.d.ts +3 -3
- package/dist/neutral/modules/crypto-nft-collection/Witness/Query.d.ts +3 -3
- package/dist/neutral/modules/elevation/Payload.d.ts +3 -3
- package/dist/neutral/modules/email/Payload.d.ts +3 -3
- package/dist/neutral/modules/etherchain-ethereum-gas-v2/Payload.d.ts +3 -3
- package/dist/neutral/modules/ethers-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/etherscan-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/ethgasstation-ethereum-gas/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-address/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-nft-id/Payload/NftId/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-nft-id/Payload/NftIndex/Payload.d.ts +3 -3
- package/dist/neutral/modules/evm-nft-id/Payload/NftMetadataUri/Payload.d.ts +3 -3
- package/dist/neutral/modules/gas-price/Payload.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Diviner/Query.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Payload/ImageThumbnail.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Payload/ImageThumbnailResult.d.ts +3 -3
- package/dist/neutral/modules/image-thumbnail/Payload/ImageThumbnailResultIndex.d.ts +3 -3
- package/dist/neutral/modules/location/GeographicCoordinateSystemLocationPayload.d.ts +10 -10
- package/dist/neutral/modules/location/HeadingPayload.d.ts +4 -4
- package/dist/neutral/modules/location-certainty/Payload.d.ts +3 -3
- package/dist/neutral/modules/module-instance/Payload.d.ts +3 -3
- package/dist/neutral/modules/node-system-info/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Amount/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Billing/Address/Address.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/Payload.d.ts +4 -4
- package/dist/neutral/modules/payment/Discount/Payload/Coupon/types/Condition.d.ts +3 -3
- package/dist/neutral/modules/payment/Discount/Payload/Discount.d.ts +3 -3
- package/dist/neutral/modules/payment/Escrow/Outcome.d.ts +3 -3
- package/dist/neutral/modules/payment/Escrow/Terms/Terms.d.ts +3 -3
- package/dist/neutral/modules/payment/Escrow/util/secret/createEscrowIntent.d.ts +1 -1
- package/dist/neutral/modules/payment/Escrow/util/secret/getEscrowSecret.d.ts.map +1 -1
- package/dist/neutral/modules/payment/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +1 -1
- package/dist/neutral/modules/payment/Payment/Instrument/Card/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Payment/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Payment/Status/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Purchase/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Receipt/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Subtotal/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/payment/Total/Diviner/Payload.d.ts +3 -3
- package/dist/neutral/modules/pentair/Payload.d.ts +3 -3
- package/dist/neutral/modules/rebilly-payment/Authorization/Token/Payload.d.ts +3 -3
- package/dist/neutral/modules/signature/Payload.d.ts +3 -3
- package/dist/neutral/modules/tzero-stock-market/Payload/Snapshot/Payload.d.ts +3 -3
- package/dist/neutral/modules/uniswap-crypto-market/Payload.d.ts +3 -3
- package/dist/neutral/modules/url/Payload.d.ts +3 -3
- package/dist/neutral/modules/url-safety/Payload.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Address/Payload.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Dns/Witness/Payload/Request.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Dns/Witness/Payload/Response.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Domain/Domain.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Domain/DomainLease.d.ts +3 -3
- package/dist/neutral/modules/xns-record/DomainRegistration/DomainRegistration.d.ts +3 -3
- package/dist/neutral/modules/xns-record/DomainRegistration/DomainRegistrationLease.d.ts +3 -3
- package/dist/neutral/modules/xns-record/Hash/Payload.d.ts +3 -3
- package/dist/neutral/modules/xns-record/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +3 -3
- package/dist/neutral/payment.mjs +2 -2
- package/dist/neutral/payment.mjs.map +2 -2
- package/package.json +17 -56
|
@@ -236,7 +236,7 @@ export declare const asEscrowTerms: {
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
export declare const toEscrowTerms: {
|
|
239
|
-
|
|
239
|
+
(value: unknown): {
|
|
240
240
|
schema: string & {
|
|
241
241
|
readonly __schema: true;
|
|
242
242
|
};
|
|
@@ -272,8 +272,8 @@ export declare const toEscrowTerms: {
|
|
|
272
272
|
readonly __address: true;
|
|
273
273
|
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
274
274
|
sellerSecret?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
275
|
-
}
|
|
276
|
-
|
|
275
|
+
} | undefined;
|
|
276
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
277
277
|
schema: string & {
|
|
278
278
|
readonly __schema: true;
|
|
279
279
|
};
|
|
@@ -30,7 +30,7 @@ export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret:
|
|
|
30
30
|
schema: "network.xyo.error.module" & {
|
|
31
31
|
readonly __schema: true;
|
|
32
32
|
};
|
|
33
|
-
details?:
|
|
33
|
+
details?: import("@ariestools/sdk").JsonValue | undefined;
|
|
34
34
|
message?: string | undefined;
|
|
35
35
|
name?: string | undefined;
|
|
36
36
|
query?: import("@xyo-network/sdk").BrandedSchema<string> | import("@ariestools/sdk").BrandedHash | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEscrowSecret.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/payment/Escrow/util/secret/getEscrowSecret.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getEscrowSecret.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/payment/Escrow/util/secret/getEscrowSecret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAI1C;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAO,EAElC,CAAA"}
|
|
@@ -32,7 +32,7 @@ export declare const updateEscrowTermsWithSecret: (terms: EscrowTerms, escrowPar
|
|
|
32
32
|
schema: "network.xyo.error.module" & {
|
|
33
33
|
readonly __schema: true;
|
|
34
34
|
};
|
|
35
|
-
details?:
|
|
35
|
+
details?: import("@ariestools/sdk").JsonValue | undefined;
|
|
36
36
|
message?: string | undefined;
|
|
37
37
|
name?: string | undefined;
|
|
38
38
|
query?: import("@xyo-network/sdk").BrandedSchema<string> | import("@ariestools/sdk").BrandedHash | undefined;
|
|
@@ -60,7 +60,7 @@ export declare const asPaymentCard: {
|
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
export declare const toPaymentCard: {
|
|
63
|
-
|
|
63
|
+
(value: unknown): {
|
|
64
64
|
schema: string & {
|
|
65
65
|
readonly __schema: true;
|
|
66
66
|
};
|
|
@@ -69,8 +69,8 @@ export declare const toPaymentCard: {
|
|
|
69
69
|
expMonth: number;
|
|
70
70
|
expYear: number;
|
|
71
71
|
cardholderName?: string | undefined;
|
|
72
|
-
}
|
|
73
|
-
|
|
72
|
+
} | undefined;
|
|
73
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
74
74
|
schema: string & {
|
|
75
75
|
readonly __schema: true;
|
|
76
76
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asPayment: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toPayment: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: string & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: "USD";
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: string & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -42,14 +42,14 @@ export declare const asPaymentStatus: {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
export declare const toPaymentStatus: {
|
|
45
|
-
|
|
45
|
+
(value: unknown): {
|
|
46
46
|
schema: string & {
|
|
47
47
|
readonly __schema: true;
|
|
48
48
|
};
|
|
49
49
|
status: string;
|
|
50
50
|
result?: string | undefined;
|
|
51
|
-
}
|
|
52
|
-
|
|
51
|
+
} | undefined;
|
|
52
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
53
53
|
schema: string & {
|
|
54
54
|
readonly __schema: true;
|
|
55
55
|
};
|
|
@@ -42,14 +42,14 @@ export declare const asPurchase: {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
export declare const toPurchase: {
|
|
45
|
-
|
|
45
|
+
(value: unknown): {
|
|
46
46
|
schema: string & {
|
|
47
47
|
readonly __schema: true;
|
|
48
48
|
};
|
|
49
49
|
assets: import("@ariestools/sdk").BrandedHash[];
|
|
50
50
|
receipts: import("@ariestools/sdk").BrandedHash[];
|
|
51
|
-
}
|
|
52
|
-
|
|
51
|
+
} | undefined;
|
|
52
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
53
53
|
schema: string & {
|
|
54
54
|
readonly __schema: true;
|
|
55
55
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asReceipt: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toReceipt: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: string & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: "USD";
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: string & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asSubtotal: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toSubtotal: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: "network.xyo.payments.subtotal" & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: import('../../Amount/Iso4217Currency.js').Iso4217AlphabeticalCode;
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: "network.xyo.payments.subtotal" & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -46,14 +46,14 @@ export declare const asTotal: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export declare const toTotal: {
|
|
49
|
-
|
|
49
|
+
(value: unknown): {
|
|
50
50
|
schema: "network.xyo.payments.total" & {
|
|
51
51
|
readonly __schema: true;
|
|
52
52
|
};
|
|
53
53
|
amount: number;
|
|
54
54
|
currency: import('../../Amount/Iso4217Currency.js').Iso4217AlphabeticalCode;
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
} | undefined;
|
|
56
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
57
57
|
schema: "network.xyo.payments.total" & {
|
|
58
58
|
readonly __schema: true;
|
|
59
59
|
};
|
|
@@ -100,7 +100,7 @@ export declare const asPentairScreenlogicPayload: {
|
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
export declare const toPentairScreenlogicPayload: {
|
|
103
|
-
|
|
103
|
+
(value: unknown): {
|
|
104
104
|
schema: "network.xyo.pentair.screenlogic" & {
|
|
105
105
|
readonly __schema: true;
|
|
106
106
|
};
|
|
@@ -123,8 +123,8 @@ export declare const toPentairScreenlogicPayload: {
|
|
|
123
123
|
recurring?: SLScheduleData | undefined;
|
|
124
124
|
} | undefined;
|
|
125
125
|
version?: SLVersionData | undefined;
|
|
126
|
-
}
|
|
127
|
-
|
|
126
|
+
} | undefined;
|
|
127
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
128
128
|
schema: "network.xyo.pentair.screenlogic" & {
|
|
129
129
|
readonly __schema: true;
|
|
130
130
|
};
|
|
@@ -50,13 +50,13 @@ export declare const asRebillyPaymentAuthorizationToken: {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
export declare const toRebillyPaymentAuthorizationToken: {
|
|
53
|
-
|
|
53
|
+
(value: unknown): {
|
|
54
54
|
schema: "network.xyo.payments.payment.authorization.token.rebilly" & {
|
|
55
55
|
readonly __schema: true;
|
|
56
56
|
};
|
|
57
57
|
id: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
58
|
+
} | undefined;
|
|
59
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
60
60
|
schema: "network.xyo.payments.payment.authorization.token.rebilly" & {
|
|
61
61
|
readonly __schema: true;
|
|
62
62
|
};
|
|
@@ -50,14 +50,14 @@ export declare const asSignature: {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
export declare const toSignature: {
|
|
53
|
-
|
|
53
|
+
(value: unknown): {
|
|
54
54
|
schema: "network.xyo.signing.signature" & {
|
|
55
55
|
readonly __schema: true;
|
|
56
56
|
};
|
|
57
57
|
digestAlgorithm: "sha512" | "sha3-256";
|
|
58
58
|
signature: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
59
|
+
} | undefined;
|
|
60
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
61
61
|
schema: "network.xyo.signing.signature" & {
|
|
62
62
|
readonly __schema: true;
|
|
63
63
|
};
|
|
@@ -137,7 +137,7 @@ export declare const asSnapshot: {
|
|
|
137
137
|
* @deprecated This export is deprecated and is no longer maintained.
|
|
138
138
|
*/
|
|
139
139
|
export declare const toSnapshot: {
|
|
140
|
-
|
|
140
|
+
(value: unknown): {
|
|
141
141
|
schema: string & {
|
|
142
142
|
readonly __schema: true;
|
|
143
143
|
};
|
|
@@ -158,8 +158,8 @@ export declare const toSnapshot: {
|
|
|
158
158
|
symbol: string;
|
|
159
159
|
timestamp: string;
|
|
160
160
|
volume: number;
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
} | undefined;
|
|
162
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
163
163
|
schema: string & {
|
|
164
164
|
readonly __schema: true;
|
|
165
165
|
};
|
|
@@ -55,7 +55,7 @@ export declare const asUniswapCryptoMarketPayload: {
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
export declare const toUniswapCryptoMarketPayload: {
|
|
58
|
-
|
|
58
|
+
(value: unknown): {
|
|
59
59
|
schema: "network.xyo.crypto.market.uniswap" & {
|
|
60
60
|
readonly __schema: true;
|
|
61
61
|
};
|
|
@@ -67,8 +67,8 @@ export declare const toUniswapCryptoMarketPayload: {
|
|
|
67
67
|
}[];
|
|
68
68
|
}[];
|
|
69
69
|
timestamp: number;
|
|
70
|
-
}
|
|
71
|
-
|
|
70
|
+
} | undefined;
|
|
71
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
72
72
|
schema: "network.xyo.crypto.market.uniswap" & {
|
|
73
73
|
readonly __schema: true;
|
|
74
74
|
};
|
|
@@ -27,13 +27,13 @@ export declare const asUrlPayload: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export declare const toUrlPayload: {
|
|
30
|
-
|
|
30
|
+
(value: unknown): {
|
|
31
31
|
schema: "network.xyo.url" & {
|
|
32
32
|
readonly __schema: true;
|
|
33
33
|
};
|
|
34
34
|
url: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
35
|
+
} | undefined;
|
|
36
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
37
37
|
schema: "network.xyo.url" & {
|
|
38
38
|
readonly __schema: true;
|
|
39
39
|
};
|
|
@@ -43,14 +43,14 @@ export declare const asUrlSafetyPayload: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
export declare const toUrlSafetyPayload: {
|
|
46
|
-
|
|
46
|
+
(value: unknown): {
|
|
47
47
|
schema: "network.xyo.url.safety" & {
|
|
48
48
|
readonly __schema: true;
|
|
49
49
|
};
|
|
50
50
|
url: string;
|
|
51
51
|
threatTypes?: ("SOCIAL_ENGINEERING" | "POTENTIALLY_HARMFUL_APPLICATION" | "UNWANTED_SOFTWARE" | "THREAT_TYPE_UNSPECIFIED")[] | undefined;
|
|
52
|
-
}
|
|
53
|
-
|
|
52
|
+
} | undefined;
|
|
53
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
54
54
|
schema: "network.xyo.url.safety" & {
|
|
55
55
|
readonly __schema: true;
|
|
56
56
|
};
|
|
@@ -68,7 +68,7 @@ export declare const asAddressRecord: {
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
export declare const toAddressRecord: {
|
|
71
|
-
|
|
71
|
+
(value: unknown): {
|
|
72
72
|
schema: "network.xyo.ns.record.address" & {
|
|
73
73
|
readonly __schema: true;
|
|
74
74
|
};
|
|
@@ -79,8 +79,8 @@ export declare const toAddressRecord: {
|
|
|
79
79
|
})[];
|
|
80
80
|
domain: string;
|
|
81
81
|
tld: "xyo";
|
|
82
|
-
}
|
|
83
|
-
|
|
82
|
+
} | undefined;
|
|
83
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
84
84
|
schema: "network.xyo.ns.record.address" & {
|
|
85
85
|
readonly __schema: true;
|
|
86
86
|
};
|
|
@@ -94,7 +94,7 @@ export declare const asDNSRequest: {
|
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
export declare const toDNSRequest: {
|
|
97
|
-
|
|
97
|
+
(value: unknown): {
|
|
98
98
|
schema: "network.xyo.dns" & {
|
|
99
99
|
readonly __schema: true;
|
|
100
100
|
};
|
|
@@ -114,8 +114,8 @@ export declare const toDNSRequest: {
|
|
|
114
114
|
ID?: number | undefined;
|
|
115
115
|
RD?: boolean | 0 | 1 | undefined;
|
|
116
116
|
QDCOUNT?: number | undefined;
|
|
117
|
-
}
|
|
118
|
-
|
|
117
|
+
} | undefined;
|
|
118
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
119
119
|
schema: "network.xyo.dns" & {
|
|
120
120
|
readonly __schema: true;
|
|
121
121
|
};
|
|
@@ -173,7 +173,7 @@ export declare const asDNSResponse: {
|
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
175
|
export declare const toDNSResponse: {
|
|
176
|
-
|
|
176
|
+
(value: unknown): {
|
|
177
177
|
schema: "network.xyo.dns" & {
|
|
178
178
|
readonly __schema: true;
|
|
179
179
|
};
|
|
@@ -213,8 +213,8 @@ export declare const toDNSResponse: {
|
|
|
213
213
|
TTL: number;
|
|
214
214
|
data: string;
|
|
215
215
|
}[] | undefined;
|
|
216
|
-
}
|
|
217
|
-
|
|
216
|
+
} | undefined;
|
|
217
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
218
218
|
schema: "network.xyo.dns" & {
|
|
219
219
|
readonly __schema: true;
|
|
220
220
|
};
|
|
@@ -54,14 +54,14 @@ export declare const asDomain: {
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
export declare const toDomain: {
|
|
57
|
-
|
|
57
|
+
(value: unknown): {
|
|
58
58
|
schema: "network.xyo.ns.domain" & {
|
|
59
59
|
readonly __schema: true;
|
|
60
60
|
};
|
|
61
61
|
domain: string;
|
|
62
62
|
tld: "xyo";
|
|
63
|
-
}
|
|
64
|
-
|
|
63
|
+
} | undefined;
|
|
64
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
65
65
|
schema: "network.xyo.ns.domain" & {
|
|
66
66
|
readonly __schema: true;
|
|
67
67
|
};
|
|
@@ -59,7 +59,7 @@ export declare const asDomainLease: {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
export declare const toDomainLease: {
|
|
62
|
-
|
|
62
|
+
(value: unknown): {
|
|
63
63
|
schema: "network.xyo.ns.domain.lease" & {
|
|
64
64
|
readonly __schema: true;
|
|
65
65
|
};
|
|
@@ -67,8 +67,8 @@ export declare const toDomainLease: {
|
|
|
67
67
|
nbf: number;
|
|
68
68
|
domain: string;
|
|
69
69
|
tld: "xyo";
|
|
70
|
-
}
|
|
71
|
-
|
|
70
|
+
} | undefined;
|
|
71
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
72
72
|
schema: "network.xyo.ns.domain.lease" & {
|
|
73
73
|
readonly __schema: true;
|
|
74
74
|
};
|
|
@@ -96,7 +96,7 @@ export declare const asDomainRegistration: {
|
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
export declare const toDomainRegistration: {
|
|
99
|
-
|
|
99
|
+
(value: unknown): {
|
|
100
100
|
schema: string & {
|
|
101
101
|
readonly __schema: true;
|
|
102
102
|
};
|
|
@@ -112,8 +112,8 @@ export declare const toDomainRegistration: {
|
|
|
112
112
|
})[];
|
|
113
113
|
domain: string;
|
|
114
114
|
tld: "xyo";
|
|
115
|
-
}
|
|
116
|
-
|
|
115
|
+
} | undefined;
|
|
116
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
117
117
|
schema: string & {
|
|
118
118
|
readonly __schema: true;
|
|
119
119
|
};
|
|
@@ -106,7 +106,7 @@ export declare const asDomainRegistrationLease: {
|
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
export declare const toDomainRegistrationLease: {
|
|
109
|
-
|
|
109
|
+
(value: unknown): {
|
|
110
110
|
schema: string & {
|
|
111
111
|
readonly __schema: true;
|
|
112
112
|
};
|
|
@@ -124,8 +124,8 @@ export declare const toDomainRegistrationLease: {
|
|
|
124
124
|
})[];
|
|
125
125
|
domain: string;
|
|
126
126
|
tld: "xyo";
|
|
127
|
-
}
|
|
128
|
-
|
|
127
|
+
} | undefined;
|
|
128
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
129
129
|
schema: string & {
|
|
130
130
|
readonly __schema: true;
|
|
131
131
|
};
|
|
@@ -48,15 +48,15 @@ export declare const asHashRecord: {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
export declare const toHashRecord: {
|
|
51
|
-
|
|
51
|
+
(value: unknown): {
|
|
52
52
|
schema: "network.xyo.ns.record.hash" & {
|
|
53
53
|
readonly __schema: true;
|
|
54
54
|
};
|
|
55
55
|
hash: import("@ariestools/sdk").BrandedHash[];
|
|
56
56
|
domain: string;
|
|
57
57
|
tld: "xyo";
|
|
58
|
-
}
|
|
59
|
-
|
|
58
|
+
} | undefined;
|
|
59
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
60
60
|
schema: "network.xyo.ns.record.hash" & {
|
|
61
61
|
readonly __schema: true;
|
|
62
62
|
};
|
package/dist/neutral/modules/xns-record/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts
CHANGED
|
@@ -54,15 +54,15 @@ export declare const asDomainLeaseEstimateDivinerValidationErrorDetails: {
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
export declare const toDomainLeaseEstimateDivinerValidationErrorDetails: {
|
|
57
|
-
|
|
57
|
+
(value: unknown): {
|
|
58
58
|
schema: "network.xyo.diviner.ns.domain.registration.lease.estimate.validation.error.details" & {
|
|
59
59
|
readonly __schema: true;
|
|
60
60
|
};
|
|
61
61
|
code?: string | undefined;
|
|
62
62
|
detail?: string | undefined;
|
|
63
63
|
title?: string | undefined;
|
|
64
|
-
}
|
|
65
|
-
|
|
64
|
+
} | undefined;
|
|
65
|
+
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
66
66
|
schema: "network.xyo.diviner.ns.domain.registration.lease.estimate.validation.error.details" & {
|
|
67
67
|
readonly __schema: true;
|
|
68
68
|
};
|
package/dist/neutral/payment.mjs
CHANGED
|
@@ -652,10 +652,10 @@ var findEscrowPartySecretSignatures = (terms, dictionary, party) => {
|
|
|
652
652
|
};
|
|
653
653
|
|
|
654
654
|
// src/modules/payment/Escrow/util/secret/getEscrowSecret.ts
|
|
655
|
-
import { Crypto } from "@ariestools/crypto";
|
|
656
655
|
import { IdSchema } from "@xyo-network/sdk";
|
|
656
|
+
import { v4 as uuid } from "uuid";
|
|
657
657
|
var getEscrowSecret = () => {
|
|
658
|
-
return { salt:
|
|
658
|
+
return { salt: uuid(), schema: IdSchema };
|
|
659
659
|
};
|
|
660
660
|
|
|
661
661
|
// src/modules/payment/Escrow/util/secret/updateEscrowTermsWithSecret.ts
|