@digitaldefiance/node-ecies-lib 4.16.20 → 4.16.27
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 +64 -2
- package/package.json +4 -4
- package/src/builders/member-builder.d.ts.map +1 -1
- package/src/builders/member-builder.js +3 -3
- package/src/builders/member-builder.js.map +1 -1
- package/src/constants.d.ts.map +1 -1
- package/src/constants.js +1 -1
- package/src/constants.js.map +1 -1
- package/src/errors/voting.js +2 -2
- package/src/errors/voting.js.map +1 -1
- package/src/i18n/ecies-i18n-factory.d.ts +24 -15
- package/src/i18n/ecies-i18n-factory.d.ts.map +1 -1
- package/src/i18n/ecies-i18n-factory.js +43 -67
- package/src/i18n/ecies-i18n-factory.js.map +1 -1
- package/src/i18n/node-ecies-i18n-setup.d.ts +38 -7
- package/src/i18n/node-ecies-i18n-setup.d.ts.map +1 -1
- package/src/i18n/node-ecies-i18n-setup.js +121 -33
- package/src/i18n/node-ecies-i18n-setup.js.map +1 -1
- package/src/lib/guid.d.ts +307 -18
- package/src/lib/guid.d.ts.map +1 -1
- package/src/lib/guid.js +520 -55
- package/src/lib/guid.js.map +1 -1
- package/src/lib/id-providers/guidv4-provider.js +4 -4
- package/src/lib/id-providers/guidv4-provider.js.map +1 -1
- package/src/services/aes-gcm.d.ts.map +1 -1
- package/src/services/aes-gcm.js +9 -9
- package/src/services/aes-gcm.js.map +1 -1
- package/src/services/ecies/crypto-core.d.ts.map +1 -1
- package/src/services/ecies/crypto-core.js +5 -4
- package/src/services/ecies/crypto-core.js.map +1 -1
- package/src/services/ecies/service.d.ts.map +1 -1
- package/src/services/ecies/service.js +9 -8
- package/src/services/ecies/service.js.map +1 -1
- package/src/services/ecies/single-recipient.d.ts.map +1 -1
- package/src/services/ecies/single-recipient.js +9 -8
- package/src/services/ecies/single-recipient.js.map +1 -1
- package/src/services/encryption-stream.d.ts.map +1 -1
- package/src/services/encryption-stream.js +20 -20
- package/src/services/encryption-stream.js.map +1 -1
- package/src/utils.d.ts.map +1 -1
- package/src/utils.js +6 -5
- package/src/utils.js.map +1 -1
- package/src/i18n-setup.d.ts +0 -26
- package/src/i18n-setup.d.ts.map +0 -1
- package/src/i18n-setup.js +0 -111
- package/src/i18n-setup.js.map +0 -1
|
@@ -1,48 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NodeEciesComponentStrings = void 0;
|
|
3
|
+
exports.NodeEciesComponentStrings = exports.EciesComponentId = exports.NodeEciesComponentId = void 0;
|
|
4
|
+
exports.createNodeEciesComponentConfig = createNodeEciesComponentConfig;
|
|
4
5
|
exports.getNodeEciesI18nEngine = getNodeEciesI18nEngine;
|
|
5
6
|
exports.resetNodeEciesI18nEngine = resetNodeEciesI18nEngine;
|
|
6
|
-
exports.createNodeEciesComponentConfig = createNodeEciesComponentConfig;
|
|
7
7
|
exports.getNodeEciesTranslation = getNodeEciesTranslation;
|
|
8
|
+
exports.safeGetNodeEciesTranslation = safeGetNodeEciesTranslation;
|
|
8
9
|
/**
|
|
9
10
|
* Node.js ECIES i18n setup and configuration.
|
|
10
|
-
*
|
|
11
|
-
*
|
|
11
|
+
*
|
|
12
|
+
* This is the single source of truth for i18n in node-ecies-lib.
|
|
13
|
+
* Uses I18nBuilder pattern for proper engine initialization and registers:
|
|
14
|
+
* - Core component (for error messages)
|
|
15
|
+
* - ECIES component (imported from ecies-lib - translations defined there)
|
|
16
|
+
* - Node ECIES component (translations defined here)
|
|
17
|
+
*
|
|
18
|
+
* All components support translateStringKey for direct branded enum translation.
|
|
12
19
|
*/
|
|
13
20
|
const ecies_lib_1 = require("@digitaldefiance/ecies-lib");
|
|
21
|
+
Object.defineProperty(exports, "EciesComponentId", { enumerable: true, get: function () { return ecies_lib_1.EciesComponentId; } });
|
|
14
22
|
const i18n_lib_1 = require("@digitaldefiance/i18n-lib");
|
|
15
23
|
const node_keys_1 = require("./node-keys");
|
|
24
|
+
Object.defineProperty(exports, "NodeEciesComponentId", { enumerable: true, get: function () { return node_keys_1.NodeEciesComponentId; } });
|
|
16
25
|
const translations_1 = require("./translations");
|
|
17
|
-
// Note: _nodeEciesI18nEngine is used for internal state management
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
19
|
-
let _nodeEciesI18nEngine = null;
|
|
20
|
-
let _componentRegistered = false;
|
|
21
|
-
function getNodeEciesI18nEngine(config) {
|
|
22
|
-
// Get base ecies engine (uses 'default' key)
|
|
23
|
-
const baseEngine = (0, ecies_lib_1.getEciesI18nEngine)(config);
|
|
24
|
-
// Register node-ecies component if not already registered
|
|
25
|
-
if (!_componentRegistered) {
|
|
26
|
-
baseEngine.registerIfNotExists(createNodeEciesComponentConfig());
|
|
27
|
-
_componentRegistered = true;
|
|
28
|
-
}
|
|
29
|
-
_nodeEciesI18nEngine = baseEngine;
|
|
30
|
-
return baseEngine;
|
|
31
|
-
}
|
|
32
|
-
function resetNodeEciesI18nEngine() {
|
|
33
|
-
_nodeEciesI18nEngine = null;
|
|
34
|
-
_componentRegistered = false;
|
|
35
|
-
}
|
|
36
|
-
function createNodeEciesComponentConfig() {
|
|
37
|
-
return {
|
|
38
|
-
id: node_keys_1.NodeEciesComponentId,
|
|
39
|
-
strings: exports.NodeEciesComponentStrings,
|
|
40
|
-
aliases: ['NodeEciesStringKey'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
26
|
/**
|
|
44
27
|
* Master strings collection for the Node ECIES component.
|
|
45
|
-
*
|
|
28
|
+
* These are the translations specific to node-ecies-lib.
|
|
29
|
+
* ECIES translations come from ecies-lib via createEciesComponentConfig().
|
|
46
30
|
*/
|
|
47
31
|
exports.NodeEciesComponentStrings = {
|
|
48
32
|
[i18n_lib_1.LanguageCodes.EN_US]: translations_1.englishTranslations,
|
|
@@ -55,9 +39,113 @@ exports.NodeEciesComponentStrings = {
|
|
|
55
39
|
[i18n_lib_1.LanguageCodes.UK]: translations_1.ukrainianTranslations,
|
|
56
40
|
};
|
|
57
41
|
/**
|
|
58
|
-
*
|
|
42
|
+
* Create Node ECIES component configuration
|
|
43
|
+
*/
|
|
44
|
+
function createNodeEciesComponentConfig() {
|
|
45
|
+
return {
|
|
46
|
+
id: node_keys_1.NodeEciesComponentId,
|
|
47
|
+
strings: exports.NodeEciesComponentStrings,
|
|
48
|
+
aliases: ['NodeEciesStringKey'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
let _nodeEciesI18nEngine = null;
|
|
52
|
+
let _componentRegistered = false;
|
|
53
|
+
/**
|
|
54
|
+
* Register the engine with all required components using I18nBuilder
|
|
55
|
+
*/
|
|
56
|
+
function registerEngine() {
|
|
57
|
+
const newEngine = i18n_lib_1.I18nBuilder.create()
|
|
58
|
+
.withLanguages((0, i18n_lib_1.getCoreLanguageDefinitions)())
|
|
59
|
+
.withDefaultLanguage(i18n_lib_1.LanguageCodes.EN_US)
|
|
60
|
+
.withInstanceKey('default')
|
|
61
|
+
.build();
|
|
62
|
+
// Register Core i18n component (required for error messages)
|
|
63
|
+
const coreReg = (0, i18n_lib_1.createCoreComponentRegistration)();
|
|
64
|
+
newEngine.register({
|
|
65
|
+
id: coreReg.component.id,
|
|
66
|
+
strings: coreReg.strings,
|
|
67
|
+
});
|
|
68
|
+
// Register ECIES component from ecies-lib (translations are defined there)
|
|
69
|
+
const eciesConfig = (0, ecies_lib_1.createEciesComponentConfig)();
|
|
70
|
+
newEngine.register({
|
|
71
|
+
...eciesConfig,
|
|
72
|
+
aliases: ['EciesStringKey'],
|
|
73
|
+
});
|
|
74
|
+
// Register Node ECIES component (translations defined in this lib)
|
|
75
|
+
newEngine.register(createNodeEciesComponentConfig());
|
|
76
|
+
// Register branded string key enums for translateStringKey support
|
|
77
|
+
// Done after build to avoid issues with jest.resetModules() in tests
|
|
78
|
+
try {
|
|
79
|
+
if (!newEngine.hasStringKeyEnum(ecies_lib_1.EciesStringKey)) {
|
|
80
|
+
newEngine.registerStringKeyEnum(ecies_lib_1.EciesStringKey);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
catch {
|
|
84
|
+
// Silently ignore if enum registration fails (e.g., in test environments)
|
|
85
|
+
}
|
|
86
|
+
try {
|
|
87
|
+
if (!newEngine.hasStringKeyEnum(node_keys_1.NodeEciesStringKey)) {
|
|
88
|
+
newEngine.registerStringKeyEnum(node_keys_1.NodeEciesStringKey);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
catch {
|
|
92
|
+
// Silently ignore if enum registration fails (e.g., in test environments)
|
|
93
|
+
}
|
|
94
|
+
return newEngine;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Get or create the Node ECIES i18n engine.
|
|
98
|
+
*
|
|
99
|
+
* This engine has Core, ECIES, and NodeECIES components registered,
|
|
100
|
+
* allowing translateStringKey to work with both EciesStringKey and NodeEciesStringKey.
|
|
101
|
+
*/
|
|
102
|
+
function getNodeEciesI18nEngine() {
|
|
103
|
+
if (i18n_lib_1.I18nEngine.hasInstance('default')) {
|
|
104
|
+
_nodeEciesI18nEngine = i18n_lib_1.I18nEngine.getInstance('default');
|
|
105
|
+
// Ensure our components are registered on existing instance
|
|
106
|
+
if (!_componentRegistered) {
|
|
107
|
+
// Register ECIES component if not present (translations from ecies-lib)
|
|
108
|
+
const eciesConfig = (0, ecies_lib_1.createEciesComponentConfig)();
|
|
109
|
+
_nodeEciesI18nEngine.registerIfNotExists({
|
|
110
|
+
...eciesConfig,
|
|
111
|
+
aliases: ['EciesStringKey'],
|
|
112
|
+
});
|
|
113
|
+
// Register Node ECIES component if not present
|
|
114
|
+
_nodeEciesI18nEngine.registerIfNotExists(createNodeEciesComponentConfig());
|
|
115
|
+
// Register branded string key enums for translateStringKey support
|
|
116
|
+
if (!_nodeEciesI18nEngine.hasStringKeyEnum(ecies_lib_1.EciesStringKey)) {
|
|
117
|
+
_nodeEciesI18nEngine.registerStringKeyEnum(ecies_lib_1.EciesStringKey);
|
|
118
|
+
}
|
|
119
|
+
if (!_nodeEciesI18nEngine.hasStringKeyEnum(node_keys_1.NodeEciesStringKey)) {
|
|
120
|
+
_nodeEciesI18nEngine.registerStringKeyEnum(node_keys_1.NodeEciesStringKey);
|
|
121
|
+
}
|
|
122
|
+
_componentRegistered = true;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
_nodeEciesI18nEngine = registerEngine();
|
|
127
|
+
_componentRegistered = true;
|
|
128
|
+
}
|
|
129
|
+
return _nodeEciesI18nEngine;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Reset the engine instance (useful for testing)
|
|
133
|
+
*/
|
|
134
|
+
function resetNodeEciesI18nEngine() {
|
|
135
|
+
_nodeEciesI18nEngine = null;
|
|
136
|
+
_componentRegistered = false;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Helper to translate Node ECIES strings.
|
|
140
|
+
* Uses translateStringKey for automatic component ID resolution from the branded enum.
|
|
59
141
|
*/
|
|
60
142
|
function getNodeEciesTranslation(stringKey, variables, language) {
|
|
61
|
-
return getNodeEciesI18nEngine().
|
|
143
|
+
return getNodeEciesI18nEngine().translateStringKey(stringKey, variables, language);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Safe translation helper that returns a placeholder on failure.
|
|
147
|
+
*/
|
|
148
|
+
function safeGetNodeEciesTranslation(stringKey, variables, language) {
|
|
149
|
+
return getNodeEciesI18nEngine().safeTranslateStringKey(stringKey, variables, language);
|
|
62
150
|
}
|
|
63
151
|
//# sourceMappingURL=node-ecies-i18n-setup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-ecies-i18n-setup.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/i18n/node-ecies-i18n-setup.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"node-ecies-i18n-setup.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ec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ensure full Buffer compatibility in Node.js environments.
|
|
4
4
|
*/
|
|
5
|
-
import { GuidInput, GuidUint8Array, IGuid } from '@digitaldefiance/ecies-lib';
|
|
5
|
+
import { GuidInput, GuidUint8Array, IGuid, type Base64Guid, type BigIntGuid, type FullHexGuid, type RawGuidPlatformBuffer, type ShortHexGuid } from '@digitaldefiance/ecies-lib';
|
|
6
6
|
import * as uuid from 'uuid';
|
|
7
7
|
import { PlatformBuffer } from '../interfaces';
|
|
8
8
|
/**
|
|
@@ -12,55 +12,344 @@ export type VersionedGuidBuffer<V extends 1 | 3 | 4 | 5 | 6 | 7 | undefined = 1
|
|
|
12
12
|
readonly __version: V;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* Node.js GUID implementation that extends
|
|
16
|
-
* This ensures
|
|
15
|
+
* Node.js GUID implementation that extends Buffer directly.
|
|
16
|
+
* This ensures full Buffer compatibility while providing GUID-specific functionality.
|
|
17
|
+
*
|
|
18
|
+
* Implements IGuid interface for compatibility with ecies-lib.
|
|
17
19
|
*/
|
|
18
|
-
export declare class GuidBuffer extends
|
|
20
|
+
export declare class GuidBuffer extends Buffer implements IGuid {
|
|
21
|
+
/**
|
|
22
|
+
* Cached full hex representation for performance
|
|
23
|
+
*/
|
|
24
|
+
private _cachedFullHex?;
|
|
25
|
+
/**
|
|
26
|
+
* Cached short hex representation for performance
|
|
27
|
+
*/
|
|
28
|
+
private _cachedShortHex?;
|
|
29
|
+
/**
|
|
30
|
+
* Cached base64 representation for performance
|
|
31
|
+
*/
|
|
32
|
+
private _cachedBase64?;
|
|
33
|
+
/**
|
|
34
|
+
* The RFC 4122 version of this GUID
|
|
35
|
+
*/
|
|
36
|
+
__version?: 1 | 3 | 4 | 5 | 6 | 7 | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new GuidBuffer from any valid GUID input.
|
|
39
|
+
*
|
|
40
|
+
* Note: Due to Buffer subclassing limitations, this constructor
|
|
41
|
+
* returns a new instance created via Object.setPrototypeOf.
|
|
42
|
+
*/
|
|
19
43
|
constructor(value: GuidInput);
|
|
44
|
+
/**
|
|
45
|
+
* Override species to return Buffer for methods like slice(), map(), etc.
|
|
46
|
+
*/
|
|
47
|
+
static get [Symbol.species](): typeof Buffer;
|
|
48
|
+
/**
|
|
49
|
+
* Internal factory to create a GuidBuffer from validated bytes (no validation).
|
|
50
|
+
*/
|
|
51
|
+
private static createFromBytes;
|
|
52
|
+
/**
|
|
53
|
+
* Static factory method (alternative to constructor).
|
|
54
|
+
*/
|
|
55
|
+
static create(value: GuidInput): GuidBuffer;
|
|
20
56
|
/**
|
|
21
57
|
* Returns the GUID as a raw Buffer.
|
|
58
|
+
* Returns itself since GuidBuffer IS a Buffer.
|
|
59
|
+
* @deprecated Use asRawBuffer for a plain Buffer copy to avoid type mismatches.
|
|
22
60
|
*/
|
|
23
61
|
get asBuffer(): Buffer;
|
|
62
|
+
/**
|
|
63
|
+
* Returns the GUID as a plain Buffer (defensive copy).
|
|
64
|
+
* Use this when you need a plain Buffer type rather than GuidBuffer.
|
|
65
|
+
*/
|
|
66
|
+
get asRawBuffer(): Buffer;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the GUID as a raw Uint8Array (defensive copy).
|
|
69
|
+
*/
|
|
70
|
+
get asRawGuidPlatformBuffer(): RawGuidPlatformBuffer;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the internal buffer without copying.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
get asRawGuidPlatformBufferUnsafe(): RawGuidPlatformBuffer;
|
|
24
76
|
/**
|
|
25
77
|
* Returns the GUID as a native Uint8Array (not a Buffer).
|
|
26
78
|
*/
|
|
27
79
|
get asUint8Array(): Uint8Array;
|
|
80
|
+
/**
|
|
81
|
+
* Returns the GUID as a PlatformBuffer (Buffer in Node.js).
|
|
82
|
+
* Returns itself since GuidBuffer IS a Buffer.
|
|
83
|
+
*/
|
|
28
84
|
get asPlatformBuffer(): PlatformBuffer;
|
|
29
85
|
/**
|
|
30
|
-
*
|
|
86
|
+
* Returns the GUID as a full hex string (with dashes).
|
|
87
|
+
* Result is cached for performance.
|
|
31
88
|
*/
|
|
32
|
-
|
|
89
|
+
get asFullHexGuid(): FullHexGuid;
|
|
33
90
|
/**
|
|
34
|
-
*
|
|
91
|
+
* Returns the GUID as a short hex string (without dashes).
|
|
92
|
+
* Result is cached for performance.
|
|
35
93
|
*/
|
|
36
|
-
|
|
94
|
+
get asShortHexGuid(): ShortHexGuid;
|
|
37
95
|
/**
|
|
38
|
-
*
|
|
96
|
+
* Returns the GUID as a base64 string.
|
|
97
|
+
* Result is cached for performance.
|
|
39
98
|
*/
|
|
40
|
-
|
|
99
|
+
get asBase64Guid(): Base64Guid;
|
|
41
100
|
/**
|
|
42
|
-
*
|
|
101
|
+
* Returns the GUID as a bigint.
|
|
43
102
|
*/
|
|
44
|
-
|
|
103
|
+
get asBigIntGuid(): BigIntGuid;
|
|
104
|
+
/**
|
|
105
|
+
* Returns a URL-safe base64 representation.
|
|
106
|
+
*/
|
|
107
|
+
get asUrlSafeBase64(): string;
|
|
108
|
+
/**
|
|
109
|
+
* Serializes the GUID to a base64 string.
|
|
110
|
+
*/
|
|
111
|
+
serialize(): string;
|
|
112
|
+
/**
|
|
113
|
+
* Returns the GUID as a JSON string.
|
|
114
|
+
*/
|
|
115
|
+
toJson(): string;
|
|
116
|
+
/**
|
|
117
|
+
* Returns the GUID as a base64 string (default string representation).
|
|
118
|
+
* Overloaded to support both Buffer encoding and IGuid interface.
|
|
119
|
+
*/
|
|
120
|
+
toString(): Base64Guid;
|
|
121
|
+
toString(encoding: BufferEncoding): string;
|
|
122
|
+
/**
|
|
123
|
+
* Extracts the RFC 4122 version from the GUID.
|
|
124
|
+
*/
|
|
125
|
+
getVersion(): number | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Extracts the variant from the GUID.
|
|
128
|
+
*/
|
|
129
|
+
getVariant(): number | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Returns the timestamp from a v1 GUID.
|
|
132
|
+
*/
|
|
133
|
+
getTimestamp(): Date | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* Checks if this GUID is empty (all zeros).
|
|
136
|
+
*/
|
|
137
|
+
isEmpty(): boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Validates that this GUID is a proper v1 GUID.
|
|
140
|
+
*/
|
|
141
|
+
isValidV1(): boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Validates that this GUID is a proper v3 GUID.
|
|
144
|
+
*/
|
|
145
|
+
isValidV3(): boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Validates that this GUID is a proper v4 GUID.
|
|
148
|
+
*/
|
|
149
|
+
isValidV4(): boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Validates that this GUID is a proper v5 GUID.
|
|
152
|
+
*/
|
|
153
|
+
isValidV5(): boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Validates that this GUID is a proper v6 GUID.
|
|
156
|
+
*/
|
|
157
|
+
isValidV6(): boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Validates that this GUID is a proper v7 GUID.
|
|
160
|
+
*/
|
|
161
|
+
isValidV7(): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Compare two Guid instances for equality (IGuid interface).
|
|
164
|
+
* Note: This is named guidEquals to avoid conflict with Buffer.equals()
|
|
165
|
+
*/
|
|
166
|
+
guidEquals(other: IGuid | null | undefined, constantTime?: boolean): boolean;
|
|
167
|
+
/**
|
|
168
|
+
* IGuid.equals implementation - delegates to guidEquals.
|
|
169
|
+
* Uses method overloading to satisfy both Buffer and IGuid interfaces.
|
|
170
|
+
*/
|
|
171
|
+
equals(otherBuffer: Uint8Array): boolean;
|
|
172
|
+
equals(other: IGuid | null | undefined, constantTime?: boolean): boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Creates a clone of this GUID.
|
|
175
|
+
*/
|
|
176
|
+
clone(): VersionedGuidBuffer;
|
|
177
|
+
/**
|
|
178
|
+
* Returns a hash code for this GUID.
|
|
179
|
+
*/
|
|
180
|
+
hashCode(): number;
|
|
181
|
+
/**
|
|
182
|
+
* Compares two GUIDs for ordering.
|
|
183
|
+
*/
|
|
184
|
+
compareTo(other: IGuid): number;
|
|
185
|
+
/**
|
|
186
|
+
* Returns a human-readable debug string.
|
|
187
|
+
*/
|
|
188
|
+
toDebugString(): string;
|
|
45
189
|
/**
|
|
46
190
|
* Attaches the RFC 4122 version to a GuidBuffer instance.
|
|
47
191
|
*/
|
|
48
192
|
private static attachVersion;
|
|
193
|
+
/**
|
|
194
|
+
* Generates a new random v4 GUID.
|
|
195
|
+
*/
|
|
49
196
|
static v4(): VersionedGuidBuffer<4>;
|
|
50
|
-
|
|
197
|
+
/**
|
|
198
|
+
* Alias for v4().
|
|
199
|
+
*/
|
|
200
|
+
static generate(): VersionedGuidBuffer<4>;
|
|
201
|
+
/**
|
|
202
|
+
* Alias for v4() for backward compatibility.
|
|
203
|
+
* @deprecated Use generate() instead
|
|
204
|
+
*/
|
|
205
|
+
static new(): VersionedGuidBuffer<4>;
|
|
206
|
+
/**
|
|
207
|
+
* Creates a v1 (time-based) GUID.
|
|
208
|
+
*/
|
|
209
|
+
static v1(options?: uuid.Version1Options): VersionedGuidBuffer<1>;
|
|
210
|
+
/**
|
|
211
|
+
* Creates a v3 (MD5 namespace) GUID.
|
|
212
|
+
*/
|
|
51
213
|
static v3(name: string, namespace: string | Uint8Array): VersionedGuidBuffer<3>;
|
|
214
|
+
/**
|
|
215
|
+
* Creates a v5 (SHA-1 namespace) GUID.
|
|
216
|
+
*/
|
|
217
|
+
static v5(name: string, namespace: string | Uint8Array): VersionedGuidBuffer<5>;
|
|
218
|
+
/**
|
|
219
|
+
* Creates a v6 GUID.
|
|
220
|
+
*/
|
|
52
221
|
static v6(options?: uuid.Version6Options): VersionedGuidBuffer<6>;
|
|
222
|
+
/**
|
|
223
|
+
* Creates a v7 GUID.
|
|
224
|
+
*/
|
|
53
225
|
static v7(options?: uuid.Version7Options): VersionedGuidBuffer<7>;
|
|
54
|
-
|
|
226
|
+
/**
|
|
227
|
+
* Parses a GUID from any valid format.
|
|
228
|
+
*/
|
|
55
229
|
static parse(value: GuidInput): VersionedGuidBuffer;
|
|
230
|
+
/**
|
|
231
|
+
* Attempts to parse a GUID, returning null on failure.
|
|
232
|
+
*/
|
|
56
233
|
static tryParse(value: GuidInput): VersionedGuidBuffer | null;
|
|
57
|
-
|
|
58
|
-
|
|
234
|
+
/**
|
|
235
|
+
* Hydrates a GuidBuffer from a serialized string.
|
|
236
|
+
*/
|
|
237
|
+
static hydrate(value: string): VersionedGuidBuffer;
|
|
238
|
+
/**
|
|
239
|
+
* Factory method to create a GUID from a full hex string.
|
|
240
|
+
*/
|
|
59
241
|
static fromFullHex(fullHex: string): VersionedGuidBuffer;
|
|
242
|
+
/**
|
|
243
|
+
* Factory method to create a GUID from a short hex string.
|
|
244
|
+
*/
|
|
60
245
|
static fromShortHex(shortHex: string): VersionedGuidBuffer;
|
|
246
|
+
/**
|
|
247
|
+
* Factory method to create a GUID from a base64 string.
|
|
248
|
+
*/
|
|
61
249
|
static fromBase64(base64: string): VersionedGuidBuffer;
|
|
250
|
+
/**
|
|
251
|
+
* Factory method to create a GUID from a bigint.
|
|
252
|
+
*/
|
|
62
253
|
static fromBigInt(bigint: bigint): VersionedGuidBuffer;
|
|
254
|
+
/**
|
|
255
|
+
* Factory method to create a GUID from a raw Buffer.
|
|
256
|
+
*/
|
|
257
|
+
static fromBuffer(buffer: Buffer): VersionedGuidBuffer;
|
|
258
|
+
/**
|
|
259
|
+
* Factory method to create a GUID from a raw Uint8Array.
|
|
260
|
+
*/
|
|
261
|
+
static fromUint8Array(bytes: Uint8Array): VersionedGuidBuffer;
|
|
262
|
+
/**
|
|
263
|
+
* Factory method to create a GUID from a platform buffer.
|
|
264
|
+
*/
|
|
63
265
|
static fromPlatformBuffer(bytes: Uint8Array): VersionedGuidBuffer;
|
|
64
|
-
|
|
266
|
+
/**
|
|
267
|
+
* Creates a GUID from URL-safe base64.
|
|
268
|
+
*/
|
|
269
|
+
static fromUrlSafeBase64(urlSafe: string): VersionedGuidBuffer;
|
|
270
|
+
/**
|
|
271
|
+
* Converts a GUID input to a raw Buffer.
|
|
272
|
+
*/
|
|
273
|
+
static toRawGuidBuffer(value: GuidInput): Buffer;
|
|
274
|
+
/**
|
|
275
|
+
* Validates a UUID string.
|
|
276
|
+
*/
|
|
277
|
+
static validateUuid(value: string): boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Checks if a value is a valid raw GUID buffer.
|
|
280
|
+
*/
|
|
281
|
+
static isRawGuidBuffer(value: GuidInput): boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Converts a GUID to full hex format.
|
|
284
|
+
*/
|
|
285
|
+
static toFullHexGuid: typeof GuidUint8Array.toFullHexGuid;
|
|
286
|
+
/**
|
|
287
|
+
* Converts a GUID to short hex format.
|
|
288
|
+
*/
|
|
289
|
+
static toShortHexGuid: typeof GuidUint8Array.toShortHexGuid;
|
|
290
|
+
/**
|
|
291
|
+
* Converts a bigint to full hex GUID format.
|
|
292
|
+
*/
|
|
293
|
+
static toFullHexFromBigInt: typeof GuidUint8Array.toFullHexFromBigInt;
|
|
294
|
+
/**
|
|
295
|
+
* Converts a GUID to raw platform buffer.
|
|
296
|
+
*/
|
|
297
|
+
static toRawGuidPlatformBuffer: typeof GuidUint8Array.toRawGuidPlatformBuffer;
|
|
298
|
+
/**
|
|
299
|
+
* Determines the brand/type of a GUID value.
|
|
300
|
+
*/
|
|
301
|
+
static whichBrand: typeof GuidUint8Array.whichBrand;
|
|
302
|
+
/**
|
|
303
|
+
* Verifies if a GUID is valid for a given brand.
|
|
304
|
+
*/
|
|
305
|
+
static verifyGuid: typeof GuidUint8Array.verifyGuid;
|
|
306
|
+
/**
|
|
307
|
+
* Returns the expected length for a GUID brand.
|
|
308
|
+
*/
|
|
309
|
+
static guidBrandToLength: typeof GuidUint8Array.guidBrandToLength;
|
|
310
|
+
/**
|
|
311
|
+
* Returns the GUID brand for a given length.
|
|
312
|
+
*/
|
|
313
|
+
static lengthToGuidBrand: typeof GuidUint8Array.lengthToGuidBrand;
|
|
314
|
+
/**
|
|
315
|
+
* Checks if a value is a valid full hex GUID.
|
|
316
|
+
*/
|
|
317
|
+
static isFullHexGuid: typeof GuidUint8Array.isFullHexGuid;
|
|
318
|
+
/**
|
|
319
|
+
* Checks if a value is a valid short hex GUID.
|
|
320
|
+
*/
|
|
321
|
+
static isShortHexGuid: typeof GuidUint8Array.isShortHexGuid;
|
|
322
|
+
/**
|
|
323
|
+
* Checks if a value is a valid base64 GUID.
|
|
324
|
+
*/
|
|
325
|
+
static isBase64Guid: typeof GuidUint8Array.isBase64Guid;
|
|
326
|
+
/**
|
|
327
|
+
* Checks if a value is a valid bigint GUID.
|
|
328
|
+
*/
|
|
329
|
+
static isBigIntGuid: typeof GuidUint8Array.isBigIntGuid;
|
|
330
|
+
/**
|
|
331
|
+
* Checks if a value is a valid raw GUID Uint8Array.
|
|
332
|
+
*/
|
|
333
|
+
static isRawGuidUint8Array: typeof GuidUint8Array.isRawGuidUint8Array;
|
|
334
|
+
/**
|
|
335
|
+
* Validates whether a value is a valid GUID.
|
|
336
|
+
*/
|
|
337
|
+
static isValid: typeof GuidUint8Array.isValid;
|
|
338
|
+
/**
|
|
339
|
+
* Static helper to check if a GUID is null, undefined, or empty.
|
|
340
|
+
*/
|
|
341
|
+
static isNilOrEmpty(guid: IGuid | null | undefined): boolean;
|
|
342
|
+
/**
|
|
343
|
+
* Common namespace constants for use with v3/v5 GUIDs.
|
|
344
|
+
*/
|
|
345
|
+
static readonly Namespaces: {
|
|
346
|
+
readonly DNS: "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
347
|
+
readonly URL: "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Empty/nil GUID constant (all zeros).
|
|
351
|
+
*/
|
|
352
|
+
private static _empty?;
|
|
353
|
+
static get Empty(): GuidBuffer;
|
|
65
354
|
}
|
|
66
355
|
//# sourceMappingURL=guid.d.ts.map
|
package/src/lib/guid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guid.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/lib/guid.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"guid.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/lib/guid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,SAAS,EACT,cAAc,EACd,KAAK,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAC7B,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,SAAS,GACvC,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,SAAS,IACX,UAAU,GAAG;IAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAA;CAAE,CAAC;AAE3C;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,MAAO,YAAW,KAAK;IACrD;;OAEG;IACH,OAAO,CAAC,cAAc,CAAC,CAAc;IAErC;;OAEG;IACH,OAAO,CAAC,eAAe,CAAC,CAAe;IAEvC;;OAEG;IACH,OAAO,CAAC,aAAa,CAAC,CAAa;IAEnC;;OAEG;IACI,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAErD;;;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