@hot-updater/plugin-core 0.20.0-rc.0 → 0.20.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/dist/index.cjs +954 -984
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +953 -985
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -137,7 +137,7 @@ type ConfigInput = {
|
|
|
137
137
|
*
|
|
138
138
|
* @default "fingerprint"
|
|
139
139
|
*/
|
|
140
|
-
updateStrategy
|
|
140
|
+
updateStrategy: "fingerprint" | "appVersion";
|
|
141
141
|
/**
|
|
142
142
|
* The fingerprint configuration.
|
|
143
143
|
*/
|
|
@@ -392,4 +392,10 @@ interface PaginatedResult {
|
|
|
392
392
|
*/
|
|
393
393
|
declare function calculatePagination(total: number, options: PaginationOptions): PaginationInfo;
|
|
394
394
|
//#endregion
|
|
395
|
-
|
|
395
|
+
//#region src/generateMinBundleId.d.ts
|
|
396
|
+
declare const generateMinBundleId: () => string;
|
|
397
|
+
//#endregion
|
|
398
|
+
//#region src/createStorageKeyBuilder.d.ts
|
|
399
|
+
declare const createStorageKeyBuilder: (basePath: string | undefined) => (...args: string[]) => string;
|
|
400
|
+
//#endregion
|
|
401
|
+
export { AbstractDatabasePlugin, BaseDatabaseUtils, BasePluginArgs, BuildPlugin, BuildPluginConfig, BuildType, BuiltIns, type Bundle, ConfigBuilder, ConfigInput, ConfigResponse, DatabasePlugin, DatabasePluginHooks, HasMultipleCallSignatures, HotUpdaterConfigOptions, IConfigBuilder, ImportInfo, NativeBuildArgs, PaginatedResult, PaginationInfo, PaginationOptions, type Platform, Primitive, ProviderConfig, RequiredDeep, StoragePlugin, StoragePluginHooks, banner, calculatePagination, copyDirToTmp, createBlobDatabasePlugin, createDatabasePlugin, createStorageKeyBuilder, createZip, createZipTargetFiles, generateMinBundleId, getCwd, link, loadConfig, loadConfigSync, log, makeEnv, printBanner, transformEnv, transformTemplate };
|
package/dist/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ type ConfigInput = {
|
|
|
137
137
|
*
|
|
138
138
|
* @default "fingerprint"
|
|
139
139
|
*/
|
|
140
|
-
updateStrategy
|
|
140
|
+
updateStrategy: "fingerprint" | "appVersion";
|
|
141
141
|
/**
|
|
142
142
|
* The fingerprint configuration.
|
|
143
143
|
*/
|
|
@@ -392,4 +392,10 @@ interface PaginatedResult {
|
|
|
392
392
|
*/
|
|
393
393
|
declare function calculatePagination(total: number, options: PaginationOptions): PaginationInfo;
|
|
394
394
|
//#endregion
|
|
395
|
-
|
|
395
|
+
//#region src/generateMinBundleId.d.ts
|
|
396
|
+
declare const generateMinBundleId: () => string;
|
|
397
|
+
//#endregion
|
|
398
|
+
//#region src/createStorageKeyBuilder.d.ts
|
|
399
|
+
declare const createStorageKeyBuilder: (basePath: string | undefined) => (...args: string[]) => string;
|
|
400
|
+
//#endregion
|
|
401
|
+
export { AbstractDatabasePlugin, BaseDatabaseUtils, BasePluginArgs, BuildPlugin, BuildPluginConfig, BuildType, BuiltIns, type Bundle, ConfigBuilder, ConfigInput, ConfigResponse, DatabasePlugin, DatabasePluginHooks, HasMultipleCallSignatures, HotUpdaterConfigOptions, IConfigBuilder, ImportInfo, NativeBuildArgs, PaginatedResult, PaginationInfo, PaginationOptions, type Platform, Primitive, ProviderConfig, RequiredDeep, StoragePlugin, StoragePluginHooks, banner, calculatePagination, copyDirToTmp, createBlobDatabasePlugin, createDatabasePlugin, createStorageKeyBuilder, createZip, createZipTargetFiles, generateMinBundleId, getCwd, link, loadConfig, loadConfigSync, log, makeEnv, printBanner, transformEnv, transformTemplate };
|