@enbox/protocols 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.
@@ -12,11 +12,11 @@ import { defineProtocol } from '@enbox/api';
12
12
  // Protocol definition
13
13
  // ---------------------------------------------------------------------------
14
14
  export const ConnectDefinition = {
15
- protocol: 'https://enbox.org/protocols/connect',
15
+ protocol: 'https://identity.foundation/protocols/connect',
16
16
  published: true,
17
17
  types: {
18
18
  wallet: {
19
- schema: 'https://enbox.org/schemas/connect/wallet',
19
+ schema: 'https://identity.foundation/schemas/connect/wallet',
20
20
  dataFormats: ['application/json'],
21
21
  },
22
22
  },
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/connect.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAqB5C,8EAA8E;AAC9E,sBAAsB;AACtB,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAI,qCAAqC;IACjD,SAAS,EAAG,IAAI;IAChB,KAAK,EAAO;QACV,MAAM,EAAE;YACN,MAAM,EAAQ,0CAA0C;YACxD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;KACF;IACD,SAAS,EAAE;QACT,MAAM,EAAE;YACN,QAAQ,EAAE;gBACR,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;aACjC;SACF;KACF;CACoC,CAAC;AAExC,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E,yDAAyD;AACzD,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAC3C,iBAAiB,EACjB,EAAsB,CACvB,CAAC"}
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/connect.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAqB5C,8EAA8E;AAC9E,sBAAsB;AACtB,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAI,+CAA+C;IAC3D,SAAS,EAAG,IAAI;IAChB,KAAK,EAAO;QACV,MAAM,EAAE;YACN,MAAM,EAAQ,oDAAoD;YAClE,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;KACF;IACD,SAAS,EAAE;QACT,MAAM,EAAE;YACN,QAAQ,EAAE;gBACR,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;aACjC;SACF;KACF;CACoC,CAAC;AAExC,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E,yDAAyD;AACzD,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAC3C,iBAAiB,EACjB,EAAsB,CACvB,CAAC"}
package/dist/esm/lists.js CHANGED
@@ -15,30 +15,30 @@ import { defineProtocol } from '@enbox/api';
15
15
  // Protocol definition
16
16
  // ---------------------------------------------------------------------------
17
17
  export const ListsDefinition = {
18
- protocol: 'https://enbox.org/protocols/lists',
18
+ protocol: 'https://identity.foundation/protocols/lists',
19
19
  published: false,
20
20
  uses: {
21
- social: 'https://enbox.org/protocols/social-graph',
21
+ social: 'https://identity.foundation/protocols/social-graph',
22
22
  },
23
23
  types: {
24
24
  list: {
25
- schema: 'https://enbox.org/schemas/lists/list',
25
+ schema: 'https://identity.foundation/schemas/lists/list',
26
26
  dataFormats: ['application/json'],
27
27
  },
28
28
  item: {
29
- schema: 'https://enbox.org/schemas/lists/item',
29
+ schema: 'https://identity.foundation/schemas/lists/item',
30
30
  dataFormats: ['application/json'],
31
31
  },
32
32
  folder: {
33
- schema: 'https://enbox.org/schemas/lists/folder',
33
+ schema: 'https://identity.foundation/schemas/lists/folder',
34
34
  dataFormats: ['application/json'],
35
35
  },
36
36
  collaborator: {
37
- schema: 'https://enbox.org/schemas/lists/collaborator',
37
+ schema: 'https://identity.foundation/schemas/lists/collaborator',
38
38
  dataFormats: ['application/json'],
39
39
  },
40
40
  comment: {
41
- schema: 'https://enbox.org/schemas/lists/comment',
41
+ schema: 'https://identity.foundation/schemas/lists/comment',
42
42
  dataFormats: ['application/json'],
43
43
  },
44
44
  },
@@ -80,16 +80,12 @@ export const ListsDefinition = {
80
80
  },
81
81
  },
82
82
  folder: {
83
- $actions: [],
84
83
  $tags: {
85
84
  $allowUndefinedTags: true,
86
85
  sortOrder: { type: 'number' },
87
86
  },
88
87
  folder: {
89
- $actions: [],
90
- folder: {
91
- $actions: [],
92
- },
88
+ folder: {},
93
89
  },
94
90
  },
95
91
  },
@@ -1 +1 @@
1
- {"version":3,"file":"lists.js","sourceRoot":"","sources":["../../src/lists.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAsD5C,8EAA8E;AAC9E,sBAAsB;AACtB,8EAA8E;AAE9E,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,QAAQ,EAAI,mCAAmC;IAC/C,SAAS,EAAG,KAAK;IACjB,IAAI,EAAQ;QACV,MAAM,EAAE,0CAA0C;KACnD;IACD,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,MAAM,EAAQ,sCAAsC;YACpD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,IAAI,EAAE;YACJ,MAAM,EAAQ,sCAAsC;YACpD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,MAAM,EAAE;YACN,MAAM,EAAQ,wCAAwC;YACtD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,YAAY,EAAE;YACZ,MAAM,EAAQ,8CAA8C;YAC5D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,OAAO,EAAE;YACP,MAAM,EAAQ,yCAAyC;YACvD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;KACF;I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MAAM,aAAa,GAAG,cAAc,CACzC,eAAe,EACf,EAAoB,CACrB,CAAC"}
@@ -12,24 +12,24 @@ import { defineProtocol } from '@enbox/api';
12
12
  // Protocol definition
13
13
  // ---------------------------------------------------------------------------
14
14
  export const PreferencesDefinition = {
15
- protocol: 'https://enbox.org/protocols/preferences',
15
+ protocol: 'https://identity.foundation/protocols/preferences',
16
16
  published: false,
17
17
  types: {
18
18
  theme: {
19
- schema: 'https://enbox.org/schemas/preferences/theme',
19
+ schema: 'https://identity.foundation/schemas/preferences/theme',
20
20
  dataFormats: ['application/json'],
21
21
  },
22
22
  locale: {
23
- schema: 'https://enbox.org/schemas/preferences/locale',
23
+ schema: 'https://identity.foundation/schemas/preferences/locale',
24
24
  dataFormats: ['application/json'],
25
25
  },
26
26
  privacy: {
27
- schema: 'https://enbox.org/schemas/preferences/privacy',
27
+ schema: 'https://identity.foundation/schemas/preferences/privacy',
28
28
  dataFormats: ['application/json'],
29
29
  encryptionRequired: true,
30
30
  },
31
31
  notification: {
32
- schema: 'https://enbox.org/schemas/preferences/notification',
32
+ schema: 'https://identity.foundation/schemas/preferences/notification',
33
33
  dataFormats: ['application/json'],
34
34
  },
35
35
  },
@@ -1 +1 @@
1
- {"version":3,"file":"preferences.js","sourceRoot":"","sources":["../../src/preferences.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAoD5C,8EAA8E;AAC9E,sBAAsB;AACtB,8EAA8E;AAE9E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAI,yCAAyC;IACrD,SAAS,EAAG,KAAK;IACjB,KAAK,EAAO;QACV,KAAK,EAAE;YACL,MAAM,EAAQ,6CAA6C;YAC3D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,MAAM,EAAE;YACN,MAAM,EAAQ,8CAA8C;YAC5D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,OAA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AAU,CAAC,kBAAkB,CAAC;YACzC,kBAAkB,EAAG,IAAI;SAC1B;QACD,YAAY,EAAE;YACZ,MAAM,EAAQ,8DAA8D;YAC5E,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE;SACb;QACD,MAAM,EAAE;YACN,QAAQ,EAAE,EAAE;SACb;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,EAAE;SACb;QACD,YAAY,EAAE;YACZ,QAAQ,EAAG,EAAE;YACb,KAAK,EAAM;gBACT,aAAa,EAAS,CAAC,SAAS,CAAC;gBACjC,mBAAmB,EAAG,KAAK;gBAC3B,OAAO,EAAe,EAAE,IAAI,EAAE,QAAQ,EAAE;aACzC;SACF;KACF;CACoC,CAAC;AAExC,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E,6DAA6D;AAC7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAC/C,qBAAqB,EACrB,EAA0B,CAC3B,CAAC"}
@@ -12,14 +12,14 @@ import { defineProtocol } from '@enbox/api';
12
12
  // Protocol definition
13
13
  // ---------------------------------------------------------------------------
14
14
  export const ProfileDefinition = {
15
- protocol: 'https://enbox.org/protocols/profile',
15
+ protocol: 'https://identity.foundation/protocols/profile',
16
16
  published: true,
17
17
  uses: {
18
- social: 'https://enbox.org/protocols/social-graph',
18
+ social: 'https://identity.foundation/protocols/social-graph',
19
19
  },
20
20
  types: {
21
21
  profile: {
22
- schema: 'https://enbox.org/schemas/profile/profile',
22
+ schema: 'https://identity.foundation/schemas/profile/profile',
23
23
  dataFormats: ['application/json'],
24
24
  },
25
25
  avatar: {
@@ -29,11 +29,11 @@ export const ProfileDefinition = {
29
29
  dataFormats: ['image/png', 'image/jpeg', 'image/gif', 'image/webp'],
30
30
  },
31
31
  link: {
32
- schema: 'https://enbox.org/schemas/profile/link',
32
+ schema: 'https://identity.foundation/schemas/profile/link',
33
33
  dataFormats: ['application/json'],
34
34
  },
35
35
  privateNote: {
36
- schema: 'https://enbox.org/schemas/profile/private-note',
36
+ schema: 'https://identity.foundation/schemas/profile/private-note',
37
37
  dataFormats: ['application/json'],
38
38
  },
39
39
  },
@@ -1 +1 @@
1
- {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/profile.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAgD5C,8EAA8E;AAC9E,sBAAsB;AACtB,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAI,qCAAqC;IACjD,SAAS,EAAG,IAAI;IAChB,IAAI,EAAQ;QACV,MAAM,EAAE,0CAA0C;KACnD;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,MAAM,EAAQ,2CAA2C;YACzD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,MAAM,EAAE;YACN,WAAW,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC;SACpE;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC;SACpE;QACD,IAAI,EAAE;YACJ,MAAM,EAAQ,wCAAwC;YACtD,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,WAAW,EAAE;YACX,MAAM,EAAQ,gDAAgD;YAC9D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE;YACP,KAAK,EAAM,EAAE,GAAG,EAAE,KAAK,EAAE;YACzB,QAAQ,EAAG;gBACT,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;aACjC;YACD,MAAM,EAAE;gBACN,KAAK,EAAM,EAAE,GAAG,EAAE,OAAO,EAAE;gBAC3B,QAAQ,EAAG;oB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---------------------------------------------------------------------------
14
14
  export const SocialGraphDefinition = {
15
- protocol: 'https://enbox.org/protocols/social-graph',
15
+ protocol: 'https://identity.foundation/protocols/social-graph',
16
16
  published: true,
17
17
  types: {
18
18
  friend: {
19
- schema: 'https://enbox.org/schemas/social-graph/friend',
19
+ schema: 'https://identity.foundation/schemas/social-graph/friend',
20
20
  dataFormats: ['application/json'],
21
21
  },
22
22
  block: {
23
- schema: 'https://enbox.org/schemas/social-graph/block',
23
+ schema: 'https://identity.foundation/schemas/social-graph/block',
24
24
  dataFormats: ['application/json'],
25
25
  },
26
26
  group: {
27
- schema: 'https://enbox.org/schemas/social-graph/group',
27
+ schema: 'https://identity.foundation/schemas/social-graph/group',
28
28
  dataFormats: ['application/json'],
29
29
  },
30
30
  member: {
31
- schema: 'https://enbox.org/schemas/social-graph/member',
31
+ schema: 'https://identity.foundation/schemas/social-graph/member',
32
32
  dataFormats: ['application/json'],
33
33
  },
34
34
  },
@@ -1 +1 @@
1
- {"version":3,"file":"social-graph.js","sourceRoot":"","sources":["../../src/social-graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AA4C5C,8EAA8E;AAC9E,sBAAsB;AACtB,8EAA8E;AAE9E,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAI,0CAA0C;IACtD,SAAS,EAAG,IAAI;IAChB,KAAK,EAAO;QACV,MAAM,EAAE;YACN,MAAM,EAAQ,+CAA+C;YAC7D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,KAAK,EAAE;YACL,MAAM,EAAQ,8CAA8C;YAC5D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,KAAK,EAAE;YACL,MAAM,EAAQ,8CAA8C;YAC5D,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,MAAM,EAAE;YACN,MAAM,EAAQ,+CAA+C;YAC7D,WAAW,EAAG,CAA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BAC7B,mBAAmB,EAAG,KAAK;gBAC3B,GAAG,EAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE;aACzC;SACF;QACD,KAAK,EAAE;YACL,QAAQ,EAAE;gBACR,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;aACjC;YACD,MAAM,EAAE;gBACN,QAAQ,EAAE;oBACR,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;iBACjC;gBACD,KAAK,EAAE;oBACL,aAAa,EAAS,CAAC,KAAK,CAAC;oBAC7B,mBAAmB,EAAG,KAAK;oBAC3B,GAAG,EAAmB,EAAE,IAAI,EAAE,QAAQ,EAAE;iBACzC;aACF;SACF;KACF;CACoC,CAAC;AAExC,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E,8DAA8D;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAC/C,qBAAqB,EACrB,EAA0B,CAC3B,CAAC"}
@@ -12,18 +12,18 @@ import { defineProtocol } from '@enbox/api';
12
12
  // Protocol definition
13
13
  // ---------------------------------------------------------------------------
14
14
  export const StatusDefinition = {
15
- protocol: 'https://enbox.org/protocols/status',
15
+ protocol: 'https://identity.foundation/protocols/status',
16
16
  published: true,
17
17
  uses: {
18
- social: 'https://enbox.org/protocols/social-graph',
18
+ social: 'https://identity.foundation/protocols/social-graph',
19
19
  },
20
20
  types: {
21
21
  status: {
22
- schema: 'https://enbox.org/schemas/status/status',
22
+ schema: 'https://identity.foundation/schemas/status/status',
23
23
  dataFormats: ['application/json'],
24
24
  },
25
25
  reaction: {
26
- schema: 'https://enbox.org/schemas/status/reaction',
26
+ schema: 'https://identity.foundation/schemas/status/reaction',
27
27
  dataFormats: ['application/json'],
28
28
  },
29
29
  },
@@ -1 +1 @@
1
- {"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG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QAAQ,EAAI,8CAA8C;IAC1D,SAAS,EAAG,IAAI;IAChB,IAAI,EAAQ;QACV,MAAM,EAAE,oDAAoD;KAC7D;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,MAAM,EAAQ,mDAAmD;YACjE,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;QACD,QAAQ,EAAE;YACR,MAAM,EAAQ,qDAAqD;YACnE,WAAW,EAAG,CAAC,kBAAkB,CAAC;SACnC;KACF;IACD,SAAS,EAAE;QACT,MAAM,EAAE;YACN,KAAK,EAAM,EAAE,GAAG,EAAE,IAAI,EAAE;YACxB,QAAQ,EAAG;gBACT,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;gBAChC,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE;aACzC;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE;oBACR,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE;iBAC7D;aACF;SACF;KACF;CACoC,CAAC;AAExC,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E,wDAAwD;AACxD,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAC1C,gBAAgB,EAChB,EAAqB,CACtB,CAAC"}
@@ -17,11 +17,11 @@ export type ConnectSchemaMap = {
17
17
  wallet: WalletData;
18
18
  };
19
19
  export declare const ConnectDefinition: {
20
- readonly protocol: "https://enbox.org/protocols/connect";
20
+ readonly protocol: "https://identity.foundation/protocols/connect";
21
21
  readonly published: true;
22
22
  readonly types: {
23
23
  readonly wallet: {
24
- readonly schema: "https://enbox.org/schemas/connect/wallet";
24
+ readonly schema: "https://identity.foundation/schemas/connect/wallet";
25
25
  readonly dataFormats: ["application/json"];
26
26
  };
27
27
  };
@@ -36,11 +36,11 @@ export declare const ConnectDefinition: {
36
36
  };
37
37
  /** Typed Connect protocol for use with `dwn.using()`. */
38
38
  export declare const ConnectProtocol: import("@enbox/api").TypedProtocol<{
39
- readonly protocol: "https://enbox.org/protocols/connect";
39
+ readonly protocol: "https://identity.foundation/protocols/connect";
40
40
  readonly published: true;
41
41
  readonly types: {
42
42
  readonly wallet: {
43
- readonly schema: "https://enbox.org/schemas/connect/wallet";
43
+ readonly schema: "https://identity.foundation/schemas/connect/wallet";
44
44
  readonly dataFormats: ["application/json"];
45
45
  };
46
46
  };
@@ -49,30 +49,30 @@ export type ListsSchemaMap = {
49
49
  comment: CommentData;
50
50
  };
51
51
  export declare const ListsDefinition: {
52
- readonly protocol: "https://enbox.org/protocols/lists";
52
+ readonly protocol: "https://identity.foundation/protocols/lists";
53
53
  readonly published: false;
54
54
  readonly uses: {
55
- readonly social: "https://enbox.org/protocols/social-graph";
55
+ readonly social: "https://identity.foundation/protocols/social-graph";
56
56
  };
57
57
  readonly types: {
58
58
  readonly list: {
59
- readonly schema: "https://enbox.org/schemas/lists/list";
59
+ readonly schema: "https://identity.foundation/schemas/lists/list";
60
60
  readonly dataFormats: ["application/json"];
61
61
  };
62
62
  readonly item: {
63
- readonly schema: "https://enbox.org/schemas/lists/item";
63
+ readonly schema: "https://identity.foundation/schemas/lists/item";
64
64
  readonly dataFormats: ["application/json"];
65
65
  };
66
66
  readonly folder: {
67
- readonly schema: "https://enbox.org/schemas/lists/folder";
67
+ readonly schema: "https://identity.foundation/schemas/lists/folder";
68
68
  readonly dataFormats: ["application/json"];
69
69
  };
70
70
  readonly collaborator: {
71
- readonly schema: "https://enbox.org/schemas/lists/collaborator";
71
+ readonly schema: "https://identity.foundation/schemas/lists/collaborator";
72
72
  readonly dataFormats: ["application/json"];
73
73
  };
74
74
  readonly comment: {
75
- readonly schema: "https://enbox.org/schemas/lists/comment";
75
+ readonly schema: "https://identity.foundation/schemas/lists/comment";
76
76
  readonly dataFormats: ["application/json"];
77
77
  };
78
78
  };
@@ -127,7 +127,6 @@ export declare const ListsDefinition: {
127
127
  };
128
128
  };
129
129
  readonly folder: {
130
- readonly $actions: [];
131
130
  readonly $tags: {
132
131
  readonly $allowUndefinedTags: true;
133
132
  readonly sortOrder: {
@@ -135,40 +134,37 @@ export declare const ListsDefinition: {
135
134
  };
136
135
  };
137
136
  readonly folder: {
138
- readonly $actions: [];
139
- readonly folder: {
140
- readonly $actions: [];
141
- };
137
+ readonly folder: {};
142
138
  };
143
139
  };
144
140
  };
145
141
  };
146
142
  /** Typed Lists protocol for use with `dwn.using()`. */
147
143
  export declare const ListsProtocol: import("@enbox/api").TypedProtocol<{
148
- readonly protocol: "https://enbox.org/protocols/lists";
144
+ readonly protocol: "https://identity.foundation/protocols/lists";
149
145
  readonly published: false;
150
146
  readonly uses: {
151
- readonly social: "https://enbox.org/protocols/social-graph";
147
+ readonly social: "https://identity.foundation/protocols/social-graph";
152
148
  };
153
149
  readonly types: {
154
150
  readonly list: {
155
- readonly schema: "https://enbox.org/schemas/lists/list";
151
+ readonly schema: "https://identity.foundation/schemas/lists/list";
156
152
  readonly dataFormats: ["application/json"];
157
153
  };
158
154
  readonly item: {
159
- readonly schema: "https://enbox.org/schemas/lists/item";
155
+ readonly schema: "https://identity.foundation/schemas/lists/item";
160
156
  readonly dataFormats: ["application/json"];
161
157
  };
162
158
  readonly folder: {
163
- readonly schema: "https://enbox.org/schemas/lists/folder";
159
+ readonly schema: "https://identity.foundation/schemas/lists/folder";
164
160
  readonly dataFormats: ["application/json"];
165
161
  };
166
162
  readonly collaborator: {
167
- readonly schema: "https://enbox.org/schemas/lists/collaborator";
163
+ readonly schema: "https://identity.foundation/schemas/lists/collaborator";
168
164
  readonly dataFormats: ["application/json"];
169
165
  };
170
166
  readonly comment: {
171
- readonly schema: "https://enbox.org/schemas/lists/comment";
167
+ readonly schema: "https://identity.foundation/schemas/lists/comment";
172
168
  readonly dataFormats: ["application/json"];
173
169
  };
174
170
  };
@@ -223,7 +219,6 @@ export declare const ListsProtocol: import("@enbox/api").TypedProtocol<{
223
219
  };
224
220
  };
225
221
  readonly folder: {
226
- readonly $actions: [];
227
222
  readonly $tags: {
228
223
  readonly $allowUndefinedTags: true;
229
224
  readonly sortOrder: {
@@ -231,10 +226,7 @@ export declare const ListsProtocol: import("@enbox/api").TypedProtocol<{
231
226
  };
232
227
  };
233
228
  readonly folder: {
234
- readonly $actions: [];
235
- readonly folder: {
236
- readonly $actions: [];
237
- };
229
+ readonly folder: {};
238
230
  };
239
231
  };
240
232
  };
@@ -1 +1 @@
1
- {"version":3,"file":"lists.d.ts","sourceRoot":"","sources":["../../src/lists.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAUH,oCAAoC;AACpC,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;CACvD,CAAC;AAEF,kCAAkC;AAClC,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,sCAAsC;AACtC,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,4CAA4C;AAC5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,+CAA+C;AAC/C,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAM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EF,4CAA4C;AAC5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,+CAA+C;AAC/C,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAMF,gEAAgE;AAChE,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,UAAU,CAAC;IACnB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EW,CAAC;AAMxC,uDAAuD;AACvD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGzB,CAAC"}
@@ -45,24 +45,24 @@ export type PreferencesSchemaMap = {
45
45
  notification: NotificationData;
46
46
  };
47
47
  export declare const PreferencesDefinition: {
48
- readonly protocol: "https://enbox.org/protocols/preferences";
48
+ readonly protocol: "https://identity.foundation/protocols/preferences";
49
49
  readonly published: false;
50
50
  readonly types: {
51
51
  readonly theme: {
52
- readonly schema: "https://enbox.org/schemas/preferences/theme";
52
+ readonly schema: "https://identity.foundation/schemas/preferences/theme";
53
53
  readonly dataFormats: ["application/json"];
54
54
  };
55
55
  readonly locale: {
56
- readonly schema: "https://enbox.org/schemas/preferences/locale";
56
+ readonly schema: "https://identity.foundation/schemas/preferences/locale";
57
57
  readonly dataFormats: ["application/json"];
58
58
  };
59
59
  readonly privacy: {
60
- readonly schema: "https://enbox.org/schemas/preferences/privacy";
60
+ readonly schema: "https://identity.foundation/schemas/preferences/privacy";
61
61
  readonly dataFormats: ["application/json"];
62
62
  readonly encryptionRequired: true;
63
63
  };
64
64
  readonly notification: {
65
- readonly schema: "https://enbox.org/schemas/preferences/notification";
65
+ readonly schema: "https://identity.foundation/schemas/preferences/notification";
66
66
  readonly dataFormats: ["application/json"];
67
67
  };
68
68
  };
@@ -90,24 +90,24 @@ export declare const PreferencesDefinition: {
90
90
  };
91
91
  /** Typed Preferences protocol for use with `dwn.using()`. */
92
92
  export declare const PreferencesProtocol: import("@enbox/api").TypedProtocol<{
93
- readonly protocol: "https://enbox.org/protocols/preferences";
93
+ readonly protocol: "https://identity.foundation/protocols/preferences";
94
94
  readonly published: false;
95
95
  readonly types: {
96
96
  readonly theme: {
97
- readonly schema: "https://enbox.org/schemas/preferences/theme";
97
+ readonly schema: "https://identity.foundation/schemas/preferences/theme";
98
98
  readonly dataFormats: ["application/json"];
99
99
  };
100
100
  readonly locale: {
101
- readonly schema: "https://enbox.org/schemas/preferences/locale";
101
+ readonly schema: "https://identity.foundation/schemas/preferences/locale";
102
102
  readonly dataFormats: ["application/json"];
103
103
  };
104
104
  readonly privacy: {
105
- readonly schema: "https://enbox.org/schemas/preferences/privacy";
105
+ readonly schema: "https://identity.foundation/schemas/preferences/privacy";
106
106
  readonly dataFormats: ["application/json"];
107
107
  readonly encryptionRequired: true;
108
108
  };
109
109
  readonly notification: {
110
- readonly schema: "https://enbox.org/schemas/preferences/notification";
110
+ readonly schema: "https://identity.foundation/schemas/preferences/notification";
111
111
  readonly dataFormats: ["application/json"];
112
112
  };
113
113
  };
@@ -40,14 +40,14 @@ export type ProfileSchemaMap = {
40
40
  privateNote: PrivateNoteData;
41
41
  };
42
42
  export declare const ProfileDefinition: {
43
- readonly protocol: "https://enbox.org/protocols/profile";
43
+ readonly protocol: "https://identity.foundation/protocols/profile";
44
44
  readonly published: true;
45
45
  readonly uses: {
46
- readonly social: "https://enbox.org/protocols/social-graph";
46
+ readonly social: "https://identity.foundation/protocols/social-graph";
47
47
  };
48
48
  readonly types: {
49
49
  readonly profile: {
50
- readonly schema: "https://enbox.org/schemas/profile/profile";
50
+ readonly schema: "https://identity.foundation/schemas/profile/profile";
51
51
  readonly dataFormats: ["application/json"];
52
52
  };
53
53
  readonly avatar: {
@@ -57,11 +57,11 @@ export declare const ProfileDefinition: {
57
57
  readonly dataFormats: ["image/png", "image/jpeg", "image/gif", "image/webp"];
58
58
  };
59
59
  readonly link: {
60
- readonly schema: "https://enbox.org/schemas/profile/link";
60
+ readonly schema: "https://identity.foundation/schemas/profile/link";
61
61
  readonly dataFormats: ["application/json"];
62
62
  };
63
63
  readonly privateNote: {
64
- readonly schema: "https://enbox.org/schemas/profile/private-note";
64
+ readonly schema: "https://identity.foundation/schemas/profile/private-note";
65
65
  readonly dataFormats: ["application/json"];
66
66
  };
67
67
  };
@@ -109,14 +109,14 @@ export declare const ProfileDefinition: {
109
109
  };
110
110
  /** Typed Profile protocol for use with `dwn.using()`. */
111
111
  export declare const ProfileProtocol: import("@enbox/api").TypedProtocol<{
112
- readonly protocol: "https://enbox.org/protocols/profile";
112
+ readonly protocol: "https://identity.foundation/protocols/profile";
113
113
  readonly published: true;
114
114
  readonly uses: {
115
- readonly social: "https://enbox.org/protocols/social-graph";
115
+ readonly social: "https://identity.foundation/protocols/social-graph";
116
116
  };
117
117
  readonly types: {
118
118
  readonly profile: {
119
- readonly schema: "https://enbox.org/schemas/profile/profile";
119
+ readonly schema: "https://identity.foundation/schemas/profile/profile";
120
120
  readonly dataFormats: ["application/json"];
121
121
  };
122
122
  readonly avatar: {
@@ -126,11 +126,11 @@ export declare const ProfileProtocol: import("@enbox/api").TypedProtocol<{
126
126
  readonly dataFormats: ["image/png", "image/jpeg", "image/gif", "image/webp"];
127
127
  };
128
128
  readonly link: {
129
- readonly schema: "https://enbox.org/schemas/profile/link";
129
+ readonly schema: "https://identity.foundation/schemas/profile/link";
130
130
  readonly dataFormats: ["application/json"];
131
131
  };
132
132
  readonly privateNote: {
133
- readonly schema: "https://enbox.org/schemas/profile/private-note";
133
+ readonly schema: "https://identity.foundation/schemas/profile/private-note";
134
134
  readonly dataFormats: ["application/json"];
135
135
  };
136
136
  };
@@ -37,23 +37,23 @@ export type SocialGraphSchemaMap = {
37
37
  member: MemberData;
38
38
  };
39
39
  export declare const SocialGraphDefinition: {
40
- readonly protocol: "https://enbox.org/protocols/social-graph";
40
+ readonly protocol: "https://identity.foundation/protocols/social-graph";
41
41
  readonly published: true;
42
42
  readonly types: {
43
43
  readonly friend: {
44
- readonly schema: "https://enbox.org/schemas/social-graph/friend";
44
+ readonly schema: "https://identity.foundation/schemas/social-graph/friend";
45
45
  readonly dataFormats: ["application/json"];
46
46
  };
47
47
  readonly block: {
48
- readonly schema: "https://enbox.org/schemas/social-graph/block";
48
+ readonly schema: "https://identity.foundation/schemas/social-graph/block";
49
49
  readonly dataFormats: ["application/json"];
50
50
  };
51
51
  readonly group: {
52
- readonly schema: "https://enbox.org/schemas/social-graph/group";
52
+ readonly schema: "https://identity.foundation/schemas/social-graph/group";
53
53
  readonly dataFormats: ["application/json"];
54
54
  };
55
55
  readonly member: {
56
- readonly schema: "https://enbox.org/schemas/social-graph/member";
56
+ readonly schema: "https://identity.foundation/schemas/social-graph/member";
57
57
  readonly dataFormats: ["application/json"];
58
58
  };
59
59
  };
@@ -112,23 +112,23 @@ export declare const SocialGraphDefinition: {
112
112
  };
113
113
  /** Typed Social Graph protocol for use with `dwn.using()`. */
114
114
  export declare const SocialGraphProtocol: import("@enbox/api").TypedProtocol<{
115
- readonly protocol: "https://enbox.org/protocols/social-graph";
115
+ readonly protocol: "https://identity.foundation/protocols/social-graph";
116
116
  readonly published: true;
117
117
  readonly types: {
118
118
  readonly friend: {
119
- readonly schema: "https://enbox.org/schemas/social-graph/friend";
119
+ readonly schema: "https://identity.foundation/schemas/social-graph/friend";
120
120
  readonly dataFormats: ["application/json"];
121
121
  };
122
122
  readonly block: {
123
- readonly schema: "https://enbox.org/schemas/social-graph/block";
123
+ readonly schema: "https://identity.foundation/schemas/social-graph/block";
124
124
  readonly dataFormats: ["application/json"];
125
125
  };
126
126
  readonly group: {
127
- readonly schema: "https://enbox.org/schemas/social-graph/group";
127
+ readonly schema: "https://identity.foundation/schemas/social-graph/group";
128
128
  readonly dataFormats: ["application/json"];
129
129
  };
130
130
  readonly member: {
131
- readonly schema: "https://enbox.org/schemas/social-graph/member";
131
+ readonly schema: "https://identity.foundation/schemas/social-graph/member";
132
132
  readonly dataFormats: ["application/json"];
133
133
  };
134
134
  };
@@ -24,18 +24,18 @@ export type StatusSchemaMap = {
24
24
  reaction: ReactionData;
25
25
  };
26
26
  export declare const StatusDefinition: {
27
- readonly protocol: "https://enbox.org/protocols/status";
27
+ readonly protocol: "https://identity.foundation/protocols/status";
28
28
  readonly published: true;
29
29
  readonly uses: {
30
- readonly social: "https://enbox.org/protocols/social-graph";
30
+ readonly social: "https://identity.foundation/protocols/social-graph";
31
31
  };
32
32
  readonly types: {
33
33
  readonly status: {
34
- readonly schema: "https://enbox.org/schemas/status/status";
34
+ readonly schema: "https://identity.foundation/schemas/status/status";
35
35
  readonly dataFormats: ["application/json"];
36
36
  };
37
37
  readonly reaction: {
38
- readonly schema: "https://enbox.org/schemas/status/reaction";
38
+ readonly schema: "https://identity.foundation/schemas/status/reaction";
39
39
  readonly dataFormats: ["application/json"];
40
40
  };
41
41
  };
@@ -62,18 +62,18 @@ export declare const StatusDefinition: {
62
62
  };
63
63
  /** Typed Status protocol for use with `dwn.using()`. */
64
64
  export declare const StatusProtocol: import("@enbox/api").TypedProtocol<{
65
- readonly protocol: "https://enbox.org/protocols/status";
65
+ readonly protocol: "https://identity.foundation/protocols/status";
66
66
  readonly published: true;
67
67
  readonly uses: {
68
- readonly social: "https://enbox.org/protocols/social-graph";
68
+ readonly social: "https://identity.foundation/protocols/social-graph";
69
69
  };
70
70
  readonly types: {
71
71
  readonly status: {
72
- readonly schema: "https://enbox.org/schemas/status/status";
72
+ readonly schema: "https://identity.foundation/schemas/status/status";
73
73
  readonly dataFormats: ["application/json"];
74
74
  };
75
75
  readonly reaction: {
76
- readonly schema: "https://enbox.org/schemas/status/reaction";
76
+ readonly schema: "https://identity.foundation/schemas/status/reaction";
77
77
  readonly dataFormats: ["application/json"];
78
78
  };
79
79
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enbox/protocols",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Standard reusable DWN protocol definitions for the Enbox ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
@@ -46,8 +46,8 @@
46
46
  "bun": ">=1.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "@enbox/api": "0.1.1",
50
- "@enbox/dwn-sdk-js": "0.0.6"
49
+ "@enbox/api": "0.2.0",
50
+ "@enbox/dwn-sdk-js": "0.0.7"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@typescript-eslint/eslint-plugin": "8.32.1",
package/src/connect.ts CHANGED
@@ -36,11 +36,11 @@ export type ConnectSchemaMap = {
36
36
  // ---------------------------------------------------------------------------
37
37
 
38
38
  export const ConnectDefinition = {
39
- protocol : 'https://enbox.org/protocols/connect',
39
+ protocol : 'https://identity.foundation/protocols/connect',
40
40
  published : true,
41
41
  types : {
42
42
  wallet: {
43
- schema : 'https://enbox.org/schemas/connect/wallet',
43
+ schema : 'https://identity.foundation/schemas/connect/wallet',
44
44
  dataFormats : ['application/json'],
45
45
  },
46
46
  },
package/src/lists.ts CHANGED
@@ -72,30 +72,30 @@ export type ListsSchemaMap = {
72
72
  // ---------------------------------------------------------------------------
73
73
 
74
74
  export const ListsDefinition = {
75
- protocol : 'https://enbox.org/protocols/lists',
75
+ protocol : 'https://identity.foundation/protocols/lists',
76
76
  published : false,
77
77
  uses : {
78
- social: 'https://enbox.org/protocols/social-graph',
78
+ social: 'https://identity.foundation/protocols/social-graph',
79
79
  },
80
80
  types: {
81
81
  list: {
82
- schema : 'https://enbox.org/schemas/lists/list',
82
+ schema : 'https://identity.foundation/schemas/lists/list',
83
83
  dataFormats : ['application/json'],
84
84
  },
85
85
  item: {
86
- schema : 'https://enbox.org/schemas/lists/item',
86
+ schema : 'https://identity.foundation/schemas/lists/item',
87
87
  dataFormats : ['application/json'],
88
88
  },
89
89
  folder: {
90
- schema : 'https://enbox.org/schemas/lists/folder',
90
+ schema : 'https://identity.foundation/schemas/lists/folder',
91
91
  dataFormats : ['application/json'],
92
92
  },
93
93
  collaborator: {
94
- schema : 'https://enbox.org/schemas/lists/collaborator',
94
+ schema : 'https://identity.foundation/schemas/lists/collaborator',
95
95
  dataFormats : ['application/json'],
96
96
  },
97
97
  comment: {
98
- schema : 'https://enbox.org/schemas/lists/comment',
98
+ schema : 'https://identity.foundation/schemas/lists/comment',
99
99
  dataFormats : ['application/json'],
100
100
  },
101
101
  },
@@ -137,16 +137,12 @@ export const ListsDefinition = {
137
137
  },
138
138
  },
139
139
  folder: {
140
- $actions : [],
141
- $tags : {
140
+ $tags: {
142
141
  $allowUndefinedTags : true,
143
142
  sortOrder : { type: 'number' },
144
143
  },
145
144
  folder: {
146
- $actions : [],
147
- folder : {
148
- $actions: [],
149
- },
145
+ folder: {},
150
146
  },
151
147
  },
152
148
  },
@@ -67,24 +67,24 @@ export type PreferencesSchemaMap = {
67
67
  // ---------------------------------------------------------------------------
68
68
 
69
69
  export const PreferencesDefinition = {
70
- protocol : 'https://enbox.org/protocols/preferences',
70
+ protocol : 'https://identity.foundation/protocols/preferences',
71
71
  published : false,
72
72
  types : {
73
73
  theme: {
74
- schema : 'https://enbox.org/schemas/preferences/theme',
74
+ schema : 'https://identity.foundation/schemas/preferences/theme',
75
75
  dataFormats : ['application/json'],
76
76
  },
77
77
  locale: {
78
- schema : 'https://enbox.org/schemas/preferences/locale',
78
+ schema : 'https://identity.foundation/schemas/preferences/locale',
79
79
  dataFormats : ['application/json'],
80
80
  },
81
81
  privacy: {
82
- schema : 'https://enbox.org/schemas/preferences/privacy',
82
+ schema : 'https://identity.foundation/schemas/preferences/privacy',
83
83
  dataFormats : ['application/json'],
84
84
  encryptionRequired : true,
85
85
  },
86
86
  notification: {
87
- schema : 'https://enbox.org/schemas/preferences/notification',
87
+ schema : 'https://identity.foundation/schemas/preferences/notification',
88
88
  dataFormats : ['application/json'],
89
89
  },
90
90
  },
package/src/profile.ts CHANGED
@@ -63,14 +63,14 @@ export type ProfileSchemaMap = {
63
63
  // ---------------------------------------------------------------------------
64
64
 
65
65
  export const ProfileDefinition = {
66
- protocol : 'https://enbox.org/protocols/profile',
66
+ protocol : 'https://identity.foundation/protocols/profile',
67
67
  published : true,
68
68
  uses : {
69
- social: 'https://enbox.org/protocols/social-graph',
69
+ social: 'https://identity.foundation/protocols/social-graph',
70
70
  },
71
71
  types: {
72
72
  profile: {
73
- schema : 'https://enbox.org/schemas/profile/profile',
73
+ schema : 'https://identity.foundation/schemas/profile/profile',
74
74
  dataFormats : ['application/json'],
75
75
  },
76
76
  avatar: {
@@ -80,11 +80,11 @@ export const ProfileDefinition = {
80
80
  dataFormats: ['image/png', 'image/jpeg', 'image/gif', 'image/webp'],
81
81
  },
82
82
  link: {
83
- schema : 'https://enbox.org/schemas/profile/link',
83
+ schema : 'https://identity.foundation/schemas/profile/link',
84
84
  dataFormats : ['application/json'],
85
85
  },
86
86
  privateNote: {
87
- schema : 'https://enbox.org/schemas/profile/private-note',
87
+ schema : 'https://identity.foundation/schemas/profile/private-note',
88
88
  dataFormats : ['application/json'],
89
89
  },
90
90
  },
@@ -59,23 +59,23 @@ export type SocialGraphSchemaMap = {
59
59
  // ---------------------------------------------------------------------------
60
60
 
61
61
  export const SocialGraphDefinition = {
62
- protocol : 'https://enbox.org/protocols/social-graph',
62
+ protocol : 'https://identity.foundation/protocols/social-graph',
63
63
  published : true,
64
64
  types : {
65
65
  friend: {
66
- schema : 'https://enbox.org/schemas/social-graph/friend',
66
+ schema : 'https://identity.foundation/schemas/social-graph/friend',
67
67
  dataFormats : ['application/json'],
68
68
  },
69
69
  block: {
70
- schema : 'https://enbox.org/schemas/social-graph/block',
70
+ schema : 'https://identity.foundation/schemas/social-graph/block',
71
71
  dataFormats : ['application/json'],
72
72
  },
73
73
  group: {
74
- schema : 'https://enbox.org/schemas/social-graph/group',
74
+ schema : 'https://identity.foundation/schemas/social-graph/group',
75
75
  dataFormats : ['application/json'],
76
76
  },
77
77
  member: {
78
- schema : 'https://enbox.org/schemas/social-graph/member',
78
+ schema : 'https://identity.foundation/schemas/social-graph/member',
79
79
  dataFormats : ['application/json'],
80
80
  },
81
81
  },
package/src/status.ts CHANGED
@@ -44,18 +44,18 @@ export type StatusSchemaMap = {
44
44
  // ---------------------------------------------------------------------------
45
45
 
46
46
  export const StatusDefinition = {
47
- protocol : 'https://enbox.org/protocols/status',
47
+ protocol : 'https://identity.foundation/protocols/status',
48
48
  published : true,
49
49
  uses : {
50
- social: 'https://enbox.org/protocols/social-graph',
50
+ social: 'https://identity.foundation/protocols/social-graph',
51
51
  },
52
52
  types: {
53
53
  status: {
54
- schema : 'https://enbox.org/schemas/status/status',
54
+ schema : 'https://identity.foundation/schemas/status/status',
55
55
  dataFormats : ['application/json'],
56
56
  },
57
57
  reaction: {
58
- schema : 'https://enbox.org/schemas/status/reaction',
58
+ schema : 'https://identity.foundation/schemas/status/reaction',
59
59
  dataFormats : ['application/json'],
60
60
  },
61
61
  },