iosignal-cli 1.3.4 → 1.7.0

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/auth_file.json CHANGED
@@ -1,13 +1,13 @@
1
- [
2
- ["sampleid","samplekey","sample_cid",0],
3
- ["id_max8","no_key_size_limit","communication_id",0],
4
- ["device1","device1_key","device1_cid",0],
5
- ["device2","device2_key","device2_cid",0],
6
- ["uno","uno","uno",1],
7
- ["go","go","go",2],
8
- ["bro","bro","bro",3],
9
- ["admin","admin","admin",255],
10
- ["adminb","adminb","adminb",255]
11
- ]
12
-
13
-
1
+ [
2
+ ["sampleid","samplekey","sample_cid",0],
3
+ ["id_max8","no_key_size_limit","communication_id",0],
4
+ ["device1","device1_key","device1_cid",0],
5
+ ["device2","device2_key","device2_cid",0],
6
+ ["uno","uno","uno",1],
7
+ ["go","go","go",2],
8
+ ["bro","bro","bro",3],
9
+ ["admin","admin","admin",255],
10
+ ["adminb","adminb","adminb",255]
11
+ ]
12
+
13
+
package/auth_file.mjs CHANGED
@@ -1,23 +1,23 @@
1
-
2
- /*
3
- Authentication data sample.
4
-
5
- device props: ["did", "key", "cid", level ]
6
-
7
- did: ( device id ) authentication id. maximum 8 chars.
8
- key: ( device key ) authentication key. no size limit.
9
- cid: ( communication id ) signal target id. maximum 12 chars.
10
- level:( quota level) <Number> ref. /server/quotaTable.js
11
-
12
- */
13
- export const authInfo = [
14
- ["did","passowrd","cid",0],
15
- ["device1","device1_key","device1_cid",0],
16
- ["device2","device2_key","device2_cid",0],
17
- ["uno","uno-key","uno",1],
18
- ["go","go-key","go",2],
19
- ["bro","bro-key","bro",3],
20
- ["admin","admin-key","admin",255],
21
- ]
22
-
23
-
1
+
2
+ /*
3
+ Authentication data sample.
4
+
5
+ device props: ["did", "key", "cid", level ]
6
+
7
+ did: ( device id ) authentication id. maximum 8 chars.
8
+ key: ( device key ) authentication key. no size limit.
9
+ cid: ( communication id ) signal target id. maximum 12 chars.
10
+ level:( quota level) <Number> ref. /server/quotaTable.js
11
+
12
+ */
13
+ export const authInfo = [
14
+ ["did","passowrd","cid",0],
15
+ ["device1","device1_key","device1_cid",0],
16
+ ["device2","device2_key","device2_cid",0],
17
+ ["uno","uno-key","uno",1],
18
+ ["go","go-key","go",2],
19
+ ["bro","bro-key","bro",3],
20
+ ["admin","admin-key","admin",255],
21
+ ]
22
+
23
+
package/bin/getVersion.js CHANGED
@@ -1,9 +1,9 @@
1
- import { readFile } from 'fs/promises';
2
-
3
- const json = JSON.parse(
4
- await readFile(
5
- new URL('../package.json', import.meta.url)
6
- )
7
- );
8
-
1
+ import { readFile } from 'fs/promises';
2
+
3
+ const json = JSON.parse(
4
+ await readFile(
5
+ new URL('../package.json', import.meta.url)
6
+ )
7
+ );
8
+
9
9
  export let version = json.version