@twin.org/identity-authentication 0.0.3-next.7 → 0.0.3-next.8

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 +1 @@
1
- {"version":3,"file":"IIdentityAuthenticationActionRequest.js","sourceRoot":"","sources":["../../../src/models/IIdentityAuthenticationActionRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IdentityAuthenticationContexts } from \"./identityAuthenticationContexts.js\";\nimport type { IdentityAuthenticationTypes } from \"./identityAuthenticationTypes.js\";\n\n/**\n * The JSON-LD definition for a action request.\n */\nexport interface IIdentityAuthenticationActionRequest {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": typeof IdentityAuthenticationContexts.ContextRoot;\n\n\t/**\n\t * The type of the request.\n\t */\n\ttype: typeof IdentityAuthenticationTypes.ActionRequest;\n\n\t/**\n\t * The identity of the entity making the request.\n\t */\n\trequester: string;\n\n\t/**\n\t * The action which can be checked to make sure it matches the specific operation.\n\t */\n\taction?: string;\n\n\t/**\n\t * Additional data for the action request, can be customised per request.\n\t */\n\tdata?: unknown;\n}\n"]}
1
+ {"version":3,"file":"IIdentityAuthenticationActionRequest.js","sourceRoot":"","sources":["../../../src/models/IIdentityAuthenticationActionRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IdentityAuthenticationContexts } from \"./identityAuthenticationContexts.js\";\nimport type { IdentityAuthenticationTypes } from \"./identityAuthenticationTypes.js\";\n\n/**\n * The JSON-LD definition for a action request.\n */\nexport interface IIdentityAuthenticationActionRequest {\n\t/**\n\t * The JSON-LD context.\n\t */\n\t\"@context\": typeof IdentityAuthenticationContexts.Namespace;\n\n\t/**\n\t * The type of the request.\n\t */\n\ttype: typeof IdentityAuthenticationTypes.ActionRequest;\n\n\t/**\n\t * The identity of the entity making the request.\n\t */\n\trequester: string;\n\n\t/**\n\t * The action which can be checked to make sure it matches the specific operation.\n\t */\n\taction?: string;\n\n\t/**\n\t * Additional data for the action request, can be customised per request.\n\t */\n\tdata?: unknown;\n}\n"]}
@@ -6,8 +6,8 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const IdentityAuthenticationContexts = {
8
8
  /**
9
- * The Identity Authentication LD Context.
9
+ * The Namespace.
10
10
  */
11
- ContextRoot: "https://schema.twindev.org/identity-authentication"
11
+ Namespace: "https://schema.twindev.org/identity-authentication"
12
12
  };
13
13
  //# sourceMappingURL=identityAuthenticationContexts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"identityAuthenticationContexts.js","sourceRoot":"","sources":["../../../src/models/identityAuthenticationContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC7C;;OAEG;IACH,WAAW,EAAE,oDAAoD;CACxD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning Identity Authentication.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const IdentityAuthenticationContexts = {\n\t/**\n\t * The Identity Authentication LD Context.\n\t */\n\tContextRoot: \"https://schema.twindev.org/identity-authentication\"\n} as const;\n\n/**\n * The LD Contexts concerning Identity Authentication.\n */\nexport type IdentityAuthenticationContexts =\n\t(typeof IdentityAuthenticationContexts)[keyof typeof IdentityAuthenticationContexts];\n"]}
1
+ {"version":3,"file":"identityAuthenticationContexts.js","sourceRoot":"","sources":["../../../src/models/identityAuthenticationContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC7C;;OAEG;IACH,SAAS,EAAE,oDAAoD;CACtD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning Identity Authentication.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const IdentityAuthenticationContexts = {\n\t/**\n\t * The Namespace.\n\t */\n\tNamespace: \"https://schema.twindev.org/identity-authentication\"\n} as const;\n\n/**\n * The LD Contexts concerning Identity Authentication.\n */\nexport type IdentityAuthenticationContexts =\n\t(typeof IdentityAuthenticationContexts)[keyof typeof IdentityAuthenticationContexts];\n"]}
@@ -7,7 +7,7 @@ export interface IIdentityAuthenticationActionRequest {
7
7
  /**
8
8
  * The JSON-LD context.
9
9
  */
10
- "@context": typeof IdentityAuthenticationContexts.ContextRoot;
10
+ "@context": typeof IdentityAuthenticationContexts.Namespace;
11
11
  /**
12
12
  * The type of the request.
13
13
  */
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export declare const IdentityAuthenticationContexts: {
5
5
  /**
6
- * The Identity Authentication LD Context.
6
+ * The Namespace.
7
7
  */
8
- readonly ContextRoot: "https://schema.twindev.org/identity-authentication";
8
+ readonly Namespace: "https://schema.twindev.org/identity-authentication";
9
9
  };
10
10
  /**
11
11
  * The LD Contexts concerning Identity Authentication.
package/docs/changelog.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.8](https://github.com/twinfoundation/identity/compare/identity-authentication-v0.0.3-next.7...identity-authentication-v0.0.3-next.8) (2026-01-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * update namespaces and contexts ([#90](https://github.com/twinfoundation/identity/issues/90)) ([0c34d64](https://github.com/twinfoundation/identity/commit/0c34d64add8cca77856fa2d0357e774d72fbbfc1))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/identity-models bumped from 0.0.3-next.7 to 0.0.3-next.8
16
+ * devDependencies
17
+ * @twin.org/identity-connector-entity-storage bumped from 0.0.3-next.7 to 0.0.3-next.8
18
+
3
19
  ## [0.0.3-next.7](https://github.com/twinfoundation/identity/compare/identity-authentication-v0.0.3-next.6...identity-authentication-v0.0.3-next.7) (2026-01-13)
4
20
 
5
21
 
@@ -6,8 +6,8 @@ The LD Contexts concerning Identity Authentication.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### ContextRoot
9
+ ### Namespace
10
10
 
11
- > `readonly` **ContextRoot**: `"https://schema.twindev.org/identity-authentication"` = `"https://schema.twindev.org/identity-authentication"`
11
+ > `readonly` **Namespace**: `"https://schema.twindev.org/identity-authentication"` = `"https://schema.twindev.org/identity-authentication"`
12
12
 
13
- The Identity Authentication LD Context.
13
+ The Namespace.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/identity-authentication",
3
- "version": "0.0.3-next.7",
3
+ "version": "0.0.3-next.8",
4
4
  "description": "Authentication components implemented using identity",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/crypto": "next",
21
21
  "@twin.org/data-json-ld": "next",
22
- "@twin.org/identity-models": "0.0.3-next.7",
22
+ "@twin.org/identity-models": "0.0.3-next.8",
23
23
  "@twin.org/standards-w3c-did": "next",
24
24
  "@twin.org/web": "next"
25
25
  },