@naylence/runtime 0.3.5-test.903 → 0.3.5-test.904
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/dist/browser/index.cjs +9 -0
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.mjs +9 -1
- package/dist/browser/index.mjs.map +1 -1
- package/dist/cjs/naylence/fame/util/runtime-version.js +15 -332
- package/dist/cjs/naylence/fame/util/runtime-version.js.map +1 -1
- package/dist/cjs/runtime-isomorphic.js +4 -1
- package/dist/cjs/runtime-isomorphic.js.map +1 -1
- package/dist/cjs/version.js +11 -0
- package/dist/cjs/version.js.map +1 -0
- package/dist/esm/naylence/fame/util/runtime-version.js +15 -299
- package/dist/esm/naylence/fame/util/runtime-version.js.map +1 -1
- package/dist/esm/runtime-isomorphic.js +2 -0
- package/dist/esm/runtime-isomorphic.js.map +1 -1
- package/dist/esm/version.js +8 -0
- package/dist/esm/version.js.map +1 -0
- package/dist/node/index.cjs +9 -0
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +9 -1
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/node.cjs +28 -304
- package/dist/node/node.cjs.map +1 -1
- package/dist/node/node.mjs +28 -305
- package/dist/node/node.mjs.map +1 -1
- package/dist/types/naylence/fame/util/runtime-version.d.ts +12 -0
- package/dist/types/naylence/fame/util/runtime-version.d.ts.map +1 -1
- package/dist/types/runtime-isomorphic.d.ts +1 -0
- package/dist/types/runtime-isomorphic.d.ts.map +1 -1
- package/dist/types/version.d.ts +6 -0
- package/dist/types/version.d.ts.map +1 -0
- package/package.json +4 -3
|
@@ -1,304 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
'./package.json',
|
|
11
|
-
];
|
|
12
|
-
let importWithAttributesFn;
|
|
13
|
-
function getImportWithAttributesFn() {
|
|
14
|
-
if (importWithAttributesFn !== undefined) {
|
|
15
|
-
return importWithAttributesFn;
|
|
16
|
-
}
|
|
17
|
-
try {
|
|
18
|
-
importWithAttributesFn = new Function('specifier', 'options', 'return import(specifier, options);');
|
|
19
|
-
}
|
|
20
|
-
catch {
|
|
21
|
-
importWithAttributesFn = null;
|
|
22
|
-
}
|
|
23
|
-
return importWithAttributesFn;
|
|
24
|
-
}
|
|
25
|
-
let cachedVersion;
|
|
26
|
-
let embeddedPackageVersion;
|
|
27
|
-
let embeddedPackageVersionPromise;
|
|
28
|
-
async function importEmbeddedPackageMetadata() {
|
|
29
|
-
const importOptions = [
|
|
30
|
-
{ 'with': { type: 'json' } },
|
|
31
|
-
{ 'assert': { type: 'json' } },
|
|
32
|
-
];
|
|
33
|
-
const importFn = getImportWithAttributesFn();
|
|
34
|
-
if (!importFn) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
for (const candidatePath of PACKAGE_JSON_RELATIVE_PATHS) {
|
|
38
|
-
for (const options of importOptions) {
|
|
39
|
-
try {
|
|
40
|
-
const result = await importFn(candidatePath, options);
|
|
41
|
-
const candidate = result.default ?? result;
|
|
42
|
-
if (candidate && typeof candidate === 'object') {
|
|
43
|
-
return candidate;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
catch {
|
|
47
|
-
// Try next option/path combination if current attempt fails.
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
async function resolveEmbeddedPackageVersion() {
|
|
54
|
-
if (embeddedPackageVersion !== undefined) {
|
|
55
|
-
return embeddedPackageVersion;
|
|
56
|
-
}
|
|
57
|
-
if (!embeddedPackageVersionPromise) {
|
|
58
|
-
embeddedPackageVersionPromise = (async () => {
|
|
59
|
-
const metadata = await importEmbeddedPackageMetadata();
|
|
60
|
-
return readVersionFromPackageJson(metadata);
|
|
61
|
-
})();
|
|
62
|
-
}
|
|
63
|
-
embeddedPackageVersion = await embeddedPackageVersionPromise;
|
|
64
|
-
return embeddedPackageVersion;
|
|
65
|
-
}
|
|
66
|
-
function readVersionFromPackageJson(candidate) {
|
|
67
|
-
if (!candidate || typeof candidate !== 'object') {
|
|
68
|
-
return null;
|
|
69
|
-
}
|
|
70
|
-
const { name, version } = candidate;
|
|
71
|
-
if (name === '@naylence/runtime' && typeof version === 'string') {
|
|
72
|
-
return version;
|
|
73
|
-
}
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
async function tryReadPackageVersion(absolutePath) {
|
|
77
|
-
try {
|
|
78
|
-
const [{ readFile }, pathModule] = await Promise.all([
|
|
79
|
-
import('node:fs/promises'),
|
|
80
|
-
import('node:path'),
|
|
81
|
-
]);
|
|
82
|
-
let candidateDir = pathModule.dirname(absolutePath);
|
|
83
|
-
for (let depth = 0; depth < 10; depth += 1) {
|
|
84
|
-
const packageJsonPath = pathModule.join(candidateDir, 'package.json');
|
|
85
|
-
try {
|
|
86
|
-
const contents = await readFile(packageJsonPath, 'utf-8');
|
|
87
|
-
const parsed = JSON.parse(contents);
|
|
88
|
-
const extracted = readVersionFromPackageJson(parsed);
|
|
89
|
-
if (extracted) {
|
|
90
|
-
return extracted;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
catch {
|
|
94
|
-
// Continue traversing upwards until we exhaust likely directories
|
|
95
|
-
}
|
|
96
|
-
const parentDir = pathModule.dirname(candidateDir);
|
|
97
|
-
if (parentDir === candidateDir) {
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
candidateDir = parentDir;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
catch {
|
|
104
|
-
// Ignore filesystem failures; callers will continue with other strategies
|
|
105
|
-
}
|
|
106
|
-
return null;
|
|
107
|
-
}
|
|
108
|
-
async function tryResolveVersionFromModule(resolveFn) {
|
|
109
|
-
if (!resolveFn) {
|
|
110
|
-
return null;
|
|
111
|
-
}
|
|
112
|
-
try {
|
|
113
|
-
const entryPoint = resolveFn('@naylence/runtime');
|
|
114
|
-
return await tryReadPackageVersion(entryPoint);
|
|
115
|
-
}
|
|
116
|
-
catch {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
function tryGetProcessCwdFileUrl(processRef) {
|
|
121
|
-
const candidates = [];
|
|
122
|
-
if (processRef && typeof processRef.cwd === 'function') {
|
|
123
|
-
candidates.push(() => processRef.cwd?.());
|
|
124
|
-
}
|
|
125
|
-
if (typeof process !== 'undefined' && process && process !== processRef) {
|
|
126
|
-
const maybeProcess = process;
|
|
127
|
-
if (maybeProcess &&
|
|
128
|
-
typeof maybeProcess.cwd === 'function') {
|
|
129
|
-
candidates.push(() => maybeProcess.cwd?.());
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
for (const getPath of candidates) {
|
|
133
|
-
try {
|
|
134
|
-
const result = getPath();
|
|
135
|
-
if (typeof result === 'string' && result.length > 0) {
|
|
136
|
-
const normalized = result.endsWith('/') ? result : `${result}/`;
|
|
137
|
-
return new URL('./', `file://${normalized}`);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
catch {
|
|
141
|
-
// Ignore candidates that throw so we can fall back to other strategies.
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
function tryGetImportMetaUrl() {
|
|
147
|
-
try {
|
|
148
|
-
// eslint-disable-next-line no-eval
|
|
149
|
-
return (0, eval)('import.meta.url');
|
|
150
|
-
}
|
|
151
|
-
catch {
|
|
152
|
-
return undefined;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
function readEnvValue(env, aliases) {
|
|
156
|
-
if (!env) {
|
|
157
|
-
return undefined;
|
|
158
|
-
}
|
|
159
|
-
for (const alias of aliases) {
|
|
160
|
-
const value = env[alias];
|
|
161
|
-
if (typeof value === 'string') {
|
|
162
|
-
return value;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
return undefined;
|
|
166
|
-
}
|
|
167
|
-
function resolveFromEnv(env) {
|
|
168
|
-
if (!env) {
|
|
169
|
-
return null;
|
|
170
|
-
}
|
|
171
|
-
const explicitRaw = readEnvValue(env, [
|
|
172
|
-
'NAYLENCE_RUNTIME_VERSION',
|
|
173
|
-
'naylence_runtime_version',
|
|
174
|
-
'naylenceRuntimeVersion',
|
|
175
|
-
'NaylenceRuntimeVersion',
|
|
176
|
-
]);
|
|
177
|
-
const explicit = explicitRaw?.trim();
|
|
178
|
-
if (explicit) {
|
|
179
|
-
return explicit;
|
|
180
|
-
}
|
|
181
|
-
const npmName = readEnvValue(env, ['npm_package_name', 'npmPackageName']);
|
|
182
|
-
const npmVersion = readEnvValue(env, [
|
|
183
|
-
'npm_package_version',
|
|
184
|
-
'npmPackageVersion',
|
|
185
|
-
]);
|
|
186
|
-
if (npmName === '@naylence/runtime' && typeof npmVersion === 'string') {
|
|
187
|
-
return npmVersion;
|
|
188
|
-
}
|
|
189
|
-
return null;
|
|
190
|
-
}
|
|
191
|
-
async function resolveFromPackageJson() {
|
|
192
|
-
try {
|
|
193
|
-
const processRef = globalThis?.process;
|
|
194
|
-
const cwdUrl = tryGetProcessCwdFileUrl(processRef);
|
|
195
|
-
try {
|
|
196
|
-
if (typeof require === 'function') {
|
|
197
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires, global-require
|
|
198
|
-
const localRequire = require;
|
|
199
|
-
for (const candidate of PACKAGE_JSON_RELATIVE_PATHS) {
|
|
200
|
-
try {
|
|
201
|
-
const result = localRequire(candidate);
|
|
202
|
-
const extracted = readVersionFromPackageJson(result);
|
|
203
|
-
if (extracted) {
|
|
204
|
-
return extracted;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
catch {
|
|
208
|
-
// Continue trying remaining candidates
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
// Fallback: try direct package resolution
|
|
212
|
-
try {
|
|
213
|
-
const result = localRequire('@naylence/runtime/package.json');
|
|
214
|
-
const extracted = readVersionFromPackageJson(result);
|
|
215
|
-
if (extracted) {
|
|
216
|
-
return extracted;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
catch {
|
|
220
|
-
// Continue to next strategy
|
|
221
|
-
}
|
|
222
|
-
const resolvedFromLocalRequire = await tryResolveVersionFromModule(typeof localRequire.resolve === 'function'
|
|
223
|
-
? (specifier) => localRequire.resolve(specifier)
|
|
224
|
-
: undefined);
|
|
225
|
-
if (resolvedFromLocalRequire) {
|
|
226
|
-
return resolvedFromLocalRequire;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
catch {
|
|
231
|
-
// ignore and fall through to dynamic require resolution
|
|
232
|
-
}
|
|
233
|
-
const { createRequire } = await import('node:module');
|
|
234
|
-
const importMetaUrl = tryGetImportMetaUrl();
|
|
235
|
-
const baseSpecifier = importMetaUrl ?? cwdUrl ?? new URL('./', 'file:///');
|
|
236
|
-
const requireForCurrentModule = createRequire(baseSpecifier);
|
|
237
|
-
for (const candidate of PACKAGE_JSON_RELATIVE_PATHS) {
|
|
238
|
-
try {
|
|
239
|
-
const result = requireForCurrentModule(candidate);
|
|
240
|
-
const extracted = readVersionFromPackageJson(result);
|
|
241
|
-
if (extracted) {
|
|
242
|
-
return extracted;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
catch {
|
|
246
|
-
// Continue trying remaining candidates
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
const moduleResolvedVersion = await tryResolveVersionFromModule(typeof requireForCurrentModule.resolve === 'function'
|
|
250
|
-
? (specifier) => requireForCurrentModule.resolve(specifier)
|
|
251
|
-
: undefined);
|
|
252
|
-
if (moduleResolvedVersion) {
|
|
253
|
-
return moduleResolvedVersion;
|
|
254
|
-
}
|
|
255
|
-
const cwdRequire = cwdUrl ? createRequire(cwdUrl) : null;
|
|
256
|
-
if (cwdRequire) {
|
|
257
|
-
const cwdResolvedVersion = await tryResolveVersionFromModule(typeof cwdRequire.resolve === 'function'
|
|
258
|
-
? (specifier) => cwdRequire.resolve(specifier)
|
|
259
|
-
: undefined);
|
|
260
|
-
if (cwdResolvedVersion) {
|
|
261
|
-
return cwdResolvedVersion;
|
|
262
|
-
}
|
|
263
|
-
try {
|
|
264
|
-
const result = cwdRequire('@naylence/runtime/package.json');
|
|
265
|
-
const extracted = readVersionFromPackageJson(result);
|
|
266
|
-
if (extracted) {
|
|
267
|
-
return extracted;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
catch {
|
|
271
|
-
// All attempts failed
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
catch {
|
|
276
|
-
// Ignore failures and fall through to null
|
|
277
|
-
}
|
|
278
|
-
return null;
|
|
279
|
-
}
|
|
1
|
+
import { VERSION } from '../../../version.js';
|
|
2
|
+
/**
|
|
3
|
+
* Resolves the runtime version.
|
|
4
|
+
*
|
|
5
|
+
* The version is now injected at build time from package.json into version.ts.
|
|
6
|
+
* This function maintains backward compatibility by returning a Promise.
|
|
7
|
+
*
|
|
8
|
+
* @returns The runtime version string, or null if not available.
|
|
9
|
+
*/
|
|
280
10
|
export async function resolveRuntimeVersion() {
|
|
281
|
-
|
|
282
|
-
return cachedVersion;
|
|
283
|
-
}
|
|
284
|
-
const envVersion = resolveFromEnv(globalThis?.process?.env);
|
|
285
|
-
if (envVersion) {
|
|
286
|
-
cachedVersion = envVersion;
|
|
287
|
-
return cachedVersion;
|
|
288
|
-
}
|
|
289
|
-
const embeddedVersion = await resolveEmbeddedPackageVersion();
|
|
290
|
-
if (embeddedVersion) {
|
|
291
|
-
cachedVersion = embeddedVersion;
|
|
292
|
-
return cachedVersion;
|
|
293
|
-
}
|
|
294
|
-
const packageVersion = await resolveFromPackageJson();
|
|
295
|
-
cachedVersion = packageVersion ?? null;
|
|
296
|
-
return cachedVersion;
|
|
11
|
+
return VERSION || null;
|
|
297
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* For testing purposes only. No-op since version is now static.
|
|
15
|
+
* Kept for backward compatibility with existing tests.
|
|
16
|
+
*/
|
|
298
17
|
export function resetCachedRuntimeVersionForTesting() {
|
|
299
|
-
|
|
300
|
-
embeddedPackageVersion = undefined;
|
|
301
|
-
embeddedPackageVersionPromise = undefined;
|
|
302
|
-
importWithAttributesFn = undefined;
|
|
18
|
+
// No-op: version is now static and injected at build time
|
|
303
19
|
}
|
|
304
20
|
//# sourceMappingURL=runtime-version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-version.js","sourceRoot":"","sources":["../../../../../src/naylence/fame/util/runtime-version.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"runtime-version.js","sourceRoot":"","sources":["../../../../../src/naylence/fame/util/runtime-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,OAAO,OAAO,IAAI,IAAI,CAAC;AACzB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,mCAAmC;IACjD,0DAA0D;AAC5D,CAAC"}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
// Re-export everything from naylence-core for protocol primitives
|
|
10
10
|
export * from '@naylence/core';
|
|
11
|
+
// Package version
|
|
12
|
+
export { VERSION } from './version.js';
|
|
11
13
|
// Cross-platform Fame runtime exports
|
|
12
14
|
export * from './naylence/fame/errors/index.js';
|
|
13
15
|
export * from './naylence/fame/util/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-isomorphic.js","sourceRoot":"","sources":["../../src/runtime-isomorphic.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,kEAAkE;AAClE,cAAc,gBAAgB,CAAC;AAE/B,sCAAsC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC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C;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,yBAAyB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file is auto-generated during build - do not edit manually
|
|
2
|
+
// Generated from package.json version: 0.3.5-test.904
|
|
3
|
+
/**
|
|
4
|
+
* The package version, injected at build time.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export const VERSION = '0.3.5-test.904';
|
|
8
|
+
//# sourceMappingURL=version.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,sDAAsD;AAEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC"}
|
package/dist/node/index.cjs
CHANGED
|
@@ -12,6 +12,14 @@ var asn1X509 = require('@peculiar/asn1-x509');
|
|
|
12
12
|
var asn1Csr = require('@peculiar/asn1-csr');
|
|
13
13
|
var api = require('@opentelemetry/api');
|
|
14
14
|
|
|
15
|
+
// This file is auto-generated during build - do not edit manually
|
|
16
|
+
// Generated from package.json version: 0.3.5-test.904
|
|
17
|
+
/**
|
|
18
|
+
* The package version, injected at build time.
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
const VERSION = '0.3.5-test.904';
|
|
22
|
+
|
|
15
23
|
/**
|
|
16
24
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
17
25
|
*/
|
|
@@ -20252,6 +20260,7 @@ exports.SentinelFactory = SentinelFactory;
|
|
|
20252
20260
|
exports.StorageAESEncryptionManager = StorageAESEncryptionManager;
|
|
20253
20261
|
exports.TaskSpawner = TaskSpawner;
|
|
20254
20262
|
exports.TtlValidationError = TtlValidationError;
|
|
20263
|
+
exports.VERSION = VERSION;
|
|
20255
20264
|
exports.WebSocketCloseCode = WebSocketCloseCode;
|
|
20256
20265
|
exports.WebSocketConnector = WebSocketConnector;
|
|
20257
20266
|
exports.WebSocketState = WebSocketState;
|