@nocentraldb/sdk 0.1.0-beta.1 → 0.2.0-alpha.1

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/README.md CHANGED
@@ -7,7 +7,7 @@ NoCentralDB 0.1 is a pre-release: names and formats can still change before 1.0.
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- npm install @nocentraldb/sdk@alpha
10
+ npm install @nocentraldb/sdk@beta
11
11
  ```
12
12
 
13
13
  `ncdb model build`, which turns your model into `model.lock.json`, runs from a clone of [the repository](https://github.com/nocentraldb/nocentraldb) in 0.1, as [the browser guide](https://nocentraldb.io/docs/guides/browser/) shows.
package/dist/adHoc.d.ts CHANGED
@@ -16,8 +16,8 @@ interface Source {
16
16
  export declare const readObjects: () => {
17
17
  /** Remembers `object`, read from `collection`, and gives it back. */
18
18
  remember<T extends object>(object: T, collection: string): T;
19
- /** Where `object` came from; `invalidValue` when the SDK did not read it. */
20
- sourceOf(object: object): Source;
19
+ /** Where `object` came from; `invalidValue` with `message` when the SDK did not read it. */
20
+ sourceOf(object: object, message?: string): Source;
21
21
  };
22
22
  /** The options of `db.spaces.createAdHoc`. */
23
23
  export interface AdHocOptions {
package/dist/adHoc.js CHANGED
@@ -23,11 +23,11 @@ export const readObjects = () => {
23
23
  }
24
24
  return object;
25
25
  },
26
- /** Where `object` came from; `invalidValue` when the SDK did not read it. */
27
- sourceOf(object) {
26
+ /** Where `object` came from; `invalidValue` with `message` when the SDK did not read it. */
27
+ sourceOf(object, message = texts.AD_HOC_COPY_NOT_READ) {
28
28
  const source = read.get(object);
29
29
  if (source === undefined) {
30
- throw new NcError("invalidValue", texts.AD_HOC_COPY_NOT_READ);
30
+ throw new NcError("invalidValue", message);
31
31
  }
32
32
  return source;
33
33
  },
package/dist/connect.js CHANGED
@@ -11,6 +11,7 @@ import { decode, encode } from "./cbor.js";
11
11
  import { flatten, randomId, } from "./connectParts.js";
12
12
  import { reportsOf } from "./durabilityReport.js";
13
13
  import { SetElements } from "./elements.js";
14
+ import { erasureCallsOf, signOffOf, takeBackOf } from "./eraseCalls.js";
14
15
  import { NcError } from "./error.js";
15
16
  import { lockOutOfDate } from "./lockCheck.js";
16
17
  import { membersOf, ownInvitation } from "./membership.js";
@@ -399,6 +400,7 @@ export const connect = async (core, options) => {
399
400
  leave: async () => (await ask("space.leave", { space: id })),
400
401
  erasures: {
401
402
  list: async () => (await ask("erasures.list", { space: id })),
403
+ takeBack: takeBackOf(ask, id),
402
404
  },
403
405
  status: {
404
406
  current: () => statuses.get(id).status,
@@ -498,7 +500,8 @@ export const connect = async (core, options) => {
498
500
  }
499
501
  },
500
502
  },
501
- account: accountOf(ask),
503
+ account: { ...accountOf(ask), signOff: signOffOf(ask) },
504
+ ...erasureCallsOf(ask, read),
502
505
  durability: reports.durability,
503
506
  view: reports.view,
504
507
  close: async () => {
package/dist/db.d.ts CHANGED
@@ -97,6 +97,8 @@ export interface Space {
97
97
  readonly erasures: {
98
98
  /** Each erasure, with who deleted the person key, who only saw it and who never answered. */
99
99
  list(): Promise<ErasureEntry[]>;
100
+ /** Takes the provisional erasure `shred` back within its 7 days, and gives `takenBack`: only an admin of the performer's account may, others are refused with `notAllowed`; a shred that is final, decided or not of this space is refused with `invalidValue` (RFC 0009, "Erasing a person"; Carsten, 2026-11-15, NOC-326). */
101
+ takeBack(shred: string): Promise<import("./members.ts").Notice>;
100
102
  };
101
103
  /** What this space holds that a read does not show, as a report (RFC 0009, "Sync and status"). */
102
104
  readonly status: {
@@ -261,7 +263,16 @@ export interface Db {
261
263
  readonly askAdmins: readonly Id[];
262
264
  readonly notice: import("./members.ts").Notice;
263
265
  }>;
266
+ /** On a device of another account, or of the performer's own where every member of a space belongs to it: signs off `request` with the account key in each space where the account may, checked against this copy, and names the others in `notSigned`. A database that holds no account key is refused with `notAllowed` (RFC 0009, "Erasing a person"). */
267
+ signOff(request: import("./erase.ts").ErasureRequest): Promise<{
268
+ readonly signOffs: import("./erase.ts").SignOffs;
269
+ readonly notSigned: readonly Id[];
270
+ }>;
264
271
  };
272
+ /** The request to erase the person of `object`, one of the person's objects as this database read it: every space where this member may write and the person has a key. An object of no person is refused with `noPerson` (RFC 0009, "Erasing a person"; Carsten, 2026-11-15, NOC-326). */
273
+ erasureRequest(object: object): Promise<import("./erase.ts").ErasureRequest>;
274
+ /** Erases the person of `request` in every space `signOffs` signs off: one shred per space, each sign-off checked first; one that would not hold refuses the call with `invalidValue`, and nothing is written. Erasure does not reach devices that never come back online, copies made outside the database or unmarked free text, as its notice `erased` says. */
275
+ erase(request: import("./erase.ts").ErasureRequest, signOffs: import("./erase.ts").SignOffs): Promise<import("./erase.ts").Erased>;
265
276
  /** Closes the database; every later call fails with `closed`, and every subscription stops. */
266
277
  close(): Promise<void>;
267
278
  }
@@ -0,0 +1,33 @@
1
+ import type { Notice } from "./members.ts";
2
+ type Id = string;
3
+ /** The request to erase a person (RFC 0009, "Erasing a person"): for each space where this member may write and the person has a key, the space, the person-key id and the performer, and nothing personal. Its text, `ncdb-erase-1:` and unpadded base64url, goes to a device of another account to sign off. */
4
+ export interface ErasureRequest {
5
+ /** Its text, to hand a device of another account. */
6
+ toString(): string;
7
+ }
8
+ /** The sign-offs of an erasure request, one per space a second account signed off. Its text, `ncdb-sign-off-1:` and unpadded base64url, goes back to the performer's `db.erase`. */
9
+ export interface SignOffs {
10
+ /** Its text, to hand back to the performer. */
11
+ toString(): string;
12
+ }
13
+ /** What `db.erase` did: one shred per space it erased in, the spaces it skipped and why, and the notice `erased`. */
14
+ export interface Erased {
15
+ /** Each shred written, with its space and whether it is provisional; `shred` is the id `space.erasures.list()` names. */
16
+ readonly shreds: readonly {
17
+ readonly space: Id;
18
+ readonly shred: string;
19
+ readonly provisional: boolean;
20
+ }[];
21
+ /** The spaces of the request it did not erase in: no sign-off came, this member may not write there, or the person has no key there left. */
22
+ readonly skipped: readonly {
23
+ readonly space: Id;
24
+ readonly reason: "noSignOff" | "notWriter" | "noKey";
25
+ }[];
26
+ /** `erased`, saying what the erasure does not reach. */
27
+ readonly notice: Notice;
28
+ }
29
+ /** Reads an erasure request's text, as the signing device received it. It checks only the prefix and the encoding, and fails with `invalidValue` otherwise; `db.account.signOff` checks the rest. */
30
+ export declare const erasureRequest: (text: string) => ErasureRequest;
31
+ /** Reads the text of sign-offs, as the performer received it. It checks only the prefix and the encoding, and fails with `invalidValue` otherwise; `db.erase` checks the rest. */
32
+ export declare const signOffs: (text: string) => SignOffs;
33
+ export {};
package/dist/erase.js ADDED
@@ -0,0 +1,50 @@
1
+ // Erasing a person in the TypeScript SDK (NOC-406; RFC 0009, "The Rust
2
+ // SDK", "Erasing a person"; Carsten, 2026-11-15, NOC-326): the Rust SDK's
3
+ // `Db::erasure_request`, `Account::sign_off`, `Db::erase` and
4
+ // `Erasures::take_back` in camel case, over the core's `erasureRequest`,
5
+ // `account.signOff`, `erase` and `erasures.takeBack`
6
+ // (crates/nocentraldb/src/bridge/erase.rs). The request and the
7
+ // sign-offs are their texts, which the app carries between devices, as a
8
+ // pairing answer is (NOC-321): `nc.erasureRequest` and `nc.signOffs` read
9
+ // them back. What makes them is in eraseCalls.ts.
10
+ import { NcError } from "./error.js";
11
+ import * as texts from "./texts.js";
12
+ /** A text the SDK holds as it is, for a request or its sign-offs. */
13
+ class Text {
14
+ #text;
15
+ constructor(text) {
16
+ this.#text = text;
17
+ }
18
+ toString() {
19
+ return this.#text;
20
+ }
21
+ toJSON() {
22
+ return this.#text;
23
+ }
24
+ }
25
+ /** Unpadded base64url: its alphabet, and a length no group of 4 leaves 1 character over. */
26
+ const BASE64URL = /^[A-Za-z0-9_-]+$/;
27
+ /** `text` trimmed when it is `prefix` and unpadded base64url, else `undefined`. */
28
+ const checked = (text, prefix) => {
29
+ const trimmed = text.trim();
30
+ if (!trimmed.startsWith(prefix))
31
+ return undefined;
32
+ const body = trimmed.slice(prefix.length);
33
+ return BASE64URL.test(body) && body.length % 4 !== 1 ? trimmed : undefined;
34
+ };
35
+ /** Reads an erasure request's text, as the signing device received it. It checks only the prefix and the encoding, and fails with `invalidValue` otherwise; `db.account.signOff` checks the rest. */
36
+ export const erasureRequest = (text) => {
37
+ const read = checked(text, "ncdb-erase-1:");
38
+ if (read === undefined) {
39
+ throw new NcError("invalidValue", texts.NOT_AN_ERASURE_REQUEST);
40
+ }
41
+ return new Text(read);
42
+ };
43
+ /** Reads the text of sign-offs, as the performer received it. It checks only the prefix and the encoding, and fails with `invalidValue` otherwise; `db.erase` checks the rest. */
44
+ export const signOffs = (text) => {
45
+ const read = checked(text, "ncdb-sign-off-1:");
46
+ if (read === undefined) {
47
+ throw new NcError("invalidValue", texts.NOT_SIGN_OFFS);
48
+ }
49
+ return new Text(read);
50
+ };
@@ -0,0 +1,18 @@
1
+ import type { readObjects } from "./adHoc.ts";
2
+ import { type Erased, type ErasureRequest, type SignOffs } from "./erase.ts";
3
+ import type { Notice } from "./members.ts";
4
+ type Id = string;
5
+ type Ask = (call: string, args: Record<string, unknown>) => Promise<unknown>;
6
+ /** `db.erasureRequest` and `db.erase` for the core `ask` speaks to; an object the SDK of this database did not read is refused before the core is asked. */
7
+ export declare const erasureCallsOf: (ask: Ask, read: ReturnType<typeof readObjects>) => {
8
+ erasureRequest: (object: object) => Promise<ErasureRequest>;
9
+ erase: (request: ErasureRequest, given: SignOffs) => Promise<Erased>;
10
+ };
11
+ /** `db.account.signOff` for the core `ask` speaks to. */
12
+ export declare const signOffOf: (ask: Ask) => (request: ErasureRequest) => Promise<{
13
+ readonly signOffs: SignOffs;
14
+ readonly notSigned: readonly Id[];
15
+ }>;
16
+ /** `space.erasures.takeBack` of the space `space`. */
17
+ export declare const takeBackOf: (ask: Ask, space: Id) => (shred: string) => Promise<Notice>;
18
+ export {};
@@ -0,0 +1,30 @@
1
+ // The erasure calls of the TypeScript SDK (NOC-406; RFC 0009, "Erasing a
2
+ // person"), over the core's `erasureRequest`, `account.signOff`, `erase`
3
+ // and `erasures.takeBack` (crates/nocentraldb/src/bridge/erase.rs). The
4
+ // types and the text readers are in erase.ts. Internal: the package's
5
+ // entry does not reach it.
6
+ import { erasureRequest, signOffs, } from "./erase.js";
7
+ import * as texts from "./texts.js";
8
+ /** `db.erasureRequest` and `db.erase` for the core `ask` speaks to; an object the SDK of this database did not read is refused before the core is asked. */
9
+ export const erasureCallsOf = (ask, read) => ({
10
+ erasureRequest: async (object) => {
11
+ const source = read.sourceOf(object, texts.ERASURE_REQUEST_NOT_READ);
12
+ return erasureRequest((await ask("erasureRequest", { ...source })));
13
+ },
14
+ erase: async (request, given) => (await ask("erase", {
15
+ request: String(request),
16
+ signOffs: String(given),
17
+ })),
18
+ });
19
+ /** `db.account.signOff` for the core `ask` speaks to. */
20
+ export const signOffOf = (ask) => async (request) => {
21
+ const signed = (await ask("account.signOff", {
22
+ request: String(request),
23
+ }));
24
+ return {
25
+ signOffs: signOffs(signed.signOffs),
26
+ notSigned: signed.notSigned ?? [],
27
+ };
28
+ };
29
+ /** `space.erasures.takeBack` of the space `space`. */
30
+ export const takeBackOf = (ask, space) => async (shred) => (await ask("erasures.takeBack", { space, shred }));
package/dist/index.d.ts CHANGED
@@ -7,6 +7,8 @@ export type { RecoveryCode } from "./account.ts";
7
7
  export type { Db, Page, Query, Space, Tx } from "./db.ts";
8
8
  /** The durability of the copy (RFC 0006, "What the SDK reports"; RFC 0009, "Public names"; NOC-315). */
9
9
  export type { Durability } from "./durability.ts";
10
+ /** An erasure request, its sign-offs and what `db.erase` did (RFC 0009, "Erasing a person"; NOC-406). */
11
+ export type { Erased, ErasureRequest, SignOffs } from "./erase.ts";
10
12
  /** An invitation, and the notice a membership call returns (RFC 0009, "Invitations and members"; NOC-176 slice 4b). */
11
13
  export type { Invitation, Notice } from "./members.ts";
12
14
  /** The schema functions of RFC 0005: `nc.model`, `nc.collection`, the field types and `nc.index`, and the types `nc.Infer` and `nc.Unknown`. */
package/dist/nc.d.ts CHANGED
@@ -148,6 +148,7 @@ export { pairingAnswer } from "./account.ts";
148
148
  /** Opens this member's database (RFC 0009, "Open and close"). */
149
149
  /** Field operations on sets and many links (RFC 0009, "Field operations per field type"). */
150
150
  export { add, open, remove } from "./db.ts";
151
+ export { erasureRequest, signOffs } from "./erase.ts";
151
152
  /** The one error class the SDK throws (RFC 0009, "Errors"). */
152
153
  export { NcError as Error } from "./error.ts";
153
154
  export { invitation } from "./members.ts";
package/dist/nc.js CHANGED
@@ -206,6 +206,7 @@ export { pairingAnswer } from "./account.js";
206
206
  /** Opens this member's database (RFC 0009, "Open and close"). */
207
207
  /** Field operations on sets and many links (RFC 0009, "Field operations per field type"). */
208
208
  export { add, open, remove } from "./db.js";
209
+ export { erasureRequest, signOffs } from "./erase.js";
209
210
  /** The one error class the SDK throws (RFC 0009, "Errors"). */
210
211
  export { NcError as Error } from "./error.js";
211
212
  export { invitation } from "./members.js";
package/dist/texts.d.ts CHANGED
@@ -6,6 +6,8 @@ export declare const ANOTHER_LOCK = "another tab has this database open with ano
6
6
  export declare const CURSOR_OF_ANOTHER_DATABASE = "the cursor is not of this database; start from the first page";
7
7
  /** `databaseClosed` (closed): Any call after db.close(), and the calls still waiting when it closes. */
8
8
  export declare const DATABASE_CLOSED = "the database is closed";
9
+ /** `erasureRequestNotRead` (invalidValue): db.erasureRequest, given an object the SDK of this database did not read, such as a spread of one or an object of another database. */
10
+ export declare const ERASURE_REQUEST_NOT_READ = "erasureRequest takes an object this database read, as space.get, find or subscribe gives it, not a copy of one";
9
11
  /** `lockFieldDiffers` (lockOutOfDate): nc.open, on a model whose field has another type or other options in the lock, as when the lock was not built again after the field changed. */
10
12
  export declare const lockFieldDiffers: (collection: unknown, field: unknown) => string;
11
13
  /** `lockHasNoCollection` (lockOutOfDate): nc.open, on a model that names a collection the lock does not have, as when the lock was not built again after the collection was added. */
@@ -34,10 +36,14 @@ export declare const NOT_AQUERY_START_ONE = "not a query; start one from an inde
34
36
  export declare const notASafeInteger: (collection: unknown, field: unknown) => string;
35
37
  /** `notAView`: ncdb model build, on a model whose view is not declared with nc.view. */
36
38
  export declare const notAView: (collection: unknown, key: unknown) => string;
39
+ /** `notAnErasureRequest` (invalidValue): nc.erasureRequest, given a text that does not start with ncdb-erase-1: or is not unpadded base64url. */
40
+ export declare const NOT_AN_ERASURE_REQUEST = "the text is not an erasure request, which is ncdb-erase-1: followed by unpadded base64url";
37
41
  /** `notAnIndex`: ncdb model build, on a model whose index is not declared with nc.index. */
38
42
  export declare const notAnIndex: (collection: unknown, key: unknown) => string;
39
43
  /** `notAnInvitation` (invalidValue): nc.invitation, given a text that does not start with ncdb-invite-1: or is not unpadded base64url. */
40
44
  export declare const NOT_AN_INVITATION = "the text is not an invitation, which is ncdb-invite-1: followed by unpadded base64url";
45
+ /** `notSignOffs` (invalidValue): nc.signOffs, given a text that does not start with ncdb-sign-off-1: or is not unpadded base64url. */
46
+ export declare const NOT_SIGN_OFFS = "the text is not a sign-off, which is ncdb-sign-off-1: followed by unpadded base64url";
41
47
  /** `ownerTabClosed` (storageFailed): A call that changes the database, sent to the tab that owned it, when that tab ended before it answered (NOC-177). */
42
48
  export declare const OWNER_TAB_CLOSED = "the tab that held the database closed before it answered; the call may or may not have run";
43
49
  /** `reservedFieldType`: ncdb model build, on a model with nc.richText or nc.stream, whose field types a later RFC designs. */
package/dist/texts.js CHANGED
@@ -12,6 +12,8 @@ export const ANOTHER_LOCK = "another tab has this database open with another loc
12
12
  export const CURSOR_OF_ANOTHER_DATABASE = "the cursor is not of this database; start from the first page";
13
13
  /** `databaseClosed` (closed): Any call after db.close(), and the calls still waiting when it closes. */
14
14
  export const DATABASE_CLOSED = "the database is closed";
15
+ /** `erasureRequestNotRead` (invalidValue): db.erasureRequest, given an object the SDK of this database did not read, such as a spread of one or an object of another database. */
16
+ export const ERASURE_REQUEST_NOT_READ = "erasureRequest takes an object this database read, as space.get, find or subscribe gives it, not a copy of one";
15
17
  /** `lockFieldDiffers` (lockOutOfDate): nc.open, on a model whose field has another type or other options in the lock, as when the lock was not built again after the field changed. */
16
18
  export const lockFieldDiffers = (collection, field) => `model.lock.json is out of date: ${collection}.${field} differs from the lock in its type or options. Run ncdb model build.`;
17
19
  /** `lockHasNoCollection` (lockOutOfDate): nc.open, on a model that names a collection the lock does not have, as when the lock was not built again after the collection was added. */
@@ -40,10 +42,14 @@ export const NOT_AQUERY_START_ONE = "not a query; start one from an index, such
40
42
  export const notASafeInteger = (collection, field) => `${collection}.${field} takes a safe integer, between -(2^53 - 1) and 2^53 - 1`;
41
43
  /** `notAView`: ncdb model build, on a model whose view is not declared with nc.view. */
42
44
  export const notAView = (collection, key) => `${collection}.${key}: not a view; declare it with nc.view(...).`;
45
+ /** `notAnErasureRequest` (invalidValue): nc.erasureRequest, given a text that does not start with ncdb-erase-1: or is not unpadded base64url. */
46
+ export const NOT_AN_ERASURE_REQUEST = "the text is not an erasure request, which is ncdb-erase-1: followed by unpadded base64url";
43
47
  /** `notAnIndex`: ncdb model build, on a model whose index is not declared with nc.index. */
44
48
  export const notAnIndex = (collection, key) => `${collection}.${key}: not an index; declare it with nc.index(...).`;
45
49
  /** `notAnInvitation` (invalidValue): nc.invitation, given a text that does not start with ncdb-invite-1: or is not unpadded base64url. */
46
50
  export const NOT_AN_INVITATION = "the text is not an invitation, which is ncdb-invite-1: followed by unpadded base64url";
51
+ /** `notSignOffs` (invalidValue): nc.signOffs, given a text that does not start with ncdb-sign-off-1: or is not unpadded base64url. */
52
+ export const NOT_SIGN_OFFS = "the text is not a sign-off, which is ncdb-sign-off-1: followed by unpadded base64url";
47
53
  /** `ownerTabClosed` (storageFailed): A call that changes the database, sent to the tab that owned it, when that tab ended before it answered (NOC-177). */
48
54
  export const OWNER_TAB_CLOSED = "the tab that held the database closed before it answered; the call may or may not have run";
49
55
  /** `reservedFieldType`: ncdb model build, on a model with nc.richText or nc.stream, whose field types a later RFC designs. */
@@ -667,17 +667,17 @@ function __wbg_get_imports() {
667
667
  return ret;
668
668
  }, arguments); },
669
669
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
670
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 164, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
670
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
671
671
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_70735ce8c264698d___convert__closures_____invoke___wasm_bindgen_70735ce8c264698d___JsValue______true_);
672
672
  return ret;
673
673
  },
674
674
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
675
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 943, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
675
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 946, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
676
676
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_70735ce8c264698d___convert__closures_____invoke___wasm_bindgen_70735ce8c264698d___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_70735ce8c264698d___JsError___true_);
677
677
  return ret;
678
678
  },
679
679
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
680
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 164, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
680
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 167, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
681
681
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_70735ce8c264698d___convert__closures_____invoke___wasm_bindgen_70735ce8c264698d___JsValue______true__7);
682
682
  return ret;
683
683
  },
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocentraldb/sdk",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.2.0-alpha.1",
4
4
  "license": "MIT OR Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",