@powerlines/plugin-crypto 0.10.727 → 0.10.729
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.cjs +1 -2
- package/dist/index.mjs +2 -2
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -9,14 +9,13 @@ defu = require_rolldown_runtime.__toESM(defu, 1);
|
|
|
9
9
|
let _noble_ciphers_utils_js = require("@noble/ciphers/utils.js");
|
|
10
10
|
let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
11
11
|
let _powerlines_plugin_env = require("@powerlines/plugin-env");
|
|
12
|
-
_powerlines_plugin_env = require_rolldown_runtime.__toESM(_powerlines_plugin_env, 1);
|
|
13
12
|
|
|
14
13
|
//#region src/index.tsx
|
|
15
14
|
/**
|
|
16
15
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
17
16
|
*/
|
|
18
17
|
function plugin(options = {}) {
|
|
19
|
-
return [(0, _powerlines_plugin_env.
|
|
18
|
+
return [(0, _powerlines_plugin_env.plugin)(options.env), {
|
|
20
19
|
name: "crypto",
|
|
21
20
|
config() {
|
|
22
21
|
return { crypto: (0, defu.default)(options, { salt: `${(this.config.name ?? this.packageJson?.name) || "powerlines"}-application` }) };
|
package/dist/index.mjs
CHANGED
|
@@ -5,14 +5,14 @@ import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
|
5
5
|
import defu from "defu";
|
|
6
6
|
import { bytesToHex, randomBytes } from "@noble/ciphers/utils.js";
|
|
7
7
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
8
|
-
import
|
|
8
|
+
import { plugin as plugin$1 } from "@powerlines/plugin-env";
|
|
9
9
|
|
|
10
10
|
//#region src/index.tsx
|
|
11
11
|
/**
|
|
12
12
|
* A Powerlines plugin to assist in developing other Powerlines plugins.
|
|
13
13
|
*/
|
|
14
14
|
function plugin(options = {}) {
|
|
15
|
-
return [
|
|
15
|
+
return [plugin$1(options.env), {
|
|
16
16
|
name: "crypto",
|
|
17
17
|
config() {
|
|
18
18
|
return { crypto: defu(options, { salt: `${(this.config.name ?? this.packageJson?.name) || "powerlines"}-application` }) };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-crypto",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.729",
|
|
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": {
|
|
@@ -119,21 +119,21 @@
|
|
|
119
119
|
"@alloy-js/markdown": "^0.24.0",
|
|
120
120
|
"@alloy-js/typescript": "^0.24.0",
|
|
121
121
|
"@noble/ciphers": "^2.3.0",
|
|
122
|
-
"@power-plant/alloy-js": "^0.0.
|
|
123
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
124
|
-
"@powerlines/plugin-env": "^0.16.
|
|
122
|
+
"@power-plant/alloy-js": "^0.0.87",
|
|
123
|
+
"@powerlines/plugin-alloy": "^0.26.309",
|
|
124
|
+
"@powerlines/plugin-env": "^0.16.420",
|
|
125
125
|
"@storm-software/config-tools": "^1.190.133",
|
|
126
126
|
"@stryke/path": "^0.29.35",
|
|
127
127
|
"defu": "^6.1.7",
|
|
128
|
-
"powerlines": "^0.47.
|
|
128
|
+
"powerlines": "^0.47.211"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
131
|
+
"@powerlines/plugin-plugin": "^0.12.624",
|
|
132
132
|
"@types/node": "^25.9.5"
|
|
133
133
|
},
|
|
134
134
|
"publishConfig": { "access": "public" },
|
|
135
135
|
"main": "./dist/index.cjs",
|
|
136
136
|
"module": "./dist/index.mjs",
|
|
137
137
|
"types": "./dist/index.d.cts",
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "b009e583e12f04c70454ada388ceaae84d7ae6db"
|
|
139
139
|
}
|