@xube/kit-destination 0.0.88 → 0.0.90
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/confirm.js
CHANGED
|
@@ -16,6 +16,8 @@ const isConfirmation = (headers, body, log = kit_log_1.XubeLog.getInstance()) =>
|
|
|
16
16
|
exports.isConfirmation = isConfirmation;
|
|
17
17
|
const confirmDestination = async (confirmationRequest, log = kit_log_1.XubeLog.getInstance()) => {
|
|
18
18
|
log.info("Attempting to confirm destination");
|
|
19
|
+
// TODO - THIS SHOULD BE THE XUBE CONFIRMATION ENDPOINT SO THAT IT UPDATES / ENABLES THE DESTINATION
|
|
20
|
+
// At the moment this just confirms without activating.
|
|
19
21
|
const response = await fetch(confirmationRequest.enableUrl, {
|
|
20
22
|
method: "GET",
|
|
21
23
|
headers: {
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
export function validate(data: any, { instancePath, parentData, parentDataProperty, rootData }?: {
|
|
2
2
|
instancePath?: string | undefined;
|
|
3
|
-
parentData: any;
|
|
4
|
-
parentDataProperty: any;
|
|
5
3
|
rootData?: any;
|
|
6
4
|
}): boolean;
|
|
7
5
|
export default validate10;
|
|
8
6
|
declare function validate10(data: any, { instancePath, parentData, parentDataProperty, rootData }?: {
|
|
9
7
|
instancePath?: string | undefined;
|
|
10
|
-
parentData: any;
|
|
11
|
-
parentDataProperty: any;
|
|
12
8
|
rootData?: any;
|
|
13
9
|
}): boolean;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
export function validate(data: any, { instancePath, parentData, parentDataProperty, rootData }?: {
|
|
2
2
|
instancePath?: string | undefined;
|
|
3
|
-
parentData: any;
|
|
4
|
-
parentDataProperty: any;
|
|
5
3
|
rootData?: any;
|
|
6
4
|
}): boolean;
|
|
7
5
|
export default validate10;
|
|
8
6
|
declare function validate10(data: any, { instancePath, parentData, parentDataProperty, rootData }?: {
|
|
9
7
|
instancePath?: string | undefined;
|
|
10
|
-
parentData: any;
|
|
11
|
-
parentDataProperty: any;
|
|
12
8
|
rootData?: any;
|
|
13
9
|
}): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xube/kit-destination",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.90",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/XubeLtd/dev-kit#readme",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@types/node": "^
|
|
22
|
-
"@xube/kit-build": "^0.0.
|
|
23
|
-
"ts-node": "^10.9.
|
|
24
|
-
"typescript": "^5.
|
|
21
|
+
"@types/node": "^22.5.4",
|
|
22
|
+
"@xube/kit-build": "^0.0.90",
|
|
23
|
+
"ts-node": "^10.9.2",
|
|
24
|
+
"typescript": "^5.6.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@xube/kit-constants": "^0.0.
|
|
28
|
-
"@xube/kit-generator": "^0.0.
|
|
29
|
-
"@xube/kit-log": "^0.0.
|
|
30
|
-
"@xube/kit-request": "^0.0.
|
|
27
|
+
"@xube/kit-constants": "^0.0.90",
|
|
28
|
+
"@xube/kit-generator": "^0.0.90",
|
|
29
|
+
"@xube/kit-log": "^0.0.90",
|
|
30
|
+
"@xube/kit-request": "^0.0.90"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/src/confirm.ts
CHANGED
|
@@ -30,6 +30,10 @@ export const confirmDestination = async (
|
|
|
30
30
|
): Promise<XubeResponse<boolean>> => {
|
|
31
31
|
log.info("Attempting to confirm destination");
|
|
32
32
|
|
|
33
|
+
|
|
34
|
+
// TODO - THIS SHOULD BE THE XUBE CONFIRMATION ENDPOINT SO THAT IT UPDATES / ENABLES THE DESTINATION
|
|
35
|
+
// At the moment this just confirms without activating.
|
|
36
|
+
|
|
33
37
|
const response = await fetch(confirmationRequest.enableUrl, {
|
|
34
38
|
method: "GET",
|
|
35
39
|
headers: {
|