@salesforce/nimbus-plugin-lds 1.369.0 → 1.371.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.
@@ -34,7 +34,7 @@ export interface SqliteStorePlugin {
34
34
  * An operation to perform on the database.
35
35
  */
36
36
  interface SqliteOperationBase {
37
- table: 'lds_data' | 'lds_internal' | 'lds_env_drafts' | 'lds_env_draft_id_map';
37
+ table: 'lds_data' | 'lds_internal' | 'lds_env_drafts' | 'lds_env_draft_id_map' | 'lds_one_store_data';
38
38
  keyColumn: string;
39
39
  context: SqliteOperationContext;
40
40
  }
@@ -2,7 +2,7 @@ import type * as NimbusTypes from 'nimbus-types';
2
2
  export type { NimbusTypes };
3
3
  export type { NetworkAdapter, Request, Response, NetworkError, ObservabilityContext, } from './NetworkAdapter';
4
4
  export type { DraftQueue } from './DraftQueue';
5
- export type { SqliteStorePlugin, SqliteOperation } from './SqliteStorePlugin';
5
+ export type { SqliteStorePlugin, SqliteOperation, SqliteStoreChange } from './SqliteStorePlugin';
6
6
  export type { BinaryStorePlugin } from './BinaryStorePlugin';
7
7
  export type { LdsObserverPlugin } from './LdsObserverPlugin';
8
8
  export type { JSLoggerPlugin } from './JSLoggerPlugin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/nimbus-plugin-lds",
3
- "version": "1.369.0",
3
+ "version": "1.371.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Nimbus plugins for LDS on Mobile native integrations: durable store, networking, and draft queue.",
6
6
  "types": "dist/types/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@rollup/plugin-wasm": "^5.2.0",
28
- "@salesforce/lds-store-sql": "^1.369.0",
28
+ "@salesforce/lds-store-sql": "^1.371.0",
29
29
  "@types/sql.js": "1.4.4",
30
30
  "nimbus-types": "^2.0.0-alpha1",
31
31
  "rollup-plugin-string": "^3.0.0",
package/sql/258000.sql ADDED
@@ -0,0 +1,6 @@
1
+ -- The table for one store adapters
2
+ CREATE TABLE lds_one_store_data (
3
+ key TEXT PRIMARY KEY,
4
+ data TEXT NOT NULL,
5
+ metadata TEXT
6
+ );