@elizaos/plugin-sql 2.0.0-alpha.4 → 2.0.0-alpha.5
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.
|
@@ -3150,7 +3150,7 @@ import {
|
|
|
3150
3150
|
sql as sql27
|
|
3151
3151
|
} from "drizzle-orm";
|
|
3152
3152
|
|
|
3153
|
-
//
|
|
3153
|
+
// node_modules/uuid/dist/stringify.js
|
|
3154
3154
|
var byteToHex = [];
|
|
3155
3155
|
for (let i = 0;i < 256; ++i) {
|
|
3156
3156
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
@@ -3159,7 +3159,7 @@ function unsafeStringify(arr, offset = 0) {
|
|
|
3159
3159
|
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
3160
3160
|
}
|
|
3161
3161
|
|
|
3162
|
-
//
|
|
3162
|
+
// node_modules/uuid/dist/rng.js
|
|
3163
3163
|
var getRandomValues;
|
|
3164
3164
|
var rnds8 = new Uint8Array(16);
|
|
3165
3165
|
function rng() {
|
|
@@ -3172,11 +3172,11 @@ function rng() {
|
|
|
3172
3172
|
return getRandomValues(rnds8);
|
|
3173
3173
|
}
|
|
3174
3174
|
|
|
3175
|
-
//
|
|
3175
|
+
// node_modules/uuid/dist/native.js
|
|
3176
3176
|
var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
3177
3177
|
var native_default = { randomUUID };
|
|
3178
3178
|
|
|
3179
|
-
//
|
|
3179
|
+
// node_modules/uuid/dist/v4.js
|
|
3180
3180
|
function _v4(options, buf, offset) {
|
|
3181
3181
|
options = options || {};
|
|
3182
3182
|
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
@@ -5236,7 +5236,7 @@ class BaseDrizzleAdapter extends DatabaseAdapter {
|
|
|
5236
5236
|
}
|
|
5237
5237
|
async createTask(task) {
|
|
5238
5238
|
if (!task.worldId) {
|
|
5239
|
-
|
|
5239
|
+
task = { ...task, worldId: this.agentId };
|
|
5240
5240
|
}
|
|
5241
5241
|
return this.withRetry(async () => {
|
|
5242
5242
|
return this.withDatabase(async () => {
|
|
@@ -5951,5 +5951,5 @@ export {
|
|
|
5951
5951
|
DatabaseMigrationService
|
|
5952
5952
|
};
|
|
5953
5953
|
|
|
5954
|
-
//# debugId=
|
|
5954
|
+
//# debugId=728782949A7EFF1764756E2164756E21
|
|
5955
5955
|
//# sourceMappingURL=index.browser.js.map
|