@secrecy/lib 0.1.441 → 1.0.0-dev.12
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/lib/BaseClient.d.ts +3 -0
- package/lib/BaseClient.js +57 -14
- package/lib/PopupTools.d.ts +1 -1
- package/lib/PopupTools.js +1 -1
- package/lib/ZeusThunder.js +6 -3
- package/lib/client/admin/index.d.ts +10 -0
- package/lib/client/admin/index.js +153 -0
- package/lib/client/convert/folder.d.ts +1 -2
- package/lib/client/convert/folder.js +27 -84
- package/lib/client/helpers.js +2 -2
- package/lib/client/index.d.ts +18 -12
- package/lib/client/index.js +725 -574
- package/lib/client/types/UserAppNotifications.d.ts +6 -0
- package/lib/client/types/UserAppNotifications.js +2 -0
- package/lib/client/types/index.d.ts +1 -0
- package/lib/client/types/index.js +2 -1
- package/lib/client/types/queries.d.ts +1 -1
- package/lib/client/types/queries.js +2 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/lib/worker/sodium.d.ts +2 -2
- package/lib/worker/sodium.js +19 -5
- package/lib/zeus/const.js +78 -7
- package/lib/zeus/index.d.ts +17894 -16454
- package/lib/zeus/index.js +78 -33
- package/package.json +35 -28
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@secrecy/lib",
|
|
3
3
|
"author": "Anonymize <anonymize@gmail.com>",
|
|
4
4
|
"description": "Anonymize Secrecy Library",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "1.0.0-dev.12",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "ssh://git@github.com/xsecrecy/lib.git"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lint": "eslint \"./**/*.{ts,tsx}\"",
|
|
32
32
|
"lint:fix": "yarn lint --fix",
|
|
33
33
|
"format": "prettier --write \"./**/*.{ts,tsx}\"",
|
|
34
|
-
"editor": "yarn
|
|
34
|
+
"editor": "yarn dlx @yarnpkg/sdks",
|
|
35
35
|
"doc": "typedoc --out docs src",
|
|
36
36
|
"prepublish": "yarn build",
|
|
37
37
|
"type-check": "tsc --noEmit",
|
|
@@ -41,47 +41,54 @@
|
|
|
41
41
|
"build": "run-p -l clean build:types babel",
|
|
42
42
|
"watch": "webpack --mode development --watch",
|
|
43
43
|
"babel": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
|
|
44
|
-
"zeus": "zeus
|
|
44
|
+
"zeus": "zeus http://localhost:4000/graphql ./src --ts",
|
|
45
|
+
"prepare": "husky install"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@babel/cli": "^7.
|
|
48
|
-
"@babel/core": "^7.
|
|
49
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
50
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.
|
|
48
|
+
"@babel/cli": "^7.15.7",
|
|
49
|
+
"@babel/core": "^7.15.8",
|
|
50
|
+
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
51
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
|
|
51
52
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
52
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
53
|
-
"@babel/preset-env": "^7.
|
|
54
|
-
"@babel/preset-typescript": "^7.
|
|
55
|
-
"@
|
|
53
|
+
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
54
|
+
"@babel/preset-env": "^7.15.8",
|
|
55
|
+
"@babel/preset-typescript": "^7.15.0",
|
|
56
|
+
"@commitlint/cli": "^13.2.1",
|
|
57
|
+
"@commitlint/config-conventional": "^13.2.0",
|
|
58
|
+
"@semantic-release/changelog": "^6.0.0",
|
|
59
|
+
"@semantic-release/git": "^10.0.0",
|
|
60
|
+
"@types/jest": "^27.0.2",
|
|
56
61
|
"@types/node-fetch": "^3.0.3",
|
|
57
62
|
"@types/shortid": "^0.0.29",
|
|
58
63
|
"@types/spark-md5": "^3.0.2",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
60
|
-
"@typescript-eslint/parser": "^
|
|
61
|
-
"@yarnpkg/pnpify": "^3.0.0-rc.3",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
65
|
+
"@typescript-eslint/parser": "^5.0.0",
|
|
62
66
|
"babel-loader": "^8.2.2",
|
|
63
|
-
"eslint": "^
|
|
64
|
-
"eslint-config-prettier": "^8.
|
|
67
|
+
"eslint": "^8.0.0",
|
|
68
|
+
"eslint-config-prettier": "^8.3.0",
|
|
65
69
|
"eslint-plugin-prettier": "^4.0.0",
|
|
66
|
-
"graphql-zeus": "^3.
|
|
67
|
-
"
|
|
70
|
+
"graphql-zeus": "^3.2.5",
|
|
71
|
+
"husky": "^7.0.2",
|
|
72
|
+
"jest": "^27.2.5",
|
|
68
73
|
"jest-fetch-mock": "^3.0.3",
|
|
69
74
|
"npm-run-all": "^4.1.5",
|
|
70
|
-
"prettier": "^2.4.
|
|
75
|
+
"prettier": "^2.4.1",
|
|
71
76
|
"rimraf": "^3.0.2",
|
|
72
|
-
"ts-jest": "^27.0.
|
|
73
|
-
"ts-node": "^10.
|
|
74
|
-
"typedoc": "^0.22.
|
|
77
|
+
"ts-jest": "^27.0.5",
|
|
78
|
+
"ts-node": "^10.3.0",
|
|
79
|
+
"typedoc": "^0.22.5",
|
|
75
80
|
"typescript": "^4.5.0-dev.20210913"
|
|
76
81
|
},
|
|
77
82
|
"dependencies": {
|
|
78
|
-
"@
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
83
|
+
"@secrecy/lib-utils": "^1.0.4",
|
|
84
|
+
"@types/libsodium-wrappers": "^0.7.9",
|
|
85
|
+
"axios": "^0.22.0",
|
|
86
|
+
"bson": "^4.5.3",
|
|
87
|
+
"graphql": "^15.6.1",
|
|
82
88
|
"ky": "^0.28.5",
|
|
83
89
|
"libsodium-wrappers": "^0.7.9",
|
|
84
90
|
"shortid": "^2.2.16",
|
|
85
|
-
"spark-md5": "^3.0.
|
|
86
|
-
}
|
|
91
|
+
"spark-md5": "^3.0.2"
|
|
92
|
+
},
|
|
93
|
+
"packageManager": "yarn@3.0.2"
|
|
87
94
|
}
|