@digitaldefiance/ecies-lib 1.1.10 → 1.1.12

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
@@ -782,6 +782,14 @@ MIT © Digital Defiance
782
782
 
783
783
  ## ChangeLog
784
784
 
785
+ ### v1.1.12
786
+
787
+ - Add MemberTypeValue
788
+
789
+ ### v1.1.11
790
+
791
+ - Update i18n/ecies
792
+
785
793
  ### v1.1.10
786
794
 
787
795
  - Update i18n
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * Types of members in the system.
3
- * In the Owner Free Filesystem (OFF), members can be:
4
3
  * 1. Admin - System administrators
5
4
  * 2. System - System services and automated processes
6
5
  * 3. User - Regular users
7
- * 4. Anonymous - Used for data that don't need a real owner
6
+ * 4. Anonymous - Users who aren't logged in and un-owned data
8
7
  */
9
8
  export declare enum MemberType {
10
9
  Admin = "Admin",
@@ -12,5 +11,11 @@ export declare enum MemberType {
12
11
  User = "User",
13
12
  Anonymous = "Anonymous"
14
13
  }
14
+ /**
15
+ * String union type for MemberType values.
16
+ * Use this type when you need to extend with custom member types:
17
+ * type CustomMemberType = MemberTypeValue | 'CustomType';
18
+ */
19
+ export type MemberTypeValue = `${MemberType}`;
15
20
  export default MemberType;
16
21
  //# sourceMappingURL=member-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"member-type.d.ts","sourceRoot":"","sources":["../../src/enumerations/member-type.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,SAAS,cAAc;CACxB;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"member-type.d.ts","sourceRoot":"","sources":["../../src/enumerations/member-type.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,SAAS,cAAc;CACxB;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,UAAU,EAAE,CAAC;AAE9C,eAAe,UAAU,CAAC"}
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * Types of members in the system.
3
- * In the Owner Free Filesystem (OFF), members can be:
4
3
  * 1. Admin - System administrators
5
4
  * 2. System - System services and automated processes
6
5
  * 3. User - Regular users
7
- * 4. Anonymous - Used for data that don't need a real owner
6
+ * 4. Anonymous - Users who aren't logged in and un-owned data
8
7
  */
9
8
  export var MemberType;
10
9
  (function (MemberType) {
@@ -1 +1 @@
1
- {"version":3,"file":"member-type.js","sourceRoot":"","sources":["../../src/enumerations/member-type.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,qCAAuB,CAAA;AACzB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"member-type.js","sourceRoot":"","sources":["../../src/enumerations/member-type.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,qCAAuB,CAAA;AACzB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AASD,eAAe,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitaldefiance/ecies-lib",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Digital Defiance ECIES Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "license": "MIT",
52
52
  "packageManager": "yarn@4.10.3",
53
53
  "dependencies": {
54
- "@digitaldefiance/i18n-lib": "1.3.3",
54
+ "@digitaldefiance/i18n-lib": "1.3.4",
55
55
  "@ethereumjs/wallet": "^10.0.0",
56
56
  "@noble/curves": "^2.0.1",
57
57
  "@noble/hashes": "^2.0.1",