@digipair/skill-sse 0.117.6 → 0.117.7

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.
Files changed (2) hide show
  1. package/dist/index.esm.js +10 -6
  2. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -4,6 +4,7 @@ import { setImmediate } from 'node:timers';
4
4
  import { Readable } from 'node:stream';
5
5
  import { randomUUID, randomBytes } from 'node:crypto';
6
6
  import { EventEmitter } from 'node:events';
7
+ import { snakeCase, kebabCase, camelCase } from 'case-anything/dist/index.js';
7
8
 
8
9
  // src/Session.ts
9
10
  function _array_like_to_array$8(arr, len) {
@@ -24333,14 +24334,14 @@ function indent(str, spaces) {
24333
24334
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
24334
24335
  // match is required
24335
24336
  if (!match) {
24336
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
24337
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
24337
24338
  v: nextMatch1
24338
24339
  };
24339
24340
  }
24340
24341
  var token = match.token, offset = match.offset;
24341
24342
  i1 += offset;
24342
24343
  if (token === ' ') {
24343
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
24344
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
24344
24345
  }
24345
24346
  tokens1 = _to_consumable_array$4(tokens1).concat([
24346
24347
  token
@@ -24359,7 +24360,7 @@ function indent(str, spaces) {
24359
24360
  if (contextKeys.some(function(el) {
24360
24361
  return el.startsWith(name);
24361
24362
  })) {
24362
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
24363
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
24363
24364
  }
24364
24365
  if (dateTimeIdentifiers.some(function(el) {
24365
24366
  return el === name;
@@ -24378,9 +24379,9 @@ function indent(str, spaces) {
24378
24379
  if (dateTimeIdentifiers.some(function(el) {
24379
24380
  return el.startsWith(name);
24380
24381
  })) {
24381
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
24382
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
24382
24383
  }
24383
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
24384
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
24384
24385
  v: nextMatch1
24385
24386
  };
24386
24387
  };
@@ -45706,7 +45707,10 @@ const DIGIPAIR_FUNCTIONS = {
45706
45707
  encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
45707
45708
  decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
45708
45709
  JSONparse: (value)=>JSON.parse(value),
45709
- JSONstringify: (value)=>JSON.stringify(value)
45710
+ JSONstringify: (value)=>JSON.stringify(value),
45711
+ camelCase: (value)=>camelCase(value),
45712
+ kebabCase: (value)=>kebabCase(value),
45713
+ snakeCase: (value)=>snakeCase(value)
45710
45714
  };
45711
45715
  const globalInstance = typeof window === 'undefined' ? global : window;
45712
45716
  const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__ ?? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-sse",
3
- "version": "0.117.6",
3
+ "version": "0.117.7",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",