diff --git a/TypeScript/10ScopesAndTypes/package.json b/TypeScript/10ScopesAndTypes/package.json index b82f6a5..ba1eb39 100644 --- a/TypeScript/10ScopesAndTypes/package.json +++ b/TypeScript/10ScopesAndTypes/package.json @@ -1,7 +1,7 @@ { "name": "ScopesAndTypes", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/11BundleLoadingSample/package.json b/TypeScript/11BundleLoadingSample/package.json index c06a66c..86e98ff 100644 --- a/TypeScript/11BundleLoadingSample/package.json +++ b/TypeScript/11BundleLoadingSample/package.json @@ -1,7 +1,7 @@ { "name": "BundleLoading", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/12ClassExtensionOverride/package.json b/TypeScript/12ClassExtensionOverride/package.json index 8a78236..7ee23cf 100644 --- a/TypeScript/12ClassExtensionOverride/package.json +++ b/TypeScript/12ClassExtensionOverride/package.json @@ -1,7 +1,7 @@ { "name": "ClassExtensionOverride", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/13.1AddTraderWithAssortJSON/package.json b/TypeScript/13.1AddTraderWithAssortJSON/package.json index 39aeca1..52490eb 100644 --- a/TypeScript/13.1AddTraderWithAssortJSON/package.json +++ b/TypeScript/13.1AddTraderWithAssortJSON/package.json @@ -1,7 +1,7 @@ { "name": "13.1AddTraderWithAssortJSON", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/13AddTrader/db/base.json b/TypeScript/13AddTrader/db/base.json index cff5ccd..53a94d7 100644 --- a/TypeScript/13AddTrader/db/base.json +++ b/TypeScript/13AddTrader/db/base.json @@ -1,5 +1,5 @@ { - "_id": "cat", + "_id": "66eeef8b2a166b73d2066a7e", "working": true, "availableInRaid": false, "items_buy": { @@ -14,7 +14,7 @@ "name": "Cat", "surname": " ", "nickname": "Maxwell", - "location": "Here is the cat shop", + "location": "Downtown tarkov", "avatar": "/files/trader/avatar/cat.jpg", "balance_rub": 5000000, "balance_dol": 0, diff --git a/TypeScript/13AddTrader/package.json b/TypeScript/13AddTrader/package.json index c00a540..6fd8914 100644 --- a/TypeScript/13AddTrader/package.json +++ b/TypeScript/13AddTrader/package.json @@ -1,7 +1,7 @@ { "name": "13AddTrader", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/13AddTrader/src/mod.ts b/TypeScript/13AddTrader/src/mod.ts index e917e00..e284876 100644 --- a/TypeScript/13AddTrader/src/mod.ts +++ b/TypeScript/13AddTrader/src/mod.ts @@ -16,7 +16,7 @@ import { Money } from "@spt/models/enums/Money"; import { Traders } from "@spt/models/enums/Traders"; import { HashUtil } from "@spt/utils/HashUtil"; -// New trader settings +// Get trader settings import * as baseJson from "../db/base.json"; import { TraderHelper } from "./traderHelpers"; @@ -29,8 +29,14 @@ class SampleTrader implements IPreSptLoadMod, IPostDBLoadMod { private traderHelper: TraderHelper; private fluentAssortCreator: FluentAssortCreator; + private traderBase; + private traderNickname: string; + constructor() { this.mod = "13AddTrader"; // Set name of mod so we can log it to console later + // Get base json from /db/ folder + this.traderBase = baseJson; + this.traderNickname = "Cat" } /** @@ -50,17 +56,21 @@ class SampleTrader implements IPreSptLoadMod, IPostDBLoadMod { const traderConfig: ITraderConfig = configServer.getConfig(ConfigTypes.TRADER); const ragfairConfig = configServer.getConfig(ConfigTypes.RAGFAIR); + // IMPORTANT - YOUR TRADER NEEDS A UNIQUE MONGO-ID, ASK IN DISCORD IF YOU DONT KNOW WHAT THAT IS + // GOOGLE "mongoid generator" + this.traderBase._id = "66eeef8b2a166b73d2066a7e"; + // Create helper class and use it to register our traders image/icon + set its stock refresh time this.traderHelper = new TraderHelper(); this.fluentAssortCreator = new FluentAssortCreator(hashUtil, this.logger); - this.traderHelper.registerProfileImage(baseJson, this.mod, preSptModLoader, imageRouter, "cat.jpg"); - this.traderHelper.setTraderUpdateTime(traderConfig, baseJson, 3600, 4000); + this.traderHelper.registerProfileImage(this.traderBase, this.mod, preSptModLoader, imageRouter, "cat.jpg"); + this.traderHelper.setTraderUpdateTime(traderConfig, this.traderBase, 3600, 4000); // Add trader to trader enum - Traders[baseJson._id] = baseJson._id; + Traders[this.traderBase._id] = this.traderBase._id; // Add trader to flea market - ragfairConfig.traders[baseJson._id] = true; + ragfairConfig.traders[this.traderBase._id] = true; this.logger.debug(`[${this.mod}] preSpt Loaded`); } @@ -74,14 +84,13 @@ class SampleTrader implements IPreSptLoadMod, IPostDBLoadMod { // Resolve SPT classes we'll use const databaseServer: DatabaseServer = container.resolve("DatabaseServer"); - const configServer: ConfigServer = container.resolve("ConfigServer"); const jsonUtil: JsonUtil = container.resolve("JsonUtil"); // Get a reference to the database tables const tables = databaseServer.getTables(); // Add new trader to the trader dictionary in DatabaseServer - has no assorts (items) yet - this.traderHelper.addTraderToDb(baseJson, tables, jsonUtil); + this.traderHelper.addTraderToDb(this.traderBase, tables, jsonUtil); // Add milk @@ -91,7 +100,7 @@ class SampleTrader implements IPreSptLoadMod, IPostDBLoadMod { .addBuyRestriction(10) .addMoneyCost(Money.ROUBLES, 2000) .addLoyaltyLevel(1) - .export(tables.traders[baseJson._id]); + .export(tables.traders[this.traderBase._id]); // Add 3x bitcoin + salewa for milk barter this.fluentAssortCreator @@ -100,30 +109,37 @@ class SampleTrader implements IPreSptLoadMod, IPostDBLoadMod { .addBarterCost(ItemTpl.BARTER_PHYSICAL_BITCOIN, 3) .addBarterCost(ItemTpl.MEDKIT_SALEWA_FIRST_AID_KIT, 1) .addLoyaltyLevel(1) - .export(tables.traders[baseJson._id]); + .export(tables.traders[this.traderBase._id]); - // Add glock as money purchase + // Add glock as a money purchase this.fluentAssortCreator .createComplexAssortItem(this.traderHelper.createGlock()) .addUnlimitedStackCount() .addMoneyCost(Money.ROUBLES, 20000) .addBuyRestriction(3) .addLoyaltyLevel(1) - .export(tables.traders[baseJson._id]); + .export(tables.traders[this.traderBase._id]); - // Add mp133 preset as mayo barter + // Add mp133 preset as a barter for mayonase this.fluentAssortCreator .createComplexAssortItem(tables.globals.ItemPresets["584148f2245977598f1ad387"]._items) // Weapon preset id comes from globals.json .addStackCount(200) .addBarterCost(ItemTpl.FOOD_JAR_OF_DEVILDOG_MAYO, 1) .addBuyRestriction(3) .addLoyaltyLevel(1) - .export(tables.traders[baseJson._id]); + .export(tables.traders[this.traderBase._id]); // Add trader to locale file, ensures trader text shows properly on screen // WARNING: adds the same text to ALL locales (e.g. chinese/french/english) - this.traderHelper.addTraderToLocales(baseJson, tables, baseJson.name, "Cat", baseJson.nickname, baseJson.location, "This is the cat shop"); + this.traderHelper.addTraderToLocales( + this.traderBase, + tables, + this.traderBase.name, + this.traderNickname, + this.traderBase.nickname, + this.traderBase.location, + `This is the ${this.traderNickname} shop`); this.logger.debug(`[${this.mod}] postDb Loaded`); } diff --git a/TypeScript/13AddTrader/src/newItemIds.ts b/TypeScript/13AddTrader/src/newItemIds.ts new file mode 100644 index 0000000..3014632 --- /dev/null +++ b/TypeScript/13AddTrader/src/newItemIds.ts @@ -0,0 +1,10 @@ +export enum NewItemIds { + GLOCK_BASE = "66eeef3b2a166b73d2066a74", + GLOCK_BARREL = "66eeef3b2a166b73d2066a75", + GLOCK_RECIEVER = "66eeef3b2a166b73d2066a76", + GLOCK_COMPENSATOR = "66eeef3b2a166b73d2066a77", + GLOCK_PISTOL_GRIP = "66eeef3b2a166b73d2066a78", + GLOCK_REAR_SIGHT = "66eeef3b2a166b73d2066a79", + GLOCK_FRONT_SIGHT = "66eeef3b2a166b73d2066a7a", + GLOCK_MAGAZINE = "66eeef3b2a166b73d2066a7b" +} \ No newline at end of file diff --git a/TypeScript/13AddTrader/src/traderHelpers.ts b/TypeScript/13AddTrader/src/traderHelpers.ts index 68f3a8c..744d171 100644 --- a/TypeScript/13AddTrader/src/traderHelpers.ts +++ b/TypeScript/13AddTrader/src/traderHelpers.ts @@ -5,6 +5,7 @@ import { ITraderConfig, UpdateTime } from "@spt/models/spt/config/ITraderConfig" import { IDatabaseTables } from "@spt/models/spt/server/IDatabaseTables"; import { ImageRouter } from "@spt/routers/ImageRouter"; import { JsonUtil } from "@spt/utils/JsonUtil"; +import { NewItemIds } from "./newitemIds"; export class TraderHelper { /** @@ -89,63 +90,63 @@ export class TraderHelper { // Add the base first glock.push({ // Add the base weapon first - _id: "glockBase", // Ids dont matter, as long as they are unique (can use hashUtil.generate() if you dont want to type every id by hand) + _id: NewItemIds.GLOCK_BASE, // Ids matter, MUST BE UNIQUE See mod.ts for more details _tpl: "5a7ae0c351dfba0017554310", // This is the weapons tpl, found on: https://db.sp-tarkov.com/search }); // Add barrel glock.push({ - _id: "glockbarrel", + _id: NewItemIds.GLOCK_BARREL, _tpl: "5a6b60158dc32e000a31138b", - parentId: "glockBase", // This is a sub item, you need to define its parent its attached to / inserted into - slotId: "mod_barrel", // Required for mods, you need to define what 'role' they have + parentId: NewItemIds.GLOCK_BASE, // This is a sub item, you need to define its parent its attached to / inserted into + slotId: "mod_barrel", // Required for mods, you need to define what 'slot' the mod will fill on the weapon }); // Add reciever glock.push({ - _id: "glockReciever", + _id: NewItemIds.GLOCK_RECIEVER, _tpl: "5a9685b1a2750c0032157104", - parentId: "glockBase", + parentId: NewItemIds.GLOCK_BASE, slotId: "mod_reciever", }); // Add compensator glock.push({ - _id: "glockCompensator", + _id: NewItemIds.GLOCK_COMPENSATOR, _tpl: "5a7b32a2e899ef00135e345a", - parentId: "glockReciever", // The parent of this mod is the reciever NOT weapon, be careful to get the correct parent + parentId: NewItemIds.GLOCK_RECIEVER, // The parent of this mod is the reciever NOT weapon, be careful to get the correct parent slotId: "mod_muzzle", }); // Add Pistol grip glock.push({ - _id: "glockPistolGrip", + _id: NewItemIds.GLOCK_PISTOL_GRIP, _tpl: "5a7b4960e899ef197b331a2d", - parentId: "glockBase", + parentId: NewItemIds.GLOCK_BASE, slotId: "mod_pistol_grip", }); // Add front sight glock.push({ - _id: "glockRearSight", + _id: NewItemIds.GLOCK_FRONT_SIGHT, _tpl: "5a6f5d528dc32e00094b97d9", - parentId: "glockReciever", + parentId: NewItemIds.GLOCK_RECIEVER, slotId: "mod_sight_rear", }); // Add rear sight glock.push({ - _id: "glockFrontSight", + _id: NewItemIds.GLOCK_REAR_SIGHT, _tpl: "5a6f58f68dc32e000a311390", - parentId: "glockReciever", + parentId: NewItemIds.GLOCK_RECIEVER, slotId: "mod_sight_front", }); // Add magazine glock.push({ - _id: "glockMagazine", + _id: NewItemIds.GLOCK_MAGAZINE, _tpl: "630769c4962d0247b029dc60", - parentId: "glockBase", + parentId: NewItemIds.GLOCK_BASE, slotId: "mod_magazine", }); diff --git a/TypeScript/14AfterDBLoadHook/package.json b/TypeScript/14AfterDBLoadHook/package.json index 54ee2cf..7413bff 100644 --- a/TypeScript/14AfterDBLoadHook/package.json +++ b/TypeScript/14AfterDBLoadHook/package.json @@ -1,7 +1,7 @@ { "name": "AfterDBLoadHook", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/15HttpListenerExample/package.json b/TypeScript/15HttpListenerExample/package.json index dd250e7..8e932cf 100644 --- a/TypeScript/15HttpListenerExample/package.json +++ b/TypeScript/15HttpListenerExample/package.json @@ -1,7 +1,7 @@ { "name": "HttpListenerExample", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/16ImporterUtil/package.json b/TypeScript/16ImporterUtil/package.json index 001d66a..0756963 100644 --- a/TypeScript/16ImporterUtil/package.json +++ b/TypeScript/16ImporterUtil/package.json @@ -1,7 +1,7 @@ { "name": "ImporterUtil", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/17AsyncImporterWithDependency1/package.json b/TypeScript/17AsyncImporterWithDependency1/package.json index 579b4b7..782c817 100644 --- a/TypeScript/17AsyncImporterWithDependency1/package.json +++ b/TypeScript/17AsyncImporterWithDependency1/package.json @@ -1,7 +1,7 @@ { "name": "AsyncWithDependency1", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/17AsyncImporterWithDependency2/package.json b/TypeScript/17AsyncImporterWithDependency2/package.json index 4598d13..bd76925 100644 --- a/TypeScript/17AsyncImporterWithDependency2/package.json +++ b/TypeScript/17AsyncImporterWithDependency2/package.json @@ -1,7 +1,7 @@ { "name": "AsyncWithDependency2", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/18.1CustomItemServiceLootBox/package.json b/TypeScript/18.1CustomItemServiceLootBox/package.json index 9a373b1..d0e331a 100644 --- a/TypeScript/18.1CustomItemServiceLootBox/package.json +++ b/TypeScript/18.1CustomItemServiceLootBox/package.json @@ -1,7 +1,7 @@ { "name": "CustomItemService-modified", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/18CustomItemService/package.json b/TypeScript/18CustomItemService/package.json index 568afe5..f9060fa 100644 --- a/TypeScript/18CustomItemService/package.json +++ b/TypeScript/18CustomItemService/package.json @@ -1,7 +1,7 @@ { "name": "CustomItemService", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/19UseExternalLibraries/package.json b/TypeScript/19UseExternalLibraries/package.json index 2c2ee30..fdca9b3 100644 --- a/TypeScript/19UseExternalLibraries/package.json +++ b/TypeScript/19UseExternalLibraries/package.json @@ -1,7 +1,7 @@ { "name": "UseExternalLibraries", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/1LogToConsole/package.json b/TypeScript/1LogToConsole/package.json index 7f13aff..c03dd5b 100644 --- a/TypeScript/1LogToConsole/package.json +++ b/TypeScript/1LogToConsole/package.json @@ -1,7 +1,7 @@ { "name": "LogToConsole", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/20CustomChatBot/package.json b/TypeScript/20CustomChatBot/package.json index 5c83d54..5c7d8c5 100644 --- a/TypeScript/20CustomChatBot/package.json +++ b/TypeScript/20CustomChatBot/package.json @@ -1,7 +1,7 @@ { "name": "CustomChatBot", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/21CustomCommandoCommand/package.json b/TypeScript/21CustomCommandoCommand/package.json index d56e164..4ef9d72 100644 --- a/TypeScript/21CustomCommandoCommand/package.json +++ b/TypeScript/21CustomCommandoCommand/package.json @@ -1,7 +1,7 @@ { "name": "CustomCommandoCommand", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/22CustomSptCommand/package.json b/TypeScript/22CustomSptCommand/package.json index bf80c82..0f13be0 100644 --- a/TypeScript/22CustomSptCommand/package.json +++ b/TypeScript/22CustomSptCommand/package.json @@ -1,7 +1,7 @@ { "name": "CustomAkiCommand", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/23CustomAbstractChatBot/package.json b/TypeScript/23CustomAbstractChatBot/package.json index c27d491..2cb231d 100644 --- a/TypeScript/23CustomAbstractChatBot/package.json +++ b/TypeScript/23CustomAbstractChatBot/package.json @@ -1,7 +1,7 @@ { "name": "CustomAbstractChatBot", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/24WebSocket/package.json b/TypeScript/24WebSocket/package.json index 6bbc08a..0adfb60 100644 --- a/TypeScript/24WebSocket/package.json +++ b/TypeScript/24WebSocket/package.json @@ -1,7 +1,7 @@ { "name": "WebSocket", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/2EditDatabase/package.json b/TypeScript/2EditDatabase/package.json index e17f37d..430e802 100644 --- a/TypeScript/2EditDatabase/package.json +++ b/TypeScript/2EditDatabase/package.json @@ -1,7 +1,7 @@ { "name": "EditDatabase", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/3GetSptConfigFile/package.json b/TypeScript/3GetSptConfigFile/package.json index 25db4a1..93648c5 100644 --- a/TypeScript/3GetSptConfigFile/package.json +++ b/TypeScript/3GetSptConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "GetSptConfigFile", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json index f64022f..07fae77 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "UseACustomJson5OrJsonCConfigFile", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/4UseACustomConfigFile/package.json b/TypeScript/4UseACustomConfigFile/package.json index 974f6d6..8b88072 100644 --- a/TypeScript/4UseACustomConfigFile/package.json +++ b/TypeScript/4UseACustomConfigFile/package.json @@ -1,7 +1,7 @@ { "name": "UseACustomConfigFile", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/5ReplaceMethod/package.json b/TypeScript/5ReplaceMethod/package.json index 8ae3b2c..fd4040e 100644 --- a/TypeScript/5ReplaceMethod/package.json +++ b/TypeScript/5ReplaceMethod/package.json @@ -1,7 +1,7 @@ { "name": "ReplaceMethod", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/6ReferenceAnotherClass/package.json b/TypeScript/6ReferenceAnotherClass/package.json index b8d3d13..a71bd3c 100644 --- a/TypeScript/6ReferenceAnotherClass/package.json +++ b/TypeScript/6ReferenceAnotherClass/package.json @@ -1,7 +1,7 @@ { "name": "ReferenceAnotherClass", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/7OnLoadHook/package.json b/TypeScript/7OnLoadHook/package.json index 4a34e62..875b9a4 100644 --- a/TypeScript/7OnLoadHook/package.json +++ b/TypeScript/7OnLoadHook/package.json @@ -1,7 +1,7 @@ { "name": "OnLoadHook", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/8OnUpdateHook/package.json b/TypeScript/8OnUpdateHook/package.json index c6428c3..0bb5555 100644 --- a/TypeScript/8OnUpdateHook/package.json +++ b/TypeScript/8OnUpdateHook/package.json @@ -1,7 +1,7 @@ { "name": "OnUpdateHook", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [], diff --git a/TypeScript/9RouterHooks/package.json b/TypeScript/9RouterHooks/package.json index 8911d49..fb8516e 100644 --- a/TypeScript/9RouterHooks/package.json +++ b/TypeScript/9RouterHooks/package.json @@ -1,7 +1,7 @@ { "name": "RouterHooks", "version": "1.0.0", - "sptVersion": "~3.9", + "sptVersion": "~3.10", "loadBefore": [], "loadAfter": [], "incompatibilities": [],