@sv443-network/coreutils 3.0.7 → 3.1.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 +12 -0
- package/dist/CoreUtils.cjs +4 -4
- package/dist/CoreUtils.min.cjs +2 -2
- package/dist/CoreUtils.min.mjs +3 -3
- package/dist/CoreUtils.min.umd.js +2 -2
- package/dist/CoreUtils.mjs +4 -4
- package/dist/CoreUtils.umd.js +483 -557
- package/dist/lib/DataStoreEngine.d.ts +1 -1
- package/package.json +1 -1
|
@@ -73,7 +73,7 @@ export declare class BrowserStorageEngine<TData extends DataStoreData = DataStor
|
|
|
73
73
|
/** Options for the {@linkcode FileStorageEngine} class */
|
|
74
74
|
export type FileStorageEngineOptions = {
|
|
75
75
|
/** Function that returns a string or a plain string that is the data file path, including name and extension. Defaults to `.ds-${dataStoreID}` */
|
|
76
|
-
filePath?: ((dataStoreID: string) => string) | string;
|
|
76
|
+
filePath?: ((dataStoreID: string, dataStoreOptions: DataStoreEngineDSOptions<DataStoreData>) => string) | string;
|
|
77
77
|
/**
|
|
78
78
|
* Specifies the necessary options for storing data.
|
|
79
79
|
* - ⚠️ Only specify this if you are using this instance standalone! The parent DataStore will set this automatically.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sv443-network/coreutils",
|
|
3
3
|
"libName": "@sv443-network/coreutils",
|
|
4
|
-
"version": "3.0
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"description": "Cross-platform, general-purpose, JavaScript core library for Node, Deno and the browser. Intended to be used in conjunction with `@sv443-network/userutils` and `@sv443-network/djsutils`, but can be used independently as well.",
|
|
6
6
|
"main": "dist/CoreUtils.cjs",
|
|
7
7
|
"module": "dist/CoreUtils.mjs",
|