s3db.js 19.4.12-next.cbfc67df → 19.4.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/dist/plugins/index.js +3 -22
- package/dist/s3db-lite.cjs +2 -2
- package/dist/s3db-lite.es.js +2 -2
- package/dist/s3db.cjs +51004 -51009
- package/dist/s3db.d.ts +6859 -5817
- package/dist/s3db.es.js +50988 -51010
- package/dist/types/plugins/index.d.ts +3 -19
- package/package.json +1 -1
- package/src/plugins/index.ts +21 -24
package/dist/plugins/index.js
CHANGED
|
@@ -66,6 +66,8 @@ export const loadKubernetesInventoryPlugin = () => lazyLoadPlugin('KubernetesInv
|
|
|
66
66
|
export const loadSMTPPlugin = () => lazyLoadPlugin('SMTPPlugin');
|
|
67
67
|
export const loadQueueConsumerPlugin = () => lazyLoadPlugin('QueueConsumerPlugin');
|
|
68
68
|
export const loadWebSocketPlugin = () => lazyLoadPlugin('WebSocketPlugin');
|
|
69
|
+
export { ApiPlugin } from './api/index.js';
|
|
70
|
+
export { IdentityPlugin } from './identity/index.js';
|
|
69
71
|
export { BackupPlugin } from './backup.plugin.js';
|
|
70
72
|
export { KubernetesInventoryPlugin } from './kubernetes-inventory.plugin.js';
|
|
71
73
|
export { PuppeteerPlugin } from './puppeteer.plugin.js';
|
|
@@ -83,28 +85,7 @@ export { GeoPlugin } from './geo.plugin.js';
|
|
|
83
85
|
export { ReplicatorPlugin } from './replicator.plugin.js';
|
|
84
86
|
export { QueueConsumerPlugin } from './queue-consumer.plugin.js';
|
|
85
87
|
export { WebSocketPlugin, WebSocketServer } from './websocket/index.js';
|
|
88
|
+
export { OIDCClient, setupTemplateEngine, ejsEngine, pugEngine, jsxEngine, OpenGraphHelper, RouteContext, withContext, errorResponse, successResponse, createContextInjectionMiddleware, getChunkedCookie, setChunkedCookie, deleteChunkedCookie, isChunkedCookie, initCookieChunking } from './api/index.js';
|
|
86
89
|
export { HttpBadRequestError, HttpValidationError, HttpUnauthorizedError, HttpForbiddenError, HttpNotFoundError, HttpMethodNotAllowedError, HttpConflictError, HttpUnprocessableEntityError, HttpTooManyRequestsError, HttpInternalServerError, HttpNotImplementedError, HttpServiceUnavailableError, HTTP_ERRORS, createHttpError } from './api/errors.js';
|
|
87
90
|
export { NotificationStateMachine, AttemptStateMachine, createNotificationStateMachine, createAttemptStateMachine } from './api/concerns/state-machine.js';
|
|
88
|
-
export const loadApiHelpers = async () => {
|
|
89
|
-
const apiModule = await import('./api/index.js');
|
|
90
|
-
return {
|
|
91
|
-
ApiPlugin: apiModule.ApiPlugin,
|
|
92
|
-
OIDCClient: apiModule.OIDCClient,
|
|
93
|
-
setupTemplateEngine: apiModule.setupTemplateEngine,
|
|
94
|
-
ejsEngine: apiModule.ejsEngine,
|
|
95
|
-
pugEngine: apiModule.pugEngine,
|
|
96
|
-
jsxEngine: apiModule.jsxEngine,
|
|
97
|
-
OpenGraphHelper: apiModule.OpenGraphHelper,
|
|
98
|
-
RouteContext: apiModule.RouteContext,
|
|
99
|
-
withContext: apiModule.withContext,
|
|
100
|
-
errorResponse: apiModule.errorResponse,
|
|
101
|
-
successResponse: apiModule.successResponse,
|
|
102
|
-
createContextInjectionMiddleware: apiModule.createContextInjectionMiddleware,
|
|
103
|
-
getChunkedCookie: apiModule.getChunkedCookie,
|
|
104
|
-
setChunkedCookie: apiModule.setChunkedCookie,
|
|
105
|
-
deleteChunkedCookie: apiModule.deleteChunkedCookie,
|
|
106
|
-
isChunkedCookie: apiModule.isChunkedCookie,
|
|
107
|
-
initCookieChunking: apiModule.initCookieChunking
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
91
|
//# sourceMappingURL=index.js.map
|
package/dist/s3db-lite.cjs
CHANGED
|
@@ -70660,8 +70660,8 @@ class Database extends SafeEventEmitter {
|
|
|
70660
70660
|
})();
|
|
70661
70661
|
this.version = '1';
|
|
70662
70662
|
this.s3dbVersion = (() => {
|
|
70663
|
-
const [ok, , version] = tryFnSync(() => (typeof globalThis['19.4.12
|
|
70664
|
-
? globalThis['19.4.12
|
|
70663
|
+
const [ok, , version] = tryFnSync(() => (typeof globalThis['19.4.12'] !== 'undefined' && globalThis['19.4.12'] !== '19.4.12'
|
|
70664
|
+
? globalThis['19.4.12']
|
|
70665
70665
|
: 'latest'));
|
|
70666
70666
|
return ok ? version : 'latest';
|
|
70667
70667
|
})();
|
package/dist/s3db-lite.es.js
CHANGED
|
@@ -70637,8 +70637,8 @@ class Database extends SafeEventEmitter {
|
|
|
70637
70637
|
})();
|
|
70638
70638
|
this.version = '1';
|
|
70639
70639
|
this.s3dbVersion = (() => {
|
|
70640
|
-
const [ok, , version] = tryFnSync(() => (typeof globalThis['19.4.12
|
|
70641
|
-
? globalThis['19.4.12
|
|
70640
|
+
const [ok, , version] = tryFnSync(() => (typeof globalThis['19.4.12'] !== 'undefined' && globalThis['19.4.12'] !== '19.4.12'
|
|
70641
|
+
? globalThis['19.4.12']
|
|
70642
70642
|
: 'latest'));
|
|
70643
70643
|
return ok ? version : 'latest';
|
|
70644
70644
|
})();
|