@splendidlabz/utils 1.11.0 → 1.11.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @splendidlabz/utils
2
2
 
3
+ ## 1.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix auth jwt secret
8
+
3
9
  ## 1.11.0
4
10
 
5
11
  ### Minor Changes
@@ -15,7 +15,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
15
15
  var node_exports = {};
16
16
  module.exports = __toCommonJS(node_exports);
17
17
  __reExport(node_exports, require("./dirname.js"), module.exports);
18
- __reExport(node_exports, require("./env.js"), module.exports);
19
18
  __reExport(node_exports, require("./file-cache.js"), module.exports);
20
19
  __reExport(node_exports, require("./hash.js"), module.exports);
21
20
  __reExport(node_exports, require("./pkce.js"), module.exports);
@@ -25,7 +24,6 @@ __reExport(node_exports, require("./uuid.js"), module.exports);
25
24
  // Annotate the CommonJS export names for ESM import in node:
26
25
  0 && (module.exports = {
27
26
  ...require("./dirname.js"),
28
- ...require("./env.js"),
29
27
  ...require("./file-cache.js"),
30
28
  ...require("./hash.js"),
31
29
  ...require("./pkce.js"),
@@ -1,5 +1,4 @@
1
1
  export * from "./dirname.js";
2
- export * from "./env.js";
3
2
  export * from "./file-cache.js";
4
3
  export * from "./hash.js";
5
4
  export * from "./pkce.js";
@@ -3,7 +3,7 @@
3
3
  * @param url — import.meta.url
4
4
  * @returns
5
5
  */
6
- declare function __dirname(url: any): string;
6
+ declare function __dirname$1(url: any): string;
7
7
  declare function dirname(url: any): string;
8
8
 
9
- export { __dirname, dirname };
9
+ export { __dirname$1 as __dirname, dirname };
@@ -1,5 +1,4 @@
1
1
  export { __dirname, dirname } from './dirname.cjs';
2
- export { env } from './env.cjs';
3
2
  export { createCache, fileCache, getLastModifiedTime, getLatestModifiedTime, removeFirstSlash } from './file-cache.cjs';
4
3
  export { sha256Hash } from './hash.cjs';
5
4
  export { PKCE } from './pkce.cjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splendidlabz/utils",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "homepage": "https://splendidlabz.com/docs/utils",
package/src/node/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from './dirname.js'
2
- export * from './env.js'
3
2
  export * from './file-cache.js'
4
3
  export * from './hash.js'
5
4
  export * from './pkce.js'
@@ -1,30 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var env_exports = {};
19
- __export(env_exports, {
20
- env: () => env
21
- });
22
- module.exports = __toCommonJS(env_exports);
23
- const import_meta = {};
24
- function env(key) {
25
- return process.env[key] || import_meta.env?.[key];
26
- }
27
- // Annotate the CommonJS export names for ESM import in node:
28
- 0 && (module.exports = {
29
- env
30
- });
@@ -1,6 +0,0 @@
1
- function env(key) {
2
- return process.env[key] || import.meta.env?.[key];
3
- }
4
- export {
5
- env
6
- };
@@ -1,3 +0,0 @@
1
- declare function env(key: any): any;
2
-
3
- export { env };
package/src/node/env.js DELETED
@@ -1,3 +0,0 @@
1
- export function env(key) {
2
- return process.env[key] || import.meta.env?.[key]
3
- }