@powerlines/plugin-crypto 0.10.30 → 0.10.32

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.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, l as Plugin, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "./plugin-DAKEoi3t.cjs";
1
+ import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, l as Plugin, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "./plugin-QQeJHnEx.cjs";
2
2
  import "./index-CEgs-Dz2.cjs";
3
3
 
4
4
  //#region src/components/crypto.d.ts
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, l as Plugin, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "./plugin-CsWnE7Ef.mjs";
1
+ import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, l as Plugin, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "./plugin-Eengqhgj.mjs";
2
2
  import "./index-D9zIjQH9.mjs";
3
3
 
4
4
  //#region src/components/crypto.d.ts
@@ -179,10 +179,7 @@ type BabelTransformPlugin<TContext extends Context = Context, TOptions extends R
179
179
  type BabelTransformPluginOptions<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = unknown> = PluginItem | BabelTransformPlugin<TContext, TOptions, TState> | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions] | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions, BabelTransformPluginFilter];
180
180
  //#endregion
181
181
  //#region ../powerlines/src/types/fs.d.ts
182
- declare enum StoragePreset {
183
- VIRTUAL = "virtual",
184
- FS = "fs",
185
- }
182
+ type StoragePreset = "fs" | "virtual";
186
183
  /**
187
184
  * Interface defining the methods and properties for a storage adapter.
188
185
  */
@@ -1676,7 +1673,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1676
1673
  * @param environment - The environment to check.
1677
1674
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1678
1675
  */
1679
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
1676
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
1680
1677
  }
1681
1678
  import * as import___deepkit_type from "@deepkit/type";
1682
1679
  //#endregion
@@ -180,10 +180,7 @@ type BabelTransformPlugin<TContext extends Context = Context, TOptions extends R
180
180
  type BabelTransformPluginOptions<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = unknown> = PluginItem | BabelTransformPlugin<TContext, TOptions, TState> | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions] | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions, BabelTransformPluginFilter];
181
181
  //#endregion
182
182
  //#region ../powerlines/src/types/fs.d.ts
183
- declare enum StoragePreset {
184
- VIRTUAL = "virtual",
185
- FS = "fs",
186
- }
183
+ type StoragePreset = "fs" | "virtual";
187
184
  /**
188
185
  * Interface defining the methods and properties for a storage adapter.
189
186
  */
@@ -1677,7 +1674,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1677
1674
  * @param environment - The environment to check.
1678
1675
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1679
1676
  */
1680
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | PluginConfig<any>>;
1677
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => boolean | PluginConfig<any>;
1681
1678
  }
1682
1679
  import * as import___deepkit_type from "@deepkit/type";
1683
1680
  //#endregion
@@ -1,3 +1,3 @@
1
- import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-DAKEoi3t.cjs";
1
+ import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-QQeJHnEx.cjs";
2
2
  import "../index-CEgs-Dz2.cjs";
3
3
  export { CryptoPluginContext, CryptoPluginOptions, CryptoPluginResolvedConfig, CryptoPluginUserConfig, __ΩCryptoPluginContext, __ΩCryptoPluginOptions, __ΩCryptoPluginResolvedConfig, __ΩCryptoPluginUserConfig };
@@ -1,3 +1,3 @@
1
- import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-CsWnE7Ef.mjs";
1
+ import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-Eengqhgj.mjs";
2
2
  import "../index-D9zIjQH9.mjs";
3
3
  export { CryptoPluginContext, CryptoPluginOptions, CryptoPluginResolvedConfig, CryptoPluginUserConfig, __ΩCryptoPluginContext, __ΩCryptoPluginOptions, __ΩCryptoPluginResolvedConfig, __ΩCryptoPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-DAKEoi3t.cjs";
1
+ import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-QQeJHnEx.cjs";
2
2
  export { CryptoPluginContext, CryptoPluginOptions, CryptoPluginResolvedConfig, CryptoPluginUserConfig, __ΩCryptoPluginContext, __ΩCryptoPluginOptions, __ΩCryptoPluginResolvedConfig, __ΩCryptoPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-CsWnE7Ef.mjs";
1
+ import { a as __ΩCryptoPluginContext, c as __ΩCryptoPluginUserConfig, i as CryptoPluginUserConfig, n as CryptoPluginOptions, o as __ΩCryptoPluginOptions, r as CryptoPluginResolvedConfig, s as __ΩCryptoPluginResolvedConfig, t as CryptoPluginContext } from "../plugin-Eengqhgj.mjs";
2
2
  export { CryptoPluginContext, CryptoPluginOptions, CryptoPluginResolvedConfig, CryptoPluginUserConfig, __ΩCryptoPluginContext, __ΩCryptoPluginOptions, __ΩCryptoPluginResolvedConfig, __ΩCryptoPluginUserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-crypto",
3
- "version": "0.10.30",
3
+ "version": "0.10.32",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
6
6
  "repository": {
@@ -128,17 +128,17 @@
128
128
  "files": ["dist/**/*"],
129
129
  "keywords": ["powerlines", "storm-software", "powerlines-plugin"],
130
130
  "dependencies": {
131
- "@powerlines/plugin-env": "^0.13.62",
131
+ "@powerlines/plugin-env": "^0.13.64",
132
132
  "@storm-software/config-tools": "^1.188.59",
133
133
  "@stryke/path": "^0.22.0",
134
134
  "defu": "^6.1.4",
135
- "powerlines": "^0.30.7",
135
+ "powerlines": "^0.30.9",
136
136
  "@noble/ciphers": "^2.0.1"
137
137
  },
138
138
  "devDependencies": {
139
- "@powerlines/nx": "^0.10.56",
139
+ "@powerlines/nx": "^0.10.58",
140
140
  "@types/node": "^24.10.1"
141
141
  },
142
142
  "publishConfig": { "access": "public" },
143
- "gitHead": "c99d14f5c417d27c6854661afcf485f629f4e143"
143
+ "gitHead": "00fa339177561d404892937d2c24fe2a5b3df4e7"
144
144
  }