@pubinfo-pr/module-pinia-crypto 0.182.2 → 0.182.4

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.js CHANGED
@@ -5112,7 +5112,7 @@ Ax("pinia-crypto", ex.icons);
5112
5112
  function Xe(_ = {}) {
5113
5113
  const z = Te(_);
5114
5114
  return {
5115
- name: "pubinfo:pinia-crypto",
5115
+ name: "pubinfo-pr:pinia-crypto",
5116
5116
  enforce: "pre",
5117
5117
  hooks: {
5118
5118
  "pinia:persist:write": (v) => Oe(v, z),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/module-pinia-crypto",
3
- "version": "0.182.2",
3
+ "version": "0.182.4",
4
4
  "description": "pubinfo 框架的加密集成",
5
5
  "exports": {
6
6
  ".": {
@@ -20,14 +20,14 @@
20
20
  "node": "^20.19.0 || >=22.12.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "pubinfo-pr": "0.182.2"
23
+ "pubinfo-pr": "0.182.4"
24
24
  },
25
25
  "dependencies": {
26
26
  "crypto-js": "^4.2.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/crypto-js": "^4.2.2",
30
- "pubinfo-pr": "0.182.2"
30
+ "pubinfo-pr": "0.182.4"
31
31
  },
32
32
  "scripts": {
33
33
  "dev": "pubinfo build -w --sourcemap",
package/src/index.ts CHANGED
@@ -7,7 +7,7 @@ export function piniaCrypto(options: PiniaCryptoOptions = {}): ModuleOptions {
7
7
  const runtime = createPiniaCryptoRuntime(options);
8
8
 
9
9
  return {
10
- name: 'pubinfo:pinia-crypto',
10
+ name: 'pubinfo-pr:pinia-crypto',
11
11
  enforce: 'pre',
12
12
  hooks: {
13
13
  'pinia:persist:write': payload => encryptPayload(payload, runtime),