proto.io 0.0.184 → 0.0.186

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/index.mjs CHANGED
@@ -3,8 +3,8 @@ import { Server } from '@o2ter/server-js';
3
3
  import { Q as QueryValidator, r as resolveColumn, a as resolveDataType, g as generateId } from './internals/random-BtYyzHJD.mjs';
4
4
  import { P as PVK } from './internals/private-CNw40LZ7.mjs';
5
5
  import { asyncStream, prototypes, isBinaryData, base64ToBuffer } from '@o2ter/utils-js';
6
- import { T as TQuery, P as PROTO_NOTY_MSG, M as MASTER_USER_HEADER_NAME, a as MASTER_PASS_HEADER_NAME, A as AUTH_COOKIE_KEY, b as TUser, c as ProtoType, s as serialize, d as deserialize, U as UPLOAD_TOKEN_HEADER_NAME } from './internals/index-CQdNVgOu.mjs';
7
- export { e as ProtoClient, f as classExtends, k as isFile, g as isObject, i as isQuery, j as isRole, h as isUser } from './internals/index-CQdNVgOu.mjs';
6
+ import { T as TQuery, P as PROTO_NOTY_MSG, M as MASTER_USER_HEADER_NAME, a as MASTER_PASS_HEADER_NAME, A as AUTH_COOKIE_KEY, b as TUser, c as ProtoType, s as serialize, d as deserialize, U as UPLOAD_TOKEN_HEADER_NAME } from './internals/index-DCM81fHA.mjs';
7
+ export { e as ProtoClient, f as classExtends, k as isFile, l as isJob, g as isObject, i as isQuery, j as isRole, h as isUser } from './internals/index-DCM81fHA.mjs';
8
8
  import { i as isPointer, a as isRelation, T as TObject, b as isShape, d as defaultObjectKeyTypes, c as isPrimitive } from './internals/index-DyjcBbS1.mjs';
9
9
  import jwt from 'jsonwebtoken';
10
10
  import { Blob } from 'node:buffer';
@@ -252,32 +252,6 @@ const dispatcher = (proto, options) => {
252
252
  };
253
253
  };
254
254
 
255
- //
256
- // options.ts
257
- //
258
- // The MIT License
259
- // Copyright (c) 2021 - 2025 O2ter Limited. All rights reserved.
260
- //
261
- // Permission is hereby granted, free of charge, to any person obtaining a copy
262
- // of this software and associated documentation files (the "Software"), to deal
263
- // in the Software without restriction, including without limitation the rights
264
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
265
- // copies of the Software, and to permit persons to whom the Software is
266
- // furnished to do so, subject to the following conditions:
267
- //
268
- // The above copyright notice and this permission notice shall be included in
269
- // all copies or substantial portions of the Software.
270
- //
271
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
272
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
273
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
274
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
275
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
276
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
277
- // THE SOFTWARE.
278
- //
279
- const _serviceOf = (options) => options?.session instanceof ProtoService ? options?.session : undefined;
280
-
281
255
  //
282
256
  // methods.ts
283
257
  //
@@ -1453,6 +1427,7 @@ const schedule = (proto) => {
1453
1427
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1454
1428
  // THE SOFTWARE.
1455
1429
  //
1430
+ const _serviceOf = (options) => options?.session instanceof ProtoService ? options?.session : undefined;
1456
1431
  class ProtoService extends ProtoType {
1457
1432
  /** @internal */
1458
1433
  [PVK];