@secrecy/lib 1.0.0-dev.45 → 1.0.0-dev.48

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.
Files changed (44) hide show
  1. package/dist/BaseClient.js +1 -1
  2. package/dist/client/convert/node.js +5 -1
  3. package/dist/client/index.js +78 -75
  4. package/dist/client/types/Node.js +1 -1
  5. package/dist/client/types/selectors.js +5 -1
  6. package/dist/index.js +1 -1
  7. package/dist/{BaseClient.d.ts → src/BaseClient.d.ts} +0 -4
  8. package/dist/{PopupTools.d.ts → src/PopupTools.d.ts} +0 -0
  9. package/dist/{ZeusThunder.d.ts → src/ZeusThunder.d.ts} +0 -0
  10. package/dist/{cache.d.ts → src/cache.d.ts} +0 -0
  11. package/dist/{client → src/client}/admin/index.d.ts +0 -0
  12. package/dist/{client → src/client}/convert/file.d.ts +0 -0
  13. package/dist/{client → src/client}/convert/mail.d.ts +0 -0
  14. package/dist/{client → src/client}/convert/node.d.ts +0 -0
  15. package/dist/{client → src/client}/helpers.d.ts +0 -0
  16. package/dist/{client → src/client}/index.d.ts +3 -4
  17. package/dist/{client → src/client}/storage.d.ts +0 -0
  18. package/dist/{client → src/client}/types/File.d.ts +0 -0
  19. package/dist/{client → src/client}/types/Inputs.d.ts +0 -0
  20. package/dist/{client → src/client}/types/Node.d.ts +5 -0
  21. package/dist/{client → src/client}/types/UserAppNotifications.d.ts +0 -0
  22. package/dist/{client → src/client}/types/UserAppSettings.d.ts +0 -0
  23. package/dist/{client → src/client}/types/index.d.ts +0 -0
  24. package/dist/{client → src/client}/types/selectors.d.ts +16 -0
  25. package/dist/{crypto → src/crypto}/file.d.ts +0 -0
  26. package/dist/{crypto → src/crypto}/index.d.ts +0 -0
  27. package/dist/{error.d.ts → src/error.d.ts} +0 -0
  28. package/dist/src/index.d.ts +12 -0
  29. package/dist/{minify → src/minify}/index.d.ts +0 -0
  30. package/dist/{minify → src/minify}/lz4.d.ts +0 -0
  31. package/dist/{sodium.d.ts → src/sodium.d.ts} +0 -0
  32. package/dist/{utils → src/utils}/store-buddy.d.ts +0 -0
  33. package/dist/{utils → src/utils}/time.d.ts +0 -0
  34. package/dist/{utils → src/utils}/utils.d.ts +0 -0
  35. package/dist/{worker → src/worker}/__mock__/sodium.worker.d.ts +0 -0
  36. package/dist/{worker → src/worker}/md5.d.ts +0 -0
  37. package/dist/{worker → src/worker}/sodium.d.ts +0 -0
  38. package/dist/{worker → src/worker}/workerCodes.d.ts +0 -0
  39. package/dist/{zeus → src/zeus}/const.d.ts +0 -0
  40. package/dist/{zeus → src/zeus}/index.d.ts +2431 -607
  41. package/dist/zeus/const.js +16 -12
  42. package/dist/zeus/index.js +71 -47
  43. package/package.json +17 -16
  44. package/dist/index.d.ts +0 -12
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": "1.0.0-dev.45",
5
+ "version": "1.0.0-dev.48",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/xsecrecy/lib.git"
@@ -55,45 +55,46 @@
55
55
  "@babel/preset-typescript": "^7.18.6",
56
56
  "@commitlint/cli": "^17.0.3",
57
57
  "@commitlint/config-conventional": "^17.0.3",
58
- "@types/jest": "^27.5.2",
58
+ "@types/jest": "^28.1.4",
59
59
  "@types/jsonwebtoken": "^8.5.8",
60
- "@types/node": "^18.0.0",
60
+ "@types/node": "^18.0.3",
61
61
  "@types/shortid": "^0.0.29",
62
62
  "@types/spark-md5": "^3.0.2",
63
- "@typescript-eslint/eslint-plugin": "^5.30.0",
64
- "@typescript-eslint/parser": "^5.30.0",
63
+ "@typescript-eslint/eslint-plugin": "^5.30.5",
64
+ "@typescript-eslint/parser": "^5.30.5",
65
65
  "babel-loader": "^8.2.5",
66
66
  "babel-plugin-const-enum": "^1.2.0",
67
67
  "cross-env": "^7.0.3",
68
- "eslint": "^8.17.0",
68
+ "eslint": "^8.19.0",
69
69
  "eslint-config-prettier": "^8.5.0",
70
- "eslint-plugin-prettier": "^4.1.0",
71
- "graphql-zeus": "^5.1.2",
70
+ "eslint-plugin-prettier": "^4.2.1",
71
+ "graphql-zeus": "^5.1.6",
72
72
  "husky": "^8.0.1",
73
- "jest": "^27.5.1",
73
+ "jest": "^28.1.2",
74
+ "jest-environment-jsdom": "^28.1.2",
74
75
  "jest-fetch-mock": "^3.0.3",
75
76
  "npm-run-all": "^4.1.5",
76
77
  "prettier": "^2.7.0",
77
78
  "rimraf": "^3.0.2",
78
79
  "semantic-release": "^19.0.3",
79
- "ts-jest": "^27.1.5",
80
- "ts-node": "^10.8.1",
81
- "tsup": "^6.1.2",
82
- "typedoc": "^0.22.18",
80
+ "ts-jest": "^28.0.5",
81
+ "ts-node": "^10.8.2",
82
+ "tsup": "^6.1.3",
83
+ "typedoc": "^0.23.6",
83
84
  "typescript": "^4.7.3"
84
85
  },
85
86
  "dependencies": {
86
87
  "@secrecy/lib-utils": "^1.0.18",
87
88
  "@types/libsodium-wrappers": "^0.7.9",
88
89
  "axios": "^0.27.2",
89
- "bson": "^4.6.4",
90
+ "bson": "^4.6.5",
90
91
  "graphql": "^16.5.0",
91
92
  "jsonwebtoken": "^8.5.1",
92
- "ky": "^0.30.0",
93
+ "ky": "^0.31.0",
93
94
  "libsodium-wrappers": "^0.7.10",
94
95
  "shortid": "^2.2.16",
95
96
  "spark-md5": "^3.0.2",
96
97
  "webpack": "^5.73.0"
97
98
  },
98
- "packageManager": "pnpm@7.3.0"
99
+ "packageManager": "pnpm@7.5.0"
99
100
  }
package/dist/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export * from "./client/index.js";
2
- export * from "./client/admin/index.js";
3
- export * from "./crypto/index.js";
4
- export type { Progress } from "./crypto/file.js";
5
- export type { User, QueryLimits, DownloadProgress, UserData, FolderSize, MailLimitsValues, CloudLimits, FaqItem, BlogItem, SecrecyPlansCodes, Limits, MailLimits, Plan, PaymentInfos, Subscription, RecurlyInvoices, SubscriptionCollectionMethod, SubscriptionState, SendReport, PayInput, SuccessResponse } from "./BaseClient.js";
6
- export { BaseClient, isValidPlan } from "./BaseClient.js";
7
- export type { Node, NodeFull, FileMetadata, SecrecyUserApp, BaseMail, ReceivedMail, SentMail, PublicUser, UserAppSettings, UserAppNotifications, Session, UserSession, AppSession, MailFile, MailIntegrity, DraftMail, Mail, WaitingReceivedMail, MailRecipientInput } from "./client/types/index.js";
8
- export * from "./client/helpers.js";
9
- export * from "./sodium.js";
10
- export * from "./utils/store-buddy.js";
11
- export { Lang, FileContentType, MailType, PlanKind, Rights, PayInputType, UserRole } from "./zeus/index.js";
12
- export * from "./error.js";