@opendatalabs/personal-server-ts 0.2.0 → 1.1.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.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { DEFAULT_ROOT_PATH, DEFAULT_CONFIG_PATH, DEFAULT_DATA_DIR, DEFAULT_SERVER_DIR, DEFAULT_VANA_DIR, expandHomePath, loadConfig, resolveRootPath, type LoadConfigOptions, } from "@opendatalabs/personal-server-ts-core/config";
1
+ export { createOwnerSignedPersonalServerRequest, createPersonalServerInfoFromHealth, createPersonalServerRegistrationRequest, dataListPath, dataReadPath, dataVersionsPath, grantRevokePath, parsePersonalServerJsonResponse, PersonalServerClientError, submitPersonalServerRegistration, } from "@opendatalabs/personal-server-ts-core/client";
2
+ export type { PersonalServerAuthRequestOptions, PersonalServerClientErrorBody, PersonalServerCreateGrantOptions, PersonalServerCreateGrantResult, PersonalServerDataVersion, PersonalServerHandle, PersonalServerHealthRegistration, PersonalServerIdentity, PersonalServerInfo, PersonalServerKind, PersonalServerListDataOptions, PersonalServerListDataResult, PersonalServerListGrantsResult, PersonalServerListVersionsOptions, PersonalServerListVersionsResult, PersonalServerOwnerAuth, PersonalServerPostDataOptions, PersonalServerPrepareRegistrationOptions, PersonalServerReadDataOptions, PersonalServerReadyOptions, PersonalServerRevokeGrantResult, PersonalServerRegistrationCandidate, PersonalServerRegistrationRequest, PersonalServerStatus, PersonalServerSubmitRegistrationOptions, PersonalServerSyncTriggerResult, PersonalServerUrls, } from "@opendatalabs/personal-server-ts-core/client";
2
3
  export type { ServerConfig } from "@opendatalabs/personal-server-ts-core/schemas";
3
- export { createServer, type CreateServerOptions, type ServerContext, } from "@opendatalabs/personal-server-ts-server";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,eAAe,EACf,KAAK,iBAAiB,GACvB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EACL,YAAY,EACZ,KAAK,mBAAmB,EACxB,KAAK,aAAa,GACnB,MAAM,yCAAyC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,kCAAkC,EAClC,uCAAuC,EACvC,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,+BAA+B,EAC/B,yBAAyB,EACzB,gCAAgC,GACjC,MAAM,8CAA8C,CAAC;AACtD,YAAY,EACV,gCAAgC,EAChC,6BAA6B,EAC7B,gCAAgC,EAChC,+BAA+B,EAC/B,yBAAyB,EACzB,oBAAoB,EACpB,gCAAgC,EAChC,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,gCAAgC,EAChC,uBAAuB,EACvB,6BAA6B,EAC7B,wCAAwC,EACxC,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,mCAAmC,EACnC,iCAAiC,EACjC,oBAAoB,EACpB,uCAAuC,EACvC,+BAA+B,EAC/B,kBAAkB,GACnB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- export { DEFAULT_ROOT_PATH, DEFAULT_CONFIG_PATH, DEFAULT_DATA_DIR, DEFAULT_SERVER_DIR, DEFAULT_VANA_DIR, expandHomePath, loadConfig, resolveRootPath, } from "@opendatalabs/personal-server-ts-core/config";
2
- export { createServer, } from "@opendatalabs/personal-server-ts-server";
1
+ export { createOwnerSignedPersonalServerRequest, createPersonalServerInfoFromHealth, createPersonalServerRegistrationRequest, dataListPath, dataReadPath, dataVersionsPath, grantRevokePath, parsePersonalServerJsonResponse, PersonalServerClientError, submitPersonalServerRegistration, } from "@opendatalabs/personal-server-ts-core/client";
3
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,eAAe,GAEhB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,YAAY,GAGb,MAAM,yCAAyC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,kCAAkC,EAClC,uCAAuC,EACvC,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,+BAA+B,EAC/B,yBAAyB,EACzB,gCAAgC,GACjC,MAAM,8CAA8C,CAAC"}
package/dist/lite.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@opendatalabs/personal-server-ts-lite";
2
+ //# sourceMappingURL=lite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lite.d.ts","sourceRoot":"","sources":["../src/lite.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC"}
package/dist/lite.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "@opendatalabs/personal-server-ts-lite";
2
+ //# sourceMappingURL=lite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lite.js","sourceRoot":"","sources":["../src/lite.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC"}
package/dist/node.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export { DEFAULT_ROOT_PATH, DEFAULT_CONFIG_PATH, DEFAULT_DATA_DIR, DEFAULT_SERVER_DIR, DEFAULT_VANA_DIR, expandHomePath, loadConfig, resolveRootPath, type LoadConfigOptions, } from "@opendatalabs/personal-server-ts-server";
2
+ export type { ServerConfig } from "@opendatalabs/personal-server-ts-core/schemas";
3
+ export { createServer, startPersonalServer, type CreateServerOptions, type ServerContext, type StartPersonalServerNodeOptions, } from "@opendatalabs/personal-server-ts-server";
4
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,eAAe,EACf,KAAK,iBAAiB,GACvB,MAAM,yCAAyC,CAAC;AACjD,YAAY,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,8BAA8B,GACpC,MAAM,yCAAyC,CAAC"}
package/dist/node.js ADDED
@@ -0,0 +1,3 @@
1
+ export { DEFAULT_ROOT_PATH, DEFAULT_CONFIG_PATH, DEFAULT_DATA_DIR, DEFAULT_SERVER_DIR, DEFAULT_VANA_DIR, expandHomePath, loadConfig, resolveRootPath, } from "@opendatalabs/personal-server-ts-server";
2
+ export { createServer, startPersonalServer, } from "@opendatalabs/personal-server-ts-server";
3
+ //# sourceMappingURL=node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,eAAe,GAEhB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,YAAY,EACZ,mBAAmB,GAIpB,MAAM,yCAAyC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendatalabs/personal-server-ts",
3
- "version": "0.2.0",
3
+ "version": "1.1.0",
4
4
  "description": "Facade package for integrating the Vana Personal Server",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -13,12 +13,21 @@
13
13
  "url": "https://github.com/vana-com/personal-server-ts/issues"
14
14
  },
15
15
  "type": "module",
16
+ "sideEffects": false,
16
17
  "main": "./dist/index.js",
17
18
  "types": "./dist/index.d.ts",
18
19
  "exports": {
19
20
  ".": {
20
21
  "types": "./dist/index.d.ts",
21
22
  "import": "./dist/index.js"
23
+ },
24
+ "./node": {
25
+ "types": "./dist/node.d.ts",
26
+ "import": "./dist/node.js"
27
+ },
28
+ "./lite": {
29
+ "types": "./dist/lite.d.ts",
30
+ "import": "./dist/lite.js"
22
31
  }
23
32
  },
24
33
  "publishConfig": {
@@ -31,7 +40,8 @@
31
40
  "build": "tsc --build"
32
41
  },
33
42
  "dependencies": {
34
- "@opendatalabs/personal-server-ts-core": "0.2.0",
35
- "@opendatalabs/personal-server-ts-server": "0.2.0"
43
+ "@opendatalabs/personal-server-ts-core": "1.1.0",
44
+ "@opendatalabs/personal-server-ts-lite": "1.1.0",
45
+ "@opendatalabs/personal-server-ts-server": "1.1.0"
36
46
  }
37
47
  }