@soonspacejs/plugin-cps-soonmanager 2.9.2 → 2.9.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.
@@ -0,0 +1,2 @@
1
+ import { Decrypt } from './types';
2
+ export declare const decryptV1: Decrypt;
@@ -0,0 +1,3 @@
1
+ import { Decrypt } from './types';
2
+ export declare const decryptV2: Decrypt;
3
+ export declare function decodeToBytes(input: string): Int8Array;
@@ -1,5 +1,8 @@
1
+ import NodeRSA from 'node-rsa';
2
+ import { ITreeData, TLicense } from '../types';
1
3
  export interface EncryptInfo {
2
4
  verifyKey: string;
3
5
  debugKey: string;
4
6
  key: string;
5
7
  }
8
+ export type Decrypt = (license: TLicense, nodeRsa: NodeRSA) => ITreeData[];