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

@blizzard-api/wow

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blizzard-api/wow - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

14

dist/index.d.ts
import * as _blizzard_api_core from '@blizzard-api/core';
interface AchievementCategoryResponse {
id: number;
}
declare const wow: {
achievement: {
achievementCategory: (achievementCategoryId?: number | undefined) => _blizzard_api_core.Resource<never>;
achievement: (achievementId?: number | undefined) => _blizzard_api_core.Resource<never>;
media: (achievementId: number) => _blizzard_api_core.Resource<never>;
};
achievementCategory: (achievementCategoryId: number) => _blizzard_api_core.Resource<AchievementCategoryResponse>;
achievementCategoryIndex: () => _blizzard_api_core.Resource<void>;
achievement: (achievementId: number) => _blizzard_api_core.Resource<void>;
achievementIndex: () => _blizzard_api_core.Resource<void>;
media: (achievementId: number) => _blizzard_api_core.Resource<void>;
};
export { wow };

@@ -1,21 +0,33 @@

// src/game-data/base.ts
// src/base.ts
var base = "/data/wow";
var mediaBase = `${base}/media`;
// src/game-data/achievement.ts
// src/achievements/index.ts
var achievementBase = `${base}/achievement`;
var achievementCategoryBase = `${base}/achievement-category`;
var achievement = {
var achievements = {
achievementCategory: (achievementCategoryId) => {
return {
path: achievementCategoryId ? `${achievementCategoryBase}/${achievementCategoryId}` : `${achievementCategoryBase}/index`,
path: `${achievementCategoryBase}/${achievementCategoryId}`,
namespace: "static"
};
},
achievementCategoryIndex: () => {
return {
path: `${achievementCategoryBase}/index`,
namespace: "static"
};
},
achievement: (achievementId) => {
return {
path: achievementId ? `${achievementBase}/${achievementId}` : `${achievementBase}/index`,
path: `${achievementBase}/${achievementId}`,
namespace: "static"
};
},
achievementIndex: () => {
return {
path: `${achievementBase}/index`,
namespace: "static"
};
},
media: (achievementId) => {

@@ -26,10 +38,5 @@ return { path: `${mediaBase}/achievement/${achievementId}`, namespace: "static" };

// src/game-data/index.ts
var gameDataApi = {
achievement
};
// src/index.ts
var wow = {
...gameDataApi
...achievements
};

@@ -36,0 +43,0 @@ export {

{
"name": "@blizzard-api/wow",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",

@@ -48,6 +48,6 @@ "author": "Putro",

"peerDependencies": {
"@blizzard-api/core": "0.0.3"
"@blizzard-api/core": "0.0.4"
},
"devDependencies": {
"@blizzard-api/core": "0.0.3"
"@blizzard-api/core": "0.0.4"
},

@@ -54,0 +54,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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