@aeriajs/builtins 0.0.223 → 0.0.225

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.
@@ -60,6 +60,6 @@ export declare const getActivationLink: (payload: {
60
60
  readonly _tag: "Result";
61
61
  readonly error: undefined;
62
62
  readonly result: {
63
- readonly url: URL;
63
+ readonly url: string;
64
64
  };
65
65
  }>;
@@ -49,7 +49,7 @@ const getActivationLink = async (payload, context) => {
49
49
  url.searchParams.set('next', payload.redirect);
50
50
  }
51
51
  return types_1.Result.result({
52
- url,
52
+ url: url.toString(),
53
53
  });
54
54
  };
55
55
  exports.getActivationLink = getActivationLink;
@@ -44,6 +44,6 @@ export const getActivationLink = async (payload, context) => {
44
44
  url.searchParams.set("next", payload.redirect);
45
45
  }
46
46
  return Result.result({
47
- url
47
+ url: url.toString()
48
48
  });
49
49
  };
@@ -1,5 +1,5 @@
1
1
  import type { Context } from '@aeriajs/types';
2
- import { type ObjectId } from '@aeriajs/core';
2
+ import type { ObjectId } from '@aeriajs/core';
3
3
  import { Result, HTTPStatus } from '@aeriajs/types';
4
4
  import { ActivationError } from './redefinePassword.js';
5
5
  export declare const getRedefinePasswordLink: (payload: {
@@ -55,6 +55,6 @@ export declare const getRedefinePasswordLink: (payload: {
55
55
  readonly _tag: "Result";
56
56
  readonly error: undefined;
57
57
  readonly result: {
58
- readonly url: URL;
58
+ readonly url: string;
59
59
  };
60
60
  }>;
@@ -31,7 +31,7 @@ const getRedefinePasswordLink = async (payload, context) => {
31
31
  url.searchParams.set('next', payload.redirect);
32
32
  }
33
33
  return types_1.Result.result({
34
- url,
34
+ url: url.toString(),
35
35
  });
36
36
  };
37
37
  exports.getRedefinePasswordLink = getRedefinePasswordLink;
@@ -28,6 +28,6 @@ export const getRedefinePasswordLink = async (payload, context) => {
28
28
  url.searchParams.set("next", payload.redirect);
29
29
  }
30
30
  return Result.result({
31
- url
31
+ url: url.toString()
32
32
  });
33
33
  };
@@ -947,7 +947,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
947
947
  readonly _tag: "Result";
948
948
  readonly error: undefined;
949
949
  readonly result: {
950
- readonly url: URL;
950
+ readonly url: string;
951
951
  };
952
952
  }>;
953
953
  readonly getRedefinePasswordLink: (payload: {
@@ -1003,7 +1003,7 @@ export declare const user: Omit<Collection<never>, "functions" | "description" |
1003
1003
  readonly _tag: "Result";
1004
1004
  readonly error: undefined;
1005
1005
  readonly result: {
1006
- readonly url: URL;
1006
+ readonly url: string;
1007
1007
  };
1008
1008
  }>;
1009
1009
  readonly redefinePassword: (payload: {
package/dist/index.d.ts CHANGED
@@ -1411,7 +1411,7 @@ export declare const collections: {
1411
1411
  readonly _tag: "Result";
1412
1412
  readonly error: undefined;
1413
1413
  readonly result: {
1414
- readonly url: URL;
1414
+ readonly url: string;
1415
1415
  };
1416
1416
  }>;
1417
1417
  readonly getRedefinePasswordLink: (payload: {
@@ -1467,7 +1467,7 @@ export declare const collections: {
1467
1467
  readonly _tag: "Result";
1468
1468
  readonly error: undefined;
1469
1469
  readonly result: {
1470
- readonly url: URL;
1470
+ readonly url: string;
1471
1471
  };
1472
1472
  }>;
1473
1473
  readonly redefinePassword: (payload: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/builtins",
3
- "version": "0.0.223",
3
+ "version": "0.0.225",
4
4
  "description": "## Installation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -55,7 +55,7 @@
55
55
  "mongodb": "^6.5.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@aeriajs/core": "^0.0.223",
58
+ "@aeriajs/core": "^0.0.225",
59
59
  "@aeriajs/common": "^0.0.129",
60
60
  "@aeriajs/entrypoint": "^0.0.132",
61
61
  "@aeriajs/types": "^0.0.111",