Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hephaestus/core

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hephaestus/core - npm Package Compare versions

Comparing version 1.0.0-alpha.11 to 1.0.0-alpha.12

8

dist/index.d.ts

@@ -77,4 +77,4 @@ import { MaybeArray, ExtendedMap, KeysMatching, MaybePromise } from '@hephaestus/utils';

interface AutoCompleteOption<Client, Interaction> {
autocompleteAction: (interaction: Interaction, client: Client) => MaybePromise<void>;
interface AutoCompleteOption<Client, Interaction, InteractionDataOptions> {
autocompleteAction: (interaction: Interaction, client: Client, data: InteractionDataOptions[]) => MaybePromise<void>;
}

@@ -87,4 +87,4 @@ interface Command<Client, Interaction> {

}
interface ExecutableCommand<Client, Interaction> extends Command<Client, Interaction> {
action: (interaction: Interaction, client: Client) => MaybePromise<void>;
interface ExecutableCommand<Client, Interaction, InteractionDataOptions> extends Command<Client, Interaction> {
action: (interaction: Interaction, client: Client, data: InteractionDataOptions[]) => MaybePromise<void>;
}

@@ -91,0 +91,0 @@ declare abstract class CommandMap<T extends Command<any, any>> extends LoadableMap<T> {

{
"name": "@hephaestus/core",
"version": "1.0.0-alpha.11",
"version": "1.0.0-alpha.12",
"description": "> TODO: description",

@@ -11,2 +11,3 @@ "author": "Alex Taxiera <alex.taxiera@gmail.com>",

"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {

@@ -19,5 +20,2 @@ ".": {

},
"directories": {
"lib": "dist"
},
"files": [

@@ -32,5 +30,5 @@ "dist"

"test": "echo \"Error: run tests from root\" && exit 1",
"build": "tsup src/index.ts --clean --target node12 --format cjs && tsup src/index.ts --format esm",
"build:cjs": "ttsc",
"build:esm": "ttsc -p ./tsconfig.esm.json",
"build": "run-p build:*",
"build:cjs": "tsup src/index.ts --target node12 --format cjs",
"build:esm": "tsup src/index.ts --format esm --dts",
"clean": "rm -rf dist",

@@ -43,5 +41,5 @@ "lint": "eslint src"

"dependencies": {
"@hephaestus/utils": "^1.0.0-alpha.6"
"@hephaestus/utils": "^1.0.0-alpha.7"
},
"gitHead": "fe12e83d2280689c30c26997cfafbbc71cc8854e"
"gitHead": "4dd51c36847e0e164195a35d0ec3da38ee8589ad"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc