@sudoplatform/sudo-user 10.1.0 → 11.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudoplatform/sudo-user",
3
- "version": "10.1.0",
3
+ "version": "11.1.0",
4
4
  "author": "Anonyome Labs, Inc.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,6 +8,7 @@
8
8
  },
9
9
  "license": "Apache-2.0",
10
10
  "scripts": {
11
+ "prepare": "husky install",
11
12
  "lint": "yarn lint:eslint && yarn lint:prettier",
12
13
  "lint:eslint": "eslint \"{bin,test,src}/**/*.{ts,tsx}\"",
13
14
  "lint:prettier": "prettier -l \"{bin,test,src}/**/*.{js,json,jsx,ts,tsx}\"",
@@ -32,15 +33,14 @@
32
33
  "./lib/runtimes/node/node-crypto.js": "./lib/runtimes/browser/browser-crypto.js"
33
34
  },
34
35
  "dependencies": {
35
- "@aws-sdk/client-cognito-identity-provider": "^3.80.0",
36
+ "@aws-sdk/client-cognito-identity-provider": "^3.131.0",
36
37
  "@graphql-typed-document-node/core": "^3.1.1",
37
- "@sudoplatform/sudo-web-crypto-provider": "^3.1.0",
38
+ "@sudoplatform/sudo-web-crypto-provider": "^7.0.0",
38
39
  "amazon-cognito-auth-js": "^1.3.3",
39
40
  "apollo-cache-inmemory": "^1.6.6",
40
- "asn1js": "^2.4.0",
41
- "aws-appsync": "4.1.5",
41
+ "aws-appsync": "^4.1.7",
42
42
  "fp-ts": "^2.12.1",
43
- "graphql": "^15.6.1",
43
+ "graphql": "^15.8.0",
44
44
  "io-ts": "^2.2.16",
45
45
  "jsonwebtoken": "^8.5.1",
46
46
  "lodash": "^4.17.21",
@@ -51,53 +51,59 @@
51
51
  },
52
52
  "resolutions": {
53
53
  "apollo-cache-inmemory": "^1.6.6",
54
+ "apollo-client": "^2.6.10",
55
+ "apollo-link": "^1.2.14",
56
+ "apollo-link-http": "^1.5.17",
54
57
  "@graphql-codegen/**/ansi-regex": "^5.0.1",
55
58
  "cross-fetch": "^3.1.5",
56
59
  "node-fetch": "^2.6.7",
57
- "minimist": "^1.2.6"
60
+ "minimist": "^1.2.6",
61
+ "undici": "^5.8.2",
62
+ "got": "^11.8.5"
58
63
  },
59
64
  "devDependencies": {
60
- "@babel/cli": "^7.16.0",
61
- "@babel/core": "^7.16.0",
62
- "@babel/plugin-proposal-class-properties": "^7.16.0",
63
- "@babel/plugin-proposal-private-methods": "^7.16.0",
64
- "@babel/preset-env": "^7.16.0",
65
- "@babel/preset-typescript": "^7.16.0",
66
- "@graphql-codegen/add": "^3.1.0",
67
- "@graphql-codegen/cli": "^2.2.1",
68
- "@graphql-codegen/plugin-helpers": "^2.2.0",
69
- "@graphql-codegen/typed-document-node": "^2.1.6",
70
- "@graphql-codegen/typescript": "^2.2.4",
71
- "@graphql-codegen/typescript-operations": "^2.1.8",
65
+ "@babel/cli": "^7.18.9",
66
+ "@babel/core": "^7.18.9",
67
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
68
+ "@babel/plugin-proposal-private-methods": "^7.18.6",
69
+ "@babel/preset-env": "^7.18.9",
70
+ "@babel/preset-typescript": "^7.18.6",
71
+ "@graphql-codegen/add": "^3.2.0",
72
+ "@graphql-codegen/cli": "^2.9.1",
73
+ "@graphql-codegen/plugin-helpers": "^2.6.0",
74
+ "@graphql-codegen/typed-document-node": "^2.3.2",
75
+ "@graphql-codegen/typescript": "^2.7.2",
76
+ "@graphql-codegen/typescript-operations": "^2.5.2",
72
77
  "@graphql-typed-document-node/apollo-client-2": "^1.0.0",
73
- "@sudoplatform/sudo-common": "^6.2.0",
78
+ "@sudoplatform/sudo-common": "^8.0.0",
74
79
  "@types/amazon-cognito-auth-js": "^1.3.0",
75
- "@types/firefox-webext-browser": "^82.0.1",
76
- "@types/jest": "^27.4.1",
80
+ "@types/firefox-webext-browser": "^94.0.1",
81
+ "@types/jest": "^28.1.3",
77
82
  "@types/jsonwebtoken": "^8.5.8",
78
83
  "@types/lodash": "^4.14.182",
79
- "@types/node": "^14.17.27",
84
+ "@types/node": "^16.11.45",
80
85
  "@types/uuid": "^8.3.4",
81
- "@typescript-eslint/eslint-plugin": "^5.21.0",
82
- "@typescript-eslint/parser": "^5.21.0",
86
+ "@typescript-eslint/eslint-plugin": "^5.33.1",
87
+ "@typescript-eslint/parser": "^5.33.1",
83
88
  "apollo-client": "^2.6.10",
84
- "eslint": "^8.14.0",
89
+ "eslint": "^8.22.0",
85
90
  "eslint-config-prettier": "^8.5.0",
86
91
  "eslint-plugin-import": "^2.26.0",
87
- "eslint-plugin-prettier": "^4.0.0",
92
+ "eslint-plugin-prettier": "^4.2.1",
93
+ "husky": "^8.0.1",
88
94
  "isomorphic-fetch": "^3.0.0",
89
- "isomorphic-webcrypto": "^2.3.8",
90
- "jest": "27.3.1",
91
- "prettier": "^2.6.2",
92
- "react": "16.13.1",
95
+ "jest": "^28.1.3",
96
+ "jest-environment-node": "^28.1.3",
97
+ "prettier": "^2.7.1",
93
98
  "subscriptions-transport-ws": "^0.11.0",
99
+ "ts-jest": "^28.0.8",
94
100
  "ts-mockito": "^2.6.1",
95
- "typedoc": "^0.22.15",
96
- "typescript": "^4.6.4",
101
+ "typedoc": "^0.23.10",
102
+ "typescript": "^4.7.4",
97
103
  "websocket": "^1.0.34"
98
104
  },
99
105
  "peerDependencies": {
100
- "@sudoplatform/sudo-common": "^6.0.0",
101
- "io-ts": "^2.2.11"
106
+ "@sudoplatform/sudo-common": "^8.0.0",
107
+ "io-ts": "^2.2.16"
102
108
  }
103
109
  }