dsh-mnemon 0.5.2 → 0.5.4
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/README.md +64 -182
- package/README.zh-CN.md +67 -185
- package/SECURITY.md +6 -6
- package/lib/client.js +1679 -1350
- package/lib/extension-sdk.js +1 -9
- package/lib/index.js +404 -295
- package/lib/strategy-configuration-B_DsZRQG.js +90 -0
- package/lib/types/src/client/locales.d.ts +1000 -900
- package/lib/types/src/host/config-values.d.ts +6 -6
- package/lib/types/src/host/config.d.ts +2 -4
- package/lib/types/src/host/protocol.d.ts +13 -4
- package/lib/types/src/sdk/strategy-configuration.d.ts +5 -0
- package/package.json +19 -18
- package/lib/storage-lock-Bqrhkyag.js +0 -20
package/lib/extension-sdk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as withMemoryStorageLock, t as defineMemoryStrategyConfiguration } from "./strategy-configuration-B_DsZRQG.js";
|
|
2
2
|
import { a as defineMemoryStrategy, i as defineMemorySource, o as defineMemoryStrategyExtension, r as defineMemoryPlugin, t as canonicalMemoryJson } from "./definitions-j0FLgE0-.js";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
//#region src/sdk/install.ts
|
|
@@ -91,12 +91,4 @@ function migrationLineage(value) {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
//#endregion
|
|
94
|
-
//#region src/sdk/strategy-configuration.ts
|
|
95
|
-
function defineMemoryStrategyConfiguration(value) {
|
|
96
|
-
return Object.freeze({
|
|
97
|
-
...value,
|
|
98
|
-
apiVersion: "dsh-mnemon/strategy-configuration/v1"
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
//#endregion
|
|
102
94
|
export { receipt as createMemoryMutationReceipt, defineMemoryPlugin, defineMemorySource, defineMemoryStrategy, defineMemoryStrategyConfiguration, defineMemoryStrategyExtension, installMemory, memoryConfigurationDigest, integer as memoryInputInteger, migrationLineage as memoryInputMigrationLineage, record as memoryInputRecord, stringArray as memoryInputStringArray, text as memoryInputText, truncate as truncateMemoryText, withMemoryStorageLock };
|