commandkit 1.0.0-dev.20250604125335 → 1.0.0-dev.20250604160656

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/cache.cjs CHANGED
@@ -1,13 +1,23 @@
1
1
  const {
2
2
  cacheTag,
3
3
  cacheLife,
4
- invalidate,
5
- revalidate,
4
+ revalidateTag,
5
+ cleanup,
6
+ MemoryCache,
7
+ CacheProvider,
8
+ isCachedFunction,
9
+ setCacheProvider,
10
+ getCacheProvider,
6
11
  } = require('@commandkit/cache');
7
12
 
8
13
  module.exports = {
9
14
  cacheTag,
10
15
  cacheLife,
11
- invalidate,
12
- revalidate,
16
+ revalidateTag,
17
+ cleanup,
18
+ MemoryCache,
19
+ CacheProvider,
20
+ isCachedFunction,
21
+ setCacheProvider,
22
+ getCacheProvider,
13
23
  };
package/cache.d.ts CHANGED
@@ -1 +1,13 @@
1
- export { cacheTag, cacheLife, invalidate, revalidate } from '@commandkit/cache';
1
+ export {
2
+ cacheTag,
3
+ cacheLife,
4
+ revalidateTag,
5
+ cleanup,
6
+ MemoryCache,
7
+ CacheProvider,
8
+ CacheEntry,
9
+ isCachedFunction,
10
+ setCacheProvider,
11
+ getCacheProvider,
12
+ // @ts-ignore
13
+ } from '@commandkit/cache';
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('../chunk-nOFOJqeH.js');
2
- const require_version = require('../version-D6bcIktv.js');
2
+ const require_version = require('../version-DQAoX-ZJ.js');
3
3
  const node_fs = require_chunk.__toESM(require("node:fs"));
4
4
  const node_path = require_chunk.__toESM(require("node:path"));
5
5
  const node_child_process = require_chunk.__toESM(require("node:child_process"));
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ require('./store-B9bo6On8.js');
37
37
  const require_helpers = require('./helpers-blGYXnUH.js');
38
38
  require('./app-HN1cVg8J.js');
39
39
  require('./ILogger-dQ7Y9X1f.js');
40
- const require_version = require('./version-D6bcIktv.js');
40
+ const require_version = require('./version-DQAoX-ZJ.js');
41
41
  const require_feature_flags = require('./feature-flags-BXVYbfWD.js');
42
42
  const require_init = require('./init-DnAVgPki.js');
43
43
 
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * The current version of CommandKit.
5
5
  */
6
- const version = "1.0.0-dev.20250604125335";
6
+ const version = "1.0.0-dev.20250604160656";
7
7
 
8
8
  //#endregion
9
9
  Object.defineProperty(exports, 'version', {
@@ -12,4 +12,4 @@ Object.defineProperty(exports, 'version', {
12
12
  return version;
13
13
  }
14
14
  });
15
- //# sourceMappingURL=version-D6bcIktv.js.map
15
+ //# sourceMappingURL=version-DQAoX-ZJ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version-D6bcIktv.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["function $version(): string {\n 'use macro';\n return require('../package.json').version;\n}\n\n/**\n * The current version of CommandKit.\n */\nexport const version: string = $version();\n"],"mappings":";;;;;AAQA,MAAa,UAA4B"}
1
+ {"version":3,"file":"version-DQAoX-ZJ.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["function $version(): string {\n 'use macro';\n return require('../package.json').version;\n}\n\n/**\n * The current version of CommandKit.\n */\nexport const version: string = $version();\n"],"mappings":";;;;;AAQA,MAAa,UAA4B"}
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const require_version = require('./version-D6bcIktv.js');
1
+ const require_version = require('./version-DQAoX-ZJ.js');
2
2
 
3
3
  exports.version = require_version.version;
package/events.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  const { getCommandKit } = require('./dist/context/async-context.js');
2
2
 
3
3
  export function useEvents() {
4
- const commandkit = getCommandKit(true);
5
- return commandkit.events;
6
- }
4
+ const commandkit = getCommandKit(true);
5
+ return commandkit.events;
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "commandkit",
3
3
  "description": "Beginner friendly command & event handler for Discord.js",
4
- "version": "1.0.0-dev.20250604125335",
4
+ "version": "1.0.0-dev.20250604160656",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
7
7
  "main": "./dist/index.js",
@@ -122,7 +122,7 @@
122
122
  "tsx": "^4.19.2",
123
123
  "typescript": "^5.7.3",
124
124
  "vitest": "^3.0.5",
125
- "tsconfig": "0.0.0-dev.20250604125335"
125
+ "tsconfig": "0.0.0-dev.20250604160656"
126
126
  },
127
127
  "peerDependencies": {
128
128
  "discord.js": "^14"