@naylence/runtime 0.3.5-test.913 → 0.3.5-test.914
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 +46 -42
- package/dist/browser/index.mjs +46 -42
- package/dist/cjs/naylence/fame/config/extended-fame-config.js +43 -39
- package/dist/cjs/version.js +2 -2
- package/dist/esm/naylence/fame/config/extended-fame-config.js +43 -39
- package/dist/esm/version.js +2 -2
- package/dist/node/index.cjs +46 -42
- package/dist/node/index.mjs +46 -42
- package/dist/node/node.cjs +46 -42
- package/dist/node/node.mjs +46 -42
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/browser/index.cjs
CHANGED
|
@@ -98,12 +98,12 @@ installProcessEnvShim();
|
|
|
98
98
|
// --- END ENV SHIM ---
|
|
99
99
|
|
|
100
100
|
// This file is auto-generated during build - do not edit manually
|
|
101
|
-
// Generated from package.json version: 0.3.5-test.
|
|
101
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
102
102
|
/**
|
|
103
103
|
* The package version, injected at build time.
|
|
104
104
|
* @internal
|
|
105
105
|
*/
|
|
106
|
-
const VERSION = '0.3.5-test.
|
|
106
|
+
const VERSION = '0.3.5-test.914';
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -13099,47 +13099,51 @@ const currentModuleUrl = (() => {
|
|
|
13099
13099
|
return undefined;
|
|
13100
13100
|
}
|
|
13101
13101
|
})();
|
|
13102
|
-
|
|
13103
|
-
|
|
13104
|
-
|
|
13105
|
-
|
|
13106
|
-
if (
|
|
13107
|
-
|
|
13108
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
13109
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
13110
|
-
void (async () => {
|
|
13111
|
-
try {
|
|
13112
|
-
if (typeof require !== 'function') {
|
|
13113
|
-
const moduleNamespace = (await import('node:module'));
|
|
13114
|
-
const createRequire = moduleNamespace.createRequire;
|
|
13115
|
-
if (typeof createRequire === 'function') {
|
|
13116
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
13117
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
13118
|
-
globalThis.require = nodeRequire;
|
|
13119
|
-
}
|
|
13120
|
-
}
|
|
13102
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
13103
|
+
function fileUrlToPath(url) {
|
|
13104
|
+
try {
|
|
13105
|
+
const parsed = new URL(url);
|
|
13106
|
+
if (parsed.protocol !== 'file:') {
|
|
13107
|
+
return null;
|
|
13121
13108
|
}
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
}
|
|
13109
|
+
let pathname = parsed.pathname;
|
|
13110
|
+
if (typeof process !== 'undefined' &&
|
|
13111
|
+
process.platform === 'win32' &&
|
|
13112
|
+
pathname.startsWith('/')) {
|
|
13113
|
+
pathname = pathname.slice(1);
|
|
13114
|
+
}
|
|
13115
|
+
return decodeURIComponent(pathname);
|
|
13116
|
+
}
|
|
13117
|
+
catch {
|
|
13118
|
+
return null;
|
|
13119
|
+
}
|
|
13133
13120
|
}
|
|
13134
|
-
function
|
|
13135
|
-
if (
|
|
13136
|
-
return;
|
|
13121
|
+
function getNodeRequire() {
|
|
13122
|
+
if (cachedNodeRequire) {
|
|
13123
|
+
return cachedNodeRequire;
|
|
13137
13124
|
}
|
|
13138
|
-
if (
|
|
13139
|
-
return;
|
|
13125
|
+
if (!isNode) {
|
|
13126
|
+
return null;
|
|
13127
|
+
}
|
|
13128
|
+
const processBinding = process.binding;
|
|
13129
|
+
if (typeof processBinding !== 'function') {
|
|
13130
|
+
return null;
|
|
13131
|
+
}
|
|
13132
|
+
try {
|
|
13133
|
+
const moduleWrap = processBinding('module_wrap');
|
|
13134
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
13135
|
+
return null;
|
|
13136
|
+
}
|
|
13137
|
+
const modulePathFromUrl = currentModuleUrl
|
|
13138
|
+
? fileUrlToPath(currentModuleUrl)
|
|
13139
|
+
: null;
|
|
13140
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
13141
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
13142
|
+
return cachedNodeRequire;
|
|
13143
|
+
}
|
|
13144
|
+
catch {
|
|
13145
|
+
return null;
|
|
13140
13146
|
}
|
|
13141
|
-
// Block until the asynchronous loader finishes initialising
|
|
13142
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
13143
13147
|
}
|
|
13144
13148
|
function getFsModule() {
|
|
13145
13149
|
if (cachedFsModule) {
|
|
@@ -13148,10 +13152,10 @@ function getFsModule() {
|
|
|
13148
13152
|
if (!isNode) {
|
|
13149
13153
|
throw new Error('File system access is not available in this environment');
|
|
13150
13154
|
}
|
|
13151
|
-
|
|
13152
|
-
if (
|
|
13155
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
13156
|
+
if (nodeRequire) {
|
|
13153
13157
|
try {
|
|
13154
|
-
cachedFsModule =
|
|
13158
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
13155
13159
|
return cachedFsModule;
|
|
13156
13160
|
}
|
|
13157
13161
|
catch (error) {
|
package/dist/browser/index.mjs
CHANGED
|
@@ -96,12 +96,12 @@ installProcessEnvShim();
|
|
|
96
96
|
// --- END ENV SHIM ---
|
|
97
97
|
|
|
98
98
|
// This file is auto-generated during build - do not edit manually
|
|
99
|
-
// Generated from package.json version: 0.3.5-test.
|
|
99
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
100
100
|
/**
|
|
101
101
|
* The package version, injected at build time.
|
|
102
102
|
* @internal
|
|
103
103
|
*/
|
|
104
|
-
const VERSION = '0.3.5-test.
|
|
104
|
+
const VERSION = '0.3.5-test.914';
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -13097,47 +13097,51 @@ const currentModuleUrl = (() => {
|
|
|
13097
13097
|
return undefined;
|
|
13098
13098
|
}
|
|
13099
13099
|
})();
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
|
-
|
|
13103
|
-
|
|
13104
|
-
if (
|
|
13105
|
-
|
|
13106
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
13107
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
13108
|
-
void (async () => {
|
|
13109
|
-
try {
|
|
13110
|
-
if (typeof require !== 'function') {
|
|
13111
|
-
const moduleNamespace = (await import('node:module'));
|
|
13112
|
-
const createRequire = moduleNamespace.createRequire;
|
|
13113
|
-
if (typeof createRequire === 'function') {
|
|
13114
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
13115
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
13116
|
-
globalThis.require = nodeRequire;
|
|
13117
|
-
}
|
|
13118
|
-
}
|
|
13100
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
13101
|
+
function fileUrlToPath(url) {
|
|
13102
|
+
try {
|
|
13103
|
+
const parsed = new URL(url);
|
|
13104
|
+
if (parsed.protocol !== 'file:') {
|
|
13105
|
+
return null;
|
|
13119
13106
|
}
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
}
|
|
13107
|
+
let pathname = parsed.pathname;
|
|
13108
|
+
if (typeof process !== 'undefined' &&
|
|
13109
|
+
process.platform === 'win32' &&
|
|
13110
|
+
pathname.startsWith('/')) {
|
|
13111
|
+
pathname = pathname.slice(1);
|
|
13112
|
+
}
|
|
13113
|
+
return decodeURIComponent(pathname);
|
|
13114
|
+
}
|
|
13115
|
+
catch {
|
|
13116
|
+
return null;
|
|
13117
|
+
}
|
|
13131
13118
|
}
|
|
13132
|
-
function
|
|
13133
|
-
if (
|
|
13134
|
-
return;
|
|
13119
|
+
function getNodeRequire() {
|
|
13120
|
+
if (cachedNodeRequire) {
|
|
13121
|
+
return cachedNodeRequire;
|
|
13135
13122
|
}
|
|
13136
|
-
if (
|
|
13137
|
-
return;
|
|
13123
|
+
if (!isNode) {
|
|
13124
|
+
return null;
|
|
13125
|
+
}
|
|
13126
|
+
const processBinding = process.binding;
|
|
13127
|
+
if (typeof processBinding !== 'function') {
|
|
13128
|
+
return null;
|
|
13129
|
+
}
|
|
13130
|
+
try {
|
|
13131
|
+
const moduleWrap = processBinding('module_wrap');
|
|
13132
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
13133
|
+
return null;
|
|
13134
|
+
}
|
|
13135
|
+
const modulePathFromUrl = currentModuleUrl
|
|
13136
|
+
? fileUrlToPath(currentModuleUrl)
|
|
13137
|
+
: null;
|
|
13138
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
13139
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
13140
|
+
return cachedNodeRequire;
|
|
13141
|
+
}
|
|
13142
|
+
catch {
|
|
13143
|
+
return null;
|
|
13138
13144
|
}
|
|
13139
|
-
// Block until the asynchronous loader finishes initialising
|
|
13140
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
13141
13145
|
}
|
|
13142
13146
|
function getFsModule() {
|
|
13143
13147
|
if (cachedFsModule) {
|
|
@@ -13146,10 +13150,10 @@ function getFsModule() {
|
|
|
13146
13150
|
if (!isNode) {
|
|
13147
13151
|
throw new Error('File system access is not available in this environment');
|
|
13148
13152
|
}
|
|
13149
|
-
|
|
13150
|
-
if (
|
|
13153
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
13154
|
+
if (nodeRequire) {
|
|
13151
13155
|
try {
|
|
13152
|
-
cachedFsModule =
|
|
13156
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
13153
13157
|
return cachedFsModule;
|
|
13154
13158
|
}
|
|
13155
13159
|
catch (error) {
|
|
@@ -66,47 +66,51 @@ const currentModuleUrl = (() => {
|
|
|
66
66
|
return undefined;
|
|
67
67
|
}
|
|
68
68
|
})();
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (
|
|
74
|
-
|
|
75
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
76
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
77
|
-
void (async () => {
|
|
78
|
-
try {
|
|
79
|
-
if (typeof require !== 'function') {
|
|
80
|
-
const moduleNamespace = (await Promise.resolve().then(() => __importStar(require('node:module'))));
|
|
81
|
-
const createRequire = moduleNamespace.createRequire;
|
|
82
|
-
if (typeof createRequire === 'function') {
|
|
83
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
84
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
85
|
-
globalThis.require = nodeRequire;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
69
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
70
|
+
function fileUrlToPath(url) {
|
|
71
|
+
try {
|
|
72
|
+
const parsed = new URL(url);
|
|
73
|
+
if (parsed.protocol !== 'file:') {
|
|
74
|
+
return null;
|
|
88
75
|
}
|
|
89
|
-
|
|
90
|
-
|
|
76
|
+
let pathname = parsed.pathname;
|
|
77
|
+
if (typeof process !== 'undefined' &&
|
|
78
|
+
process.platform === 'win32' &&
|
|
79
|
+
pathname.startsWith('/')) {
|
|
80
|
+
pathname = pathname.slice(1);
|
|
91
81
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Atomics.store(requireReadyFlag, 0, 1);
|
|
98
|
-
Atomics.notify(requireReadyFlag, 0);
|
|
99
|
-
});
|
|
82
|
+
return decodeURIComponent(pathname);
|
|
83
|
+
}
|
|
84
|
+
catch {
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
100
87
|
}
|
|
101
|
-
function
|
|
102
|
-
if (
|
|
103
|
-
return;
|
|
88
|
+
function getNodeRequire() {
|
|
89
|
+
if (cachedNodeRequire) {
|
|
90
|
+
return cachedNodeRequire;
|
|
104
91
|
}
|
|
105
|
-
if (
|
|
106
|
-
return;
|
|
92
|
+
if (!logging_types_js_1.isNode) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
const processBinding = process.binding;
|
|
96
|
+
if (typeof processBinding !== 'function') {
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
try {
|
|
100
|
+
const moduleWrap = processBinding('module_wrap');
|
|
101
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
const modulePathFromUrl = currentModuleUrl
|
|
105
|
+
? fileUrlToPath(currentModuleUrl)
|
|
106
|
+
: null;
|
|
107
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
108
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
109
|
+
return cachedNodeRequire;
|
|
110
|
+
}
|
|
111
|
+
catch {
|
|
112
|
+
return null;
|
|
107
113
|
}
|
|
108
|
-
// Block until the asynchronous loader finishes initialising
|
|
109
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
110
114
|
}
|
|
111
115
|
function getFsModule() {
|
|
112
116
|
if (cachedFsModule) {
|
|
@@ -115,10 +119,10 @@ function getFsModule() {
|
|
|
115
119
|
if (!logging_types_js_1.isNode) {
|
|
116
120
|
throw new Error('File system access is not available in this environment');
|
|
117
121
|
}
|
|
118
|
-
|
|
119
|
-
if (
|
|
122
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
123
|
+
if (nodeRequire) {
|
|
120
124
|
try {
|
|
121
|
-
cachedFsModule =
|
|
125
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
122
126
|
return cachedFsModule;
|
|
123
127
|
}
|
|
124
128
|
catch (error) {
|
package/dist/cjs/version.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated during build - do not edit manually
|
|
3
|
-
// Generated from package.json version: 0.3.5-test.
|
|
3
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.VERSION = void 0;
|
|
6
6
|
/**
|
|
7
7
|
* The package version, injected at build time.
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
|
10
|
-
exports.VERSION = '0.3.5-test.
|
|
10
|
+
exports.VERSION = '0.3.5-test.914';
|
|
@@ -23,47 +23,51 @@ const currentModuleUrl = (() => {
|
|
|
23
23
|
return undefined;
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
33
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
34
|
-
void (async () => {
|
|
35
|
-
try {
|
|
36
|
-
if (typeof require !== 'function') {
|
|
37
|
-
const moduleNamespace = (await import('node:module'));
|
|
38
|
-
const createRequire = moduleNamespace.createRequire;
|
|
39
|
-
if (typeof createRequire === 'function') {
|
|
40
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
41
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
42
|
-
globalThis.require = nodeRequire;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
26
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
27
|
+
function fileUrlToPath(url) {
|
|
28
|
+
try {
|
|
29
|
+
const parsed = new URL(url);
|
|
30
|
+
if (parsed.protocol !== 'file:') {
|
|
31
|
+
return null;
|
|
45
32
|
}
|
|
46
|
-
|
|
47
|
-
|
|
33
|
+
let pathname = parsed.pathname;
|
|
34
|
+
if (typeof process !== 'undefined' &&
|
|
35
|
+
process.platform === 'win32' &&
|
|
36
|
+
pathname.startsWith('/')) {
|
|
37
|
+
pathname = pathname.slice(1);
|
|
48
38
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
Atomics.store(requireReadyFlag, 0, 1);
|
|
55
|
-
Atomics.notify(requireReadyFlag, 0);
|
|
56
|
-
});
|
|
39
|
+
return decodeURIComponent(pathname);
|
|
40
|
+
}
|
|
41
|
+
catch {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
57
44
|
}
|
|
58
|
-
function
|
|
59
|
-
if (
|
|
60
|
-
return;
|
|
45
|
+
function getNodeRequire() {
|
|
46
|
+
if (cachedNodeRequire) {
|
|
47
|
+
return cachedNodeRequire;
|
|
61
48
|
}
|
|
62
|
-
if (
|
|
63
|
-
return;
|
|
49
|
+
if (!isNode) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
const processBinding = process.binding;
|
|
53
|
+
if (typeof processBinding !== 'function') {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
try {
|
|
57
|
+
const moduleWrap = processBinding('module_wrap');
|
|
58
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
const modulePathFromUrl = currentModuleUrl
|
|
62
|
+
? fileUrlToPath(currentModuleUrl)
|
|
63
|
+
: null;
|
|
64
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
65
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
66
|
+
return cachedNodeRequire;
|
|
67
|
+
}
|
|
68
|
+
catch {
|
|
69
|
+
return null;
|
|
64
70
|
}
|
|
65
|
-
// Block until the asynchronous loader finishes initialising
|
|
66
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
67
71
|
}
|
|
68
72
|
function getFsModule() {
|
|
69
73
|
if (cachedFsModule) {
|
|
@@ -72,10 +76,10 @@ function getFsModule() {
|
|
|
72
76
|
if (!isNode) {
|
|
73
77
|
throw new Error('File system access is not available in this environment');
|
|
74
78
|
}
|
|
75
|
-
|
|
76
|
-
if (
|
|
79
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
80
|
+
if (nodeRequire) {
|
|
77
81
|
try {
|
|
78
|
-
cachedFsModule =
|
|
82
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
79
83
|
return cachedFsModule;
|
|
80
84
|
}
|
|
81
85
|
catch (error) {
|
package/dist/esm/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated during build - do not edit manually
|
|
2
|
-
// Generated from package.json version: 0.3.5-test.
|
|
2
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
3
3
|
/**
|
|
4
4
|
* The package version, injected at build time.
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
|
-
export const VERSION = '0.3.5-test.
|
|
7
|
+
export const VERSION = '0.3.5-test.914';
|
package/dist/node/index.cjs
CHANGED
|
@@ -14,12 +14,12 @@ var websocketPlugin = require('@fastify/websocket');
|
|
|
14
14
|
var ed25519 = require('@noble/ed25519');
|
|
15
15
|
|
|
16
16
|
// This file is auto-generated during build - do not edit manually
|
|
17
|
-
// Generated from package.json version: 0.3.5-test.
|
|
17
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
18
18
|
/**
|
|
19
19
|
* The package version, injected at build time.
|
|
20
20
|
* @internal
|
|
21
21
|
*/
|
|
22
|
-
const VERSION = '0.3.5-test.
|
|
22
|
+
const VERSION = '0.3.5-test.914';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -13015,47 +13015,51 @@ const currentModuleUrl = (() => {
|
|
|
13015
13015
|
return undefined;
|
|
13016
13016
|
}
|
|
13017
13017
|
})();
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
if (
|
|
13023
|
-
|
|
13024
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
13025
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
13026
|
-
void (async () => {
|
|
13027
|
-
try {
|
|
13028
|
-
if (typeof require !== 'function') {
|
|
13029
|
-
const moduleNamespace = (await import('node:module'));
|
|
13030
|
-
const createRequire = moduleNamespace.createRequire;
|
|
13031
|
-
if (typeof createRequire === 'function') {
|
|
13032
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
13033
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
13034
|
-
globalThis.require = nodeRequire;
|
|
13035
|
-
}
|
|
13036
|
-
}
|
|
13018
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
13019
|
+
function fileUrlToPath(url) {
|
|
13020
|
+
try {
|
|
13021
|
+
const parsed = new URL(url);
|
|
13022
|
+
if (parsed.protocol !== 'file:') {
|
|
13023
|
+
return null;
|
|
13037
13024
|
}
|
|
13038
|
-
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
}
|
|
13025
|
+
let pathname = parsed.pathname;
|
|
13026
|
+
if (typeof process !== 'undefined' &&
|
|
13027
|
+
process.platform === 'win32' &&
|
|
13028
|
+
pathname.startsWith('/')) {
|
|
13029
|
+
pathname = pathname.slice(1);
|
|
13030
|
+
}
|
|
13031
|
+
return decodeURIComponent(pathname);
|
|
13032
|
+
}
|
|
13033
|
+
catch {
|
|
13034
|
+
return null;
|
|
13035
|
+
}
|
|
13049
13036
|
}
|
|
13050
|
-
function
|
|
13051
|
-
if (
|
|
13052
|
-
return;
|
|
13037
|
+
function getNodeRequire() {
|
|
13038
|
+
if (cachedNodeRequire) {
|
|
13039
|
+
return cachedNodeRequire;
|
|
13053
13040
|
}
|
|
13054
|
-
if (
|
|
13055
|
-
return;
|
|
13041
|
+
if (!isNode) {
|
|
13042
|
+
return null;
|
|
13043
|
+
}
|
|
13044
|
+
const processBinding = process.binding;
|
|
13045
|
+
if (typeof processBinding !== 'function') {
|
|
13046
|
+
return null;
|
|
13047
|
+
}
|
|
13048
|
+
try {
|
|
13049
|
+
const moduleWrap = processBinding('module_wrap');
|
|
13050
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
13051
|
+
return null;
|
|
13052
|
+
}
|
|
13053
|
+
const modulePathFromUrl = currentModuleUrl
|
|
13054
|
+
? fileUrlToPath(currentModuleUrl)
|
|
13055
|
+
: null;
|
|
13056
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
13057
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
13058
|
+
return cachedNodeRequire;
|
|
13059
|
+
}
|
|
13060
|
+
catch {
|
|
13061
|
+
return null;
|
|
13056
13062
|
}
|
|
13057
|
-
// Block until the asynchronous loader finishes initialising
|
|
13058
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
13059
13063
|
}
|
|
13060
13064
|
function getFsModule() {
|
|
13061
13065
|
if (cachedFsModule) {
|
|
@@ -13064,10 +13068,10 @@ function getFsModule() {
|
|
|
13064
13068
|
if (!isNode) {
|
|
13065
13069
|
throw new Error('File system access is not available in this environment');
|
|
13066
13070
|
}
|
|
13067
|
-
|
|
13068
|
-
if (
|
|
13071
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
13072
|
+
if (nodeRequire) {
|
|
13069
13073
|
try {
|
|
13070
|
-
cachedFsModule =
|
|
13074
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
13071
13075
|
return cachedFsModule;
|
|
13072
13076
|
}
|
|
13073
13077
|
catch (error) {
|
package/dist/node/index.mjs
CHANGED
|
@@ -13,12 +13,12 @@ import websocketPlugin from '@fastify/websocket';
|
|
|
13
13
|
import { sign, hashes, verify } from '@noble/ed25519';
|
|
14
14
|
|
|
15
15
|
// This file is auto-generated during build - do not edit manually
|
|
16
|
-
// Generated from package.json version: 0.3.5-test.
|
|
16
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
17
17
|
/**
|
|
18
18
|
* The package version, injected at build time.
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
const VERSION = '0.3.5-test.
|
|
21
|
+
const VERSION = '0.3.5-test.914';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Fame protocol specific error classes with WebSocket close codes and proper inheritance.
|
|
@@ -13014,47 +13014,51 @@ const currentModuleUrl = (() => {
|
|
|
13014
13014
|
return undefined;
|
|
13015
13015
|
}
|
|
13016
13016
|
})();
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
if (
|
|
13022
|
-
|
|
13023
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
13024
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
13025
|
-
void (async () => {
|
|
13026
|
-
try {
|
|
13027
|
-
if (typeof require !== 'function') {
|
|
13028
|
-
const moduleNamespace = (await import('node:module'));
|
|
13029
|
-
const createRequire = moduleNamespace.createRequire;
|
|
13030
|
-
if (typeof createRequire === 'function') {
|
|
13031
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
13032
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
13033
|
-
globalThis.require = nodeRequire;
|
|
13034
|
-
}
|
|
13035
|
-
}
|
|
13017
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
13018
|
+
function fileUrlToPath(url) {
|
|
13019
|
+
try {
|
|
13020
|
+
const parsed = new URL(url);
|
|
13021
|
+
if (parsed.protocol !== 'file:') {
|
|
13022
|
+
return null;
|
|
13036
13023
|
}
|
|
13037
|
-
|
|
13038
|
-
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
}
|
|
13024
|
+
let pathname = parsed.pathname;
|
|
13025
|
+
if (typeof process !== 'undefined' &&
|
|
13026
|
+
process.platform === 'win32' &&
|
|
13027
|
+
pathname.startsWith('/')) {
|
|
13028
|
+
pathname = pathname.slice(1);
|
|
13029
|
+
}
|
|
13030
|
+
return decodeURIComponent(pathname);
|
|
13031
|
+
}
|
|
13032
|
+
catch {
|
|
13033
|
+
return null;
|
|
13034
|
+
}
|
|
13048
13035
|
}
|
|
13049
|
-
function
|
|
13050
|
-
if (
|
|
13051
|
-
return;
|
|
13036
|
+
function getNodeRequire() {
|
|
13037
|
+
if (cachedNodeRequire) {
|
|
13038
|
+
return cachedNodeRequire;
|
|
13052
13039
|
}
|
|
13053
|
-
if (
|
|
13054
|
-
return;
|
|
13040
|
+
if (!isNode) {
|
|
13041
|
+
return null;
|
|
13042
|
+
}
|
|
13043
|
+
const processBinding = process.binding;
|
|
13044
|
+
if (typeof processBinding !== 'function') {
|
|
13045
|
+
return null;
|
|
13046
|
+
}
|
|
13047
|
+
try {
|
|
13048
|
+
const moduleWrap = processBinding('module_wrap');
|
|
13049
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
13050
|
+
return null;
|
|
13051
|
+
}
|
|
13052
|
+
const modulePathFromUrl = currentModuleUrl
|
|
13053
|
+
? fileUrlToPath(currentModuleUrl)
|
|
13054
|
+
: null;
|
|
13055
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
13056
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
13057
|
+
return cachedNodeRequire;
|
|
13058
|
+
}
|
|
13059
|
+
catch {
|
|
13060
|
+
return null;
|
|
13055
13061
|
}
|
|
13056
|
-
// Block until the asynchronous loader finishes initialising
|
|
13057
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
13058
13062
|
}
|
|
13059
13063
|
function getFsModule() {
|
|
13060
13064
|
if (cachedFsModule) {
|
|
@@ -13063,10 +13067,10 @@ function getFsModule() {
|
|
|
13063
13067
|
if (!isNode) {
|
|
13064
13068
|
throw new Error('File system access is not available in this environment');
|
|
13065
13069
|
}
|
|
13066
|
-
|
|
13067
|
-
if (
|
|
13070
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
13071
|
+
if (nodeRequire) {
|
|
13068
13072
|
try {
|
|
13069
|
-
cachedFsModule =
|
|
13073
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
13070
13074
|
return cachedFsModule;
|
|
13071
13075
|
}
|
|
13072
13076
|
catch (error) {
|
package/dist/node/node.cjs
CHANGED
|
@@ -5364,12 +5364,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
|
|
|
5364
5364
|
}
|
|
5365
5365
|
|
|
5366
5366
|
// This file is auto-generated during build - do not edit manually
|
|
5367
|
-
// Generated from package.json version: 0.3.5-test.
|
|
5367
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
5368
5368
|
/**
|
|
5369
5369
|
* The package version, injected at build time.
|
|
5370
5370
|
* @internal
|
|
5371
5371
|
*/
|
|
5372
|
-
const VERSION = '0.3.5-test.
|
|
5372
|
+
const VERSION = '0.3.5-test.914';
|
|
5373
5373
|
|
|
5374
5374
|
/**
|
|
5375
5375
|
* Fame errors module - Fame protocol specific error classes
|
|
@@ -14707,47 +14707,51 @@ const currentModuleUrl = (() => {
|
|
|
14707
14707
|
return undefined;
|
|
14708
14708
|
}
|
|
14709
14709
|
})();
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
if (
|
|
14715
|
-
|
|
14716
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
14717
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
14718
|
-
void (async () => {
|
|
14719
|
-
try {
|
|
14720
|
-
if (typeof require !== 'function') {
|
|
14721
|
-
const moduleNamespace = (await import('node:module'));
|
|
14722
|
-
const createRequire = moduleNamespace.createRequire;
|
|
14723
|
-
if (typeof createRequire === 'function') {
|
|
14724
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
14725
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
14726
|
-
globalThis.require = nodeRequire;
|
|
14727
|
-
}
|
|
14728
|
-
}
|
|
14710
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
14711
|
+
function fileUrlToPath(url) {
|
|
14712
|
+
try {
|
|
14713
|
+
const parsed = new URL(url);
|
|
14714
|
+
if (parsed.protocol !== 'file:') {
|
|
14715
|
+
return null;
|
|
14729
14716
|
}
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
}
|
|
14717
|
+
let pathname = parsed.pathname;
|
|
14718
|
+
if (typeof process !== 'undefined' &&
|
|
14719
|
+
process.platform === 'win32' &&
|
|
14720
|
+
pathname.startsWith('/')) {
|
|
14721
|
+
pathname = pathname.slice(1);
|
|
14722
|
+
}
|
|
14723
|
+
return decodeURIComponent(pathname);
|
|
14724
|
+
}
|
|
14725
|
+
catch {
|
|
14726
|
+
return null;
|
|
14727
|
+
}
|
|
14741
14728
|
}
|
|
14742
|
-
function
|
|
14743
|
-
if (
|
|
14744
|
-
return;
|
|
14729
|
+
function getNodeRequire() {
|
|
14730
|
+
if (cachedNodeRequire) {
|
|
14731
|
+
return cachedNodeRequire;
|
|
14745
14732
|
}
|
|
14746
|
-
if (
|
|
14747
|
-
return;
|
|
14733
|
+
if (!isNode) {
|
|
14734
|
+
return null;
|
|
14735
|
+
}
|
|
14736
|
+
const processBinding = process.binding;
|
|
14737
|
+
if (typeof processBinding !== 'function') {
|
|
14738
|
+
return null;
|
|
14739
|
+
}
|
|
14740
|
+
try {
|
|
14741
|
+
const moduleWrap = processBinding('module_wrap');
|
|
14742
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
14743
|
+
return null;
|
|
14744
|
+
}
|
|
14745
|
+
const modulePathFromUrl = currentModuleUrl
|
|
14746
|
+
? fileUrlToPath(currentModuleUrl)
|
|
14747
|
+
: null;
|
|
14748
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
14749
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
14750
|
+
return cachedNodeRequire;
|
|
14751
|
+
}
|
|
14752
|
+
catch {
|
|
14753
|
+
return null;
|
|
14748
14754
|
}
|
|
14749
|
-
// Block until the asynchronous loader finishes initialising
|
|
14750
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
14751
14755
|
}
|
|
14752
14756
|
function getFsModule() {
|
|
14753
14757
|
if (cachedFsModule) {
|
|
@@ -14756,10 +14760,10 @@ function getFsModule() {
|
|
|
14756
14760
|
if (!isNode) {
|
|
14757
14761
|
throw new Error('File system access is not available in this environment');
|
|
14758
14762
|
}
|
|
14759
|
-
|
|
14760
|
-
if (
|
|
14763
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
14764
|
+
if (nodeRequire) {
|
|
14761
14765
|
try {
|
|
14762
|
-
cachedFsModule =
|
|
14766
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
14763
14767
|
return cachedFsModule;
|
|
14764
14768
|
}
|
|
14765
14769
|
catch (error) {
|
package/dist/node/node.mjs
CHANGED
|
@@ -5363,12 +5363,12 @@ for (const [name, config] of Object.entries(SQLITE_PROFILES)) {
|
|
|
5363
5363
|
}
|
|
5364
5364
|
|
|
5365
5365
|
// This file is auto-generated during build - do not edit manually
|
|
5366
|
-
// Generated from package.json version: 0.3.5-test.
|
|
5366
|
+
// Generated from package.json version: 0.3.5-test.914
|
|
5367
5367
|
/**
|
|
5368
5368
|
* The package version, injected at build time.
|
|
5369
5369
|
* @internal
|
|
5370
5370
|
*/
|
|
5371
|
-
const VERSION = '0.3.5-test.
|
|
5371
|
+
const VERSION = '0.3.5-test.914';
|
|
5372
5372
|
|
|
5373
5373
|
/**
|
|
5374
5374
|
* Fame errors module - Fame protocol specific error classes
|
|
@@ -14706,47 +14706,51 @@ const currentModuleUrl = (() => {
|
|
|
14706
14706
|
return undefined;
|
|
14707
14707
|
}
|
|
14708
14708
|
})();
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
if (
|
|
14714
|
-
|
|
14715
|
-
Atomics.store(requireReadyFlag, 0, 0);
|
|
14716
|
-
// Prepare a CommonJS-style require when running in pure ESM contexts
|
|
14717
|
-
void (async () => {
|
|
14718
|
-
try {
|
|
14719
|
-
if (typeof require !== 'function') {
|
|
14720
|
-
const moduleNamespace = (await import('node:module'));
|
|
14721
|
-
const createRequire = moduleNamespace.createRequire;
|
|
14722
|
-
if (typeof createRequire === 'function') {
|
|
14723
|
-
const fallbackPath = `${process.cwd()}/.__naylence_require_shim__.mjs`;
|
|
14724
|
-
const nodeRequire = createRequire(currentModuleUrl ?? fallbackPath);
|
|
14725
|
-
globalThis.require = nodeRequire;
|
|
14726
|
-
}
|
|
14727
|
-
}
|
|
14709
|
+
let cachedNodeRequire = typeof require === 'function' ? require : null;
|
|
14710
|
+
function fileUrlToPath(url) {
|
|
14711
|
+
try {
|
|
14712
|
+
const parsed = new URL(url);
|
|
14713
|
+
if (parsed.protocol !== 'file:') {
|
|
14714
|
+
return null;
|
|
14728
14715
|
}
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
}
|
|
14716
|
+
let pathname = parsed.pathname;
|
|
14717
|
+
if (typeof process !== 'undefined' &&
|
|
14718
|
+
process.platform === 'win32' &&
|
|
14719
|
+
pathname.startsWith('/')) {
|
|
14720
|
+
pathname = pathname.slice(1);
|
|
14721
|
+
}
|
|
14722
|
+
return decodeURIComponent(pathname);
|
|
14723
|
+
}
|
|
14724
|
+
catch {
|
|
14725
|
+
return null;
|
|
14726
|
+
}
|
|
14740
14727
|
}
|
|
14741
|
-
function
|
|
14742
|
-
if (
|
|
14743
|
-
return;
|
|
14728
|
+
function getNodeRequire() {
|
|
14729
|
+
if (cachedNodeRequire) {
|
|
14730
|
+
return cachedNodeRequire;
|
|
14744
14731
|
}
|
|
14745
|
-
if (
|
|
14746
|
-
return;
|
|
14732
|
+
if (!isNode) {
|
|
14733
|
+
return null;
|
|
14734
|
+
}
|
|
14735
|
+
const processBinding = process.binding;
|
|
14736
|
+
if (typeof processBinding !== 'function') {
|
|
14737
|
+
return null;
|
|
14738
|
+
}
|
|
14739
|
+
try {
|
|
14740
|
+
const moduleWrap = processBinding('module_wrap');
|
|
14741
|
+
if (typeof moduleWrap?.createRequire !== 'function') {
|
|
14742
|
+
return null;
|
|
14743
|
+
}
|
|
14744
|
+
const modulePathFromUrl = currentModuleUrl
|
|
14745
|
+
? fileUrlToPath(currentModuleUrl)
|
|
14746
|
+
: null;
|
|
14747
|
+
const requireSource = modulePathFromUrl ?? `${process.cwd()}/.naylence-require-shim.js`;
|
|
14748
|
+
cachedNodeRequire = moduleWrap.createRequire(requireSource);
|
|
14749
|
+
return cachedNodeRequire;
|
|
14750
|
+
}
|
|
14751
|
+
catch {
|
|
14752
|
+
return null;
|
|
14747
14753
|
}
|
|
14748
|
-
// Block until the asynchronous loader finishes initialising
|
|
14749
|
-
Atomics.wait(requireReadyFlag, 0, 0);
|
|
14750
14754
|
}
|
|
14751
14755
|
function getFsModule() {
|
|
14752
14756
|
if (cachedFsModule) {
|
|
@@ -14755,10 +14759,10 @@ function getFsModule() {
|
|
|
14755
14759
|
if (!isNode) {
|
|
14756
14760
|
throw new Error('File system access is not available in this environment');
|
|
14757
14761
|
}
|
|
14758
|
-
|
|
14759
|
-
if (
|
|
14762
|
+
const nodeRequire = typeof require === 'function' ? require : getNodeRequire();
|
|
14763
|
+
if (nodeRequire) {
|
|
14760
14764
|
try {
|
|
14761
|
-
cachedFsModule =
|
|
14765
|
+
cachedFsModule = nodeRequire(fsModuleSpecifier);
|
|
14762
14766
|
return cachedFsModule;
|
|
14763
14767
|
}
|
|
14764
14768
|
catch (error) {
|
package/dist/types/version.d.ts
CHANGED