@graffiti-garden/implementation-local 0.2.0 → 0.2.2

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,6 @@
1
1
  import { Graffiti } from "@graffiti-garden/api";
2
2
  import { type GraffitiLocalOptions } from "./database";
3
+ export type { GraffitiLocalOptions };
3
4
  /**
4
5
  * A local implementation of the [Graffiti API](https://api.graffiti.garden/classes/Graffiti.html)
5
6
  * based on [PouchDB](https://pouchdb.com/). PouchDb will automatically persist data in a local
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAyB,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAI9E;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,QAAQ;IACzC,aAAa,wEAAiB;IAC9B,aAAa,mEAAiB;IAE9B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC3B,aAAa,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IACzC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACrB,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACrB,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACrC,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IACvC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;gBAEzB,OAAO,CAAC,EAAE,oBAAoB;CA2B3C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAyB,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAI9E,YAAY,EAAE,oBAAoB,EAAE,CAAC;AAErC;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,QAAQ;IACzC,aAAa,wEAAiB;IAC9B,aAAa,mEAAiB;IAE9B,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC3B,aAAa,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;IACzC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACrB,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACrB,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACrC,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IACvC,WAAW,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;gBAEzB,OAAO,CAAC,EAAE,oBAAoB;CA2B3C"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graffiti-garden/implementation-local",
3
- "version": "0.2.0",
4
- "description": "A local-only implementation of the Graffiti API using PouchDB",
3
+ "version": "0.2.2",
4
+ "description": "A local implementation of the Graffiti API using PouchDB",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "module": "./dist/index.js",
7
7
  "browser": "./dist/index.browser.js",
@@ -31,13 +31,13 @@
31
31
  },
32
32
  "./session-manager": {
33
33
  "import": {
34
- "types": "./dist/src/session-manager-local.d.ts",
35
- "node": "./dist/session-manager-local.cjs.js",
36
- "default": "./dist/session-manager-local.js"
34
+ "types": "./dist/src/session-manager.d.ts",
35
+ "node": "./dist/session-manager.cjs.js",
36
+ "default": "./dist/session-manager.js"
37
37
  },
38
38
  "require": {
39
- "types": "./dist/src/session-manager-local.d.ts",
40
- "default": "./dist/session-manager-local.cjs.js"
39
+ "types": "./dist/src/session-manager.d.ts",
40
+ "default": "./dist/session-manager.cjs.js"
41
41
  }
42
42
  },
43
43
  "./synchronize": {
@@ -80,10 +80,10 @@
80
80
  "license": "GPL-3.0-or-later",
81
81
  "repository": {
82
82
  "type": "git",
83
- "url": "git+https://github.com/graffiti-garden/implementation-pouchdb.git"
83
+ "url": "git+https://github.com/graffiti-garden/implementation-local.git"
84
84
  },
85
85
  "bugs": {
86
- "url": "https://github.com/graffiti-garden/implementation-pouchdb/issues"
86
+ "url": "https://github.com/graffiti-garden/implementation-local/issues"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@rollup/plugin-commonjs": "^28.0.2",
package/src/index.ts CHANGED
@@ -5,6 +5,8 @@ import { GraffitiLocalDatabase, type GraffitiLocalOptions } from "./database";
5
5
  import { GraffitiSynchronize } from "./synchronize";
6
6
  import { locationToUri, uriToLocation } from "./utilities";
7
7
 
8
+ export type { GraffitiLocalOptions };
9
+
8
10
  /**
9
11
  * A local implementation of the [Graffiti API](https://api.graffiti.garden/classes/Graffiti.html)
10
12
  * based on [PouchDB](https://pouchdb.com/). PouchDb will automatically persist data in a local