@axiom-lattice/pg-stores 1.0.40 → 1.0.42

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/pg-stores@1.0.40 build /home/runner/work/agentic/agentic/packages/pg-stores
2
+ > @axiom-lattice/pg-stores@1.0.42 build /home/runner/work/agentic/agentic/packages/pg-stores
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,13 +8,13 @@
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 149.14 KB
12
- CJS dist/index.js.map 276.37 KB
13
- CJS ⚡️ Build success in 449ms
14
- ESM dist/index.mjs 144.79 KB
15
- ESM dist/index.mjs.map 276.31 KB
16
- ESM ⚡️ Build success in 449ms
11
+ CJS dist/index.js 148.83 KB
12
+ CJS dist/index.js.map 276.74 KB
13
+ CJS ⚡️ Build success in 316ms
14
+ ESM dist/index.mjs 144.60 KB
15
+ ESM dist/index.mjs.map 276.65 KB
16
+ ESM ⚡️ Build success in 323ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 10445ms
18
+ DTS ⚡️ Build success in 11747ms
19
19
  DTS dist/index.d.ts 38.33 KB
20
20
  DTS dist/index.d.mts 38.33 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @axiom-lattice/pg-stores
2
2
 
3
+ ## 1.0.42
4
+
5
+ ### Patch Changes
6
+
7
+ - 64a0971: fix path resolve
8
+ - Updated dependencies [64a0971]
9
+ - @axiom-lattice/core@2.1.52
10
+ - @axiom-lattice/protocols@2.1.29
11
+
12
+ ## 1.0.41
13
+
14
+ ### Patch Changes
15
+
16
+ - a8c25a6: fix sandbox
17
+ - Updated dependencies [a8c25a6]
18
+ - @axiom-lattice/core@2.1.51
19
+ - @axiom-lattice/protocols@2.1.28
20
+
3
21
  ## 1.0.40
4
22
 
5
23
  ### Patch Changes
package/dist/index.js CHANGED
@@ -30,12 +30,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
- AddMessageParams: () => import_core4.AddMessageParams,
34
33
  ChannelIdentityMappingStore: () => ChannelIdentityMappingStore,
35
34
  MigrationManager: () => MigrationManager,
36
- PendingMessage: () => import_core4.PendingMessage,
37
35
  Pool: () => import_pg15.Pool,
38
- PoolConfig: () => import_pg15.PoolConfig,
39
36
  PostgreSQLAssistantStore: () => PostgreSQLAssistantStore,
40
37
  PostgreSQLChannelInstallationStore: () => PostgreSQLChannelInstallationStore,
41
38
  PostgreSQLDatabaseConfigStore: () => PostgreSQLDatabaseConfigStore,
@@ -49,7 +46,6 @@ __export(index_exports, {
49
46
  PostgreSQLUserStore: () => PostgreSQLUserStore,
50
47
  PostgreSQLUserTenantLinkStore: () => PostgreSQLUserTenantLinkStore,
51
48
  PostgreSQLWorkspaceStore: () => PostgreSQLWorkspaceStore,
52
- ThreadInfo: () => import_core4.ThreadInfo,
53
49
  ThreadMessageQueueStore: () => ThreadMessageQueueStore,
54
50
  addAssistantTenantId: () => addAssistantTenantId,
55
51
  addScheduleTenantId: () => addScheduleTenantId,
@@ -4174,7 +4170,6 @@ var createChannelInstallationsTable = {
4174
4170
 
4175
4171
  // src/stores/ThreadMessageQueueStore.ts
4176
4172
  var import_crypto = __toESM(require("crypto"));
4177
- var import_core4 = require("@axiom-lattice/core");
4178
4173
 
4179
4174
  // src/migrations/add_priority_command_columns.ts
4180
4175
  var addPriorityAndCommandColumns = {
@@ -4682,7 +4677,7 @@ function mapRowToChannelIdentityMapping(row) {
4682
4677
 
4683
4678
  // src/stores/PostgreSQLChannelInstallationStore.ts
4684
4679
  var import_pg14 = require("pg");
4685
- var import_core5 = require("@axiom-lattice/core");
4680
+ var import_core4 = require("@axiom-lattice/core");
4686
4681
  var PostgreSQLChannelInstallationStore = class {
4687
4682
  constructor(options) {
4688
4683
  this.initialized = false;
@@ -4850,17 +4845,17 @@ var PostgreSQLChannelInstallationStore = class {
4850
4845
  encryptSecrets(config) {
4851
4846
  return {
4852
4847
  ...config,
4853
- appSecret: typeof config.appSecret === "string" ? (0, import_core5.encrypt)(config.appSecret) : config.appSecret,
4854
- verificationToken: typeof config.verificationToken === "string" ? (0, import_core5.encrypt)(config.verificationToken) : config.verificationToken,
4855
- encryptKey: typeof config.encryptKey === "string" ? (0, import_core5.encrypt)(config.encryptKey) : config.encryptKey
4848
+ appSecret: typeof config.appSecret === "string" ? (0, import_core4.encrypt)(config.appSecret) : config.appSecret,
4849
+ verificationToken: typeof config.verificationToken === "string" ? (0, import_core4.encrypt)(config.verificationToken) : config.verificationToken,
4850
+ encryptKey: typeof config.encryptKey === "string" ? (0, import_core4.encrypt)(config.encryptKey) : config.encryptKey
4856
4851
  };
4857
4852
  }
4858
4853
  decryptSecrets(config) {
4859
4854
  return {
4860
4855
  appId: String(config.appId || ""),
4861
- appSecret: typeof config.appSecret === "string" ? (0, import_core5.decrypt)(config.appSecret) : "",
4862
- verificationToken: typeof config.verificationToken === "string" ? (0, import_core5.decrypt)(config.verificationToken) : void 0,
4863
- encryptKey: typeof config.encryptKey === "string" ? (0, import_core5.decrypt)(config.encryptKey) : void 0,
4856
+ appSecret: typeof config.appSecret === "string" ? (0, import_core4.decrypt)(config.appSecret) : "",
4857
+ verificationToken: typeof config.verificationToken === "string" ? (0, import_core4.decrypt)(config.verificationToken) : void 0,
4858
+ encryptKey: typeof config.encryptKey === "string" ? (0, import_core4.decrypt)(config.encryptKey) : void 0,
4864
4859
  mappingMode: config.mappingMode === "user" || config.mappingMode === "group" || config.mappingMode === "hybrid" ? config.mappingMode : "hybrid",
4865
4860
  assistantId: String(config.assistantId || ""),
4866
4861
  workspaceId: typeof config.workspaceId === "string" ? config.workspaceId : void 0,
@@ -4870,12 +4865,9 @@ var PostgreSQLChannelInstallationStore = class {
4870
4865
  };
4871
4866
  // Annotate the CommonJS export names for ESM import in node:
4872
4867
  0 && (module.exports = {
4873
- AddMessageParams,
4874
4868
  ChannelIdentityMappingStore,
4875
4869
  MigrationManager,
4876
- PendingMessage,
4877
4870
  Pool,
4878
- PoolConfig,
4879
4871
  PostgreSQLAssistantStore,
4880
4872
  PostgreSQLChannelInstallationStore,
4881
4873
  PostgreSQLDatabaseConfigStore,
@@ -4889,7 +4881,6 @@ var PostgreSQLChannelInstallationStore = class {
4889
4881
  PostgreSQLUserStore,
4890
4882
  PostgreSQLUserTenantLinkStore,
4891
4883
  PostgreSQLWorkspaceStore,
4892
- ThreadInfo,
4893
4884
  ThreadMessageQueueStore,
4894
4885
  addAssistantTenantId,
4895
4886
  addScheduleTenantId,