szld-libs 0.2.16 → 0.2.17

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/es/index.js CHANGED
@@ -1,11 +1,14 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { useState } from "react";
2
+ import { useEffect, useState } from "react";
3
3
  import ReactDOM from "react-dom/client";
4
4
  import { BrowserRouter } from "react-router-dom";
5
- import { EditTable } from "./main";
5
+ import { HmacSHA512, EditTable } from "./main";
6
6
  import { Form } from "antd";
7
7
  import "./utils/compression-file";
8
8
  const Demo = () => {
9
+ useEffect(() => {
10
+ new HmacSHA512("17283");
11
+ }, []);
9
12
  Form.useForm();
10
13
  const [list, setList] = useState([
11
14
  {
@@ -4,6 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
+ import CryptoJS from "crypto-js";
7
8
  class HmacSHA512 {
8
9
  constructor(salt) {
9
10
  __publicField(this, "salt");
package/lib/index.js CHANGED
@@ -7,6 +7,9 @@ const main = require("./main");
7
7
  const antd = require("antd");
8
8
  require("./utils/compression-file");
9
9
  const Demo = () => {
10
+ react.useEffect(() => {
11
+ new main.HmacSHA512("17283");
12
+ }, []);
10
13
  antd.Form.useForm();
11
14
  const [list, setList] = react.useState([
12
15
  {
@@ -5,6 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
6
  return value;
7
7
  };
8
+ const CryptoJS = require("crypto-js");
8
9
  class HmacSHA512 {
9
10
  constructor(salt) {
10
11
  __publicField(this, "salt");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.2.16",
4
+ "version": "0.2.17",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",