@quenty/datastore 11.0.0 → 12.0.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [12.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@11.0.0...@quenty/datastore@12.0.0) (2024-02-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix bootstrap of test environments and loader samples ([441e4a9](https://github.com/Quenty/NevermoreEngine/commit/441e4a90d19fcc203da2fdedc08e532c20d52f99))
12
+
13
+
14
+
15
+
16
+
6
17
  # [11.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/datastore@10.0.0...@quenty/datastore@11.0.0) (2024-02-13)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/datastore
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2023 James Onnen (Quenty)
3
+ Copyright (c) 2014-2024 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/datastore",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "Quenty's Datastore implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,21 +26,21 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/baseobject": "^8.0.0",
30
- "@quenty/bindtocloseservice": "^6.0.0",
31
- "@quenty/loader": "^8.0.0",
29
+ "@quenty/baseobject": "^9.0.0",
30
+ "@quenty/bindtocloseservice": "^7.0.0",
31
+ "@quenty/loader": "^9.0.0",
32
32
  "@quenty/maid": "^3.0.0",
33
33
  "@quenty/math": "^2.5.0",
34
- "@quenty/promise": "^8.0.0",
35
- "@quenty/rx": "^11.0.0",
36
- "@quenty/servicebag": "^9.0.0",
37
- "@quenty/signal": "^5.0.0",
34
+ "@quenty/promise": "^9.0.0",
35
+ "@quenty/rx": "^12.0.0",
36
+ "@quenty/servicebag": "^10.0.0",
37
+ "@quenty/signal": "^6.0.0",
38
38
  "@quenty/symbol": "^3.0.0",
39
39
  "@quenty/table": "^3.4.0",
40
- "@quenty/valueobject": "^11.0.0"
40
+ "@quenty/valueobject": "^12.0.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "87df864b5b6a9a9cef7544f6e8054a12cdd120bd"
45
+ "gitHead": "f113de0adce246ebd8115adf49a80533ede329cc"
46
46
  }
@@ -2,9 +2,10 @@
2
2
  @class ClientMain
3
3
  ]]
4
4
 
5
- local packages = game:GetService("ReplicatedStorage"):WaitForChild("Packages")
5
+ local loader = game:GetService("ReplicatedStorage"):WaitForChild("datastore"):WaitForChild("loader")
6
+ local require = require(loader).bootstrapGame(loader.Parent)
6
7
 
7
- local serviceBag = require(packages.ServiceBag).new()
8
+ local serviceBag = require("ServiceBag").new()
8
9
 
9
10
  serviceBag:Init()
10
11
  serviceBag:Start()
@@ -6,19 +6,19 @@ local ServerScriptService = game:GetService("ServerScriptService")
6
6
  local HttpService = game:GetService("HttpService")
7
7
 
8
8
  local loader = ServerScriptService:FindFirstChild("LoaderUtils", true).Parent
9
- local packages = require(loader).bootstrapGame(ServerScriptService.datastore)
9
+ local require = require(loader).bootstrapGame(ServerScriptService.datastore)
10
10
 
11
- local Maid = require(packages.Maid)
12
- local Promise = require(packages.Promise)
11
+ local Maid = require("Maid")
12
+ local Promise = require("Promise")
13
13
 
14
14
  local TURN_TIME = 8
15
15
 
16
16
  local function spinUpGameCopy(prefix)
17
17
  assert(type(prefix) == "string", "Bad prefix")
18
18
 
19
- local serviceBag = require(packages.ServiceBag).new()
20
- serviceBag:GetService(require(packages.GameDataStoreService))
21
- serviceBag:GetService(require(packages.PlayerDataStoreService))
19
+ local serviceBag = require("ServiceBag").new()
20
+ serviceBag:GetService(require("GameDataStoreService"))
21
+ serviceBag:GetService(require("PlayerDataStoreService"))
22
22
 
23
23
  serviceBag:Init()
24
24
  serviceBag:Start()
@@ -26,8 +26,8 @@ local function spinUpGameCopy(prefix)
26
26
  local guid = prefix .. " " .. HttpService:GenerateGUID(false)
27
27
  local maid = Maid.new()
28
28
 
29
- local gameDataStore = serviceBag:GetService(require(packages.GameDataStoreService))
30
- local bindToCloseService = serviceBag:GetService(require(packages.BindToCloseService))
29
+ local gameDataStore = serviceBag:GetService(require("GameDataStoreService"))
30
+ local bindToCloseService = serviceBag:GetService(require("BindToCloseService"))
31
31
 
32
32
  -- This would be an aggressive usage of this area, it probably won't scale well enough.
33
33
  -- But writing some shared code or something like API keys should scale fine.