@dereekb/nestjs 13.11.2 → 13.11.3

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.
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/discord",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
- "@dereekb/nestjs": "13.11.2",
6
- "@dereekb/rxjs": "13.11.2",
7
- "@dereekb/util": "13.11.2",
5
+ "@dereekb/nestjs": "13.11.3",
6
+ "@dereekb/rxjs": "13.11.3",
7
+ "@dereekb/util": "13.11.3",
8
8
  "@nestjs/common": "^11.1.19",
9
9
  "@nestjs/config": "^4.0.4",
10
10
  "discord.js": "^14.26.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/eslint",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
5
  "@typescript-eslint/utils": "8.59.0"
6
6
  },
package/index.cjs.js CHANGED
@@ -957,6 +957,7 @@ function _class_call_check$2(instance, Constructor) {
957
957
  *
958
958
  * @param configService - NestJS config service for reading environment variables
959
959
  * @returns a validated ClientAppServiceConfig
960
+ * @__NO_SIDE_EFFECTS__
960
961
  */ function clientAppConfigFactory(configService) {
961
962
  var config = {
962
963
  client: {
@@ -1440,6 +1441,7 @@ function _ts_generator(thisArg, body) {
1440
1441
  * @param input.reviver - Optional transform applied to the raw JSON-parsed payload before it is returned from `load()` (e.g. revive `Date` fields).
1441
1442
  * @param input.replacer - Optional transform applied to the value before it is stringified to JSON on `update()`.
1442
1443
  * @returns An {@link AsyncValueCache} that persists the value to the configured JSON file.
1444
+ * @__NO_SIDE_EFFECTS__
1443
1445
  */ function createJsonFileAsyncValueCache(input) {
1444
1446
  var filePath = input.filePath, mode = input.mode, reviver = input.reviver, replacer = input.replacer;
1445
1447
  var fileMode = mode !== null && mode !== void 0 ? mode : DEFAULT_JSON_FILE_CACHE_MODE;
@@ -1521,6 +1523,7 @@ function _ts_generator(thisArg, body) {
1521
1523
  *
1522
1524
  * @param input - Same configuration accepted by {@link createJsonFileAsyncValueCache}; see {@link CreateJsonFileAsyncValueCacheInput}.
1523
1525
  * @returns An {@link AsyncValueCache} backed by the JSON file with a per-process single-load memoization layer in front.
1526
+ * @__NO_SIDE_EFFECTS__
1524
1527
  */ function createMemoizedJsonFileAsyncValueCache(input) {
1525
1528
  return util.memoizeAsyncValueCache(createJsonFileAsyncValueCache(input));
1526
1529
  }
@@ -1542,6 +1545,7 @@ function _ts_generator(thisArg, body) {
1542
1545
  * @param input.reviver - Optional transform applied to each entry after it is JSON-parsed on `load()`/`get()`. Returning null/undefined drops the entry.
1543
1546
  * @param input.replacer - Optional transform applied to each entry before it is stringified on `set()`.
1544
1547
  * @returns An {@link AsyncKeyedValueCache} that persists all entries in the configured JSON file.
1548
+ * @__NO_SIDE_EFFECTS__
1545
1549
  */ function createJsonFileAsyncKeyedValueCache(input) {
1546
1550
  var filePath = input.filePath, mode = input.mode, reviver = input.reviver, replacer = input.replacer;
1547
1551
  var fileMode = mode !== null && mode !== void 0 ? mode : DEFAULT_JSON_FILE_CACHE_MODE;
@@ -1747,6 +1751,7 @@ function _ts_generator(thisArg, body) {
1747
1751
  *
1748
1752
  * @param input - Same configuration accepted by {@link createJsonFileAsyncKeyedValueCache}; see {@link CreateJsonFileAsyncKeyedValueCacheInput}.
1749
1753
  * @returns An {@link AsyncKeyedValueCache} backed by the JSON file with a per-process record-level memoization layer in front.
1754
+ * @__NO_SIDE_EFFECTS__
1750
1755
  */ function createMemoizedJsonFileAsyncKeyedValueCache(input) {
1751
1756
  return util.memoizeAsyncKeyedValueCache(createJsonFileAsyncKeyedValueCache(input));
1752
1757
  }
@@ -1816,6 +1821,7 @@ var ENCRYPTED_FIELD_KEY_LENGTH = 32;
1816
1821
  * @param source - The hex-encoded secret or getter for the AES-256 key.
1817
1822
  * @returns An `AES256GCMEncryption` instance.
1818
1823
  * @throws Error if the resolved key is not 64 hex characters.
1824
+ * @__NO_SIDE_EFFECTS__
1819
1825
  */ function createAES256GCMEncryption(source) {
1820
1826
  var getKey = resolveEncryptionKey(source);
1821
1827
  function encryptStringFn(plaintext) {
@@ -1929,6 +1935,7 @@ var ENCRYPTED_FIELD_KEY_LENGTH = 32;
1929
1935
  * @param source - The hex-encoded secret or getter for the AES-256 key.
1930
1936
  * @returns A `StringEncryptionProvider` that encrypts/decrypts strings via AES-256-GCM.
1931
1937
  * @throws Error if the resolved key is not 64 hex characters.
1938
+ * @__NO_SIDE_EFFECTS__
1932
1939
  */ function createAesStringEncryptionProvider(source) {
1933
1940
  var encryption = createAES256GCMEncryption(source);
1934
1941
  var result = {
package/index.esm.js CHANGED
@@ -955,6 +955,7 @@ function _class_call_check$2(instance, Constructor) {
955
955
  *
956
956
  * @param configService - NestJS config service for reading environment variables
957
957
  * @returns a validated ClientAppServiceConfig
958
+ * @__NO_SIDE_EFFECTS__
958
959
  */ function clientAppConfigFactory(configService) {
959
960
  var config = {
960
961
  client: {
@@ -1438,6 +1439,7 @@ function _ts_generator(thisArg, body) {
1438
1439
  * @param input.reviver - Optional transform applied to the raw JSON-parsed payload before it is returned from `load()` (e.g. revive `Date` fields).
1439
1440
  * @param input.replacer - Optional transform applied to the value before it is stringified to JSON on `update()`.
1440
1441
  * @returns An {@link AsyncValueCache} that persists the value to the configured JSON file.
1442
+ * @__NO_SIDE_EFFECTS__
1441
1443
  */ function createJsonFileAsyncValueCache(input) {
1442
1444
  var filePath = input.filePath, mode = input.mode, reviver = input.reviver, replacer = input.replacer;
1443
1445
  var fileMode = mode !== null && mode !== void 0 ? mode : DEFAULT_JSON_FILE_CACHE_MODE;
@@ -1519,6 +1521,7 @@ function _ts_generator(thisArg, body) {
1519
1521
  *
1520
1522
  * @param input - Same configuration accepted by {@link createJsonFileAsyncValueCache}; see {@link CreateJsonFileAsyncValueCacheInput}.
1521
1523
  * @returns An {@link AsyncValueCache} backed by the JSON file with a per-process single-load memoization layer in front.
1524
+ * @__NO_SIDE_EFFECTS__
1522
1525
  */ function createMemoizedJsonFileAsyncValueCache(input) {
1523
1526
  return memoizeAsyncValueCache(createJsonFileAsyncValueCache(input));
1524
1527
  }
@@ -1540,6 +1543,7 @@ function _ts_generator(thisArg, body) {
1540
1543
  * @param input.reviver - Optional transform applied to each entry after it is JSON-parsed on `load()`/`get()`. Returning null/undefined drops the entry.
1541
1544
  * @param input.replacer - Optional transform applied to each entry before it is stringified on `set()`.
1542
1545
  * @returns An {@link AsyncKeyedValueCache} that persists all entries in the configured JSON file.
1546
+ * @__NO_SIDE_EFFECTS__
1543
1547
  */ function createJsonFileAsyncKeyedValueCache(input) {
1544
1548
  var filePath = input.filePath, mode = input.mode, reviver = input.reviver, replacer = input.replacer;
1545
1549
  var fileMode = mode !== null && mode !== void 0 ? mode : DEFAULT_JSON_FILE_CACHE_MODE;
@@ -1745,6 +1749,7 @@ function _ts_generator(thisArg, body) {
1745
1749
  *
1746
1750
  * @param input - Same configuration accepted by {@link createJsonFileAsyncKeyedValueCache}; see {@link CreateJsonFileAsyncKeyedValueCacheInput}.
1747
1751
  * @returns An {@link AsyncKeyedValueCache} backed by the JSON file with a per-process record-level memoization layer in front.
1752
+ * @__NO_SIDE_EFFECTS__
1748
1753
  */ function createMemoizedJsonFileAsyncKeyedValueCache(input) {
1749
1754
  return memoizeAsyncKeyedValueCache(createJsonFileAsyncKeyedValueCache(input));
1750
1755
  }
@@ -1814,6 +1819,7 @@ var ENCRYPTED_FIELD_KEY_LENGTH = 32;
1814
1819
  * @param source - The hex-encoded secret or getter for the AES-256 key.
1815
1820
  * @returns An `AES256GCMEncryption` instance.
1816
1821
  * @throws Error if the resolved key is not 64 hex characters.
1822
+ * @__NO_SIDE_EFFECTS__
1817
1823
  */ function createAES256GCMEncryption(source) {
1818
1824
  var getKey = resolveEncryptionKey(source);
1819
1825
  function encryptStringFn(plaintext) {
@@ -1927,6 +1933,7 @@ var ENCRYPTED_FIELD_KEY_LENGTH = 32;
1927
1933
  * @param source - The hex-encoded secret or getter for the AES-256 key.
1928
1934
  * @returns A `StringEncryptionProvider` that encrypts/decrypts strings via AES-256-GCM.
1929
1935
  * @throws Error if the resolved key is not 64 hex characters.
1936
+ * @__NO_SIDE_EFFECTS__
1930
1937
  */ function createAesStringEncryptionProvider(source) {
1931
1938
  var encryption = createAES256GCMEncryption(source);
1932
1939
  var result = {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/mailgun",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
- "@dereekb/date": "13.11.2",
6
- "@dereekb/model": "13.11.2",
7
- "@dereekb/nestjs": "13.11.2",
8
- "@dereekb/rxjs": "13.11.2",
9
- "@dereekb/util": "13.11.2",
5
+ "@dereekb/date": "13.11.3",
6
+ "@dereekb/model": "13.11.3",
7
+ "@dereekb/nestjs": "13.11.3",
8
+ "@dereekb/rxjs": "13.11.3",
9
+ "@dereekb/util": "13.11.3",
10
10
  "@nestjs/common": "^11.1.19",
11
11
  "@nestjs/config": "^4.0.4",
12
12
  "form-data": "^4.0.5",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/openai",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
- "@dereekb/date": "13.11.2",
6
- "@dereekb/model": "13.11.2",
7
- "@dereekb/nestjs": "13.11.2",
8
- "@dereekb/rxjs": "13.11.2",
9
- "@dereekb/util": "13.11.2",
5
+ "@dereekb/date": "13.11.3",
6
+ "@dereekb/model": "13.11.3",
7
+ "@dereekb/nestjs": "13.11.3",
8
+ "@dereekb/rxjs": "13.11.3",
9
+ "@dereekb/util": "13.11.3",
10
10
  "@nestjs/common": "^11.1.19",
11
11
  "@nestjs/config": "^4.0.4",
12
12
  "express": "^5.2.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "types": "./src/index.d.ts",
5
5
  "module": "./index.esm.js",
6
6
  "main": "./index.cjs.js",
@@ -56,8 +56,8 @@
56
56
  }
57
57
  },
58
58
  "peerDependencies": {
59
- "@dereekb/rxjs": "13.11.2",
60
- "@dereekb/util": "13.11.2",
59
+ "@dereekb/rxjs": "13.11.3",
60
+ "@dereekb/util": "13.11.3",
61
61
  "@nestjs/common": "^11.1.19",
62
62
  "@nestjs/config": "^4.0.4",
63
63
  "@typeform/api-client": "^2.10.2",
@@ -7,6 +7,7 @@ import { ClientAppServiceConfig } from './client.config';
7
7
  *
8
8
  * @param configService - NestJS config service for reading environment variables
9
9
  * @returns a validated ClientAppServiceConfig
10
+ * @__NO_SIDE_EFFECTS__
10
11
  */
11
12
  export declare function clientAppConfigFactory(configService: ConfigService): ClientAppServiceConfig;
12
13
  /**
@@ -45,6 +45,7 @@ export interface CreateJsonFileAsyncValueCacheInput<T> {
45
45
  * @param input.reviver - Optional transform applied to the raw JSON-parsed payload before it is returned from `load()` (e.g. revive `Date` fields).
46
46
  * @param input.replacer - Optional transform applied to the value before it is stringified to JSON on `update()`.
47
47
  * @returns An {@link AsyncValueCache} that persists the value to the configured JSON file.
48
+ * @__NO_SIDE_EFFECTS__
48
49
  */
49
50
  export declare function createJsonFileAsyncValueCache<T>(input: CreateJsonFileAsyncValueCacheInput<T>): AsyncValueCache<T>;
50
51
  /**
@@ -53,6 +54,7 @@ export declare function createJsonFileAsyncValueCache<T>(input: CreateJsonFileAs
53
54
  *
54
55
  * @param input - Same configuration accepted by {@link createJsonFileAsyncValueCache}; see {@link CreateJsonFileAsyncValueCacheInput}.
55
56
  * @returns An {@link AsyncValueCache} backed by the JSON file with a per-process single-load memoization layer in front.
57
+ * @__NO_SIDE_EFFECTS__
56
58
  */
57
59
  export declare function createMemoizedJsonFileAsyncValueCache<T>(input: CreateJsonFileAsyncValueCacheInput<T>): AsyncValueCache<T>;
58
60
  /**
@@ -94,6 +96,7 @@ export interface CreateJsonFileAsyncKeyedValueCacheInput<T> {
94
96
  * @param input.reviver - Optional transform applied to each entry after it is JSON-parsed on `load()`/`get()`. Returning null/undefined drops the entry.
95
97
  * @param input.replacer - Optional transform applied to each entry before it is stringified on `set()`.
96
98
  * @returns An {@link AsyncKeyedValueCache} that persists all entries in the configured JSON file.
99
+ * @__NO_SIDE_EFFECTS__
97
100
  */
98
101
  export declare function createJsonFileAsyncKeyedValueCache<T>(input: CreateJsonFileAsyncKeyedValueCacheInput<T>): AsyncKeyedValueCache<T>;
99
102
  /**
@@ -102,5 +105,6 @@ export declare function createJsonFileAsyncKeyedValueCache<T>(input: CreateJsonF
102
105
  *
103
106
  * @param input - Same configuration accepted by {@link createJsonFileAsyncKeyedValueCache}; see {@link CreateJsonFileAsyncKeyedValueCacheInput}.
104
107
  * @returns An {@link AsyncKeyedValueCache} backed by the JSON file with a per-process record-level memoization layer in front.
108
+ * @__NO_SIDE_EFFECTS__
105
109
  */
106
110
  export declare function createMemoizedJsonFileAsyncKeyedValueCache<T>(input: CreateJsonFileAsyncKeyedValueCacheInput<T>): AsyncKeyedValueCache<T>;
@@ -85,6 +85,7 @@ export interface AES256GCMEncryption {
85
85
  * @param source - The hex-encoded secret or getter for the AES-256 key.
86
86
  * @returns An `AES256GCMEncryption` instance.
87
87
  * @throws Error if the resolved key is not 64 hex characters.
88
+ * @__NO_SIDE_EFFECTS__
88
89
  */
89
90
  export declare function createAES256GCMEncryption(source: AES256GCMEncryptionSecretSource): AES256GCMEncryption;
90
91
  /**
@@ -129,5 +130,6 @@ export declare function decryptValue<T>(encoded: string, key: Buffer): T;
129
130
  * @param source - The hex-encoded secret or getter for the AES-256 key.
130
131
  * @returns A `StringEncryptionProvider` that encrypts/decrypts strings via AES-256-GCM.
131
132
  * @throws Error if the resolved key is not 64 hex characters.
133
+ * @__NO_SIDE_EFFECTS__
132
134
  */
133
135
  export declare function createAesStringEncryptionProvider(source: AES256GCMEncryptionSecretSource): StringEncryptionProvider;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/stripe",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
- "@dereekb/date": "13.11.2",
6
- "@dereekb/model": "13.11.2",
7
- "@dereekb/nestjs": "13.11.2",
8
- "@dereekb/rxjs": "13.11.2",
9
- "@dereekb/util": "13.11.2",
5
+ "@dereekb/date": "13.11.3",
6
+ "@dereekb/model": "13.11.3",
7
+ "@dereekb/nestjs": "13.11.3",
8
+ "@dereekb/rxjs": "13.11.3",
9
+ "@dereekb/util": "13.11.3",
10
10
  "@nestjs/common": "^11.1.19",
11
11
  "@nestjs/config": "^4.0.4",
12
12
  "express": "^5.2.1",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/typeform",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
- "@dereekb/date": "13.11.2",
6
- "@dereekb/model": "13.11.2",
7
- "@dereekb/nestjs": "13.11.2",
8
- "@dereekb/rxjs": "13.11.2",
9
- "@dereekb/util": "13.11.2",
5
+ "@dereekb/date": "13.11.3",
6
+ "@dereekb/model": "13.11.3",
7
+ "@dereekb/nestjs": "13.11.3",
8
+ "@dereekb/rxjs": "13.11.3",
9
+ "@dereekb/util": "13.11.3",
10
10
  "@nestjs/common": "^11.1.19",
11
11
  "@nestjs/config": "^4.0.4",
12
12
  "@typeform/api-client": "^2.10.2",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/vapiai",
3
- "version": "13.11.2",
3
+ "version": "13.11.3",
4
4
  "peerDependencies": {
5
- "@dereekb/date": "13.11.2",
6
- "@dereekb/model": "13.11.2",
7
- "@dereekb/nestjs": "13.11.2",
8
- "@dereekb/rxjs": "13.11.2",
9
- "@dereekb/util": "13.11.2",
5
+ "@dereekb/date": "13.11.3",
6
+ "@dereekb/model": "13.11.3",
7
+ "@dereekb/nestjs": "13.11.3",
8
+ "@dereekb/rxjs": "13.11.3",
9
+ "@dereekb/util": "13.11.3",
10
10
  "@nestjs/common": "^11.1.19",
11
11
  "@nestjs/config": "^4.0.4",
12
12
  "@vapi-ai/server-sdk": "^0.11.0",