@xyo-network/payment-payload-plugins 3.2.0-rc.3 → 3.2.0-rc.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.
|
@@ -6,73 +6,17 @@ export type Condition = SchemaPayload;
|
|
|
6
6
|
/**
|
|
7
7
|
* Identity function for determining if an object is a Condition payload
|
|
8
8
|
*/
|
|
9
|
-
export declare const isCondition: (x?: unknown | null) => x is
|
|
10
|
-
schema: "network.xyo.schema";
|
|
11
|
-
definition: {
|
|
12
|
-
[x: string]: unknown;
|
|
13
|
-
};
|
|
14
|
-
extends?: string | undefined;
|
|
15
|
-
name?: string | undefined;
|
|
16
|
-
}>;
|
|
9
|
+
export declare const isCondition: (x?: unknown | null) => x is SchemaPayload;
|
|
17
10
|
export declare const asCondition: {
|
|
18
|
-
<TType extends import("@xylabs/object").
|
|
19
|
-
|
|
20
|
-
definition: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
};
|
|
23
|
-
extends?: string | undefined;
|
|
24
|
-
name?: string | undefined;
|
|
25
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
26
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
27
|
-
schema: "network.xyo.schema";
|
|
28
|
-
definition: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
extends?: string | undefined;
|
|
32
|
-
name?: string | undefined;
|
|
33
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
34
|
-
schema: "network.xyo.schema";
|
|
35
|
-
definition: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
};
|
|
38
|
-
extends?: string | undefined;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
}>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
11
|
+
<TType extends SchemaPayload>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
12
|
+
<TType extends SchemaPayload>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<SchemaPayload>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
41
13
|
};
|
|
42
14
|
/**
|
|
43
15
|
* Identity function for determining if an object is a Condition payload with sources
|
|
44
16
|
*/
|
|
45
|
-
export declare const isConditionWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<
|
|
46
|
-
schema: "network.xyo.schema";
|
|
47
|
-
definition: {
|
|
48
|
-
[x: string]: unknown;
|
|
49
|
-
};
|
|
50
|
-
extends?: string | undefined;
|
|
51
|
-
name?: string | undefined;
|
|
52
|
-
}>>;
|
|
17
|
+
export declare const isConditionWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<SchemaPayload>;
|
|
53
18
|
export declare const asConditionWithSources: {
|
|
54
|
-
<TType extends import("@xyo-network/payload-model").WithSources<import("@xylabs/object").
|
|
55
|
-
|
|
56
|
-
definition: {
|
|
57
|
-
[x: string]: unknown;
|
|
58
|
-
};
|
|
59
|
-
extends?: string | undefined;
|
|
60
|
-
name?: string | undefined;
|
|
61
|
-
}>>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
62
|
-
<TType extends import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
63
|
-
schema: "network.xyo.schema";
|
|
64
|
-
definition: {
|
|
65
|
-
[x: string]: unknown;
|
|
66
|
-
};
|
|
67
|
-
extends?: string | undefined;
|
|
68
|
-
name?: string | undefined;
|
|
69
|
-
}>>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xyo-network/payload-model").WithSources<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
70
|
-
schema: "network.xyo.schema";
|
|
71
|
-
definition: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
};
|
|
74
|
-
extends?: string | undefined;
|
|
75
|
-
name?: string | undefined;
|
|
76
|
-
}>>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
19
|
+
<TType extends import("@xyo-network/payload-model").WithSources<SchemaPayload>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
20
|
+
<TType extends import("@xyo-network/payload-model").WithSources<SchemaPayload>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xyo-network/payload-model").WithSources<SchemaPayload>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
77
21
|
};
|
|
78
22
|
//# sourceMappingURL=Condition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/Condition.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,oCAAoC,CAAA;AAErF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAA;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["../../../../../../src/Discount/Payload/Coupon/types/Condition.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,oCAAoC,CAAA;AAErF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAA;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW,4CAAiD,CAAA;AACzE,eAAO,MAAM,WAAW;gDARf,sDAAiB,iCACzB,gBACc;gDAGoC,sDAAiB,wGAGvD,gBAAoB;CAA6B,CAAA;AAE9D;;EAEE;AACF,eAAO,MAAM,sBAAsB,8FAA4D,CAAA;AAC/F,eAAO,MAAM,sBAAsB;kGAd1B,sDAAiB,iCACzB,gBACc;kGAGoC,sDAAiB,0JAGvD,gBAAoB;CAMmD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/payment-payload-plugins",
|
|
3
|
-
"version": "3.2.0-rc.
|
|
3
|
+
"version": "3.2.0-rc.4",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
"@xylabs/crypto": "^4.4.25",
|
|
34
34
|
"@xylabs/hex": "^4.4.25",
|
|
35
35
|
"@xylabs/object": "^4.4.25",
|
|
36
|
-
"@xyo-network/account-model": "^3.6.0-rc.
|
|
37
|
-
"@xyo-network/boundwitness-builder": "^3.6.0-rc.
|
|
38
|
-
"@xyo-network/boundwitness-model": "^3.6.0-rc.
|
|
39
|
-
"@xyo-network/boundwitness-validator": "^3.6.0-rc.
|
|
40
|
-
"@xyo-network/diviner-hash-lease": "^3.6.0-rc.
|
|
41
|
-
"@xyo-network/diviner-model": "^3.6.0-rc.
|
|
42
|
-
"@xyo-network/id-payload-plugin": "^3.6.0-rc.
|
|
43
|
-
"@xyo-network/module-model": "^3.6.0-rc.
|
|
44
|
-
"@xyo-network/payload-builder": "^3.6.0-rc.
|
|
45
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
|
46
|
-
"@xyo-network/schema-payload-plugin": "^3.6.0-rc.
|
|
47
|
-
"@xyo-network/xns-record-payload-plugins": "^3.2.0-rc.
|
|
36
|
+
"@xyo-network/account-model": "^3.6.0-rc.15",
|
|
37
|
+
"@xyo-network/boundwitness-builder": "^3.6.0-rc.15",
|
|
38
|
+
"@xyo-network/boundwitness-model": "^3.6.0-rc.15",
|
|
39
|
+
"@xyo-network/boundwitness-validator": "^3.6.0-rc.15",
|
|
40
|
+
"@xyo-network/diviner-hash-lease": "^3.6.0-rc.15",
|
|
41
|
+
"@xyo-network/diviner-model": "^3.6.0-rc.15",
|
|
42
|
+
"@xyo-network/id-payload-plugin": "^3.6.0-rc.15",
|
|
43
|
+
"@xyo-network/module-model": "^3.6.0-rc.15",
|
|
44
|
+
"@xyo-network/payload-builder": "^3.6.0-rc.15",
|
|
45
|
+
"@xyo-network/payload-model": "^3.6.0-rc.15",
|
|
46
|
+
"@xyo-network/schema-payload-plugin": "^3.6.0-rc.15",
|
|
47
|
+
"@xyo-network/xns-record-payload-plugins": "^3.2.0-rc.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
|
51
51
|
"@xylabs/tsconfig": "^4.2.6",
|
|
52
52
|
"@xylabs/vitest-extended": "^4.4.25",
|
|
53
|
-
"@xyo-network/account": "^3.6.0-rc.
|
|
54
|
-
"@xyo-network/payload-builder": "^3.6.0-rc.
|
|
53
|
+
"@xyo-network/account": "^3.6.0-rc.15",
|
|
54
|
+
"@xyo-network/payload-builder": "^3.6.0-rc.15",
|
|
55
55
|
"typescript": "^5.7.2",
|
|
56
56
|
"vitest": "^2.1.8"
|
|
57
57
|
},
|