@xyo-network/xns-record-payloadset-plugins 3.4.4 → 3.4.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/types/estimate/lib/spec/matchers/customMatchers.d.ts +26 -0
- package/dist/types/estimate/lib/spec/matchers/customMatchers.d.ts.map +1 -0
- package/dist/types/estimate/lib/spec/matchers/index.d.ts +2 -0
- package/dist/types/estimate/lib/spec/matchers/index.d.ts.map +1 -0
- package/package.json +16 -16
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface ExpectationResult {
|
|
2
|
+
actual?: unknown;
|
|
3
|
+
expected?: unknown;
|
|
4
|
+
message: () => string;
|
|
5
|
+
pass: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const matchers: {
|
|
8
|
+
toBeArrayOfSize(received: unknown, expectedSize: number): ExpectationResult;
|
|
9
|
+
toBeArray(received: unknown): ExpectationResult;
|
|
10
|
+
toBeOneOf(received: unknown, expected: unknown[]): ExpectationResult;
|
|
11
|
+
toBeNegative(received: number): ExpectationResult;
|
|
12
|
+
toBePositive(received: number): ExpectationResult;
|
|
13
|
+
toBeNumber: (received: unknown) => ExpectationResult;
|
|
14
|
+
toBeFunction: (received: unknown) => ExpectationResult;
|
|
15
|
+
toBeString: (received: unknown) => ExpectationResult;
|
|
16
|
+
toBeObject(received: unknown): ExpectationResult;
|
|
17
|
+
toBeInteger(received: number): ExpectationResult;
|
|
18
|
+
toBeFalse(received: unknown): ExpectationResult;
|
|
19
|
+
toBeTrue(received: unknown): ExpectationResult;
|
|
20
|
+
toIncludeAllMembers(received: unknown[], expected: unknown[]): ExpectationResult;
|
|
21
|
+
toContainAllKeys(received: object, expectedKeys: string[]): ExpectationResult;
|
|
22
|
+
toContainValues(received: object, expectedValues: unknown[]): ExpectationResult;
|
|
23
|
+
toBeEmpty(received: unknown): ExpectationResult;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=customMatchers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customMatchers.d.ts","sourceRoot":"","sources":["../../../../../../src/estimate/lib/spec/matchers/customMatchers.ts"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,MAAM,CAAA;IACrB,IAAI,EAAE,OAAO,CAAA;CACd;AAeD,eAAO,MAAM,QAAQ;8BACO,OAAO,gBAAgB,MAAM,GAAG,iBAAiB;wBAcvD,OAAO,GAAG,iBAAiB;wBAY3B,OAAO,YAAY,OAAO,EAAE,GAAG,iBAAiB;2BAc7C,MAAM,GAAG,iBAAiB;2BAkB1B,MAAM,GAAG,iBAAiB;2BAkB1B,OAAO;6BACL,OAAO;2BACT,OAAO;yBACT,OAAO,GAAG,iBAAiB;0BAY1B,MAAM,GAAG,iBAAiB;wBAkB5B,OAAO,GAAG,iBAAiB;uBAY5B,OAAO,GAAG,iBAAiB;kCAYhB,OAAO,EAAE,YAAY,OAAO,EAAE,GAAG,iBAAiB;+BAwBrD,MAAM,gBAAgB,MAAM,EAAE,GAAG,iBAAiB;8BA+BnD,MAAM,kBAAkB,OAAO,EAAE,GAAG,iBAAiB;wBAgD3D,OAAO,GAAG,iBAAiB;CA6BhD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/estimate/lib/spec/matchers/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/xns-record-payloadset-plugins",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/types/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/array": "^4.
|
|
33
|
-
"@xylabs/assert": "^4.
|
|
34
|
-
"@xylabs/exists": "^4.
|
|
35
|
-
"@xylabs/hex": "^4.
|
|
36
|
-
"@xylabs/promise": "^4.
|
|
37
|
-
"@xyo-network/boundwitness-model": "^3.
|
|
38
|
-
"@xyo-network/diviner-hash-lease": "^3.
|
|
39
|
-
"@xyo-network/module-model": "^3.
|
|
40
|
-
"@xyo-network/payload-builder": "^3.
|
|
41
|
-
"@xyo-network/payload-model": "^3.
|
|
42
|
-
"@xyo-network/xns-record-payload-plugins": "^3.4.
|
|
32
|
+
"@xylabs/array": "^4.7.13",
|
|
33
|
+
"@xylabs/assert": "^4.7.13",
|
|
34
|
+
"@xylabs/exists": "^4.7.13",
|
|
35
|
+
"@xylabs/hex": "^4.7.13",
|
|
36
|
+
"@xylabs/promise": "^4.7.13",
|
|
37
|
+
"@xyo-network/boundwitness-model": "^3.10.6",
|
|
38
|
+
"@xyo-network/diviner-hash-lease": "^3.10.6",
|
|
39
|
+
"@xyo-network/module-model": "^3.10.6",
|
|
40
|
+
"@xyo-network/payload-builder": "^3.10.6",
|
|
41
|
+
"@xyo-network/payload-model": "^3.10.6",
|
|
42
|
+
"@xyo-network/xns-record-payload-plugins": "^3.4.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@xylabs/ts-scripts-yarn3": "^6.
|
|
46
|
-
"@xylabs/tsconfig": "^6.
|
|
47
|
-
"@xylabs/vitest-extended": "^4.
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "^6.1.13",
|
|
46
|
+
"@xylabs/tsconfig": "^6.1.13",
|
|
47
|
+
"@xylabs/vitest-extended": "^4.7.13",
|
|
48
48
|
"typescript": "^5.8.2",
|
|
49
|
-
"vitest": "^3.0.
|
|
49
|
+
"vitest": "^3.0.9"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|