@xyo-network/payment-payload-plugins 6.1.0 → 7.0.1
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/Amount/Iso4217Currency.d.ts.map +1 -1
- package/dist/neutral/Amount/Payload.d.ts +56 -15
- package/dist/neutral/Amount/Payload.d.ts.map +1 -1
- package/dist/neutral/Billing/Address/Address.d.ts +102 -32
- package/dist/neutral/Billing/Address/Address.d.ts.map +1 -1
- package/dist/neutral/Currency.d.ts +5 -1
- package/dist/neutral/Currency.d.ts.map +1 -1
- package/dist/neutral/Discount/Config.d.ts +1 -1
- package/dist/neutral/Discount/Config.d.ts.map +1 -1
- package/dist/neutral/Discount/Params.d.ts +1 -1
- package/dist/neutral/Discount/Params.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +2 -2
- package/dist/neutral/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +81 -15
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +74 -15
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +81 -15
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts +186 -9
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts +92 -8
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/types/CouponFields.d.ts +8 -12
- package/dist/neutral/Discount/Payload/Coupon/types/CouponFields.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Discount.d.ts +53 -14
- package/dist/neutral/Discount/Payload/Discount.d.ts.map +1 -1
- package/dist/neutral/Escrow/Outcome.d.ts +64 -17
- package/dist/neutral/Escrow/Outcome.d.ts.map +1 -1
- package/dist/neutral/Escrow/Terms/Terms.d.ts +303 -62
- package/dist/neutral/Escrow/Terms/Terms.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/appraisal/getAppraisalsByAsset.d.ts +2 -2
- package/dist/neutral/Escrow/util/appraisal/getAppraisalsByAsset.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts +2 -2
- package/dist/neutral/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts +18 -10
- package/dist/neutral/Escrow/util/secret/createEscrowIntent.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts +2 -2
- package/dist/neutral/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/secret/getEscrowSecret.d.ts +1 -1
- package/dist/neutral/Escrow/util/secret/getEscrowSecret.d.ts.map +1 -1
- package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +18 -10
- package/dist/neutral/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts +2 -2
- package/dist/neutral/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/agent.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts +2 -2
- package/dist/neutral/Escrow/validators/escrow/appraisal.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/assets.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyer.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts +2 -2
- package/dist/neutral/Escrow/validators/escrow/buyerSecret.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/nbfExp.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/paymentAuthorities.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts +1 -1
- package/dist/neutral/Escrow/validators/escrow/seller.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts +2 -2
- package/dist/neutral/Escrow/validators/escrow/sellerSecret.d.ts.map +1 -1
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +74 -34
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts.map +1 -1
- package/dist/neutral/Payment/Payload.d.ts +57 -23
- package/dist/neutral/Payment/Payload.d.ts.map +1 -1
- package/dist/neutral/Payment/Status/Payload.d.ts +53 -22
- package/dist/neutral/Payment/Status/Payload.d.ts.map +1 -1
- package/dist/neutral/Purchase/Payload.d.ts +53 -24
- package/dist/neutral/Purchase/Payload.d.ts.map +1 -1
- package/dist/neutral/Receipt/Payload.d.ts +57 -23
- package/dist/neutral/Receipt/Payload.d.ts.map +1 -1
- package/dist/neutral/Subtotal/Diviner/Config.d.ts +1 -1
- package/dist/neutral/Subtotal/Diviner/Config.d.ts.map +1 -1
- package/dist/neutral/Subtotal/Diviner/Params.d.ts +1 -1
- package/dist/neutral/Subtotal/Diviner/Params.d.ts.map +1 -1
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts +53 -14
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts.map +1 -1
- package/dist/neutral/Total/Diviner/Config.d.ts +1 -1
- package/dist/neutral/Total/Diviner/Config.d.ts.map +1 -1
- package/dist/neutral/Total/Diviner/Params.d.ts +1 -1
- package/dist/neutral/Total/Diviner/Params.d.ts.map +1 -1
- package/dist/neutral/Total/Diviner/Payload.d.ts +53 -14
- package/dist/neutral/Total/Diviner/Payload.d.ts.map +1 -1
- package/dist/neutral/index.mjs +505 -305
- package/dist/neutral/index.mjs.map +4 -4
- package/package.json +25 -30
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { PayloadWithSources, WithSources } from '@xyo-network/sdk-js';
|
|
1
|
+
import * as z from 'zod/mini';
|
|
3
2
|
export declare const EscrowOutcomeSchema: string & {
|
|
4
3
|
readonly __schema: true;
|
|
5
4
|
};
|
|
@@ -7,25 +6,73 @@ export type EscrowOutcomeSchema = typeof EscrowOutcomeSchema;
|
|
|
7
6
|
/**
|
|
8
7
|
* The possible outcomes for an escrow
|
|
9
8
|
*/
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
export declare const EscrowOutcomesZod: z.ZodMiniEnum<{
|
|
10
|
+
fulfilled: "fulfilled";
|
|
11
|
+
expired: "expired";
|
|
12
|
+
}>;
|
|
13
|
+
export type EscrowOutcomes = z.infer<typeof EscrowOutcomesZod>;
|
|
14
|
+
export declare const EscrowOutcomeFieldsZod: z.ZodMiniObject<{
|
|
15
|
+
outcome: z.ZodMiniEnum<{
|
|
16
|
+
fulfilled: "fulfilled";
|
|
17
|
+
expired: "expired";
|
|
18
|
+
}>;
|
|
19
|
+
terms: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type EscrowOutcomeFields = z.infer<typeof EscrowOutcomeFieldsZod>;
|
|
15
22
|
/**
|
|
16
23
|
* The terms of an escrow
|
|
17
24
|
*/
|
|
18
|
-
export
|
|
25
|
+
export declare const EscrowOutcomeZod: z.ZodMiniObject<{
|
|
26
|
+
schema: z.ZodMiniLiteral<string & {
|
|
27
|
+
readonly __schema: true;
|
|
28
|
+
}>;
|
|
29
|
+
outcome: z.ZodMiniEnum<{
|
|
30
|
+
fulfilled: "fulfilled";
|
|
31
|
+
expired: "expired";
|
|
32
|
+
}>;
|
|
33
|
+
terms: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type EscrowOutcome = z.infer<typeof EscrowOutcomeZod>;
|
|
19
36
|
/**
|
|
20
37
|
* Identity function for determining if an object is an EscrowOutcome
|
|
21
38
|
*/
|
|
22
|
-
export declare const isEscrowOutcome: (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export declare const
|
|
30
|
-
|
|
39
|
+
export declare const isEscrowOutcome: <T>(value: T) => value is T & {
|
|
40
|
+
schema: string & {
|
|
41
|
+
readonly __schema: true;
|
|
42
|
+
};
|
|
43
|
+
outcome: "fulfilled" | "expired";
|
|
44
|
+
terms: import("@xylabs/sdk").BrandedHash;
|
|
45
|
+
};
|
|
46
|
+
export declare const asEscrowOutcome: {
|
|
47
|
+
<T>(value: T): (T & {
|
|
48
|
+
schema: string & {
|
|
49
|
+
readonly __schema: true;
|
|
50
|
+
};
|
|
51
|
+
outcome: "fulfilled" | "expired";
|
|
52
|
+
terms: import("@xylabs/sdk").BrandedHash;
|
|
53
|
+
}) | undefined;
|
|
54
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
55
|
+
schema: string & {
|
|
56
|
+
readonly __schema: true;
|
|
57
|
+
};
|
|
58
|
+
outcome: "fulfilled" | "expired";
|
|
59
|
+
terms: import("@xylabs/sdk").BrandedHash;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const toEscrowOutcome: {
|
|
63
|
+
<T>(value: T): (T & {
|
|
64
|
+
schema: string & {
|
|
65
|
+
readonly __schema: true;
|
|
66
|
+
};
|
|
67
|
+
outcome: "fulfilled" | "expired";
|
|
68
|
+
terms: import("@xylabs/sdk").BrandedHash;
|
|
69
|
+
}) | undefined;
|
|
70
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
71
|
+
schema: string & {
|
|
72
|
+
readonly __schema: true;
|
|
73
|
+
};
|
|
74
|
+
outcome: "fulfilled" | "expired";
|
|
75
|
+
terms: import("@xylabs/sdk").BrandedHash;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
31
78
|
//# sourceMappingURL=Outcome.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Outcome.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Outcome.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Outcome.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Outcome.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B,eAAO,MAAM,mBAAmB;;CAA4C,CAAA;AAC5E,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;EAAmC,CAAA;AAEjE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,eAAO,MAAM,sBAAsB;;;;;;iBAGjC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAExE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;iBAAyF,CAAA;AAEtH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;CAAiC,CAAA;AAC7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAAoD,CAAA;AAChF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAAoD,CAAA"}
|
|
@@ -1,73 +1,314 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { Payload, XyoAddress } from '@xyo-network/sdk-js';
|
|
1
|
+
import * as z from 'zod/mini';
|
|
3
2
|
export declare const EscrowTermsSchema: string & {
|
|
4
3
|
readonly __schema: true;
|
|
5
4
|
};
|
|
6
5
|
export type EscrowTermsSchema = typeof EscrowTermsSchema;
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
exp: number
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
6
|
+
export declare const EscrowTermsFieldsZod: z.ZodMiniObject<{
|
|
7
|
+
appraisalAuthorities: z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
8
|
+
readonly __hex: true;
|
|
9
|
+
} & {
|
|
10
|
+
readonly __address: true;
|
|
11
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
12
|
+
readonly __hex: true;
|
|
13
|
+
} & {
|
|
14
|
+
readonly __address: true;
|
|
15
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>;
|
|
16
|
+
appraisals: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
17
|
+
assets: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
18
|
+
buyer: z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
19
|
+
readonly __hex: true;
|
|
20
|
+
} & {
|
|
21
|
+
readonly __address: true;
|
|
22
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
23
|
+
readonly __hex: true;
|
|
24
|
+
} & {
|
|
25
|
+
readonly __address: true;
|
|
26
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>;
|
|
27
|
+
buyerSecret: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
28
|
+
discounts: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
29
|
+
escrowAgent: z.ZodMiniCustom<(Lowercase<string> & {
|
|
30
|
+
readonly __hex: true;
|
|
31
|
+
} & {
|
|
32
|
+
readonly __address: true;
|
|
33
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
34
|
+
readonly __hex: true;
|
|
35
|
+
} & {
|
|
36
|
+
readonly __address: true;
|
|
37
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>;
|
|
38
|
+
exp: z.ZodMiniNumber<number>;
|
|
39
|
+
nbf: z.ZodMiniNumber<number>;
|
|
40
|
+
paymentAuthorities: z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
41
|
+
readonly __hex: true;
|
|
42
|
+
} & {
|
|
43
|
+
readonly __address: true;
|
|
44
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
45
|
+
readonly __hex: true;
|
|
46
|
+
} & {
|
|
47
|
+
readonly __address: true;
|
|
48
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>;
|
|
49
|
+
seller: z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
50
|
+
readonly __hex: true;
|
|
51
|
+
} & {
|
|
52
|
+
readonly __address: true;
|
|
53
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
54
|
+
readonly __hex: true;
|
|
55
|
+
} & {
|
|
56
|
+
readonly __address: true;
|
|
57
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>;
|
|
58
|
+
sellerSecret: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
export type EscrowTermsFields = z.infer<typeof EscrowTermsFieldsZod>;
|
|
57
61
|
/**
|
|
58
62
|
* The terms of an escrow
|
|
59
63
|
*/
|
|
60
|
-
export
|
|
64
|
+
export declare const EscrowTermsZod: z.ZodMiniObject<{
|
|
65
|
+
schema: z.ZodMiniLiteral<string & {
|
|
66
|
+
readonly __schema: true;
|
|
67
|
+
}>;
|
|
68
|
+
appraisalAuthorities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
69
|
+
readonly __hex: true;
|
|
70
|
+
} & {
|
|
71
|
+
readonly __address: true;
|
|
72
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
73
|
+
readonly __hex: true;
|
|
74
|
+
} & {
|
|
75
|
+
readonly __address: true;
|
|
76
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>>;
|
|
77
|
+
appraisals: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
78
|
+
assets: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
79
|
+
buyer: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
80
|
+
readonly __hex: true;
|
|
81
|
+
} & {
|
|
82
|
+
readonly __address: true;
|
|
83
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
84
|
+
readonly __hex: true;
|
|
85
|
+
} & {
|
|
86
|
+
readonly __address: true;
|
|
87
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>>;
|
|
88
|
+
buyerSecret: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
89
|
+
discounts: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
90
|
+
escrowAgent: z.ZodMiniOptional<z.ZodMiniCustom<(Lowercase<string> & {
|
|
91
|
+
readonly __hex: true;
|
|
92
|
+
} & {
|
|
93
|
+
readonly __address: true;
|
|
94
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
95
|
+
readonly __hex: true;
|
|
96
|
+
} & {
|
|
97
|
+
readonly __address: true;
|
|
98
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>;
|
|
99
|
+
exp: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
100
|
+
nbf: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
101
|
+
paymentAuthorities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
102
|
+
readonly __hex: true;
|
|
103
|
+
} & {
|
|
104
|
+
readonly __address: true;
|
|
105
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
106
|
+
readonly __hex: true;
|
|
107
|
+
} & {
|
|
108
|
+
readonly __address: true;
|
|
109
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>>;
|
|
110
|
+
seller: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniCustom<(Lowercase<string> & {
|
|
111
|
+
readonly __hex: true;
|
|
112
|
+
} & {
|
|
113
|
+
readonly __address: true;
|
|
114
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress, (Lowercase<string> & {
|
|
115
|
+
readonly __hex: true;
|
|
116
|
+
} & {
|
|
117
|
+
readonly __address: true;
|
|
118
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress>>>;
|
|
119
|
+
sellerSecret: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
export type EscrowTerms = z.infer<typeof EscrowTermsZod>;
|
|
61
122
|
/**
|
|
62
123
|
* Identity function for determining if an object is an EscrowTerms
|
|
63
124
|
*/
|
|
64
|
-
export declare const isEscrowTerms: (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
125
|
+
export declare const isEscrowTerms: <T>(value: T) => value is T & {
|
|
126
|
+
schema: string & {
|
|
127
|
+
readonly __schema: true;
|
|
128
|
+
};
|
|
129
|
+
appraisalAuthorities?: ((Lowercase<string> & {
|
|
130
|
+
readonly __hex: true;
|
|
131
|
+
} & {
|
|
132
|
+
readonly __address: true;
|
|
133
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
134
|
+
appraisals?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
135
|
+
assets?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
136
|
+
buyer?: ((Lowercase<string> & {
|
|
137
|
+
readonly __hex: true;
|
|
138
|
+
} & {
|
|
139
|
+
readonly __address: true;
|
|
140
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
141
|
+
buyerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
142
|
+
discounts?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
143
|
+
escrowAgent?: (Lowercase<string> & {
|
|
144
|
+
readonly __hex: true;
|
|
145
|
+
} & {
|
|
146
|
+
readonly __address: true;
|
|
147
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress | undefined;
|
|
148
|
+
exp?: number | undefined;
|
|
149
|
+
nbf?: number | undefined;
|
|
150
|
+
paymentAuthorities?: ((Lowercase<string> & {
|
|
151
|
+
readonly __hex: true;
|
|
152
|
+
} & {
|
|
153
|
+
readonly __address: true;
|
|
154
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
155
|
+
seller?: ((Lowercase<string> & {
|
|
156
|
+
readonly __hex: true;
|
|
157
|
+
} & {
|
|
158
|
+
readonly __address: true;
|
|
159
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
160
|
+
sellerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
161
|
+
};
|
|
162
|
+
export declare const asEscrowTerms: {
|
|
163
|
+
<T>(value: T): (T & {
|
|
164
|
+
schema: string & {
|
|
165
|
+
readonly __schema: true;
|
|
166
|
+
};
|
|
167
|
+
appraisalAuthorities?: ((Lowercase<string> & {
|
|
168
|
+
readonly __hex: true;
|
|
169
|
+
} & {
|
|
170
|
+
readonly __address: true;
|
|
171
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
172
|
+
appraisals?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
173
|
+
assets?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
174
|
+
buyer?: ((Lowercase<string> & {
|
|
175
|
+
readonly __hex: true;
|
|
176
|
+
} & {
|
|
177
|
+
readonly __address: true;
|
|
178
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
179
|
+
buyerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
180
|
+
discounts?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
181
|
+
escrowAgent?: (Lowercase<string> & {
|
|
182
|
+
readonly __hex: true;
|
|
183
|
+
} & {
|
|
184
|
+
readonly __address: true;
|
|
185
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress | undefined;
|
|
186
|
+
exp?: number | undefined;
|
|
187
|
+
nbf?: number | undefined;
|
|
188
|
+
paymentAuthorities?: ((Lowercase<string> & {
|
|
189
|
+
readonly __hex: true;
|
|
190
|
+
} & {
|
|
191
|
+
readonly __address: true;
|
|
192
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
193
|
+
seller?: ((Lowercase<string> & {
|
|
194
|
+
readonly __hex: true;
|
|
195
|
+
} & {
|
|
196
|
+
readonly __address: true;
|
|
197
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
198
|
+
sellerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
199
|
+
}) | undefined;
|
|
200
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
201
|
+
schema: string & {
|
|
202
|
+
readonly __schema: true;
|
|
203
|
+
};
|
|
204
|
+
appraisalAuthorities?: ((Lowercase<string> & {
|
|
205
|
+
readonly __hex: true;
|
|
206
|
+
} & {
|
|
207
|
+
readonly __address: true;
|
|
208
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
209
|
+
appraisals?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
210
|
+
assets?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
211
|
+
buyer?: ((Lowercase<string> & {
|
|
212
|
+
readonly __hex: true;
|
|
213
|
+
} & {
|
|
214
|
+
readonly __address: true;
|
|
215
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
216
|
+
buyerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
217
|
+
discounts?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
218
|
+
escrowAgent?: (Lowercase<string> & {
|
|
219
|
+
readonly __hex: true;
|
|
220
|
+
} & {
|
|
221
|
+
readonly __address: true;
|
|
222
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress | undefined;
|
|
223
|
+
exp?: number | undefined;
|
|
224
|
+
nbf?: number | undefined;
|
|
225
|
+
paymentAuthorities?: ((Lowercase<string> & {
|
|
226
|
+
readonly __hex: true;
|
|
227
|
+
} & {
|
|
228
|
+
readonly __address: true;
|
|
229
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
230
|
+
seller?: ((Lowercase<string> & {
|
|
231
|
+
readonly __hex: true;
|
|
232
|
+
} & {
|
|
233
|
+
readonly __address: true;
|
|
234
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
235
|
+
sellerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
export declare const toEscrowTerms: {
|
|
239
|
+
<T>(value: T): (T & {
|
|
240
|
+
schema: string & {
|
|
241
|
+
readonly __schema: true;
|
|
242
|
+
};
|
|
243
|
+
appraisalAuthorities?: ((Lowercase<string> & {
|
|
244
|
+
readonly __hex: true;
|
|
245
|
+
} & {
|
|
246
|
+
readonly __address: true;
|
|
247
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
248
|
+
appraisals?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
249
|
+
assets?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
250
|
+
buyer?: ((Lowercase<string> & {
|
|
251
|
+
readonly __hex: true;
|
|
252
|
+
} & {
|
|
253
|
+
readonly __address: true;
|
|
254
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
255
|
+
buyerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
256
|
+
discounts?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
257
|
+
escrowAgent?: (Lowercase<string> & {
|
|
258
|
+
readonly __hex: true;
|
|
259
|
+
} & {
|
|
260
|
+
readonly __address: true;
|
|
261
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress | undefined;
|
|
262
|
+
exp?: number | undefined;
|
|
263
|
+
nbf?: number | undefined;
|
|
264
|
+
paymentAuthorities?: ((Lowercase<string> & {
|
|
265
|
+
readonly __hex: true;
|
|
266
|
+
} & {
|
|
267
|
+
readonly __address: true;
|
|
268
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
269
|
+
seller?: ((Lowercase<string> & {
|
|
270
|
+
readonly __hex: true;
|
|
271
|
+
} & {
|
|
272
|
+
readonly __address: true;
|
|
273
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
274
|
+
sellerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
275
|
+
}) | undefined;
|
|
276
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
277
|
+
schema: string & {
|
|
278
|
+
readonly __schema: true;
|
|
279
|
+
};
|
|
280
|
+
appraisalAuthorities?: ((Lowercase<string> & {
|
|
281
|
+
readonly __hex: true;
|
|
282
|
+
} & {
|
|
283
|
+
readonly __address: true;
|
|
284
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
285
|
+
appraisals?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
286
|
+
assets?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
287
|
+
buyer?: ((Lowercase<string> & {
|
|
288
|
+
readonly __hex: true;
|
|
289
|
+
} & {
|
|
290
|
+
readonly __address: true;
|
|
291
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
292
|
+
buyerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
293
|
+
discounts?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
294
|
+
escrowAgent?: (Lowercase<string> & {
|
|
295
|
+
readonly __hex: true;
|
|
296
|
+
} & {
|
|
297
|
+
readonly __address: true;
|
|
298
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress | undefined;
|
|
299
|
+
exp?: number | undefined;
|
|
300
|
+
nbf?: number | undefined;
|
|
301
|
+
paymentAuthorities?: ((Lowercase<string> & {
|
|
302
|
+
readonly __hex: true;
|
|
303
|
+
} & {
|
|
304
|
+
readonly __address: true;
|
|
305
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
306
|
+
seller?: ((Lowercase<string> & {
|
|
307
|
+
readonly __hex: true;
|
|
308
|
+
} & {
|
|
309
|
+
readonly __address: true;
|
|
310
|
+
}) | import("@xyo-network/sdk").XyoQuantAddress)[] | undefined;
|
|
311
|
+
sellerSecret?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
73
314
|
//# sourceMappingURL=Terms.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Terms.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/Terms.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Terms.d.ts","sourceRoot":"","sources":["../../../../src/Escrow/Terms/Terms.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B,eAAO,MAAM,iBAAiB;;CAA0C,CAAA;AACxE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA;AAGxD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiD/B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAazB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA;AACzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA;AAC1E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/sdk
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
2
|
import type { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
3
|
-
import type { Payload, WithSources } from '@xyo-network/sdk
|
|
3
|
+
import type { Payload, WithSources } from '@xyo-network/sdk';
|
|
4
4
|
import type { EscrowTerms } from '../../Terms/index.ts';
|
|
5
5
|
/**
|
|
6
6
|
* Returns a dictionary of asset hashes and their associated appraisals
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAppraisalsByAsset.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getAppraisalsByAsset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getAppraisalsByAsset.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getAppraisalsByAsset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,OAAO,WAAW,EAAE,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAAG,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,EAAE,CAmBzI,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/sdk
|
|
2
|
-
import type { BoundWitness, Payload } from '@xyo-network/sdk
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { BoundWitness, Payload } from '@xyo-network/sdk';
|
|
3
3
|
import type { EscrowTerms } from '../../Terms/index.ts';
|
|
4
4
|
/**
|
|
5
5
|
* Returns a dictionary of appraisals and their associated bound witnesses which are signed by
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSignaturesByAppraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getSignaturesByAppraisal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getSignaturesByAppraisal.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/appraisal/getSignaturesByAppraisal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GACnC,OAAO,WAAW,EAClB,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAChC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,CAuB7B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountInstance, Id } from '@xyo-network/sdk
|
|
1
|
+
import type { AccountInstance, Id } from '@xyo-network/sdk';
|
|
2
2
|
import type { EscrowTerms } from '../../Terms/index.ts';
|
|
3
3
|
/**
|
|
4
4
|
* Creates an escrow intent (for a buyer or seller) using the supplied secret
|
|
@@ -7,24 +7,32 @@ import type { EscrowTerms } from '../../Terms/index.ts';
|
|
|
7
7
|
* @param account The account to create the escrow intent with
|
|
8
8
|
* @returns The escrow intent
|
|
9
9
|
*/
|
|
10
|
-
export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret: Id, account: AccountInstance) => Promise<[import("@xyo-network/sdk
|
|
10
|
+
export declare const createEscrowIntentWithSecret: (terms: EscrowTerms, secret: Id, account: AccountInstance) => Promise<[import("@xyo-network/sdk").Signed<{
|
|
11
11
|
schema: "network.xyo.boundwitness" & {
|
|
12
12
|
readonly __schema: true;
|
|
13
13
|
};
|
|
14
|
-
addresses: (import("@xyo-network/sdk
|
|
14
|
+
addresses: (import("@xyo-network/sdk").XyoQuantAddress | (Lowercase<string> & {
|
|
15
15
|
readonly __hex: true;
|
|
16
16
|
} & {
|
|
17
17
|
readonly __address: true;
|
|
18
18
|
}))[];
|
|
19
|
-
payload_hashes: import("@xylabs/sdk
|
|
20
|
-
payload_schemas: import("@xyo-network/sdk
|
|
21
|
-
previous_hashes: (import("@xylabs/sdk
|
|
22
|
-
$signatures: (import("@xylabs/sdk
|
|
23
|
-
$destination?: import("@xyo-network/sdk
|
|
19
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
20
|
+
payload_schemas: import("@xyo-network/sdk").BrandedSchema<string>[];
|
|
21
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
22
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
23
|
+
$destination?: import("@xyo-network/sdk").XyoQuantAddress | (Lowercase<string> & {
|
|
24
24
|
readonly __hex: true;
|
|
25
25
|
} & {
|
|
26
26
|
readonly __address: true;
|
|
27
27
|
}) | undefined;
|
|
28
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
29
|
-
}>, import("@xyo-network/sdk
|
|
28
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
29
|
+
}>, import("@xyo-network/sdk").Payload[], {
|
|
30
|
+
schema: "network.xyo.error.module" & {
|
|
31
|
+
readonly __schema: true;
|
|
32
|
+
};
|
|
33
|
+
details?: unknown;
|
|
34
|
+
message?: string | undefined;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
query?: import("@xyo-network/sdk").BrandedSchema<string> | import("@xylabs/sdk").BrandedHash | undefined;
|
|
37
|
+
}[]]>;
|
|
30
38
|
//# sourceMappingURL=createEscrowIntent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEscrowIntent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/createEscrowIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createEscrowIntent.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/createEscrowIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAG3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,GAAU,OAAO,WAAW,EAAE,QAAQ,EAAE,EAAE,SAAS,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;KAI1G,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/sdk
|
|
2
|
-
import type { BoundWitness, Payload } from '@xyo-network/sdk
|
|
1
|
+
import type { Hash } from '@xylabs/sdk';
|
|
2
|
+
import type { BoundWitness, Payload } from '@xyo-network/sdk';
|
|
3
3
|
import type { EscrowParty, EscrowTerms } from '../../Terms/index.ts';
|
|
4
4
|
/**
|
|
5
5
|
* Returns an array of BoundWitnesses containing the secret signed by all the parties
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findEscrowPartySecretSignatures.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/findEscrowPartySecretSignatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"findEscrowPartySecretSignatures.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/findEscrowPartySecretSignatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG7D,OAAO,KAAK,EACV,WAAW,EAAqB,WAAW,EAC5C,MAAM,sBAAsB,CAAA;AAW7B;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,GAAI,OAAO,WAAW,EAAE,YAAY,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,WAAW,KAAG,YAAY,EAqBvI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEscrowSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/getEscrowSecret.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getEscrowSecret.d.ts","sourceRoot":"","sources":["../../../../../src/Escrow/util/secret/getEscrowSecret.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAG1C;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAO,EAElC,CAAA"}
|